Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, this area is common
The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to the application protection
Scope.
The schematic diagram for the process of service execution that Fig. 1 provides for the embodiment of the present application, specifically includes following steps:
S101:The business operation performed according to user, generates corresponding business and performs request.
In actual applications, generally multinomial business is all included in client, different business is usually constructed with respective industry
The business tines such as business flow, the business page, and for these business in the client, these business are in the business of execution
During, required Service Component is all often identical, e.g., for every business in the client, these business
Before business execution, the business operation performed by preposition verification component to user may be required for carry out preposition verification,
Simply the preposition verification mode of each business may be not quite similar;For another example these business are in the process of implementation, it may be required for close
Code checking assembly progress password authentification, and what the mode of password authentification may be just as each business;Or it is, this
A little business in the process of implementation, may be required for showing some pages, and for each page, the page layout frame of each page
Frame may all be roughly the same, and the content of pages simply shown in each page has difference each other.
It can be seen from the above description that for the every business included in the client, the execution of these business its
There are many resemblances in fact, so, in order to improve the development efficiency of business, the cost that saving business development is consumed is timely
Between, in the embodiment of the present application, business development personnel can be extracted the common point of each business, and be developed common for this
The Service Component of point, and then by each Service Component developed configuration in the client, and match somebody with somebody confidence for each Service Component
Breath then corresponding configuration in the server, equivalent to configure in the client a set of shared code perform framework (referred to herein as
Code to perform framework be Service Component), for different business, match somebody with somebody accordingly in the Service Component configuration needed for the business
The execution of the business can be achieved in confidence breath, and as to how the every business of differentiation, the then each Service Component issued by server
Mark and each Service Component identify the configuration information of corresponding each Service Component to determine.
Based on this, in the embodiment of the present application, because business development personnel are in advance by each business needed for every business
Component is all configured in the client, so, the client is during business is performed, as long as the business returned by server
Execution information, determine perform the business needed for each Service Component, and each Service Component configuration information, you can determine
The business logic codes of the business, in other words, the business execution information that client can be issued according to server determine the industry
The operation flow of business, and then cause client the business can be performed according to the operation flow (i.e. business logic codes).
Client is when carrying out business execution, it is necessary to which the business operation performed according to user, generates corresponding business and perform
Request, wherein, when client monitors to user perform the business operation specified on the business page of a certain business, then really
Make needs to perform the business, and then according to the service identification of the business, generate corresponding business and perform request.Example
Such as, when user clicks execution control in the business A pages of client, it is determined that go out to need to perform the business A, Jin Ergen
According to business A service identification, generate corresponding business and perform request.
S102:The business is performed into request to send to server, asked so that the server is performed according to the business
Ask, return to corresponding business execution information.
Because client needs each Service Component mark according to needed for the execution business that server is issued, and each business
Component identifies the configuration information of corresponding each Service Component, determines the operation flow for performing the business, so, it is real in the application
Apply in example, the business operation that server is performed according to user, generate corresponding business and perform after request, it is necessary to which the business is performed
Request is sent into server, enables the server to perform request according to the business, and returning to corresponding business to client holds
Row information, wherein, each Service Component mark needed for the client executing business is included in the business execution information, and respectively
Service Component identifies the configuration information of corresponding each Service Component.The business that server is sent according to client performs request and determined
The detailed process of business execution information is then illustrated in subsequent step S302.
S103:According to each Service Component mark included in the business execution information, from default Service Component storehouse
Determine that each Service Component identifies corresponding Service Component.
Client is after the business execution information of server return is received, it may be determined that goes out in the business execution information and includes
Each Service Component mark, and then identified by each Service Component, determine business required during the above-mentioned business of client executing
Component, wherein, because the Service Component needed for every business has been configured the business in client by business development personnel in advance
In Component Gallery, so, client can be identified according to each Service Component included in business execution information, from default Service Component
Determine that each Service Component identifies corresponding Service Component in storehouse.
For example, it is assumed that business operation of the client according to user, determining needs execution business A, and then generates correspondence
Business A business performs request, and the business is performed request and sent to server by client, and server determines client
Needed during execution business A it is preposition verification component, password authentication component and risk test and appraisal component, so, server can by this three
The mark of individual Service Component is included in business execution information and is handed down to client, and client is receiving the business execution information
In, it can be identified, be determined from default Service Component storehouse according to these three Service Component included in the business execution information
Required Service Component is during client executing business A:Preposition verification component, password authentication component and risk test and appraisal component,
And then in subsequent process, business A is performed by these three Service Component.
S104:According to the configuration of each Service Component included in each Service Component of determination and the business execution information
Information, performs business.
Each Service Component that client is determined from default Service Component storehouse, actually simply each code skeleton, generation
In code framework business can not be supported to perform if the code performed without business, therefore, client is needed under server
Each configuration information of hair is respectively configured in each Service Component, so as to not possess each Service Component tool for performing professional ability originally
The function of standby execution business.
So, in the embodiment of the present application, the business execution information that client is issued by server determines execution industry
, it is necessary to further by the business execution information, determine corresponding to each Service Component after required each Service Component during business
Configuration information, and then each configuration information determined is respectively configured in corresponding each Service Component, so that each Service Component
Possesses the ability of business execution.
In the embodiment of the present application, configuration information can not only make do not possess each Service Component for performing professional ability originally
Possess business perform function, be also to discriminate between the key point of every business, because configuration information is configured to corresponding Service Component
Afterwards, just determine how each Service Component plays a role in process of service execution.
For example, it is assumed that being required for carrying out preposition verification in business A and business B process of service execution, that is to say, that this two
Individual business is required for the support of preposition verification component, still, use may be also included in preposition verification in process of service execution
Family grade verification and user tie up card and verify this two layers verification, for business A preposition verification, are first to need to carry out user
Grade is verified, then is carried out user and tied up card verification, is then first to need progress user to tie up card and for business B preposition verification
Verification, then carry out user gradation verification, it can be seen that, although there is depositing for preposition verification in the implementation procedure of the two business
, still, the preposition verification mode of the two business is really not quite similar, so, in the embodiment of the present application, what server was issued
The configuration information of each Service Component included in business execution information, just determines each Service Component in process of service execution in fact
In specific implementation, so as to distinguish to each business realizing.
It should be noted that in actual applications, the operation flow of different business upon execution is generally all not quite similar, its
In, referred to herein as operation flow can be understood as the execution sequence of business each Service Component in the process of implementation, e.g., business A
Upon execution, it is necessary to first carry out preposition verification, then cryptographic check is carried out, finally carry out risk test and appraisal, so, come for business A
Say, the operation flow of its business can be expressed as:Preposition verification-cryptographic check-risk test and appraisal, and business B upon execution, it is necessary to
Cryptographic check, then preposition verification are first carried out, risk test and appraisal are finally carried out, so, for business B, the Business Stream of its business
Journey can be expressed as:Cryptographic check-preposition verification-risk test and appraisal.
Can be seen that the operation flow of different business in the process of implementation from the operation flow of the two above-mentioned business can
Can all be different, the operation flow of every business is determined by the business characteristic of every business in fact, so, in this Shen
Please be in embodiment, in the business execution information that server is issued, except including each Service Component mark, each Service Component mark
Beyond the configuration information of corresponding each Service Component, in addition it is also necessary to include order of each Service Component when business is performed, client
End pass through business execution information in each Service Component order, and each Service Component configuration information, you can determine one
Business implements form.
Therefore, in application embodiment, client needs to further determine that out each business included in business execution information
Order of the component in process of service execution, and each Service Component for being configured with each configuration information is arranged according to the order
Sequence, to obtain business logic codes, wherein, referred to herein as business logic codes can be understood as:Business logic codes are table
The specific implementation procedure of business is levied, client can realize the execution in the business each stage by the business logic codes, e.g.,
Assuming that business A practical business implementation procedure is:Preposition verification is first carried out, then carries out cryptographic check, risk test and appraisal are finally carried out,
So, client is when performing business A business logic codes, it should can realize preposition verification-cryptographic check-risk test and appraisal
Process of service execution, i.e. referred to herein as business logic codes equivalent to operation flow mentioned above, simply service logic
Code is the angle from the actual progress process of service execution of client to illustrate, and operation flow is then to stand to perform in business
Each stage execution sequence that process is shown illustrates.
Client is after above-mentioned business logic codes are obtained, you can perform business according to the business logic codes, different
Business logic codes realize different process of service execution, in other words, and different business logic codes realize not of the same trade or business
The differentiation of business, and the generation of business logic codes is then the configuration information and each industry of each Service Component issued by server
Sequence of the component in process of service execution is engaged in determine, so, in the embodiment of the present application, it is real determine business this how
Execution crucial or the business execution information that is issued by server are determined, and client only needs to realization and possesses energy
The ability of each configuration information is enough configured, and includes each Service Component needed for process of service execution, you can passes through service
The business execution information that device is issued, realizes the specific execution of every business.
So, in the embodiment of the present application, business development personnel only need to be by each service groups needed for process of service execution
Part is configured in the client, and the configuration information that server is issued can be configured in each Service Component by imparting client
Ability, you can complete the exploitation to business in client aspect, and for the actual execution of business, business development personnel only need
Business execution information needed for every business is respectively configured in server, will be corresponding when client executing business
Business execution information be issued to client, that is, realize the specific execution of business.Thus it is greatly saved opening for business
Cost and time are sent out, so as to improve the development efficiency of business.
It should be noted that in actual applications, the displaying process of the page would generally be related in process of service execution,
Such as, it is assumed that business A is in the process of implementation, it is necessary to first carry out preposition verification, carry out cryptographic check again, and rear line carries out the page
Displaying.
Wherein, although the page that every business is shown is not quite similar in terms of content, the essence of the page is then by many
What individual view component was constituted, be all often identical without the view component on the same page, simply different page top view components
Arrangement and each view component in the content that is rendered have differences.In other words, the view component of each page is constituted often
All it is unified, still, determines that the different essence of the page is then in the arrangement of view component and the page to show in each page
The content of pages shown.
Because the view component of each page is all often unified, so, for what is shown in process of service execution
For the page, the business execution information that can be generally issued according to server realizes the specific structure of the page, without prior
The page to be shown in process of service execution is built, so as to further increase the development efficiency of business.
Specifically, in the embodiment of the present application, in the business execution information that server is issued, except including described above
Service Component mark, order and each Service Component of each Service Component in process of service execution of each Service Component match somebody with somebody
Outside the business configuration contents such as confidence breath, it can also include each view component mark, splicing of each view component when building the page
The page configuration content such as order and content of pages to be presented.So, it is true that server performs request according to the business received
Make client needed in process of service execution carry out page presentation when, then can further determine that out that client shows the page
Shi Suoxu each view component mark, the splicing order of each view component and content of pages to be presented, and by these pages
Configuration content is carried is handed down to client in above-mentioned business execution information.
Client, can be by each view component for being included in the business execution information after the business execution information is received
Mark, determines each view component built needed for the page, and will be wrapped in business execution information from default view component storehouse
The content of pages to be presented contained is configured in each view component, wherein, different view components are corresponded in the different pages
Hold.
Content of pages to be presented is respectively configured after each view component client, can be wrapped according in business execution information
The splicing order of each view component contained, will be configured with each view component of content of pages and is placed in the page according to splicing order
Specified location in, it is achieved thereby that structure and the displaying of the page, as shown in Fig. 2A, 2B.
The schematic diagram for two pages to be shown in the process of service execution that Fig. 2A, 2B provide for the embodiment of the present application.
Shown in Fig. 2A is the introduction to business page of a business, wherein, displaying, which has, in the page can make client
The entrance control of carry out business execution, when user clicks the entrance control shown in Fig. 2A, client will be according to user institute
This business operation performed, generates corresponding business and performs request.The business can be performed request and sent to service by client
In device, so that server performs request according to the business, corresponding business execution information is returned to client.
Client, can be according to including after receive the business execution information that server is issued in the business execution information
Preposition verification component mark, cryptographic check component mark, determine that client is needed by preposition verification component and password school
The execution work of this business could be realized by testing component, therefore, and client can be transferred out before this from default Service Component storehouse
Verification component and cryptographic check component are put, and the configuration information of each Service Component included in business execution information is distinguished into phase
The configuration answered is in the two Service Component.Then, client can be according to each Service Component included in the business execution information
Order in process of service execution (that is, it is necessary to first carry out preposition verification for the business, is then carrying out password school
Test), the preposition verification component and cryptographic check component that are configured with configuration information are ranked up, so as to obtain service logic generation
Code, namely operation flow mentioned above, then according to the operation flow (i.e. business logic codes), perform the business.
Wherein, when server receives the business execution request of client transmission, performed and included in request according to the business
Service identification determine client by preposition verification and cryptographic check, confirm that user can enter industry by this business
, it is necessary to show the page as shown in Figure 2 B to user by client during business processing, therefore, server receives client transmission
Business when performing request, it is necessary to perform the service identification that includes in request according to the business, further determine that out that client exists
The splicing order of each view component label, each view component required during the page shown in Fig. 2 B is shown, and it is to be presented in figure
Content of pages in the 2B pages, and the carrying of these page configuration contents is handed down to the client in business execution information.
And client determines that the user can carry out business by the business by performing preposition verification, cryptographic check
During processing, then each view component mark (the business information input group included in the business execution information that can be issued according to server
Part mark, business details component exhibiting mark, business rule component exhibiting mark and operating area component mark), from default
View component storehouse in determine corresponding each view component, and by the content of pages included in business execution information configuration each
In view component.
Wherein, client can be further according to each subpage frame content included in business execution information and each view component
Corresponding relation, determines each view component content of pages to be rendered, and then by the corresponding each sets of views of each subpage frame content
Rendered in part.
For example, for the business details component exhibiting in Fig. 2 B, server is receiving the business of client transmission
Perform after request, the service identification included in request can be performed according to the business, institute in the business details component exhibiting is determined
The subpage frame content to be shown, similarly, server can determine each view component son to be shown successively in an identical manner
Content of pages, and then the corresponding relation of each subpage frame content and each view component is carried in the business execution issued to client
In information.
And client can be wrapped after the business execution information that server is issued is received according in the business execution information
The corresponding relation of each view component contained and each subpage frame content, by each several part of the content of pages included in business execution information
It is arranged respectively in corresponding each view component and is rendered, so as to obtains the page as shown in Figure 2 B.
Carried out it should be noted that the preposition verification and cryptographic check that are previously mentioned in above-mentioned example are client backgrounds
, user can not see these checking procedures in itself, and user is during the business is performed, and what is actually seen is then
The page that Fig. 2 B are shown, so, spoken for above-mentioned example, preposition verification, cryptographic check and page presentation are constituted
The operation flow of the business, client can carry out the execution of the business according to this operation flow.
In from the above as can be seen that due to each Service Component needed for the execution business that is pre-saved in client with
And each view component, so, either the flow of business builds and carries out structure to the page shown in process of service execution
Build, the client all only business execution informations that need to be issued according to server, you can by these Service Component for pre-saving with
And view component, construct corresponding operation flow and the business page for different business, business development personnel without
During business development, specific configuration work is carried out to the business in client, but pull out the common ground of each business (i.e.
Service Component and view component), configuration is in the client, follow-up only to need basis in the form of Service Component and view component
The configuration information configured in the server for every business in advance, each Service Component and view component in client are entered
Row combination, you can different business are formed, so that the cost consumed when greatly reducing business development and time, improve
The development efficiency of business.
Because business development personnel in advance configure the corresponding configuration information of each business in the server, so, server
When the business for receiving client transmission performs request, it is necessary to perform the service identification included in request according to business, it is determined that
Go out each Service Component mark corresponding with the service identification, each view component mark, each Service Component suitable when business is performed
Splicing order in the page of sequence, each view component, the configuration information of content of pages to be presented and each Service Component, and then
These business configuration contents and page configuration content are carried in business execution information, so that client can pass through the business
Execution information, carries out business execution.For the process of service execution of further instruction the application, below by with the angle of server
Spend that the application is described in detail.
The schematic diagram for another process of service execution that Fig. 3 provides for the embodiment of the present application, specifically includes following steps:
S301:The business for receiving client transmission performs request, and the business performs request and obtained for the client
Business execution information needed for execution business.
When user performs business operation in the client, as clicked on the entrance control shown in Fig. 2A, client is by root
According to the business operation performed by user, generate corresponding business and perform request, the business then is performed into request transmission extremely services
In device, server, can be in subsequent process, by client executing business after the business for receiving client transmission performs request
Required business execution information is handed down to client, so that the client can be held by the business execution information to business
OK.
S302:Generate the business and perform the corresponding business execution information of request.
For every business, different business has respective service logic, operation flow and the business page, institute
So that business development personnel are when carrying out business development, it is necessary to which for every business, different business are respectively configured in the server
Business configuration content and the page configuration content such as component mark, the corresponding configuration information of Service Component, content of pages, so that clothes
Business device subsequently can issue corresponding business configuration content after the business for receiving client transmission performs request to client
And page configuration content.
Therefore, server can be performed in request after the business for receiving client transmission performs request according to the business
Comprising service identification, determine that the Service Component matched with the service identification mark, each Service Component were performed in business
The configuration information of order and each Service Component in journey, and then generate corresponding business execution according to these business configuration contents
Information.
For example, server is after the business for receiving client transmission performs request, it may be determined that go out the business and perform request
In include business A service identification, and then the business A of determining required preposition verification component marks, close in the process of implementation
Code check component is identified and risk test and appraisal component mark, and these Service Component distinguish corresponding configuration information, and these industry
Business component be in business A implementation procedure according to:What the order of preposition verification-risk test and appraisal-cryptographic check was carried out, therefore,
Server can generate corresponding business execution information according to the business configuration content for business A determined.
In the embodiment of the present application, when the business that server is sent according to client performs request, determine that client exists
, it is necessary to show the page specified to user during performing the business, therefore, server can be performed further according to the business
The service identification included in request, determines that each view component corresponding to the service identification is identified, each view component is in the page
In splicing order, and the content of pages to be shown in the page, and the carrying of these page configuration contents is held in business
Client is handed down in row information, so, the business execution information that client can be issued according to server is entered to the business
Row is performed, and in the implementation procedure of the business, page presentation is carried out to user.
S303:The business execution information is back to the client, so that the client is held according to the business
The corresponding Service Component of each Service Component mark included in row information and each industry included in the business execution information
Each configuration information of business component, performs business.
The business that server is sent according to client performs request, generates after corresponding business execution information, can be by the industry
Business execution information returns to client, so that client is according to the business execution information, generates corresponding operation flow, service page
Face, and perform the business according to the operation flow.Wherein, the business execution information that client is issued according to server carries out business
The process of execution, referring specifically to the content in above-mentioned steps S103~S104, herein just without being described in detail.
It should be noted that in above-mentioned steps S302, server performs request in the business for receiving client transmission
Afterwards, it may be necessary to the corresponding business of request progress is performed to the business and performs processing, and obtained service executing result is carried
Client is handed down in above-mentioned business execution information.
For example, in fig. 2b, when user is on the business information inputting interface (boundary i.e. corresponding to business information input module
Face) in have input a section business information, and click after determination performs, this according to performed by user is specified behaviour by client
Make, generate corresponding business and perform request, and the business is performed into request transmission into server.Server is receiving client
The business that end is sent is performed after request, it is necessary to perform request carry out business execution processing to the business, and obtain business execution
As a result, then, server needs to carry the service executing result in above-mentioned business execution information, so that client is being received
To after the business execution information, it is illustrated in the service executing result as content of pages in the corresponding page, wherein, the page
Building process it is identical with the mode in above-mentioned steps S104, herein just without being described in detail.
In actual applications, different business all different business processing modes, e.g., in finance and money management, such as fund,
All there is certain difference in the trading processing mode of the finance products such as gold, futures, it is therefore desirable to for different finance products
Different transaction systems are set, server when receiving the financing transaction request that user is sent by client, it is necessary to according to
The finance product mark (such as financing title) included in financing transaction request, determines and identifies the friendship matched with the finance product
Easy system, and then the transaction system by determining, are handled the financing transaction request implementation, so as to obtain rational transaction knot
Really.
Therefore, in the embodiment of the present application, server is performing the mistake that request carry out business performs processing to above-mentioned business
, it is necessary to perform the service identification included in request according to the business in journey, the business system matched with the service identification is determined
System, is handled so that the business is performed into request and sent to the operation system, and then receives the operation system and handle the business
Perform the rational service executing result returned after request.
It should be noted that in above-mentioned steps S104, user clicks into after control in fig. 2, client according to
The business operation that family is performed, generates corresponding business and performs request, and perform request according to the business by server and return
The business execution information returned, by the page shown in preposition verification, cryptographic check and displaying Fig. 2 B, is completed relative to the industry
Business performs the process of service execution of request.
And when user inputs corresponding business information in fig. 2b, and click confirmation and perform after control, client will also
Corresponding business is generated again and performs request, and the business is performed into request and is sent into server, and server is according to the business
Request is performed, the corresponding business of request progress is performed to the business and performs processing, and the carrying of obtained service executing result is existed
Client is handed down in business execution information in above-mentioned steps S303, client will pass through structure according to the business execution information
The risk test and appraisal built out and the displaying service executing result page, complete to confirm to perform the business after control relative to user's click
Implementation procedure.
That is, the confirmation that user clicks on the entrance control in Fig. 2A and clicked in Fig. 2 B is performed after control, client
End is actually to have carried out business execution twice, and it is to click on the entrance control in Fig. 2A for user and enter that a preceding business, which is performed,
Capable, then a business performs the confirmation for being then to be directed in Fig. 2 B that user clicks on and performs control and carry out.Although, client
End has carried out process of service execution twice, still, this twice process of service execution be substantially just as, i.e., be all by taking
The business execution information that issues of business device, determines each Service Component needed for process of service execution, each Service Component in business
Order, the configuration information of each Service Component, each view component, each view component in implementation procedure splicing order and wait to open up
The content of pages shown, and then according to these business configuration contents and page configuration content determined, business execution is carried out, and
The corresponding page is shown in the process.
Certainly, two process of service execution involved by above-mentioned Fig. 2A and Fig. 2 B can also merge into a business and perform
Journey, i.e. after the business that Fig. 2A entrance control is clicked on according to user and is generated is performed request by client to be sent to server,
Server is except the business configuration content involved by Fig. 2A and page configuration content are carried in above-mentioned business execution information
In addition, the business configuration content involved by Fig. 2 B and page configuration content can be also carried in the business execution information, and then
Client is handed down to by the business execution information in the lump, so, client can be carried out continuously by the business execution information
Business involved by Fig. 2A and Fig. 2 B is performed, without sending one after the business execution involved by Fig. 2A terminates, then to server
Secondary business performs request.
It should be noted that, in the embodiment of the present application, client may be only related to during business execution is carried out
To the process of page presentation, so, in this case for, the business execution information that server is issued to client also will be
The business execution information of page configuration content is only included, client can be according in the page configuration included in the business execution information
Hold (splicing order in the page of such as each view component mark, each view component, content of pages to be presented), performed in business
During construct the corresponding page and show.Similarly, when client is in process of service execution is carried out, it is not related to page presentation
When, then it can only include business configuration content (such as each Service Component mark in the business execution information that server is issued to client
Know, order of each Service Component in process of service execution, the configuration information of each Service Component), accordingly, client is also by root
The business execution information issued according to server, carries out the process of service execution not comprising page presentation.
The process of service execution provided herein described in detail above from two sides of client and server, be
Further the application is illustrated, below process of service execution provided herein will be said on the whole
It is bright, as shown in Figure 4.
The client and the business of server that Fig. 4 provides for the embodiment of the present application perform schematic diagram.
In Fig. 4, correspondence items business in client, client supports the execution of these business to be by business development people
What member realized in the business layout engine of client deployment, Service Component storehouse, configuration manager, when client receives service
After the business execution information that device is issued, it can be identified by each Service Component included in business execution information, from business Component Gallery
In determine corresponding each Service Component, and by configuration manager, by each Service Component included in business execution information
Configuration information assignment configuration is in each Service Component determined, then, by business layout engine, according to business execution information
In the order of each Service Component for including in process of service execution each Service Component for being configured with configuration information is ranked up,
So as to obtain operation flow required when business is performed, i.e. business logic codes.
In Fig. 4, safety protection component, Network connectivity component and data monitoring component are also included in client, this
A little components will not be performed to the business of business in itself for every business, and impacted, i.e. these components are appreciated that
The additional act for needing to carry out in process of service execution is carried out for client, e.g., for Network connectivity component, the component
It is responsible for the information exchange between client and server, so, for every business, only a network connection group need to be set
Part, you can the information for meeting all business is sent and information reception demand;For another example for data monitoring component, respectively
Item business is required for periodically reporting counted business practice condition to server after having performed, so, for all
For business, a data monitor component equally can be only set, you can meet all business and perform shape to server reporting service
The demand of condition.
And for server, business route, configuration information management system, component Configuration letter are provided with the server
Breath, wherein, the business that business route is responsible for being sent according to client performs request, determines that the business is performed and asks into industry
Operation system needed for business execution processing, configuration information management system is then to perform request for the business sent according to client
In the service identification that includes, determine that the configuration information of each Service Component corresponding to the service identification, and client are being held
The content of pages for the page to be shown during the row business, and component configuration system is then responsible in follow-up business execution request
Comprising service identification, determine each Service Component mark corresponding with the service identification, each view component mark, each service groups
The splicing order of order and each view component of the part in process of service execution.Service portal system shown in Fig. 4 is then
Request is performed for receiving the business that client is sent by Network connectivity component, and business execution is issued to client and is asked
Seek corresponding business execution information.
It should be noted that in the process of service execution of the finance product of described above, generally can all be related to
Payment process, for the technology carrier involved by payment process in the embodiment of the present application, can include near-field communication (Near
Field Communication, NFC), swipe the card technology, Quick Response Code barcode scanning technology, bar code of WIFI, 3G/4G/5G, POS sweep
Code technology, bluetooth, infrared, short message (Short Message Service, SMS), Multimedia Message (Multimedia
Message Service, MMS) etc..
It should be noted that, in actual applications, for different business, it may include multiple pages,
In these pages, it is, namely the page with other business closely related in itself with the business that may have the most page
There is larger difference, common ground is less, so, the page makeup that the embodiment of the present application is previously mentioned is not related to these pages
Structure.But, for the different business in same client, even if there is larger difference in these business, these industry
It is to have larger common ground that still can have a part of page in the included page of business.
By taking finance product as an example, numerous finance products may be included in the client, may in these finance products
Include multiple pages, in these pages, the most page is designed for the finance product, namely and its
His finance product does not have larger contact, still, finance product whatever, can be related to and buy in the page and friendship
Easy result displayed page, wherein, for buying in the page, the page of buying in of each finance product is to include that to buy in finance defeated
Enter the contents such as part, market settlement introductory section, so, can be by above stating for this kind of concomitant greatly page
Bright business executive mode constructs the corresponding page, and is shown to user, so as to reduce business to a certain extent
The consumed cost of exploitation and time, improve the development efficiency of business.
The method performed above for the business that the embodiment of the present application is provided, based on same thinking, the embodiment of the present application is also
The device that two kinds of business are performed is provided, as shown in Figure 5,6.
The schematic device that Fig. 5 performs for a kind of business that the embodiment of the present application is provided, is specifically included:
Generation module 501, the business operation performed according to user generates corresponding business and performs request;
Sending module 502, performs request by the business and sends to server, so that the server is according to the business
Request is performed, corresponding business execution information is returned;
Determining module 503, is identified according to each Service Component included in the business execution information, from default service groups
Determine that each Service Component identifies corresponding Service Component in part storehouse;
Business execution module 504, according to each industry included in each Service Component of determination and the business execution information
The configuration information of business component, performs business.
The business execution module 504, each Service Component is arranged respectively at by the corresponding each configuration information of each Service Component
In;According to the order of each Service Component included in the business execution information, the Service Component of each configuration information will be configured with
It is ranked up, obtains business logic codes;Business is performed according to the business logic codes.
Also included in the business execution information each view component mark, each view component splicing order and wait to open up
The content of pages shown;
Described device also includes:
Display module 505, is identified according to each view component included in the business execution information, from default sets of views
Determined and the corresponding view component of each view component mark in part storehouse;Each view component, the business according to determining are performed
The splicing order of each view component included in information and content of pages to be presented, to be opened up when building carry out business execution
The page shown;The page is shown when carrying out business execution.
The schematic device that Fig. 6 performs for another business that the embodiment of the present application is provided, is specifically included:
Receiving module 601, the business for receiving client transmission performs request;
Information generating module 602, request is performed according to the business, is generated the corresponding business of the business execution request and is held
Row information;
Information return module 603, the client is back to by the business execution information so that the client according to
In the corresponding Service Component of each Service Component mark included in the business execution information and the business execution information
Comprising each Service Component each configuration information, perform business.
Described information generation module 602, determines that the business performs the service identification included in request;According to the business
Mark, each Service Component needed for determining the corresponding business of the service identification is identified, each Service Component identifies corresponding each industry
Order and each Service Component corresponding each configuration information of the business component in the client executing business;According to each industry
Business component mark, order and each configuration information of each Service Component in the client executing business, generation are described
Business performs the corresponding business execution information of request.
Described information generation module 602, the service identification included in request is performed according to the business, the client is determined
Hold the content of pages of the page to be shown in the business of execution;According to the service identification, the client displaying institute is determined
State each view component mark required during content of pages and each view component identifies the splicing order of corresponding each view component;
According to each view component mark, the splicing order of each view component and the content of pages, the business is generated
Perform the corresponding business execution information of request.
Described information generation module 602, performs request to the business and handles, obtain corresponding business and perform knot
Really;According to the service executing result, the client each sets of views required when showing the service executing result is determined
Part is identified and each view component identifies the splicing of corresponding each view component sequentially;According to each view component mark, institute
The splicing order and the service executing result of each view component are stated, business execution information is generated.
Described information generation module 602, the service identification included in request is performed according to the business, it is determined that processing is described
Business performs the operation system of request;Business execution request is sent to the operation system, and receives the business system
The system processing business performs the service executing result returned after request.
In the embodiment of the present application, the business operation that client can be performed according to user, generating corresponding business execution please
Ask, and the business is performed into request and send into server, and server can then perform request according to the business, be returned to client
Return corresponding business execution information so that client carries out business execution according to the business execution information.Due to pre- in client
Each Service Component and each view component needed for the execution business first preserved, so, either business flow build and
The page shown in process of service execution is built, the business that client all need to only be issued according to server performs letter
Breath, you can by these Service Component and view component pre-saved, corresponding business is constructed for different business
Flow and the business page, business development personnel to the business in client without during business development, carrying out specific
Configuration work, but will can need to only be completed in the server for the different business configuration content configuration set by different business
The development of business, so that the cost consumed when greatly reducing business development and time, improve the exploitation of business
Efficiency.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow).So
And, with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should
This understands, it is only necessary to slightly programming in logic and be programmed into method flow in integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method flow can be just readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but is not limited to following microcontroller
Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited
Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic
Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded
For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity,
Or realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap
Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system
Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art
For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent
Replace, improve etc., it should be included within the scope of claims hereof.