CN110347403A - A kind of program switch control method, device, electronic equipment - Google Patents

A kind of program switch control method, device, electronic equipment Download PDF

Info

Publication number
CN110347403A
CN110347403A CN201910578930.8A CN201910578930A CN110347403A CN 110347403 A CN110347403 A CN 110347403A CN 201910578930 A CN201910578930 A CN 201910578930A CN 110347403 A CN110347403 A CN 110347403A
Authority
CN
China
Prior art keywords
data item
program
switching
switch data
switch
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
CN201910578930.8A
Other languages
Chinese (zh)
Inventor
李晓星
任建峰
李俊红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youfu Computer Technology Co Ltd
Original Assignee
Beijing Youfu Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youfu Computer Technology Co Ltd filed Critical Beijing Youfu Computer Technology Co Ltd
Priority to CN201910578930.8A priority Critical patent/CN110347403A/en
Publication of CN110347403A publication Critical patent/CN110347403A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/43Checking; Contextual analysis
    • G06F8/433Dependency analysis; Data or control flow analysis

Abstract

The invention discloses a kind of program switch control methods, device, electronic equipment, multiple switch data item is configured in the page controller of program, configuration includes the switching rules of context parameters in the page controller, switching rules traverse the multiple switch data item, and the switching codes of the display state of control target pages are generated according to matched switch data item.By the way that switching rules are arranged, switching codes are generated according to the matched switch data item of context parameters, in this way, in the switch state for needing reprogramming, it is only necessary to configure switch data item, therefore, lookup switching codes are not needed to be located in the position of programmed page, the switching codes of the manual identified difference page are not needed, corresponding switching codes can be automatically generated, convenience is good yet.

Description

A kind of program switch control method, device, electronic equipment
Technical field
The present invention relates to computer information processing field, in particular to a kind of program switch control method, device, Electronic equipment.
Background technique
Before providing externally service using application program, it is contemplated that the control to program often combines several scenes to exist The switching codes of setting control program in program, in this way, when needing the operation of time out program due to internal or external, it can To control the process control time out of service by modification switching codes.
In usual way, the on-off mode of adjustment programme is artificially to modify switching codes in programmed page, due to opening Closing code may have multiple, be dispersed throughout multiple pages, thus search procedure is complicated, different coding styles be even more exacerbate it is this Complexity, timeliness caused by artificial adjustment switching codes is poor, and convenience is poor.
Summary of the invention
This specification embodiment provides a kind of program switch control method, device, electronic equipment, to solve the prior art The problem of middle program method of controlling switch convenience difference.
This specification embodiment provides a kind of program switch control method, comprising:
Multiple switch data item is configured in the page controller of program;
Configuration includes the switching rules of context parameters in the page controller;
The switching rules traverse the multiple switch data item, according to the context parameters in the switching rules The switch data item matched generates the switching codes of the display state of control target pages.
It is described that multiple switch data item is configured in the page controller of program in a kind of embodiment wherein, comprising:
When needing the switch to the page of program to be adjusted, corresponding switch is configured in the page controller of program Data item, the switch data item as update.
In a kind of embodiment wherein, the switching rules read the multiple switch data item, open according to described Close the switching codes that the matched switch data item of context parameters in rule generates the display state of control target pages, packet It includes:
The switching rules read the switch data item of the update, as the switching codes of iteration, according to the iteration Switching codes control target pages display state.
In a kind of embodiment wherein, if the configuration in the page controller includes the switch of context parameters Rule, comprising: switching rules are respectively configured for each page type, obtain multiple switch rule,
Then the switching rules read the switch data item of the update, the switching codes as iteration, comprising:
The multiple switching rules read the switch data item of the update, the switching codes of the iteration be with it is described The switching rules that the switch data item of update matches are generated.
In a kind of embodiment wherein, further includes: if not generating the switching codes of iteration, maintain the page of described program The switch state in face.
In a kind of embodiment wherein, the switch data item includes page properties, user group's attribute, terminal category Property, page location attribute, user's operation attribute, show period attribute at least one of.
In a kind of embodiment wherein, the page of described program is service page, and the page controller also controls institute State the program switch of service.
In a kind of embodiment wherein, further includes: control the display state of target pages according to the switching codes.
This specification embodiment also provides a kind of program switch control device, comprising:
Configuration module configures multiple switch data item in the page controller of program;
Configuration includes the switching rules of context parameters in the page controller;
Matching module, the switching rules traverse the multiple switch data item;
Control module generates control target according to the matched switch data item of context parameters in the switching rules The switching codes of the display state of the page.
It is described that multiple switch data item is configured in the page controller of program in a kind of embodiment wherein, comprising:
When needing the switch to the page of program to be adjusted, corresponding switch is configured in the page controller of program Data item, the switch data item as update.
In a kind of embodiment wherein, the switching rules read the multiple switch data item, open according to described Close the switching codes that the matched switch data item of context parameters in rule generates the display state of control target pages, packet It includes:
The switching rules read the switch data item of the update, as the switching codes of iteration, according to the iteration Switching codes control target pages display state.
In a kind of embodiment wherein, if the configuration in the page controller includes the switch of context parameters Rule, comprising: switching rules are respectively configured for each page type, obtain multiple switch rule,
Then the switching rules read the switch data item of the update, the switching codes as iteration, comprising:
The multiple switching rules read the switch data item of the update, the switching codes of the iteration be with it is described The switching rules that the switch data item of update matches are generated.
It in a kind of embodiment wherein, is also used to: if not generating the switching codes of iteration, maintaining the page of described program The switch state in face.
In a kind of embodiment wherein, the switch data item includes page properties, user group's attribute, terminal category Property, page location attribute, user's operation attribute, show period attribute at least one of.
In a kind of embodiment wherein, the page of described program is service page, and the page controller also controls institute State the program switch of service.
In a kind of embodiment wherein, further includes: control the display state of target pages according to the switching codes.
This specification embodiment also provides a kind of electronic equipment, wherein the electronic equipment includes:
Processor;And
The memory of computer executable instructions is stored, the executable instruction when executed executes the processor Method described in this specification any embodiment.
This specification embodiment also provides a kind of computer readable storage medium, wherein the computer-readable storage medium Matter stores one or more programs, and one or more of programs when being executed by a processor, realize any implementation of this specification Method described in example.
This specification record various embodiments by setting switching rules, according to the matched switch number of context parameters Switching codes are generated according to item, in this way, in the switch state for needing reprogramming, it is only necessary to switch data item is configured, because This, does not need lookup switching codes and is located in the position of programmed page, do not need the switching codes of the manual identified difference page yet, Corresponding switching codes can be automatically generated, convenience is good.
Detailed description of the invention
In order to keep technical problem solved by the invention, the technological means of use and the technical effect of acquirement clearer, Detailed description of the present invention specific embodiment below with reference to accompanying drawings.But it need to state, drawings discussed below is only this The attached drawing of invention exemplary embodiment of the present, to those skilled in the art, before not making the creative labor It puts, the attached drawing of other embodiments can be obtained according to these attached drawings.
Fig. 1 is a kind of schematic illustration for program switch control method that this specification embodiment provides;
Fig. 2 is a kind of schematic illustration for program switch control method that this specification embodiment provides;
Fig. 3 is a kind of structural schematic diagram for program switch control device that this specification embodiment provides;
Fig. 4 is a kind of structural schematic diagram for program switch control device that this specification embodiment provides;
Fig. 5 is the structural schematic diagram for a kind of electronic equipment that this specification embodiment provides;
Fig. 6 is a kind of schematic illustration for computer-readable medium that this specification embodiment provides.
Specific embodiment
For a kind of requirement source for adjusting switching codes: platform is according to requiring continuous iteration to upgrade existing product, often It will appear interim pause sale current product, such case is also required to that switching codes manually are arranged.This mode is analyzed It was found that it is because the switching codes of the different pages are different, with a kind of switch generation why existing way, which is arranged a variety of switching codes, Code is difficult to take into account all scenes.It is, therefore, desirable to provide a kind of program switch control method, to improve program switch control method Convenience.
This specification embodiment proposes a kind of program switch control method, and multiple open is configured in the page controller of program Data item is closed, configuration includes the switching rules of context parameters in the page controller, described in the switching rules traversal Multiple switch data item generates control page object according to the matched switch data item of context parameters in the switching rules The switching codes of the display state in face.
By the way that switching rules are arranged, switching codes are generated according to the matched switch data item of context parameters, in this way, When needing the switch state of reprogramming, it is only necessary to configure switch data item, therefore, there is no need to lookup switching codes and be located at In the position of programmed page, the switching codes of the manual identified difference page are not needed yet, corresponding switch can be automatically generated Code, convenience are good.
Need to adjust the requirement source of switching codes for another kind: in the bottom Fund Company of platform docking, often temporarily Stop the business that maintenance is withdrawn deposit or supplemented with money, need urgent cooperation as platform, does corresponding maintenance adjustment, at this moment, switching codes The timeliness of adjustment just seems even more important, if the switch shape of the corresponding service of the operation can be automatically determined according to user's operation State, can to avoid temporarily manually adjust switching codes there are the problem of.
Therefore, this specification embodiment provides a kind of program switch control method, matches in the destination service controller of program The one or more switch data items for setting corresponding each destination service type, based on the destination service type of user's operation request, The switching rules for matching corresponding switch data item composition control the user behaviour according to the match condition of the switching rules Make the program switch for the destination service requested.
By configuring switch data item, when there is user's operation, according to user's operation request, Auto-matching is corresponding opens Rule is closed, to control the program switch of destination service, there is no asking for the difference of timeliness caused by artificial adjustment switching codes Topic, convenience are strong.
Exemplary embodiment of the present invention is described more fully with reference to the drawings.However, exemplary embodiment can Implement in a variety of forms, and is understood not to that present invention is limited only to embodiments set forth herein.On the contrary, it is exemplary to provide these Embodiment enables to the present invention more full and complete, easily facilitates the technology that inventive concept is comprehensively communicated to this field Personnel.Identical appended drawing reference indicates same or similar element, component or part in figure, thus will omit weight to them Multiple description.
Under the premise of meeting technical concept of the invention, the feature described in some specific embodiment, structure, spy Property or other details be not excluded for can be combined in any suitable manner in one or more other embodiments.
In the description for specific embodiment, feature, structure, characteristic or the other details that the present invention describes are to make Those skilled in the art fully understands embodiment.But, it is not excluded that those skilled in the art can practice this hair Bright technical solution is one or more without special characteristic, structure, characteristic or other details.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step, It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity. I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Although it should be understood that may indicate the attribute of number using first, second, third, etc. to describe various devices herein Part, element, component or part, but this should not be limited by these attributes.These attributes are to distinguish one and another one.Example Such as, the first device is also referred to as the second device without departing from the technical solution of essence of the invention.
Term "and/or" or " and/or " include the associated all combinations for listing any of project or more persons.
Fig. 1 is a kind of schematic illustration for program switch control method that this specification embodiment provides, this method comprises:
S101: multiple switch data item is configured in the page controller of program.
In this specification embodiment, target program can be the application program of finance product on line, and finance product can be with It is the product that financing platform provides, is also possible to third party developer's program online on platform;Managing money matters platform can also be with The form of application program shows, and at this moment, application program can be the financing application program of different third party's exploitations, for example, financing Interface etc. is promoted, here, not being limited to the specific display form of target program.
In this specification embodiment, switch data item can be the product page or service page that influence institute program The enumerated value of the factor of switch state.
In order to facilitate reply several scenes, the enumerated value of the factor for the halted state for influencing target program can be taken out As, then classify, for example, can classify to switch data item according to attribute.
In a kind of embodiment wherein, the switch data item may include page properties, user group's attribute, terminal Attribute, page location attribute, user's operation attribute, show period attribute at least one of.
Therefore, described that multiple switch number is configured in the access controller of target program in a kind of embodiment wherein According to item, may include:
The switch data item of different attribute is configured in the access controller of target program according to the attribute of switch data item.
For target program, the attribute for the switch data item of its configuration can have: time attribute, corresponding switch data Item can be the specific time, for example, the period is or, the moment.
In specific application scenarios, switch data item be can be;Daily 23:00-24:00.This, which can be, is derived from The demand that this period of 23:00-24:00 needs debugging routine while pause externally services.
In another application scenarios, switch data is wanted to can be the default date for being later than current date, this may be derived from: Before the default date, target program can not provide external service.
Certainly, the specific time out of service be within the period or outside the period, exclusive or be before the moment, or It is that should be all not particularly limited herein within the application protection scope of this specification embodiment after the moment.
The factor of the halted state of the target program is influenced there are also very much, for example, some assets service in the program (for example embody, supplement with money) will lead to program pause, or using the program as the product of some Fund Company of transaction platform Cause the program out of service.
The factor for influencing the halted state of the target program is also likely to be user group, such as vip user, and net assets are big In 50,000, new user, all users;The position of product either in the interface App, this all can serve as switch data item, this is in reality It in the scene of border, may indicate, show the obstructed page for different users, be not specifically described and limit herein.
In a specific embodiment, switch data item may include:
The position enumerated value of product in target program (such as APP): homepage, details page, individual center;
User group enumerated value: vip user, net assets are greater than 50,000, new user, all users;
Period enumerated value: when date Hour Minute Second (format may is that Y-m-d H:i:s);
Production number enumerated value: XX fund 1, YY fund 2.
It is described that multiple switch data item is configured in the page controller of program in this specification embodiment, it can wrap It includes:
When needing the switch to the page of program to be adjusted, corresponding switch is configured in the page controller of program Data item, the switch data item as update.
In one application scenarios, this can indicate that the program controlled according to switch data item can be online two days later, still At current time, good program and determination can be provided to service operation personnel after debugging, therefore, can be by the switch of time attribute Data item is configured to last time, in this way, just adjust automatically state can provide external service to program immediately.
It include various switching codes in the programmed page in order to make program after configuring switch data item, it should also be Configuration includes the switching rules of context parameters in each page controller of target program, in this way, could be by switch data item Specific value reflection into the switching codes at the halted state for controlling the target program.
S102: configuration includes the switching rules of context parameters in the page controller.
In order to reflect different switch data items into different switching codes, rather than make all switching codes all Corresponding identical switch data, therefore, can configure in each page controller in target program includes context parameters Switching rules.
In this way, due to the presence of context parameters, although allowing for includes that the switching rules of different context parameters can be with Each switch data item is read, but can only be matched with specific switch data item, specific switching codes are generated.
In this specification embodiment, configuration includes the switching rules of context parameters in the page controller, can To include: that switching rules are respectively configured for each page type, multiple switch rule is obtained,
S103: the switching rules traverse the multiple switch data item, according to the context in the switching rules The matched switch data item of parameter generates the switching codes of the display state of control target pages.
In this specification embodiment, the switching rules read the multiple switch data item, according to the switch The matched switch data item of context parameters in rule generates the switching codes of the display state of control target pages, can wrap It includes:
The switching rules read the switch data item of the update, as the switching codes of iteration, according to the iteration Switching codes control target pages display state.
By configuring the switch data item of iteration, original switch data item is covered, opening for iteration can directly generated Code is closed, the halted state of target program can be controlled according to the switching codes of iteration.
In this specification embodiment, if configuration includes context parameters in the page controller described in S102 Switching rules, comprising: switching rules are respectively configured for each page type, obtain multiple switch rule,
Then the switching rules read the switch data item of the update, the switching codes as iteration, comprising:
The multiple switching rules read the switch data item of the update, the switching codes of the iteration be with it is described The switching rules that the switch data item of update matches are generated.
In this specification embodiment, this method further include: if not generating the switching codes of iteration, maintain described program The page switch state.
In this specification embodiment, the page of described program is service page, described in the page controller also controls The program switch of service.
In this specification embodiment, this method can also include: that the exhibition of target pages is controlled according to the switching codes Show state.
In a specific embodiment of S101-S103, may include:
Configure the switch data item of iteration;
Relevant switching rules are implanted under the page controller of application platform, be passed to current context parameters (for example, User identifier, page iden-tity, product identification);
Traverse switch data item: whether the interface enumerated value for matching current context hits, comprising:
Whether the user group according to belonging to active user, matching user's enumerated value hit;
According to the time of server time and configuration, whether match time enumerated value is hit;
If there is the matched switching rules of switch data item with iteration, then starts iteration and load switching codes.
Certainly, this is a kind of schematical example, without that should be the limitation to this specification embodiment.
By the way that the switching rules including context parameters are arranged, generated according to the matched switch data item of context parameters Switching codes allow switching rules to read matched switch data item, so that switching codes are generated, in this way, needing to change When becoming the switch state of the page, since context parameters do not need to modify, it is only necessary to modify switch data item, therefore, no It requires to look up switching codes to be located in which page, on the other hand improves operation ease.
For second of demand, this specification embodiment also provides a kind of program switch control method.
Fig. 2 is the schematic illustration of a kind of program switch control method that this specification embodiment provides, and this method can be with Include:
S201: in one or more switch numbers of the corresponding each destination service type of destination service controller configuration of program According to item.
S202: the destination service type based on user's operation request matches the switch rule of corresponding switch data item composition Then.
S203: according to the match condition of the switching rules, the program of the destination service of the user's operation request is controlled Switch.
By configuring switch data item, when there is user's operation, according to user's operation request, Auto-matching is corresponding opens Close rule, to control the program switch of destination service, there is no artificial adjustment switching codes it is cumbersome caused by timeliness it is poor The problem of, convenience is strong.
Wherein, the destination service in program, which can be, supplements with money, withdraws deposit, transferring accounts, this can be used as the type of destination service, Can certainly further division commonly withdraw deposit for example, quickly withdrawing deposit, this can also be used as the type of destination service.
In this specification embodiment, user's operation request can be the instruction in user's click app,
User's operation substantially sends solicited message to app to the realization for showing interface, and app is sent to server again Solicited message after server returns data to app, then is shown.
In this specification embodiment, it can determine that the instruction is sent out when receiving operational order of the user to destination service Switch data item when raw, to match the switching rules that corresponding switch data item forms.
In this specification embodiment, multiple switch rule, different switch rule can be generated respectively for a destination service It then include different switch data items, switching rules generate total switching codes according to the switch of each switch data item.
In a kind of embodiment wherein, the corresponding each destination service class of destination service controller configuration in program After one or more switch data items of type, further includes:
Switching rules are configured according to the switch data item, the switching rules include at least a switch data ?.
Can include: user group with configuration data items in one of them application scenarios: 18 years old or more, the period " 17:00-8:00 ", the switching rules of setting are as follows: when the condition in switching rules is all satisfied, the service is set to off.
This can be in actual scene, and period is not available the service to the user of under-18s at school, or can not Open the content of the page.
In this way, when app recognizes user's operation, it can be according to the switch data item or context parameters in request Data Matching controls the switch of the service to corresponding rule.
In a kind of embodiment wherein, the destination service type based on user's operation request matches corresponding open The switching rules that data item forms are closed, may include:
Traverse the switch data item in the corresponding each switching rules of the destination service type and each switching rules;
The match condition according to the switching rules, the program for controlling the destination service of the user's operation request are opened It closes, may include:
If traversing the switching rules for requesting corresponding switch data item to form by the user's operation, opened according to Close the program switch of the destination service of the request of user's operation described in rule control.
In a kind of embodiment wherein, this method can also comprise determining that the user's operation requests corresponding switch Data item, comprising:
The switch data item carried in the request is determined, alternatively, according to the switch data item carried in the request Mark determines the corresponding switch data item of the request.
It is described that switching rules are configured according to the switch data item in a kind of embodiment wherein, may include:
Corresponding switch number is determined to the status of support of the destination service according to the bottom docking quotient for providing destination service According to item, switching rules are configured according to the switch data item.
In this way, when knowing that bottom docking quotient can not provide service, for example, the switch number of respective service can be arranged in time According to item, the switch state of service can be judged automatically when user makes requests operation.
In a kind of embodiment wherein, the corresponding each destination service class of destination service controller configuration in program One or more switch data items of type may include;
According to the attribute of the service of described program, user group's attribute, terminal attribute, service interface attribute, user's operation In attribute to a configuration switch data item.
In this way, can realize differentiation to the app in different terminals according to each attribute.
The destination service type matching that user's operation requests corresponding switch data item and the user's operation to be requested is by institute State the switching rules of switch data item composition.
Switching rules are matched to switch data item if can be, the service of closing, if being also possible to be matched to switch data , then service is not closed, this can set according to demand, be not specifically limited herein.
In a kind of embodiment wherein, according to the match condition of the switching rules, the user's operation request is controlled Destination service program switch, may include:
If not being matched to the user's operation requests corresponding switching rules, in user interface presentation destination service Hold, the switching rules are shut-off rule.
In a kind of embodiment wherein, according to the match condition of the switching rules, the user's operation request is controlled Destination service program switch, can also include:
If being matched to the user's operation requests corresponding switching rules, described in user interface presentation destination service Content, the switching rules are open rule.
In one of them embodiment, for specific switch data item, user's operation may is that investor actively It supplements with money, passive returned money, quickly withdraws deposit, commonly withdraws deposit, using disbursement from fund, passive redemption etc.;Switch data item also may include: Maintenance time section, as the switch data item of time attribute, production number (for example, A1 fund number) etc. is not specifically described herein.
When being matched, according to user's operation request corresponding destination service type (for example, user clicks " withdrawing deposit ", Then service type is to withdraw deposit), the corresponding multiple switch rule of the convenient destination service type, then from multiple the opening of correspondence " withdrawing deposit " The rule that traversal is made of the corresponding switch data item of request in rule is closed, as the rule of hit, if hit, further according to The switching rules control whether to provide user " withdrawing deposit " service, if the service is being safeguarded, then can show and " safeguard In ".
It will be understood by those skilled in the art that realizing that all or part of the steps of above-described embodiment is implemented as by computer The program (computer program) that data processing equipment executes.It is performed in the computer program, offer of the present invention is provided The above method.Moreover, the computer program can store in computer readable storage medium, which can be with It is the readable storage medium storing program for executing such as disk, CD, ROM, RAM, is also possible to the storage array of multiple storage medium compositions, such as disk Or tape storage array.The storage medium is not limited to centralised storage, is also possible to distributed storage, such as based on cloud The cloud storage of calculating.
Based on the same inventive concept, this specification embodiment also provides a kind of program switch control device.
The device of the invention embodiment is described below, which can be used for executing embodiment of the method for the invention.For Details described in apparatus of the present invention embodiment should be regarded as the supplement for above method embodiment;For in apparatus of the present invention Undisclosed details in embodiment is referred to above method embodiment to realize.
Fig. 3 is a kind of structural schematic diagram for program switch control device that this specification embodiment provides.The device can be with It include: configuration module 301;Matching module 302;Control module 303;
In a kind of embodiment wherein, configuration module 301, for configuring multiple switch in the page controller of program Data item, configuration includes the switching rules of context parameters in the page controller;
Matching module 302 traverses the multiple switch data item for the switching rules;
Control module 303, for being generated according to the matched switch data item of context parameters in the switching rules Control the switching codes of the display state of target pages.
In this specification embodiment, target program can be the application program of finance product on line, and finance product can be with It is the product that financing platform provides, is also possible to third party developer's program online on platform;Managing money matters platform can also be with The form of application program shows, and at this moment, application program can be the financing application program of different third party's exploitations, for example, financing Interface etc. is promoted, here, not being limited to the specific display form of target program.
In this specification embodiment, switch data item can be the factor of the halted state of the influence target program Enumerated value.
In a kind of embodiment wherein, the configuration module 301 configures multiple switch in the page controller of program Data item, comprising:
When needing the switch to the page of program to be adjusted, corresponding switch is configured in the page controller of program Data item, the switch data item as update.
In a kind of embodiment wherein, the switching rules read the multiple switch data item, open according to described Close the switching codes that the matched switch data item of context parameters in rule generates the display state of control target pages, packet It includes:
The switching rules read the switch data item of the update, as the switching codes of iteration, according to the iteration Switching codes control target pages display state.
In a kind of embodiment wherein, if the configuration module 301, include for being configured in the page controller The switching rules of context parameters, comprising: switching rules are respectively configured for each page type, obtain multiple switch rule,
The then matching module 302, for making switching rules read the switch data item of the update, as opening for iteration Close code, comprising:
The multiple switching rules read the switch data item of the update, the switching codes of the iteration be with it is described The switching rules that the switch data item of update matches are generated.
In a kind of embodiment wherein, control module 303 is also used to: if not generating the switching codes of iteration, being maintained The switch state of the page of described program.
In a kind of embodiment wherein, the switch data item includes page properties, user group's attribute, terminal category Property, page location attribute, user's operation attribute, show period attribute at least one of.
In a kind of embodiment wherein, the page of described program is service page, and the page controller also controls institute State the program switch of service.
In a kind of embodiment wherein, control module 303 is also used to: controlling target pages according to the switching codes Display state.
Fig. 4 is a kind of structural schematic diagram for program switch control device that this specification embodiment provides.
The device may include:
Configuration module 401, one for the corresponding each destination service type of destination service controller configuration in program Or multiple switch data item;
Matching module 402, the destination service type for being requested based on user's operation match corresponding switch data item group At switching rules;
Control module 403 controls the target of the user's operation request for the match condition according to the switching rules The program switch of service.
In a kind of embodiment wherein, the corresponding each destination service class of destination service controller configuration in program After one or more switch data items of type, further includes:
Switching rules are configured according to the switch data item, the switching rules include at least a switch data ?.
In a kind of embodiment wherein, the destination service type based on user's operation request matches corresponding open Close the switching rules of data item composition, comprising:
Traverse the switch data item in the corresponding each switching rules of the destination service type and each switching rules;
The match condition according to the switching rules, the program for controlling the destination service of the user's operation request are opened It closes, comprising:
If traversing the switching rules for requesting corresponding switch data item to form by the user's operation, opened according to Close the program switch of the destination service of the request of user's operation described in rule control.
In a kind of embodiment wherein, further includes: determine that the user's operation requests corresponding switch data item, packet It includes:
The switch data item carried in the request is determined, alternatively, according to the switch data item carried in the request Mark determines the corresponding switch data item of the request.
It is described that switching rules are configured according to the switch data item in a kind of embodiment wherein, comprising:
Corresponding switch number is determined to the status of support of the destination service according to the bottom docking quotient for providing destination service According to item, switching rules are configured according to the switch data item.
In a kind of embodiment wherein, the corresponding each destination service class of destination service controller configuration in program One or more switch data items of type, including;
According to the attribute of the service of described program, user group's attribute, terminal attribute, service interface attribute, user's operation In attribute to a configuration switch data item.
The destination service type matching that user's operation requests corresponding switch data item and the user's operation to be requested is by institute State the switching rules of switch data item composition.
In a kind of embodiment wherein, the match condition according to the switching rules controls the user's operation The program switch of the destination service of request, comprising:
If not being matched to the user's operation requests corresponding switching rules, in user interface presentation destination service Hold, the switching rules are shut-off rule.
In a kind of embodiment wherein, the match condition according to the switching rules controls the user's operation The program switch of the destination service of request, further includes:
If being matched to the user's operation requests corresponding switching rules, described in user interface presentation destination service Content, the switching rules are open rule.
Fig. 5 is the structural schematic diagram for a kind of electronic equipment that this specification embodiment provides.Root is described referring to Fig. 5 According to the electronic equipment 500 of this embodiment of the invention.The electronic equipment 500 that Fig. 5 is shown is only an example, should not be to the present invention The function and use scope of embodiment bring any restrictions.
As shown in figure 5, electronic equipment 500 is showed in the form of universal computing device.The component of electronic equipment 500 can wrap It includes but is not limited to: at least one processing unit 510, at least one storage unit 520, (including the storage of the different system components of connection Unit 520 and processing unit 510) bus 530, display unit 540 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 510 Row, so that the processing unit 510 executes described in this specification above-mentioned electronic prescription circulation processing method part according to this The step of inventing various illustrative embodiments.For example, the processing unit 510 can execute step as shown in Figure 1.
The storage unit 520 may include the readable medium of volatile memory cell form, such as random access memory Unit (RAM) 5201 and/or cache memory unit 5202 can further include read-only memory unit (ROM) 5203.
The storage unit 520 can also include program/practical work with one group of (at least one) program module 5205 Tool 5204, such program module 5205 includes but is not limited to: operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 530 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 500 can also be with one or more external equipments 600 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 500 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 500 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 550.Also, electronic equipment 500 can be with By network adapter 560 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 560 can be communicated by bus 530 with other modules of electronic equipment 500.It should Understand, although being not shown in Fig. 5, other hardware and/or software module can be used in conjunction with electronic equipment 500, including unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage system etc..
Through the above description of the embodiments, those skilled in the art it can be readily appreciated that the present invention describe it is exemplary Embodiment can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to this hair The technical solution of bright embodiment can be embodied in the form of software products, which can store calculates at one In the readable storage medium of machine (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that one Platform calculates equipment (can be personal computer, server or network equipment etc.) and executes according to the above method of the present invention.When When the computer program is executed by a data processing equipment so that the computer-readable medium can be realized it is of the invention upper State method, it may be assumed that method as shown in Figure 1.
Fig. 6 is a kind of schematic illustration for computer-readable medium that this specification embodiment provides.
The computer program can store on one or more computer-readable mediums.Computer-readable medium can be with It is readable signal medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, red The system of outside line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing (non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In conclusion the present invention can be implemented in hardware, or the software to run on one or more processors Module is realized, or is implemented in a combination thereof.It will be understood by those of skill in the art that micro process can be used in practice The communications data processing units such as device or digital signal processor (DSP) come realize according to embodiments of the present invention in it is some or The some or all functions of whole components.The present invention is also implemented as a part for executing method as described herein Or whole device or device program (for example, computer program and computer program product).Such realization present invention Program can store on a computer-readable medium, or may be in the form of one or more signals.Such letter It number can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or be provided in any other form.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical scheme and beneficial effects It describes in detail bright, it should be understood that the present invention is not inherently related to any certain computer, virtual bench or electronic equipment, various The present invention also may be implemented in fexible unit.The above is only a specific embodiment of the present invention, is not limited to this hair Bright, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in the present invention Protection scope within.

Claims (10)

1. a kind of program switch control method, comprising:
Multiple switch data item is configured in the page controller of program;
Configuration includes the switching rules of context parameters in the page controller;
The switching rules traverse the multiple switch data item, according to matched with the context parameters in the switching rules Switch data item generates the switching codes of the display state of control target pages.
2. according to the method described in claim 1, described configure multiple switch data item, packet in the page controller of program It includes:
When needing the switch to the page of program to be adjusted, corresponding switch data is configured in the page controller of program , the switch data item as update.
3. -2 described in any item methods according to claim 1, the switching rules read the multiple switch data item, according to The switch of the display state of control target pages is generated with the matched switch data item of context parameters in the switching rules Code, comprising:
The switching rules read the switch data item of the update, as the switching codes of iteration, according to opening for the iteration Close the display state of code control target pages.
4. method according to claim 1-3, if the configuration in the page controller includes context The switching rules of parameter, comprising: switching rules are respectively configured for each page type, obtain multiple switch rule,
Then the switching rules read the switch data item of the update, the switching codes as iteration, comprising:
The multiple switching rules read the switch data item of the update, and the switching codes of the iteration are and the update The switching rules that match of switch data item it is generated.
5. method according to claim 1-4, further includes: if not generating the switching codes of iteration, maintain institute State the switch state of the page of program.
6. method according to claim 1-5, the switch data item includes page properties, user group's category Property, terminal attribute, page location attribute, user's operation attribute, show period attribute at least one of.
7. method according to claim 1-6, the page of described program is service page, the page controller Also control the program switch of the service.
8. a kind of program switch control device, comprising:
Configuration module configures multiple switch data item in the page controller of program;
Configuration includes the switching rules of context parameters in the page controller;
Matching module, the switching rules traverse the multiple switch data item;
Control module generates control target pages according to the matched switch data item of context parameters in the switching rules Display state switching codes.
9. a kind of electronic equipment, wherein the electronic equipment includes:
Processor;And
The memory of computer executable instructions is stored, the executable instruction makes the processor execute basis when executed Method of any of claims 1-7.
10. a kind of computer readable storage medium, wherein the computer-readable recording medium storage one or more program, One or more of programs when being executed by a processor, realize method of any of claims 1-7.
CN201910578930.8A 2019-06-28 2019-06-28 A kind of program switch control method, device, electronic equipment Pending CN110347403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910578930.8A CN110347403A (en) 2019-06-28 2019-06-28 A kind of program switch control method, device, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910578930.8A CN110347403A (en) 2019-06-28 2019-06-28 A kind of program switch control method, device, electronic equipment

Publications (1)

Publication Number Publication Date
CN110347403A true CN110347403A (en) 2019-10-18

Family

ID=68177389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910578930.8A Pending CN110347403A (en) 2019-06-28 2019-06-28 A kind of program switch control method, device, electronic equipment

Country Status (1)

Country Link
CN (1) CN110347403A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165685A (en) * 2006-10-19 2008-04-23 国际商业机器公司 Dynamic web page generation method and system
US20140075413A1 (en) * 2012-09-07 2014-03-13 Inadev Corporation Workflow-based application generator
CN104731589A (en) * 2015-03-12 2015-06-24 用友网络科技股份有限公司 Automatic generation method and device of user interface (UI)
CN108446116A (en) * 2018-02-26 2018-08-24 平安普惠企业管理有限公司 Generation method, device, computer equipment and the storage medium of the application program page
CN108885568A (en) * 2016-03-30 2018-11-23 亚马逊技术有限公司 First already present data set is handled at on-demand code execution environments
CN109800020A (en) * 2019-02-02 2019-05-24 北京字节跳动网络技术有限公司 A kind of code automatic adjusting method, device, equipment and the medium of program development

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165685A (en) * 2006-10-19 2008-04-23 国际商业机器公司 Dynamic web page generation method and system
US20140075413A1 (en) * 2012-09-07 2014-03-13 Inadev Corporation Workflow-based application generator
CN104731589A (en) * 2015-03-12 2015-06-24 用友网络科技股份有限公司 Automatic generation method and device of user interface (UI)
CN108885568A (en) * 2016-03-30 2018-11-23 亚马逊技术有限公司 First already present data set is handled at on-demand code execution environments
CN108446116A (en) * 2018-02-26 2018-08-24 平安普惠企业管理有限公司 Generation method, device, computer equipment and the storage medium of the application program page
CN109800020A (en) * 2019-02-02 2019-05-24 北京字节跳动网络技术有限公司 A kind of code automatic adjusting method, device, equipment and the medium of program development

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴贺等: "基于XML的动态表单快速生成技术", 《计算机系统应用》 *

Similar Documents

Publication Publication Date Title
CN104580349B (en) Secure cloud administration agent
US11574205B2 (en) Unified cognition for a virtual personal cognitive assistant of an entity when consuming multiple, distinct domains at different points in time
CN107580083A (en) A kind of method and system of container IP address distribution
CN108140007A (en) Across deployed position safely disposing application program
CN105814579B (en) Sandbox application data redirection is to data center
CN106462471A (en) Opportunistically connecting private computational resources to external services
US11429874B2 (en) Unified cognition for a virtual personal cognitive assistant when cognition is embodied across multiple embodied cognition object instances
CN107491329A (en) Docker mirror images construction method, equipment, storage medium and electronic installation
CN105373221B (en) Augmented reality information management
US20190318219A1 (en) Personalized artificial intelligence interactions and customized responses of a computer system
US20190266494A1 (en) Multi-dimensional cognition for unified cognition in cognitive assistance
CN107479882A (en) Insure generation method, generating means, medium and the electronic equipment of the page
US11532386B2 (en) Generating and customizing summarized notes
US11822543B2 (en) Composite views in a master data management system
CN110348726A (en) A kind of user's amount method of adjustment, device and electronic equipment based on social networks network
US20170046175A1 (en) Enhanced configuration and property management system
US20220091903A1 (en) Workload orchestration in a multi-cloud environment
CN109559164A (en) Favor information processing method, device, electronic equipment and computer-readable medium
CN110349008A (en) A kind of decision support method based on natural language, device and electronic equipment
CN110348725A (en) Risk policy method of adjustment, device and electronic equipment based on regional society environmental information
US11178038B1 (en) Internet of things device orchestration
CN110362589A (en) Standing querying method, device, electronic equipment based on system customization Switching
CN110347403A (en) A kind of program switch control method, device, electronic equipment
CN110347404A (en) A kind of program switch control method, device, electronic equipment
US8667382B2 (en) Configurable field definition document

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191018