CN104715309A - Service control method and device - Google Patents

Service control method and device Download PDF

Info

Publication number
CN104715309A
CN104715309A CN201310676390.XA CN201310676390A CN104715309A CN 104715309 A CN104715309 A CN 104715309A CN 201310676390 A CN201310676390 A CN 201310676390A CN 104715309 A CN104715309 A CN 104715309A
Authority
CN
China
Prior art keywords
service
type
button
logic
service condition
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
CN201310676390.XA
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201310676390.XA priority Critical patent/CN104715309A/en
Publication of CN104715309A publication Critical patent/CN104715309A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a service control method and device. The method comprises the steps that a service operation request of a user is received; according to the service operation request, service types and current service states of the service types are obtained; according to the service types and the current service states of the service types, button display logic corresponding to the current service states of the service types is obtained from a preset configuration file, and the configuration file comprises mapping relations between all the service states of the service types and the corresponding button display logic; corresponding buttons are displayed according to the obtained button display logic. The device can replace or be combined with a workflow engine or a state machine to finish calling the corresponding button display logic, and then the operating speed for a server to execute the request of the user is increased.

Description

Service control method and device
Technical field
The application relates to the network communications technology, relates more specifically to a kind of service control method and device.
Background technology
Along with the development of Internet technology, it is mutual more and more frequent that people utilize Internet technology to realize miscellaneous service, and such as, the related services such as generating trading order form operation, fileinfo reception and transmission are mutual.Thus in miscellaneous service reciprocal process, how efficiently Service control to be safeguarded and just seem especially important.
So-called service maintenance normally carries out the associated maintenance such as the expansion of business function, the instant process of business operation on existing business basis, and the mode that associated maintenance result is shown with button is presented to user.But, prior art for service maintenance mainly based on realizing the expansion of business function to the process of workflow engine or state machine, the service maintenance such as business operation processes immediately.Then, design corresponding button control logic according to miscellaneous service, and function performed by the steering logic of design is passed to user by the mode of being shown by button, carries out corresponding business operation for user.
Specifically, the steering logic that business button is shown is distributed in the actuating logic of Business Works engine, that is, be inseparable with the actuating logic of workflow engine.Such as, in the actuating logic of each Business Works engine, be a mass of the steering logic that button is shown everywhere, whenever needs this steering logic modified or expanded editing time, all must process for whole workflow engine actuating logic.Therefore, form editor's run time version when service maintenance tediously long, usually cause the unusual complexity of business operation implementation and time complexity excessive, arithmetic speed is slow, and needs to pay sizable maintenance and cost of development.
Summary of the invention
The object of the application is, provides a kind of service control method and device, to solve problems of the prior art.
According to an aspect of the application, a kind of service control method is provided, comprises: the business operation request receiving user; According to business operation request, obtain type of service and the current service condition under this type of service; According to type of service and the current service condition under this type of service, in the configuration file preset, obtain the button corresponding with the current service condition under type of service show logic, configuration file comprises the mapping relations that each service condition under each type of service and corresponding button show logic; And show that logic shows corresponding button according to the button got.
According to another aspect of the application, a kind of business control device is provided, comprises: receiver module, for receiving the business operation request of user; Acquisition module, for according to business operation request, obtains type of service and the current service condition under this type of service; Calling module, for according to type of service and the current service condition under this type of service, in the configuration file preset, obtain the button corresponding with the current service condition under type of service show logic, configuration file comprises the mapping relations that each service condition under each type of service and corresponding button show logic; And display module, for showing that logic shows corresponding button according to the button got.
Compared with prior art, according to the technical scheme of the application, by the business operation request of user received, obtain type of service and the current service condition under this type of service, thus according to type of service and the current service condition under this type of service, in the configuration file preset, obtain the button corresponding with the current service condition under type of service show logic, and then the button got can be shown that logic shows corresponding button.And show calling of logic without the need to being completed the corresponding button by workflow engine or state machine, thus improve the operating speed that server performs user's request.
In addition, by setting up configuration file, workflow engine or state machine both can have been replaced to show to complete required button, also can realize button in conjunction with work on hand stream engine or state machine and show.And, along with the continuous increase of business only can realize the corresponding demand of user to business operation by Reconfigurations file.Therefore, greatly development and maintenance cost can be reduced.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the present application, and form a application's part, the schematic description and description of the application, for explaining the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 shows the process flow diagram of the service control method according to the application's embodiment;
Fig. 2 shows the process flow diagram setting up the method for configuration file according to the application's embodiment;
Fig. 3 shows the schematic diagram of the mapping relations of showing logic for illustration of type of service, service condition and button in configuration file;
Fig. 4 shows the process flow diagram carrying out the method safeguarded for set up configuration file according to the application's embodiment;
Fig. 5 shows the process flow diagram of the service control method according to the application's specific embodiment; And
Fig. 6 shows the structured flowchart of the business control device according to the application's embodiment.
Embodiment
The main thought of the application is just, both original workflow engine can have been substituted or state machine carrys out executive button steering logic by preset configuration file, also can to have combined corresponding button control logical operation with workflow engine or state machine, namely, business operation request is sent with user orientation server for what receive, obtain type of service and the current service condition under this type of service, and correspond to the button corresponding with obtained type of service and the current service condition under this type of service by default configuration file and show logic.Thus decrease the unusual complexity of the business operation implementation that causes because edit code is tediously long and the excessive problem of time complexity, and then reduce maintenance and cost of development.
Here it is pointed out that the button in the application's scheme can be Service control button, for realizing the process in certain stage of certain business; Also can be non-controlling class button, that is, show action button, for being linked to network address on certain internet.
For making the object of the application, technical scheme and advantage clearly, below in conjunction with the application's specific embodiment and corresponding accompanying drawing, technical scheme is clearly and completely described.Obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
The process flow diagram of the service control method according to the application's embodiment is shown with reference to figure 1, Fig. 1.
As shown in Figure 1, in step S110 place, receive the business operation request of user.
Specifically, when user sends business operation request by browser page to server, server can receive the business operation request sent from browser.Wherein, business operation request can be the miscellaneous service operation requests such as the related service tracking after user order inquiries, mail or document after buying commodity send.
In step S120 place, according to business operation request, obtain type of service and the current service condition under this type of service.
Specifically, the business operation due to user be all server pre-set present to user application, so the business operation request that user proposes, server can get corresponding type of service, service condition by various means.More specifically, type of service can be media services (Media), chargeable service (Paid Service), or the network of relation interactive service such as commercial affairs (Physical Commerce) in kind.Multiple business state can be there is under often kind of type of service, and the processing stage that service condition referring to each of certain business.In fact the business operation request of user corresponds to certain service condition of this business.
According to the application one embodiment, server is when receiving business operation request, go out this business operation request according to the contextual analysis of user's current request process and belong to any business operation type, and then under this business operation type, need to carry out which business processing for this current business operation request, thus determine corresponding service condition.More specifically, when user sends business operation request by current place Webpage to server, this business operation request can carry the related data information (that is, the context of request process) of the current network page.And then server can determine type of service belonging to current business operation requests and corresponding service condition according to these data messages.
In a specific embodiment, when server receive that user sends ask for " reimbursement of American-European money wind coat " time, server goes out according to the contextual analysis of current request process the type of service that active user is in interactive business, that is, active user's behavior is " transaction of applying for a refund ".Now, under server is in and needs process " interactive business type of service ", the processing stage of for " reimbursement of American-European money wind coat ".So what server will perform at once is operate mutually for the reimbursement business in " type of service of interactive business ".
Next, in step S130 place, according to type of service and the current service condition under this type of service, in the configuration file preset, obtain the button corresponding with the current service condition under type of service show logic.
According to the application one embodiment, configuration file can comprise the mapping relations that each service condition under each type of service and corresponding button show logic.Button shows that logic can be the mode of displaying process for the button in a certain service condition or execution.
Here it is pointed out that the effect of configuration file is, logic shown by the button that it can be mapped to corresponding to the service condition under present type of service.Namely under can realizing current traffic state, required executive button shows logic.The mechanism of this step is just, shows before logic whenever needs perform corresponding button, is all to be determined under present type of service for the processing mode (i.e. button displaying logic) performed corresponding to a certain business operation state by configuration file.Can to replace thus in prior art and must can realize corresponding control through Code Design layer by layer and show logic, thus it is slow to avoid the arithmetic speed caused because business operation implementation is complicated.And then decrease corresponding maintenance cost.
Process of establishing about configuration file can see the detailed description of Fig. 2 after a while.
Next, in step S140 place, show that logic shows corresponding button according to the button got.
According to the application one embodiment, for the current traffic state under type of service, after getting corresponding button displaying logic by configuration file, corresponding button can be performed by front end system and show logic, to be shown accordingly by button.
In a specific embodiment, server receives user when being asked by " reimbursement of American-European money wind coat " that browser page sends, ask the browsing information of the page sent to judge that this type of service is interactive business according to it, service condition is " reimbursement ".And then according to above-mentioned judged type of service and business state information, in the configuration file preset, obtain the corresponding button of reimbursement state under interactive business type of service show logic.Now, want executive button to show logic is that the button carrying out " hand over money to order examination & verification " for " reimbursement " this service condition is shown.So button shows that the button of " handing over the examination & verification of money order " will be showed user by logic, implements related service operation for user.
To the service control method that described herein according to the application's embodiment.About the process of establishing of wherein configuration file, be described in detail below in conjunction with Fig. 2.
With reference to Fig. 2, illustrated therein is the process flow diagram setting up the method for configuration file according to the application's embodiment.
As shown in Figure 2, in step S201 place, according to existing business, logic shown by the button obtaining corresponding service type, miscellaneous service state under type of service and each service condition corresponding.
According to the embodiment of the application, existing business comprises up to the present the carried all types of service of server, and the miscellaneous service state under type of service.Wherein, for the multiple business state comprised under often kind of type of service, correspond to multiple button under often kind of service condition and show logic.
In one in particular cases, some button shows in logic there is special processing logic.When there is special processing logic, usually needing first to perform special processing logic, and then showing button.
Specifically, existing business is all types of service that server is up to the present carried, such as, and the various interactive services such as the commercial affairs of media, practice, chargeable service.Such as, trading order form inquiry business state and server arranges the multiple business state required for its correspondence according to corresponding type of service, under the uploaded videos service condition under media service type, practice businesses type etc.So, be no matter the service condition under which kind of type of service and this type of service, all need server to process accordingly or executive means it, namely determine that logic shown by button corresponding with it.
More specifically, in actual design, configuration file can realize in many ways.Such as, can pass through extend markup language (XML, Extensible Markup Language) or, the property file (Properies) similar with XML is as configuration file.
According to a specific embodiment of the present invention, utilize xml language to compile configuration file.Such as, in the configuration file that run time version below represents, FlowA is type of service, containing two service conditions NodeA, NodeB in FlowA, wherein, service condition NodeA corresponds to Button1, Button2 two buttons and shows logic, and NodeB only corresponding Button3 button displaying logic.Wherein, Button3 button shows that logic comprises special processing logic, handle=" com.alibaba.intl.sample.test.TestHandle ".
Next, in step S220 place, each service condition under type of service and corresponding each button are shown and are set up mapping relations between logic.
Concrete example, as shown in Figure 3, can arrange business form and button displaying logic two lists in configuration file.Wherein, the miscellaneous service state under obtained all types of service and this type of service is formed a business form (business form as shown in Figure 3, includes: type of service A and corresponding service condition A1, A2 ..., An; Type of service B and corresponding service condition B1, B2 ... Bn; ...; Type of service M and corresponding service condition M1, M2 ... Mn), corresponding with its business form is that button shows that (logic list shown by button to logic list as shown in Figure 3, comprises N number of button and shows logic, i.e. button1, button2 ..., buttonN).Again as shown in Figure 3, multiple buttons that each service condition under each type of service in business form and button are shown in logic list are shown that logic is corresponding, namely can be regarded as, business form shown in Fig. 3 and button show that logical table single pass-through solid arrow is connected, and material is thus formed a kind of mapping relations.Thus can realize showing calling at any time of logic to button by this mapping relations, therefore, avoid and repeatedly call workflow engine to judge that logic shown by final button.
Certainly, the button of type of service, each service condition and correspondence shows that the mapping relations of logic also can be realized by a list, and the application does not do any restriction to the realization of configuration file.
The mapping relations of logic shown by button for above-mentioned type of service, each service condition and correspondence, and Xml language can also be utilized to realize being initialised in the middle of internal memory in the process of startup of server related service.Such as, can be stored in interior storage list Map by above-mentioned mapping relations by key-value form, wherein key is the splicing of flow process and node, and namely the mapping of logic shown by service condition and button.Obtain the map value in corresponding Map according to key, namely namely the value of map is that logic shown by corresponding button.
It will be understood by those skilled in the art that the mapping relations of showing logic about the button setting up type of service, each service condition and correspondence, the application is not limited to above-mentioned storage mode, but can adopt other suitable storage mode any.
The method that set up configuration file is safeguarded is further illustrated below in conjunction with Fig. 4.
With reference to Fig. 4, carry out the method flow diagram safeguarded for the configuration file set up in Fig. 2.
As shown in Figure 4, in step S410 place, judge whether that receiving business upgrades demand.
According to the application one embodiment, business is upgraded demand, and can to comprise be that logic shown by the button that each service condition of newly increasing under existing type of service and/or each service condition are corresponding, or logic shown by each service condition under newborn type of service and this type of service and/or button corresponding to each service condition.
According to the application one embodiment, server can by receiving user for the feedback information of business operation, or the mode such as the business operation behavioural information of supervisory user obtains business and upgrades demand.Then, the service condition that the type of service upgraded as required is corresponding with this type of service and/or button show that logic is initiatively added in configuration file.
For example, server monitoring repeatedly clicked the button of " sending order " in 30 minutes to certain user, determine whether this order to send.Now, server can repeatedly receive " sending order " this service condition, and repeatedly call buttons shows that logic carrys out completing user request.Because server is to the number of times calling same button displaying logic, have default request number of times scope in the given time, if beyond this scope, system can send out prompt server processing enter automatically.So when this user repeatedly clicked the button of " sending order " in 30 minutes, may exceed systemic presupposition request scope, if so beyond default request scope, system will report server process center.Thus corresponding analysis can be carried out according to similar request in server process center, if add by analysis " business tracking " this service condition just can solve user worry order send situation, and then proposition business is upgraded demand.
So, when judging that receiving business upgrades demand in step S410, entering step S420, determining that logic shown by the button that corresponding type of service, each service condition and each service condition are corresponding.Then, show that logic enters step S430 according to determined corresponding button, complete Reconfigurations file.When judging that not receiving business upgrades demand in step S410, then terminate the foundation of this configuration file.
Further for example, as shown in Figure 3, if newly increasing type of service is shown in type of service U(dotted line frame), wherein include four service condition U1 in type of service U, U2, U3, the button that U4 is corresponding shows that logic is that the button that (shown in dotted arrow): U1 is corresponding shows that logic is button4, button5, the button that U2 is corresponding shows that logic is button1, the button that U3 is corresponding shows that logic is button3, button5, and wherein, the button that U4 is corresponding shows that logic is that buttonN1 does not have in current configuration file, so, needing buttonN1 to add to button in Fig. 3 shows in logic list, thus can make U4 and buttonN1 continue in configuration file before corresponding relation.And then, corresponding configuration file renewal will be carried out according to business demand in the basis that can be implemented in original configuration file.
It will be understood by those skilled in the art that, only show that logic describes the renewal process of configuration file for the button adding type of service, each service condition and correspondence according to business demand above, but the application is not limited to above-mentioned example, also can delete according to business demand or revise the button displaying logic of each service condition and correspondence.
So far composition graphs 2 to Fig. 4 describes the process of the service control method according to the application's embodiment.Below in conjunction with Fig. 5, the Service control process according to another embodiment of the application is described.
With reference to Fig. 5, illustrated therein is the service control method according to another embodiment of the application.Wherein step S510 and S520 is corresponding to the step S110 in Fig. 1 and S120, therefore repeats no more about the detail of these two steps here.
According to the application one embodiment, after obtaining type of service and the current service condition under this type of service, in step S530 place, each type of service in traversal configuration file, with the type of service that the type of service navigated to get is identical.
According to the application one embodiment, according to obtained type of service, the identification information of this type of service can be obtained further (such as, type of service coded message, type of service abbreviated keyword etc.), the mode of then carrying out order traversal or mating traversal one by one in configuration file navigates to type of service identical with it.But the application is not limited to above-mentioned two kinds of traversal modes.
Next, in step S540 place, travel through each service condition under the type of service navigated to, with the service condition that the service condition navigated to get is identical.
According to the application one embodiment, be directed to the traversal of service condition, travel through navigating under corresponding type of service.Wherein, the traversal mode of service condition can travel through in configuration file according to concrete business operation request instruction information.
Specifically, according to the business operation request of user, it is practice commercial affairs that server has got its type of service, and service condition is the state of generating trading order form.This type of service known navigates in configuration file, so now, can by the service condition of its correspondence, namely generating trading order form in configuration file in practice businesses type with in the business operation request received with request instruction the service condition of " generating trading order form " is traveled through.
Next, in step S550 place, obtain the button corresponding with the service condition navigated to and show logic.
Specifically, for the service condition navigated in configuration file under type of service and this type of service, now, server can according to calling in the configuration file that pre-set showing logic by the button under service condition.Thus avoid based on a lot of branch in foreground Service control flow process just can call corresponding button show logic.
Notice for step S530 and S550 the present application, process related service operation requests based on workflow engine if current, so when getting corresponding type of service, service condition and button and showing logic, can directly loading configuration file call accordingly.Thus developer can be avoided to carry out more troublesome code compilation.
In step S506 place, judge that the corresponding button of current service condition shows whether logic exists special processing logic.
According to the application one embodiment, special processing logic can be that logic shown by the button of the business operation with risk, and such as, pending business operation is for relating to bank card password input, unnamed file download etc.In other words, special processing logic can be that server pre-sets the button displaying logic needing to carry out special processing.
Specifically, when logic shown by the button navigated to when configuration file corresponding to each service condition under this type of service, according to the button of location, server can show that logic judges that this button shows whether logic is special processing logic.
When step S506 judges that the corresponding button of current service condition shows that logic exists special processing logic, then enter step S507, first perform special processing logic, then show corresponding button.
Specifically, when performing special processing logic, at executive button, server can show in logical process process that the class loading corresponding special processing logic (is equivalent in step S210, handle interface in shown example code), wherein, the effect of the class of special processing logic is the risk of this business operation of prompting user when showing button, or, be the explanation etc. for instructing user security to operate when showing button.More specifically, when running into some special service logics, general displaying logic cannot meet, so provide the process class handle of some special processing logics.In example code such as shown in step S210, Button3 is special processing logic, and so Button3 just need carry out special processing logic before displaying, namely calls the handle class presetting definition.Such as, the definition of handle class can be set to xml language:
It will be understood by those skilled in the art that and be not limited to, above by the method for definition handle class, also to be processed by other appropriate method according to business demand for special processing logic the application.
When step S506 judges that the corresponding button of current service condition shows that logic does not exist special processing logic, then enter step S508, directly the corresponding button of displaying.
Specifically, the current button navigated to shows logic not in the particular service class set by server, does not so just need to perform special processing logic, directly presses navigated to button and shows that logic is transferred corresponding button and shown.
To the service control method that described herein according to the application one embodiment, wherein, according to the business operation request of the user received, obtain type of service and the current service condition under this type of service, logic can be shown by obtaining the button corresponding with the current service condition under type of service in the configuration file preset, thus realize the button got to show that logic shows corresponding button.Therefore, show calling of logic without the need to completing the corresponding button through workflow engine or state machine, thus improve the operating speed that server performs user's request.
Further, according to the application one embodiment, by setting up configuration file, workflow engine or state machine both can be replaced to show to complete required button, also can realize button in conjunction with work on hand stream engine or state machine and show.And, along with the continuous increase of business only can need carry out Reconfigurations file according to business, the corresponding demand of user to business operation can be realized.Therefore, greatly development and maintenance cost can be reduced.
Similar with above-mentioned service control method, the embodiment of the application also provides corresponding business control device.
The schematic block diagram of the business control device 600 according to the application one embodiment is shown with reference to Fig. 6, Fig. 6.
As shown in Figure 6, device 600 can comprise: receiver module 610, acquisition module 620, calling module 630, display module 640.
Specifically, receiver module 610 may be used for the business operation request receiving user.Acquisition module 620 may be used for according to business operation request, obtains type of service and the current service condition under this type of service.Calling module 630, may be used for according to type of service and the current service condition under this type of service, in the configuration file preset, obtain the button corresponding with the current service condition under type of service show logic, wherein, configuration file comprises the mapping relations that each service condition under each type of service and corresponding button show logic.Display module 640, may be used for showing that logic shows corresponding button according to the button got.
According to the application one embodiment, device 600 can also comprise: configuration module (not illustrating in the drawings), may be used for according to existing business, logic shown by the button obtaining corresponding service type, miscellaneous service state under type of service and each service condition corresponding, and each service condition under type of service and corresponding each button are shown and set up mapping relations between logic.
According to the application one embodiment, configuration module, can also be used for upgrading demand according to business, determines that logic shown by the button that corresponding type of service, each service condition and each service condition are corresponding; And show logic according to the type of service determined, service condition and button, upgrade described configuration file.
According to the application one embodiment, calling module 630, may further include: the first traversal submodule, may be used for traveling through each type of service in configuration file, with the type of service that the type of service navigated to get is identical.Second traversal submodule, may be used for traveling through each service condition under the type of service navigated to, with the service condition that the service condition navigated to get is identical.Obtain submodule, may be used for obtaining the button corresponding with the service condition navigated to and show logic.
According to the application one embodiment, display module 640, can also be used for judging that the corresponding button of current service condition shows whether logic exists special processing logic, if there is special processing logic, then first perform special processing logic, then corresponding button is shown, and if there is no special processing logic, then directly show corresponding button.
Business control device described above is corresponding with the process of the service control method described before, therefore, about more detailed ins and outs, and can see the method described before.
In one typically configuration, computing equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as ROM (read-only memory) (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.
Computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computing machine comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic RAM (DRAM), the random access memory (RAM) of other types, ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc ROM (read-only memory) (CD-ROM), digital versatile disc (DVD) or other optical memory, magnetic magnetic tape cassette, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise temporary computer readable media (transitory media), as data-signal and the carrier wave of modulation.
Also it should be noted that, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment comprising described key element and also there is other identical element.
It will be understood by those skilled in the art that the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The foregoing is only the embodiment of the application, be not limited to the application.To those skilled in the art, the application can have various modifications and variations.Any amendment done within all spirit in the application and principle, equivalent replacement, improvement etc., within the right that all should be included in the application.

Claims (10)

1. a service control method, is characterized in that, comprising:
Receive the business operation request of user;
According to described business operation request, obtain type of service and the current service condition under this type of service;
According to described type of service and the current service condition under this type of service, in the configuration file preset, obtain the button corresponding with the current service condition under described type of service show logic, described configuration file comprises the mapping relations that each service condition under each type of service and corresponding button show logic; And
Show that logic shows corresponding button according to the described button got.
2. method according to claim 1, is characterized in that, the step of described preset configuration file, comprises further:
According to existing business, logic shown by the button obtaining corresponding service type, miscellaneous service state under described type of service and each service condition corresponding; And
Each service condition under described type of service and corresponding each button are shown and are set up mapping relations between logic.
3. method according to claim 2, is characterized in that, also comprises:
Upgrade demand according to business, determine that logic shown by the button that corresponding type of service, each service condition and each service condition are corresponding; And
Show logic according to described type of service, service condition and the button determined, upgrade described configuration file.
4. method according to claim 1, is characterized in that, obtains the step that logic shown by the button corresponding with the current service condition under described type of service, comprise further in preset configuration file:
Travel through each type of service in described configuration file, to navigate to the type of service identical with the described type of service got;
Each service condition under the type of service navigated to described in traversal, to navigate to the service condition identical with the described service condition got; And
Obtain the button corresponding with the described service condition navigated to and show logic.
5. the method according to any one of claim 1-4, is characterized in that, shows that logic shows the step of corresponding button, comprise further according to described button:
Judge that the corresponding button of described current service condition shows whether logic exists special processing logic;
If there is special processing logic, then first perform described special processing logic, then show corresponding button; And
If there is no special processing logic, then directly show corresponding button.
6. a business control device, is characterized in that, comprising:
Receiver module, for receiving the business operation request of user;
Acquisition module, for according to described business operation request, obtains type of service and the current service condition under this type of service;
Calling module, for according to described type of service and the current service condition under this type of service, in the configuration file preset, obtain the button corresponding with the current service condition under described type of service show logic, described configuration file comprises the mapping relations that each service condition under each type of service and corresponding button show logic; And
Display module, the button for getting described in basis shows that logic shows corresponding button.
7. device according to claim 6, is characterized in that, also comprises:
Configuration module, for according to existing business, logic shown by the button obtaining corresponding service type, miscellaneous service state under described type of service and each service condition corresponding; And each service condition under described type of service and corresponding each button are shown and are set up mapping relations between logic.
8. device according to claim 7, is characterized in that, described configuration module, also for upgrading demand according to business, determines that logic shown by the button that corresponding type of service, each service condition and each service condition are corresponding; And show logic according to described type of service, service condition and the button determined, upgrade described configuration file.
9. device according to claim 6, is characterized in that, described calling module, comprising:
First traversal submodule, for traveling through each type of service in described configuration file, to navigate to the type of service identical with the described type of service got;
Second traversal submodule, for each service condition under the type of service that navigates to described in traveling through, to navigate to the service condition identical with the described service condition got; And
Obtaining submodule, showing logic for obtaining the button corresponding with the described service condition navigated to.
10. the device according to any one of claim 6-9, it is characterized in that, described display module, also for judging that the corresponding button of described current service condition shows whether logic exists special processing logic, if there is special processing logic, then first perform described special processing logic, then show corresponding button, and if there is no special processing logic, then directly show corresponding button.
CN201310676390.XA 2013-12-11 2013-12-11 Service control method and device Pending CN104715309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310676390.XA CN104715309A (en) 2013-12-11 2013-12-11 Service control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310676390.XA CN104715309A (en) 2013-12-11 2013-12-11 Service control method and device

Publications (1)

Publication Number Publication Date
CN104715309A true CN104715309A (en) 2015-06-17

Family

ID=53414617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310676390.XA Pending CN104715309A (en) 2013-12-11 2013-12-11 Service control method and device

Country Status (1)

Country Link
CN (1) CN104715309A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897931A (en) * 2016-06-14 2016-08-24 腾讯科技(深圳)有限公司 Network traffic-free control method and device
CN107025559A (en) * 2017-01-26 2017-08-08 阿里巴巴集团控股有限公司 A kind of method for processing business and device
CN107220031A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 The operation method and device of operation system
WO2018024057A1 (en) * 2016-08-01 2018-02-08 华为技术有限公司 Method and apparatus for accessing service
CN108196879A (en) * 2018-01-09 2018-06-22 平安科技(深圳)有限公司 Method for processing business, device, equipment and computer readable storage medium
CN108734454A (en) * 2018-05-21 2018-11-02 杭州有赞科技有限公司 Reimbursement processing method and system
CN110473086A (en) * 2019-08-14 2019-11-19 中国工商银行股份有限公司 Treating method and apparatus for business
CN110515622A (en) * 2019-08-28 2019-11-29 百度在线网络技术(北京)有限公司 Control method, device, electronic equipment and the storage medium of button state
CN110750262A (en) * 2019-09-25 2020-02-04 北京爱接力科技发展有限公司 Robot system interface display method and device and robot
CN111179091A (en) * 2019-11-13 2020-05-19 泰康保险集团股份有限公司 Business data processing method and device, electronic equipment and storage medium
CN112328143A (en) * 2017-04-14 2021-02-05 创新先进技术有限公司 Button activation method and device
CN113094129A (en) * 2021-03-25 2021-07-09 北京机电工程研究所 Button menu implementation method of weapon control software

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136936A (en) * 2006-10-10 2008-03-05 华为技术有限公司 Service establishing, executing, mapping system and method
US20080165945A1 (en) * 2007-01-08 2008-07-10 Cisco Technology, Inc Reconferencing capability for networked phones
CN102802143A (en) * 2011-05-26 2012-11-28 华为软件技术有限公司 Service restoring method, relevant device and system
CN103020753A (en) * 2012-11-22 2013-04-03 用友软件股份有限公司 Document state display system and document state display method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136936A (en) * 2006-10-10 2008-03-05 华为技术有限公司 Service establishing, executing, mapping system and method
US20080165945A1 (en) * 2007-01-08 2008-07-10 Cisco Technology, Inc Reconferencing capability for networked phones
CN102802143A (en) * 2011-05-26 2012-11-28 华为软件技术有限公司 Service restoring method, relevant device and system
CN103020753A (en) * 2012-11-22 2013-04-03 用友软件股份有限公司 Document state display system and document state display method

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220031B (en) * 2016-03-21 2020-12-29 创新先进技术有限公司 Operation method and device of service system
CN107220031A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 The operation method and device of operation system
CN105897931A (en) * 2016-06-14 2016-08-24 腾讯科技(深圳)有限公司 Network traffic-free control method and device
CN105897931B (en) * 2016-06-14 2018-09-11 腾讯科技(深圳)有限公司 Network exempts from method of flow control and device
WO2018024057A1 (en) * 2016-08-01 2018-02-08 华为技术有限公司 Method and apparatus for accessing service
WO2018137564A1 (en) * 2017-01-26 2018-08-02 阿里巴巴集团控股有限公司 Service processing method and apparatus
CN107025559A (en) * 2017-01-26 2017-08-08 阿里巴巴集团控股有限公司 A kind of method for processing business and device
US11099887B2 (en) 2017-01-26 2021-08-24 Advanced New Technologies Co., Ltd. Service processing method and apparatus
US10817330B2 (en) 2017-01-26 2020-10-27 Advanced Technologies Co., Ltd. Service processing method and apparatus
US10782998B2 (en) 2017-01-26 2020-09-22 Alibaba Group Holding Limited Blockchain-based transaction processing method and apparatus
CN107025559B (en) * 2017-01-26 2020-09-18 创新先进技术有限公司 Service processing method and device
CN112328143A (en) * 2017-04-14 2021-02-05 创新先进技术有限公司 Button activation method and device
CN108196879A (en) * 2018-01-09 2018-06-22 平安科技(深圳)有限公司 Method for processing business, device, equipment and computer readable storage medium
CN108734454A (en) * 2018-05-21 2018-11-02 杭州有赞科技有限公司 Reimbursement processing method and system
CN110473086A (en) * 2019-08-14 2019-11-19 中国工商银行股份有限公司 Treating method and apparatus for business
CN110515622A (en) * 2019-08-28 2019-11-29 百度在线网络技术(北京)有限公司 Control method, device, electronic equipment and the storage medium of button state
CN110750262A (en) * 2019-09-25 2020-02-04 北京爱接力科技发展有限公司 Robot system interface display method and device and robot
CN111179091A (en) * 2019-11-13 2020-05-19 泰康保险集团股份有限公司 Business data processing method and device, electronic equipment and storage medium
CN113094129A (en) * 2021-03-25 2021-07-09 北京机电工程研究所 Button menu implementation method of weapon control software
CN113094129B (en) * 2021-03-25 2024-01-09 北京机电工程研究所 Method for realizing button menu of weapon control software

Similar Documents

Publication Publication Date Title
CN104715309A (en) Service control method and device
CN107038042B (en) Service execution method and device
CN108334387B (en) Dynamic interface rendering method and device
CN107070858B (en) Service processing method and device
CN112241506B (en) User behavior backtracking method, device, equipment and system
CN110688598B (en) Service parameter acquisition method and device, computer equipment and storage medium
JP2017514218A (en) Running third-party applications
CN110717536A (en) Method and device for generating training sample
CN112488855A (en) Business verification method and equipment based on rule template
CN113641940A (en) Page jump method, device, system, equipment and storage medium
CN114089986A (en) Method, system, device and medium for configuring low code development platform function expression
CN113495797A (en) Message queue and consumer dynamic creation method and system
CN113821307A (en) Method, device and equipment for quickly importing virtual machine mirror image
US9779070B2 (en) Providing aggregated data to page generation code for network page generation
CN108153745B (en) Application data calling method and application development system
CN112861033A (en) Method and device for executing service
CN114816361A (en) Method, device, equipment, medium and program product for generating splicing project
CN111464429B (en) WeChat applet multi-item compatible sharing method, system, storage medium and equipment
CN112181407B (en) Service realization processing method, device, system, electronic equipment and storage medium
CN114661826A (en) Data processing method, device and equipment based on block chain
CN114066277A (en) Business decision method, decision platform, readable medium and electronic device
CN109634500B (en) User data filling method and device, terminal equipment and storage medium
CN113434063A (en) Information display method, device and equipment
CN113094048A (en) Data display rule determining method, display method, device, equipment and medium
CN112068895A (en) Code configuration method and device, video playing equipment and storage medium

Legal Events

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

Application publication date: 20150617

RJ01 Rejection of invention patent application after publication