CN108776610A - A kind of interface configuration method and device - Google Patents

A kind of interface configuration method and device Download PDF

Info

Publication number
CN108776610A
CN108776610A CN201810682598.5A CN201810682598A CN108776610A CN 108776610 A CN108776610 A CN 108776610A CN 201810682598 A CN201810682598 A CN 201810682598A CN 108776610 A CN108776610 A CN 108776610A
Authority
CN
China
Prior art keywords
interface
electronic equipment
configurations
information
request
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
CN201810682598.5A
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201810682598.5A priority Critical patent/CN108776610A/en
Publication of CN108776610A publication Critical patent/CN108776610A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

A kind of interface configuration method of offer of the embodiment of the present invention and device, are related to microcomputer data processing field.The interface configuration method includes the interface configurations request triggered by user for receiving electronic equipment and sending;It to the electronic equipment and is shown based on interface configurations request feedback interface configuration template;Receive the interface configuration information by interface configurations template input of the user based on display that the electronic equipment is sent;The interface configuration information is parsed according to preset rules, carrying out interface dynamic configuration according to analysis result preserves interface configurations result.The present invention is by providing a kind of general interface configuration method so that user can realize the interface dynamic configuration to different function, different business type, different channels according to the individual demand of itself, and configuration method is simple.

Description

A kind of interface configuration method and device
Technical field
The present invention relates to microcomputer data processing fields, in particular to a kind of interface configuration method and device.
Background technology
In existing interface configurations scheme, need by requirement express, Software for Design, exploitation coding, user test, Account Dept Multiple links such as administration, each link is required for generating the work package of major class, and there is also a large amount of ditches between different links It is logical to understand etc., cause in existing interface configurations scheme, there are heavy workload, inefficiency, be easy error, cannot quick portion The problems such as affixing one's name to and reaching the standard grade, seriously affects user experience.
Invention content
In view of this, the embodiment of the present invention is designed to provide a kind of interface configuration method and device and can be effectively improved The above problem.
Present pre-ferred embodiments provide a kind of interface configuration method, are applied to database server, the method packet It includes:
Receive being asked by Client-initiated interface configurations for electronic equipment transmission;
It to the electronic equipment and is shown based on interface configurations request feedback interface configuration template;
Receive the interface configuration information by interface configurations template input of the user based on display that the electronic equipment is sent;
The interface configuration information is parsed, interface dynamic configuration is carried out according to analysis result and preserves interface configurations As a result.
Further, the step of being parsed to the interface configuration information include:
Read each field information, the corresponding field type of each field information and each field in the interface configuration information Mapping relations between information.
Further, the method further includes:
The interface queries initiated based on interface queries condition by user that the electronic equipment is sent are received to ask;
Interface queries request is parsed, and interface sentence inquiry is carried out according to analysis result and by query result The electronic equipment is fed back to, is shown so that the electronic equipment carries out result according to preset field display strategy.
Further, execute receive that the electronic equipment sends by Client-initiated interface queries condition the step of it Before, the method further includes:
Receive the business load request that electronic equipment is sent;
According to the business load request feedback traffic inquire list to the electronic equipment carry out type of service and with Load, the display of the corresponding querying condition of each type of service.
Further, the query result includes a variety of data results, and the method further includes:
Receive the query result initiation data shown based on the electronic equipment with user that the electronic equipment is sent Inquiry request, the data inquiry request include major key information corresponding with a data result;
Data details are carried out in the data information preserved according to the major key information for including in the data inquiry request Inquiry and query result is fed back into the electronic equipment so that the electronic equipment carries out boundary according to the feedback information that receives Face control renders and presentation of information.
Present pre-ferred embodiments also provide a kind of interface configuration method, are applied to include electronic equipment and database service The interface configurations system of device, the method further include:
The interface configurations request Concurrency of electronic equipment response user's triggering gives the database server;
The database server is based on interface configurations request feedback interface configuration template to the electronic equipment;
The interface configuration information of interface configurations template input of the electronic equipment response user based on display is simultaneously sent to The database server;
The database server parses the interface configuration information, and carries out interface according to analysis result and move State configures and preserves interface configurations result.
Further, the method further includes:
Electronic equipment response user is asked based on the interface queries that interface queries condition is initiated, and by the interface queries Request is sent to the database server;
The database server parses interface queries request, and carries out interface sentence according to analysis result It inquires and query result is fed back into the electronic equipment;
The electronic equipment shows the query result received according to preset field display strategy.
Further, if it is text-type that the preset field display strategy, which includes the query result, it is shown as common Text box;If the query result is date type, it is shown as date choice box, and show " ", " is played to " two conditions;If institute It is numeric type to state query result, then is shown as numerical value input frame, and show " ", " is played to " two conditions;If the query result For code word:Then carry out code translation;If the query result is mechanism class, automatic showing device paper mulberry;If the inquiry knot Fruit is product class, then shows products-tree choice box;It is automatic to show in Channel Selection frame if the query result is channel class It is one or more.
Present pre-ferred embodiments also provide a kind of interface configurations device, are applied to database server, described device packet It includes:
Configuring request receiving module, the interface configurations request triggered by user for receiving electronic equipment transmission;
Template feedback module, for giving the electronic equipment simultaneously based on interface configurations request feedback interface configuration template Display;
Demand information receiving module, for receiving that the electronic equipment sends by interface configurations mould of the user based on display The interface configuration information of plate input;
Interface configurations module, for being parsed to the interface configuration information according to preset rules, according to analysis result It carries out interface dynamic configuration and preserves interface configurations result.
Further, described device further includes:
Querying condition receiving module, for receiving being initiated based on interface queries condition by user for the electronic equipment transmission Interface queries request;
Information inquiry feedback module for being parsed to interface queries request, and carries out boundary according to analysis result Face sentence is inquired simultaneously feeds back to the electronic equipment by query result so that the electronic equipment according to preset field display strategy into Row result is shown.
Compared with prior art, interface configuration method and device provided in an embodiment of the present invention, wherein demand personnel can be with Be directly based upon the interface configuration method realize interface rapid configuration, complete the accurate expression of functional requirement, save demand analysis, The links such as exploitation test, deployment.Meanwhile the interface configuration method allocative efficiency that provides of the present invention and accuracy rate are high, are applicable to To the interface dynamic configuration of different function, different business type, different channels.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the application scenarios schematic diagram of interface configuration method provided in an embodiment of the present invention and device.
Fig. 2 is the frame structure schematic diagram of database server shown in FIG. 1.
Fig. 3 is the flow diagram of the interface configuration method provided in an embodiment of the present invention applied to database server.
Fig. 4 is that another flow of the interface configuration method provided in an embodiment of the present invention applied to database server is illustrated Figure.
Fig. 5 is the flow diagram of the interface configuration method provided in an embodiment of the present invention applied to database server.
Fig. 6 is the flow diagram of the interface configuration method provided in an embodiment of the present invention applied to interface configurations system.
Fig. 7 is the frame structure schematic diagram of interface configurations device provided in an embodiment of the present invention.
Icon:10- database servers;100- interface configurations devices;110- configuring request receiving modules;120- templates are anti- Present module;130- demand information receiving modules;140- interface configurations modules;150- querying condition receiving modules;160- information is looked into Ask feedback module;200- memories;300- storage controls;400- processors;20- electronic equipments;30- interface configurations systems.
Specific implementation mode
Through inventor the study found that existing interface configuration method needs to compile by such as requirement express, Software for Design, exploitation Multiple links such as code, user test, system deployment, specifically may include following steps:
Step 1:Business personnel's analysis and understanding demand writes applied analysis specification for the element at interface, including Interface prototype is developed and interface elements and data processing rule;
Step 2:Designer analyzes the related interfaces demand in applied analysis specification, design system function use-case kimonos Business processing logic, wherein function use-case includes interface navigation, interface processing rule, service interface, service processing logic etc.;
Step 3:Developer writes interface and service processing code, and pass through list according to case designing and Service Design Member test;
Step 4:Interface program and service routine compiling are deployed to test run environment and are surveyed for tester by developer Examination;
Step 5:Tester writes test cases according to applied analysis specification and executes case, errors excepted, then weighs Multiple step 3;
Step 6:It is published to production run environment after the completion of test.
In summary, existing interface configurations scheme is needed by multiple links, and each link is required for generating major class Work package etc., lead to cumbersome interface configurations process, inefficiency, be easy to occur.Therefore, for general non- Transaction class system, especially in managing class system, the inquiry and maintenance for information are fairly simple, and this function often accounts for It is most of.For this common scene, by abstract, an embodiment of the present invention provides a kind of interface configurations with versatility Method and apparatus.Following will be combined with the drawings in the embodiments of the present invention, technical solution in the embodiment of the present invention carry out it is clear, It is fully described by, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is logical The component for the embodiment of the present invention being often described and illustrated herein in the accompanying drawings can be arranged and be designed with a variety of different configurations. Therefore, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but be merely representative of the present invention selected embodiment.Based on the embodiment of the present invention, those skilled in the art are not having The every other embodiment obtained under the premise of making creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.
As shown in Figure 1, for the frame structure schematic diagram of interface configurations system 30 provided in an embodiment of the present invention, which matches It includes electronic equipment 20 and database server 10 to set system 30, and the electronic equipment 20 is communicated with the database server 10 Connection, wherein the electronic equipment 20 for providing operation interface to the user, as the input of configuration-direct, configuration information it is defeated Enter, the display etc. of configuration result and configuration template, the database server 10 is for storage configuration strategy, configuration information, boundary Face information etc., meanwhile, it can also be operated according to the data information of the transmission of electronic equipment 20 received, the corresponding configuration of instruction execution Deng.It should be noted that the database server 10 and the electronic equipment 20 can be multiple.
Optionally, the electronic equipment 20 can be but not limited to mobile phone, IPAD, computer etc., the database server 10 can be but not limited to the equipment with data storage, processing function such as server, computer, mobile phone, IPAD.As shown in Fig. 2, It is the frame structure using the interface configuration method and the database server 10 of device that present pre-ferred embodiments provide Schematic diagram, the database server 10 include interface configurations device 100, memory 200, storage control 300 and processor 400.Wherein, the memory 200, storage control 300 and 400 each element of processor are directly or indirectly electrical between each other Connection, to realize the transmission or interaction of data.For example, real by one or more communication bus or signal wire between these elements Now it is electrically connected.The interface configurations device 100 can be stored in the storage including at least one in the form of software or firmware In device 200 or the software function module that is solidificated in the operating system of the database server 10.The processor 400 is in institute It states and accesses the memory 200 under the control of storage control 300, for executing holding of being stored in the memory 200 Row module, such as software function module included by the interface configurations device 100 and computer program etc., and then realize this hair Interface configuration method in bright embodiment.
It should be appreciated that structure shown in Fig. 2 is only to illustrate.The database server 10 can have than shown in Fig. 2 more More either less components or with the configuration different from shown in Fig. 2.Wherein, each component shown in Fig. 2 can by software, Hardware or a combination thereof realization.
Further, as shown in figure 3, being the flow diagram for the interface configuration method that present pre-ferred embodiments provide, The interface configuration method is applied to electronic equipment 2010 shown in Fig. 1.With reference to Fig. 2 to the interface configuration method Detailed process and step are described in detail.
Step S11 receives being asked by Client-initiated interface configurations for the transmission of electronic equipment 20;
Step S12 to the electronic equipment 20 and is shown based on interface configurations request feedback interface configuration template;
Step S13 receives the boundary by interface configurations template input of the user based on display of the transmission of the electronic equipment 20 Face configuration information;
Step S14 parses the interface configuration information, carries out interface dynamic configuration according to analysis result and preserves Interface configurations result.
The setting of S11- steps S14 through the above steps in the present embodiment is needed in user in new product or product A certain function when carrying out new interface configurations, the interface configuration method that the application provides can be directly based upon and realized, such as direct base The interface configurations template provided in the application carries out the input of the configuration needs information such as product function, configuration, i.e., of the invention By providing a kind of rapid configuration of general interface configurations template progress related interfaces to the user, avoids existing interface and match Multiple links such as the requirement express for needing gradually to execute in scheme, Software for Design, exploitation coding, user test, system deployment are set, It greatly improves interface configurations efficiency, reduces workload during interface configurations, it is ensured that complete the rapid deployment of configuration interface and upper Line, and the interface for directly participating in by user configuration is more in line with the demand of user, in addition, in the interface configurations side that the present invention provides In method, user only needs simply express complicated user demand according to the demand of oneself, and traditional development, which is omitted, to be needed The vast resources wanted saves complicated exploitation test process, promotes software quality, realizes the publication of software function Quick thread.
In detail, in step s 11, it is corresponding to can include but is not limited to interface to be configured in asking for the interface configurations It is one or more in type of service, product type, product function etc., in step s 12, the database server 10 It according to the corresponding interface configurations template of the interface configurations requesting query and the electronic equipment 20 can be fed back to is shown.It can It can have been pre-saved with understanding, in the database server 10 for different function, different business type, different channels Multiple interface configurations templates.In addition, fast implement interface configurations for the ease of user, at the same improve interface configurations template can The property read, the interface configurations template can be shown in the electronic equipment 20 in a manner of table etc., and the present embodiment does not limit this System.
Optionally, the interface configurations template can as but be not limited to shown in table 1, the interface configurations mould provided in the table 1 It can be, but not limited to include name of product, function title, the entity of operation and filter condition etc. in block.
Table 1
In addition to shown in above-mentioned table 1, when carrying out the configurations such as demand information, for the ease of subsequent Interface maintenance, tune With etc., it may also include data details mapping relations and field correlativity in the interface configurations template, it is as shown in table 2, described It may include " querying condition ", " query result ", " inquiry details " three parts in interface configurations template, the configuration of field includes word The detailed information such as name section, Database field name, field type, field parameter, major key mark, display mark, edit cue, By the above configuration definition, each section displaying and the operational requirements at interface to be configured can be fully described.Further, this implementation In example, also there are many preset fields of the field type for different data information to show for storage in the database server 10 Strategy, involved in step S11 and subsequent step to the data information that is shown on electronic equipment 20 of needs It is displayed data using corresponding preset field display strategy according to data type, such as:
Table 2
If the query result is text-type, it is shown as plain text frame;If the query result is date type, show It is shown as date choice box, and is shown " ", " is played to " two conditions;If the query result is numeric type, it is defeated to be shown as numerical value Enter frame, and show " " ", " is played to " two conditions;If the query result is code word:Then carry out code translation;If described look into Inquiry result is mechanism class, then automatic showing device paper mulberry;If the query result is product class, products-tree choice box is shown;If The query result is channel class, then shows Channel Selection frame automatically;If the query result is employee's class, show under employee Draw and (backstage employee need to be called to inquire service) etc., it is aobvious by the way that different preset fields is arranged to different field type in the present embodiment Show strategy, can meet the needs of differentiation so that the interface configuration method that the present invention provides has stronger autgmentability, meets more More business scenarios.In addition, the preset field display strategy can be one or more in aforementioned display strategy.It answers herein It is noted that the electronic equipment 20 is parsing field type parameter according to above-mentioned preset field display strategy, it is related to field Between dependence when, can be according to the dependence configured in parameter type, the relationship between dynamic processing field.Further, exist In step S13 and step S14, the step of database server 10 parses the interface configuration information, mainly wraps It includes:Read each field information, the corresponding field type of each field information and each field information in the interface configuration information Between mapping relations.
Further, the embodiment of the present invention gives to being stored in the boundary after being configured in database server 10 Face carry out Interface maintenance, inquiry method, as shown in figure 4, being introduced with reference to step S15 and step S16.
Step S15 receives the interface queries of the transmission of the electronic equipment 20 initiated based on interface queries condition by user Request;
Step S16 parses the interface queries condition, and carries out interface sentence inquiry according to the analysis result And query result is fed back into the electronic equipment 20, so that the electronic equipment 20 carries out result according to preset field display strategy Display.
Wherein, in step S15, the electronic equipment 20 can recycle each interface input by user on reading interface and look into Inquiry condition, and information tissue message is configured to according to the field information that the interface queries condition got includes, and by interface Querying condition is sent to database server 10 in the form of message and is handled.
In step S16, the step of being parsed to the interface queries condition, includes:The database server 10 can root The configuration number for including according to the interface queries condition received reads field configuration information and configuration in interface configurations table Inquiry content on interface, and matched by field, by database query syntax, dynamic organization's query statement, pass through data Library inquiry returns to electronic equipment 20 to the data asked, and according to query result is generated after the progress data processing such as field type It is shown.Specific field processing is including but not limited to as follows:
Name class:Automatically safe handling is carried out to name, such as is by the processing of name intermediate character " * ";
Custom code class:Interpreter code;
Mechanism class:It is translated as organization names according to Institution Code;
Employee's class:It is translated as employee's title according to employee code;
Product class:It is translated as name of product according to product code.
In addition, the electronic equipment 20 after receiving the query result, can pass through the word in parsing query result Duan Liebiao (information such as including field name) renders gauge outfit, while by the field data for including in the query result of return with list Form be shown.It should be noted that being the data of " code word " for wherein field type, according to subsidiary in field parameter Code Number information, automatic name of code of inquiring translated.
Further, as shown in figure 5, may include a variety of data results in the query result in step S16, then For different data results, the method further includes:
Step S161 receives the inquiry of the transmission of the electronic equipment 20 shown based on the electronic equipment 20 with user As a result data inquiry request is initiated, the data inquiry request includes major key information corresponding with a data result;
Step S162 is carried out according to the major key information for including in the data inquiry request in the data information preserved Query result is simultaneously fed back to the electronic equipment 20 by the inquiry of data details, so that the electronic equipment 20 is anti-according to what is received Feedforward information carries out interface control rendering and presentation of information.
In detail, in above-mentioned steps S161- steps S162, using major key information (mark) carry out single data inquiry and Processing, can effectively improve the complexity of data-handling efficiency and calculating.In addition, the database server 10 is compiled according to configuration Number the field configuration information in allocation list and the major key field data on configuration interface are read, presses database query syntax, it is dynamic State hoc queries sentence, by data base querying to request data, and according to field type etc. carry out data processing after, will locate Reason result returns to electronic equipment 20 and is shown.Detailed processing rule can refer to preset field display strategy above-mentioned, this Details are not described herein for embodiment.It should be noted that the feedback information that the electronic equipment 20 sends the data server When carrying out result display, the field information in feedback information can be read first, then according to information such as field type, field attributes Control rendering, which is carried out, at interface then shows time input control such as time type, for class of establishment, then indication mechanism Control etc. is selected, concrete condition can be handled referring to specific preset field display strategy.
Further, according to actual demand, before executing step S15, the interface configuration method further includes receiving electricity The business load request that sub- equipment 20 is sent;List is inquired to the electronic equipment according to the business load request feedback traffic 20 carry out the load of types of service and querying condition corresponding with each type of service, display.
In the present embodiment, JSON formats can be used about field configuration in above-mentioned interface configuration method, has strong expansion Malleability can express the interface logic of the duplications such as dependence.
Further, as shown in fig. 6, the present embodiment also provides a kind of interface configurations side applied to interface configurations system 30 The flow diagram of method illustrates the specific steps and flow of the interface configuration method with reference to Fig. 6.
Step S20, the interface configurations request Concurrency that the electronic equipment 20 responds user's triggering give the database clothes Business device 10;
Step S21, the database server 10 are based on interface configurations request feedback interface configuration template to described Electronic equipment 20;
Step S22, the electronic equipment 20 respond the interface configurations letter of interface configurations template input of the user based on display It ceases and is sent to the database server 10;
Step S23, the database server 10 parse the interface configuration information, and according to analysis result It carries out interface dynamic configuration and preserves interface configurations result.
Step S24, the electronic equipment 20 respond the interface queries instruction that user is initiated based on interface queries condition, and will The interface queries instruct corresponding interface queries condition to be sent to the database server 10;
Step S25, the database server 10 parse the interface queries condition, and are tied according to the parsing Fruit carries out interface sentence inquiry and query result is fed back to the electronic equipment 20;
Step S26, the electronic equipment 20 show the query result received according to preset field display strategy.
Wherein, if it is text-type that the preset field display strategy, which includes the query result, it is shown as plain text Frame;If the query result is date type, it is shown as date choice box, and show " ", " is played to " two conditions;If described look into Inquiry result is numeric type, then is shown as numerical value input frame, and show " " ", " is played to " two conditions;If the query result is generation Code class:Then carry out code translation;If the query result is mechanism class, automatic showing device paper mulberry;If the query result is Product class then shows products-tree choice box;If the query result is channel class, automatic one kind shown in Channel Selection frame Or it is a variety of.
It is understood that applied in the interface configurations system 30 interface configuration method be applied to the data The interface configuration method technical characteristic having the same and technique effect of library server 10, thus, it is walked about above-mentioned steps S20- The process of interface configuration method described in rapid S26 can refer in above-mentioned steps S10- steps S16 about the interface configurations side The description of method, details are not described herein for the present embodiment.
Further, as shown in fig. 7, matching for a kind of interface applied to database server 1010 provided in this embodiment The frame structure schematic diagram of device 100 is set, which includes configuring request receiving module 110, template feedback mould Mould is fed back in block 120, demand information receiving module 130, interface configurations module 140, querying condition receiving module 150 and information inquiry Block 160.
The configuring request receiving module 110, the interface configurations triggered by user for receiving the transmission of electronic equipment 20 Request;In the present embodiment, the description as described in the configuring request receiving module 110 specifically refers to the detailed of above-mentioned steps S11 Description, that is, the step S11 can be executed by configuring request receiving module 110, thus does not illustrate more herein.
The template feedback module 120, for giving the electricity based on interface configurations request feedback interface configuration template Sub- equipment 20 is simultaneously shown;In the present embodiment, the description as described in the template feedback module 120 specifically refers to above-mentioned steps S12 Detailed description, that is, the step S12 can be executed by template feedback module 120, thus do not illustrate more herein.
The demand information receiving module 130, for receive the electronic equipment 20 transmission by user based on display The interface configuration information of interface configurations template input;In the present embodiment, the description as described in the demand information receiving module 130 has Body can refer to the detailed description of above-mentioned steps S13, that is, the step S13 can be executed by demand information receiving module 130, Do not illustrate more herein thus.
The interface configurations module 140, for being parsed to the interface configuration information according to preset rules, according to solution It analyses result and carries out interface dynamic configuration preservation interface configurations result.In the present embodiment, about retouching for the interface configurations module 140 The detailed description for specifically referring to above-mentioned steps S14 is stated, that is, the step S14 can be executed by interface configurations module 140, Do not illustrate more herein thus.
The querying condition receiving module 150, for receiving being looked into based on interface by user for the transmission of the electronic equipment 20 The interface queries condition that inquiry condition is initiated;In the present embodiment, the description as described in the querying condition receiving module 150 can specifically be joined The detailed description of above-mentioned steps S15 is examined, that is, the step S15 can be executed by querying condition receiving module 150, thus This does not illustrate more.
Described information query feedback module 160, for being parsed to the interface queries condition, and according to the parsing As a result it carries out interface sentence inquiry and query result is fed back into the electronic equipment 20, so that the electronic equipment 20 is according to default Field display strategy carries out result and shows.In the present embodiment, the description as described in described information query feedback module 160 can specifically be joined The detailed description of above-mentioned steps S16 is examined, that is, the step S16 can be executed by information inquiry feedback module 160, thus This does not illustrate more.
Further, the present embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, institute It states computer program and is performed the interface configuration method, it can be achieved that above-mentioned.
In conclusion interface configuration method provided in an embodiment of the present invention and device, demand personnel can be directly based upon this Interface configuration method realize interface rapid configuration, complete the accurate expression of functional requirement, save demand analysis, exploitation test, The links such as deployment.Meanwhile interface configuration method allocative efficiency, the accuracy rate that the present invention provides are high, be applicable to different function, The interface dynamic configuration of different business type, different channels.
In several embodiments that the embodiment of the present invention is provided, it should be understood that disclosed device and method also may be used To realize by another way.Device and method embodiment described above is only schematical, for example, in attached drawing Flow chart and block diagram show the device of multiple embodiments according to the present invention, the possibility of method and computer program product is realized Architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a program A part for a part for section or code, the module, section or code includes that one or more is patrolled for realizing defined Collect the executable instruction of function.It should also be noted that at some as the function of in the realization method replaced, being marked in box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can essentially be held substantially in parallel Row, they can also be executed in the opposite order sometimes, this is depended on the functions involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart can use function or dynamic as defined in executing The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, electronic equipment or network equipment etc.) execute all or part of step of each embodiment the method for the present invention Suddenly.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), is deposited mobile hard disk at random The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic disc or CD. It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
The foregoing is merely the alternative embodiments of the present invention, are not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of interface configuration method is applied to database server, which is characterized in that the method includes:
Receive being asked by Client-initiated interface configurations for electronic equipment transmission;
It to the electronic equipment and is shown based on interface configurations request feedback interface configuration template;
Receive the interface configuration information by interface configurations template input of the user based on display that the electronic equipment is sent;
The interface configuration information is parsed, interface dynamic configuration is carried out according to analysis result and preserves interface configurations knot Fruit.
2. a kind of interface configuration method according to claim 1, which is characterized in that solved to the interface configuration information The step of analysis includes:
Read each field information, the corresponding field type of each field information and each field information in the interface configuration information Between mapping relations.
3. a kind of interface configuration method according to claim 2, which is characterized in that the method further includes:
The interface queries initiated based on interface queries condition by user that the electronic equipment is sent are received to ask;
Interface queries request is parsed, and interface sentence inquiry is carried out according to analysis result and feeds back query result To the electronic equipment, shown so that the electronic equipment carries out result according to preset field display strategy.
4. a kind of interface configuration method according to claim 3, which is characterized in that receive the electronic equipment hair executing Send by before the step of Client-initiated interface queries condition, the method further includes:
Receive the business load request that electronic equipment is sent;
It is each to electronic equipment progress type of service and with this according to business load request feedback traffic inquiry list Load, the display of the corresponding querying condition of type of service.
5. a kind of interface configuration method according to claim 3, which is characterized in that the query result includes a variety of numbers According to as a result, the method further includes:
Receive the query result initiation data query shown based on the electronic equipment with user that the electronic equipment is sent Request, the data inquiry request includes major key information corresponding with a data result;
Looking into for data details is carried out in the data information preserved according to the major key information for including in the data inquiry request It askes and query result is fed back into the electronic equipment, so that the electronic equipment carries out interface control according to the feedback information received Part renders and presentation of information.
6. a kind of interface configuration method, applied to the interface configurations system for including electronic equipment and database server, feature It is, the method further includes:
The interface configurations request Concurrency of electronic equipment response user's triggering gives the database server;
The database server is based on interface configurations request feedback interface configuration template to the electronic equipment;
The interface configuration information of interface configurations template input of the electronic equipment response user based on display is simultaneously sent to described Database server;
The database server parses the interface configuration information, and carries out interface dynamic according to analysis result and match It sets and preserves interface configurations result.
7. a kind of interface configuration method according to claim 6, which is characterized in that the method further includes:
The interface queries request that the electronic equipment response user is initiated based on interface queries condition, and the interface queries are asked It is sent to the database server;
The database server parses interface queries request, and carries out interface sentence inquiry according to analysis result And query result is fed back into the electronic equipment;
The electronic equipment shows the query result received according to preset field display strategy.
8. a kind of interface configuration method according to claim 7, which is characterized in that the preset field display strategy includes If the query result is text-type, it is shown as plain text frame;If the query result is date type, it is shown as the date Choice box, and show " ", " is played to " two conditions;If the query result is numeric type, it is shown as numerical value input frame, and show Show " " ", " is played to " two conditions;If the query result is code word:Then carry out code translation;If the query result is machine Structure class, then automatic showing device paper mulberry;If the query result is product class, products-tree choice box is shown;If the inquiry knot Fruit is channel class, then automatically one or more in display Channel Selection frame.
9. a kind of interface configurations device, it is applied to database server, which is characterized in that described device includes:
Configuring request receiving module, the interface configurations request triggered by user for receiving electronic equipment transmission;
Template feedback module, for being based on the interface configurations request feedback interface configuration template to the electronic equipment and showing Show;
Demand information receiving module, for receiving the defeated by interface configurations template of the user based on display of the electronic equipment transmission The interface configuration information entered;
Interface configurations module is carried out for being parsed to the interface configuration information according to preset rules according to analysis result Interface dynamic configuration preserves interface configurations result.
10. interface configurations device according to claim 9, which is characterized in that described device further includes:
Querying condition receiving module, the boundary initiated based on interface queries condition by user sent for receiving the electronic equipment Face inquiry request;
Information inquiry feedback module for being parsed to interface queries request, and carries out interface language according to analysis result Sentence is inquired and query result is fed back to the electronic equipment, so that the electronic equipment is tied according to preset field display strategy Fruit shows.
CN201810682598.5A 2018-06-27 2018-06-27 A kind of interface configuration method and device Pending CN108776610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810682598.5A CN108776610A (en) 2018-06-27 2018-06-27 A kind of interface configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810682598.5A CN108776610A (en) 2018-06-27 2018-06-27 A kind of interface configuration method and device

Publications (1)

Publication Number Publication Date
CN108776610A true CN108776610A (en) 2018-11-09

Family

ID=64030488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810682598.5A Pending CN108776610A (en) 2018-06-27 2018-06-27 A kind of interface configuration method and device

Country Status (1)

Country Link
CN (1) CN108776610A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502482A (en) * 2019-07-05 2019-11-26 中国平安财产保险股份有限公司 User interface configuration method, system and data manipulation method
CN110971511A (en) * 2019-11-29 2020-04-07 泰康保险集团股份有限公司 Instant messaging processing method, device, equipment and computer readable storage medium
CN111401020A (en) * 2020-03-20 2020-07-10 用友网络科技股份有限公司 Interface loading method and system and computing equipment
CN111694615A (en) * 2020-06-16 2020-09-22 北京同邦卓益科技有限公司 Data configuration method, device, equipment and storage medium
CN111897588A (en) * 2020-06-19 2020-11-06 深圳奇迹智慧网络有限公司 Product model configuration method and device, computer equipment and storage medium
CN111930777A (en) * 2020-10-09 2020-11-13 武汉中科通达高新技术股份有限公司 Query interface generation method and device, server and computer readable storage medium
CN112714148A (en) * 2020-11-10 2021-04-27 海尔数字科技(青岛)有限公司 Interface configuration method, device, equipment and medium
CN114500691A (en) * 2022-02-16 2022-05-13 支付宝实验室(新加坡)有限公司 Information configuration method and device
CN114661407A (en) * 2022-05-20 2022-06-24 浙江简捷物联科技有限公司 Interface configuration method, BMS and storage medium
CN110502482B (en) * 2019-07-05 2024-04-26 中国平安财产保险股份有限公司 User operation interface configuration method, system and data operation method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141467A (en) * 2007-10-31 2008-03-12 杭州华三通信技术有限公司 Configuring method and system
CN101192143A (en) * 2006-12-01 2008-06-04 上海亚伦科技有限公司 Software interface construction method
CN101968817A (en) * 2010-11-04 2011-02-09 上海银杏界信息科技有限公司 Method for configuring webpage template
CN103841110A (en) * 2014-03-13 2014-06-04 重庆先迈通信技术有限公司 Website establishment service system and processing method based on mobile terminal
CN105389184A (en) * 2015-11-10 2016-03-09 中国建设银行股份有限公司 Configuration method and apparatus for product interface information
CN105549982A (en) * 2016-01-14 2016-05-04 国网山东省电力公司物资公司 Automated development platform based on model configuration
CN106406846A (en) * 2015-08-03 2017-02-15 腾讯科技(深圳)有限公司 A display interface creating method and device
CN106528129A (en) * 2016-10-27 2017-03-22 南京南瑞继保电气有限公司 Web application interface generation system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192143A (en) * 2006-12-01 2008-06-04 上海亚伦科技有限公司 Software interface construction method
CN101141467A (en) * 2007-10-31 2008-03-12 杭州华三通信技术有限公司 Configuring method and system
CN101968817A (en) * 2010-11-04 2011-02-09 上海银杏界信息科技有限公司 Method for configuring webpage template
CN103841110A (en) * 2014-03-13 2014-06-04 重庆先迈通信技术有限公司 Website establishment service system and processing method based on mobile terminal
CN106406846A (en) * 2015-08-03 2017-02-15 腾讯科技(深圳)有限公司 A display interface creating method and device
CN105389184A (en) * 2015-11-10 2016-03-09 中国建设银行股份有限公司 Configuration method and apparatus for product interface information
CN105549982A (en) * 2016-01-14 2016-05-04 国网山东省电力公司物资公司 Automated development platform based on model configuration
CN106528129A (en) * 2016-10-27 2017-03-22 南京南瑞继保电气有限公司 Web application interface generation system and method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502482A (en) * 2019-07-05 2019-11-26 中国平安财产保险股份有限公司 User interface configuration method, system and data manipulation method
CN110502482B (en) * 2019-07-05 2024-04-26 中国平安财产保险股份有限公司 User operation interface configuration method, system and data operation method
CN110971511A (en) * 2019-11-29 2020-04-07 泰康保险集团股份有限公司 Instant messaging processing method, device, equipment and computer readable storage medium
CN110971511B (en) * 2019-11-29 2022-04-15 泰康保险集团股份有限公司 Instant messaging processing method, device, equipment and computer readable storage medium
CN111401020A (en) * 2020-03-20 2020-07-10 用友网络科技股份有限公司 Interface loading method and system and computing equipment
CN111694615A (en) * 2020-06-16 2020-09-22 北京同邦卓益科技有限公司 Data configuration method, device, equipment and storage medium
CN111694615B (en) * 2020-06-16 2024-04-05 北京同邦卓益科技有限公司 Method, device, equipment and storage medium for data configuration
CN111897588B (en) * 2020-06-19 2024-04-02 深圳奇迹智慧网络有限公司 Product model configuration method, device, computer equipment and storage medium
CN111897588A (en) * 2020-06-19 2020-11-06 深圳奇迹智慧网络有限公司 Product model configuration method and device, computer equipment and storage medium
CN111930777A (en) * 2020-10-09 2020-11-13 武汉中科通达高新技术股份有限公司 Query interface generation method and device, server and computer readable storage medium
CN112714148A (en) * 2020-11-10 2021-04-27 海尔数字科技(青岛)有限公司 Interface configuration method, device, equipment and medium
CN114500691A (en) * 2022-02-16 2022-05-13 支付宝实验室(新加坡)有限公司 Information configuration method and device
CN114661407A (en) * 2022-05-20 2022-06-24 浙江简捷物联科技有限公司 Interface configuration method, BMS and storage medium

Similar Documents

Publication Publication Date Title
CN108776610A (en) A kind of interface configuration method and device
US9524283B2 (en) Techniques to remotely access form information and generate a form
CN111177231A (en) Report generation method and report generation device
CN106951430A (en) Account table querying method and device
US10120886B2 (en) Database integration of originally decoupled components
CN106469140A (en) A kind of report generating system and its method
CN109815464A (en) PDF document generation method, device, electronic equipment and storage medium
CN112287013B (en) Data conversion method and adapter
CN110119292A (en) System operational parameters querying method, matching process, device and node device
CN109558128A (en) Json data analysis method, device and computer readable storage medium
CN110083605A (en) Traffic table querying method, device, server and computer readable storage medium
CN107451112B (en) Form tool data checking method, device, terminal equipment and storage medium
US20150269234A1 (en) User Defined Functions Including Requests for Analytics by External Analytic Engines
CN105005543A (en) Interface generation apparatus and method
CN107506190A (en) XML file amending method and device based on Spring frameworks
CN110198327B (en) Data transmission method and related equipment
CN109992259A (en) Function dynamic creation method, apparatus and electronic equipment
CN110399368A (en) A kind of data manipulation method and device
US10489024B2 (en) UI rendering based on adaptive label text infrastructure
CN109388666A (en) Business customizing method, device, electronic equipment and storage medium
CN110941634A (en) Data processing method and device, storage medium and electronic device
CN110019444A (en) A kind of operation requests processing method, device, equipment and system
EP1909170A1 (en) Method and system for automatically generating a communication interface
CN105302556A (en) Calculation realization method and system and server apparatus
CN109597825B (en) Rule engine calling method, device, equipment and computer readable 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181109