CN113468388A - Control method, control device, server and storage medium - Google Patents

Control method, control device, server and storage medium Download PDF

Info

Publication number
CN113468388A
CN113468388A CN202110734046.6A CN202110734046A CN113468388A CN 113468388 A CN113468388 A CN 113468388A CN 202110734046 A CN202110734046 A CN 202110734046A CN 113468388 A CN113468388 A CN 113468388A
Authority
CN
China
Prior art keywords
target
service
rule
control
server
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
CN202110734046.6A
Other languages
Chinese (zh)
Inventor
武文杰
陈哲诗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jizhi Digital Technology Co Ltd
Original Assignee
Shenzhen Jizhi Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jizhi Digital Technology Co Ltd filed Critical Shenzhen Jizhi Digital Technology Co Ltd
Priority to CN202110734046.6A priority Critical patent/CN113468388A/en
Publication of CN113468388A publication Critical patent/CN113468388A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9032Query formulation
    • G06F16/90332Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Abstract

The disclosure provides a control method, a control device, a server and a medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring a target request sent by a server of a target service, wherein the target request comprises a first object and a target identifier, the first object comprises a result obtained by executing the target service by the server of the target service based on a keyword, and the target service is a service used by a client based on the keyword; responding to the target request, executing a target process corresponding to the target identification on the first object to obtain a second object, wherein the target process comprises at least one control rule pre-configured for a service result of the target service; and sending the second object to the server of the target service, so that the server of the target service returns a service result of executing the target service based on the keyword to the client according to the second object. Through the technical scheme provided by the embodiment of the disclosure, the problem of low efficiency of improving the algorithm effect can be solved.

Description

Control method, control device, server and storage medium
Technical Field
The disclosure belongs to the technical field of computers, and particularly relates to a control method, a control device, a server and a storage medium.
Background
With the development of computer technology, services provided by various service providers are more and more, and the requirements of users on the accuracy and the real-time performance of the services are higher and higher.
In general, a serving algorithm may output a bad case (bad case), and currently, an algorithm engineer is mainly used to optimize an algorithm model for the case that the algorithm outputs the bad case.
However, the bad case is usually difficult to solve, and it takes a long time from the beginning of outputting the bad case to the completion of model optimization, thereby resulting in inefficiency in improving the algorithm effect.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a control method, an apparatus, a server, and a storage medium, which can solve the problem of low efficiency of improving an algorithm effect.
In order to solve the technical problem, the present disclosure is implemented as follows:
in a first aspect, an embodiment of the present disclosure provides a control method, where the method includes: acquiring a target request sent by a server of a target service, wherein the target request comprises a first object and a target identifier, the first object comprises a service result obtained by the server of the target service executing the target service based on a keyword, and the target service is a service used by a client based on the keyword; responding to the target request, executing a target process corresponding to the target identification on the first object to obtain a second object, wherein the target process comprises at least one control rule pre-configured for a service result of the target service; and sending the second object to the server of the target service, so that the server of the target service returns a service result of executing the target service based on the keyword to the client according to the second object.
In a second aspect, an embodiment of the present disclosure provides a control apparatus, including: the device comprises an acquisition module, an execution module and a sending module; the system comprises an acquisition module, a service module and a service module, wherein the acquisition module is used for acquiring a target request sent by a server of a target service, the target request comprises a first object and a target identifier, the first object comprises a service result obtained by the server of the target service executing the target service based on a keyword, and the target service is a service used by a client based on the keyword; the execution module is used for responding to the target request acquired by the acquisition module, executing a target process corresponding to the target identifier on the first object to obtain a second object, wherein the target process comprises at least one control rule pre-configured for a service result of the target service; and sending the second object to the server of the target service, so that the server of the target service returns a service result of executing the target service based on the keyword to the client according to the second object.
In a third aspect, embodiments of the present disclosure provide a server comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, the disclosed embodiments provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, the embodiments of the present disclosure provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the disclosure, first, a control platform may obtain a target request sent by a server of a target service, where the target request includes a first object and a target identifier, the first object includes a service result obtained by the server of the target service executing the target service based on a keyword, and the target service is a service used by a client based on the keyword; then, the control platform can respond to the target request and execute a target process corresponding to the target identifier on the first object to obtain a second object; and finally, the control platform sends the second object to the server of the target service, so that the server of the target service can return a service result of executing the target service based on the keyword to the client according to the second object. Because the target flow comprises at least one control rule pre-configured for the target service result, the control platform can process the service result of the target service based on the control rule in the pre-configured target flow, and then the server of the target service returns the processed service result to the client. For example, when the bad case exists in the service result output by the target service, the service result of the service can be adjusted according to the preconfigured control flow, and the algorithm engineer does not need to wait for the algorithm of the target service to be optimized, that is, the algorithm effect of the service can be rapidly improved without frequently changing the model of the algorithm of the service, so that time resources and human resources are saved.
Drawings
Fig. 1 is a schematic diagram of a control system according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a control method provided in the embodiment of the present disclosure;
fig. 3 is a second schematic flowchart of a control method according to an embodiment of the disclosure;
fig. 4 is a third schematic flowchart of a control method according to the embodiment of the disclosure;
FIG. 5 is a schematic view of an interface for process management according to an embodiment of the present disclosure;
fig. 6 is a schematic interface diagram of a process editing according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of an interface for rule management provided by an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of an interface for rule editing provided by an embodiment of the present disclosure;
FIG. 9 is a second schematic diagram of a rule editing interface provided in the embodiment of the present disclosure;
FIG. 10 is a schematic diagram of an interface for editing actions according to an embodiment of the present disclosure;
FIG. 11 is a schematic view of a process test interface provided by an embodiment of the present disclosure;
fig. 12 is a schematic diagram of a possible structure of a control device according to an embodiment of the disclosure;
fig. 13 is a schematic diagram of a possible structure of a server according to an embodiment of the present disclosure;
fig. 14 is a hardware schematic diagram of a server according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present disclosure are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the disclosure may be practiced other than those illustrated or described herein, and that the objects identified as "first," "second," etc. are generally a class of objects and do not limit the number of objects, e.g., a first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the control method provided by the embodiments of the present disclosure in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a control system according to an embodiment of the present disclosure, and as shown in fig. 1, the control system includes: a client 101, a server 102, and a control platform 103. The client 101 is configured to use a target service for a user, and in a case that it is detected that the user triggers the client to use the target service, the client may send a service request to the server 102. The server 102 is a server for providing a target service, and the server 102 comprises an algorithm for supporting the target service; the server 102 may execute the target service to obtain the service result 1 according to the service request sent by the client 101, and send the target request to the control platform 103, and request the control platform 103 to perform reprocessing on the service result. The control platform 103 is configured to execute a control flow on the service result 1 according to the target request sent by the server 102, obtain a service result 2, and return the service result 2 to the server 102, so that the server 102 returns the service result 2 to the client 101.
It should be noted that the servers providing the services may be connected to the control platform, and request the control platform to reprocess the service results of the services.
Illustratively, in the actual use process, the control platform may also be referred to as a flow intervention platform, a manual intervention flow platform, and the like.
Fig. 2 is a schematic flowchart of a control method according to an embodiment of the disclosure. As shown in fig. 2, the method may include the following S201 to S203:
s201, the control platform acquires a target request sent by a server of the target service.
The target request comprises a first object and a target identifier, the first object comprises a service result obtained by the target service server executing the target service based on the keyword, and the target service is a service used by the client based on the keyword.
For example, the target service may be a service in a non-application program in the client, for example, a service in a web page, or may be one of a plurality of services in an application, for example, a search service, a query service, and the like in an application, which is not specifically limited in this disclosure.
It will be appreciated that the keywords are keywords entered by the user in the page or interface of the target service when the service is required for use. For example, if the target service is a search service, the keyword may be a search term input by the user.
In the embodiments of the present disclosure, the target identifier may correspond to a target process one to one.
Optionally, the target identifier may be a flow identifier (e.g., a flow code, a flow name) of the target flow, or may also be a service identifier (e.g., a service name) of the target service, which is not specifically limited in this disclosure.
S202, the control platform responds to the target request, and executes a target process corresponding to the target identification on the first object to obtain a second object.
Wherein the target flow comprises at least one control rule preconfigured for a service result of a target service.
It is understood that a control flow may be configured in advance for each service in the control platform, and at least one control rule may be configured for one control flow, so that the control platform may process the service result of the service according to the control rule in the control flow.
Optionally, in this embodiment of the disclosure, the control platform may be a control platform on a server of the first service, and the control platform may also be a control platform on a server of a third-party service, which is not specifically limited in this embodiment of the disclosure.
Exemplarily, in the case that the control platform is on a server of the first service, the server directly calls a control interface of the control platform to execute the target process after executing the first service; and under the condition that the control platform is a server of the third-party service, the server of the first service sends a target request to the server of the third-party service through the control interface, and the target flow is requested to be called.
S203, the control platform sends the second object to the server of the target service, so that the server of the target service returns a service result of executing the target service based on the keyword to the client according to the second object.
Illustratively, a user uses a first service of a first application program on a client, the client can send a service request to a server of the first application program through an interface of the first application program, and after receiving the service request sent by the client, the server of the first application program can provide the first service according to the service request and send a service result of the first service to the control platform. After receiving the service result of the first service, the control platform executes the control flow to the service result of the first service according to the control flow configured in the control platform to obtain a processed service result, then the control platform returns the processed service result to the server of the first service, and the server of the first service returns the processed service result to the client.
It can be understood that, in the above manner, when the quality of the service result of the service is degraded, the service result may be reprocessed by configuring the control flow, and taking the search service as an example, such as reordering, deleting the results that do not meet the search condition, and the like, the performance of the search service may be better, and the algorithm model of the search service does not need to be adjusted.
For example, taking a search service as an example, if a user searches for a hotspot event, and there are many advertisements ranked in the search result after the official notification is ranked and before the official notification is ranked, a flow may be configured for the search service, so that when the hotspot event is searched, the official notification of the hotspot event in the search result may be set to the top, and data such as advertisement push in the search result may be deleted.
The control method provided by the embodiment of the disclosure includes that firstly, a control platform can obtain a target request sent by a server of a target service, the target request includes a first object and a target identifier, the first object includes a service result obtained by the server of the target service executing the target service based on a keyword, and the target service is a service used by a client based on the keyword; then, the control platform can respond to the target request and execute a target process corresponding to the target identifier on the first object to obtain a second object; and finally, the control platform sends the second object to the server of the target service, so that the server of the target service can return a service result of executing the target service based on the keyword to the client according to the second object. Because the target flow comprises at least one control rule pre-configured for the target service result, the control platform can process the service result of the target service based on the control rule in the pre-configured target flow, and then the server of the target service returns the processed service result to the client. For example, when the bad case exists in the service result output by the target service, the service result of the service can be adjusted according to the preconfigured control flow, and the algorithm engineer does not need to wait for the algorithm of the target service to be optimized, that is, the algorithm effect of the service can be rapidly improved without frequently changing the model of the algorithm of the service, so that time resources and human resources are saved.
Optionally, each of the at least one control rule comprises an execution condition and an execution action, the execution condition comprising a condition item and an execution logic of the condition item.
Illustratively, performing the action includes: move data up, move data down, delete data, modify data.
For the sake of example to clarify the relationship among the control rule, the condition (condition item and execution logic), and the execution action in the embodiment of the present disclosure, the following is exemplified by taking the control rule 1 as an example.
Control rule 1: if the query parameter class (query) contains "wedding" and the page number (page number) is "1"; filtering an element if the title (title) or content (content) of the element contains "loss of false"; move "2021 new wedding treaty to bit 1".
Condition item 1 is: query contains "wedding";
condition item 2 is: page number is "1";
the execution logic of condition item 1 and condition item 2 is: 1& & 2; that is, condition item 1 and condition item 2 are satisfied simultaneously.
The execution conditions of the control rule 1 are: the query contains "wedding" and page number is "1";
the action of control rule 1 is performed as: action 1: filtering an element if its title (title) or content (content) contains "loss of false"; and action 2: move "2021 new wedding treaty to bit 1".
The query is a query parameter class, and encapsulates functions such as query conditions, paging, sorting and the like.
Illustratively, the first object may be a list of data to be processed. And the data in the to-be-processed data list is data acquired by the server according to the service request sent by the client.
Optionally, the target request further includes a process variable and a rule variable, the process variable is used for matching a control rule in the process, and the rule variable is used for matching a condition item in the rule.
Illustratively, the message body of the target request may include the following three parts: (1) a list of data to be processed; (2) a process variable list; (3) a list of rule variables.
And the data in the to-be-processed data list is data of a service result obtained by the server executing the service according to the service request sent by the client.
Optionally, in this embodiment of the present disclosure, a caller (e.g., a server of a service) who invokes a control flow in the control platform may analyze data in the to-be-processed data list in advance, perform data format conversion, and acquire the rule variable list and the flow variable list.
It should be noted that the data in the rule variable list may be the same as the data in the to-be-processed data list, or may be more than the to-be-processed data list. For example, when the server obtains a product search result, product attribute fields such as product names, product prices, brands, sales stores, and store scores in the search result and data may be extracted as elements in the rule variable list, and the product attribute fields may be rule variables.
The data in the flow variable list may be a service name when the user uses the service, an input keyword, and the like. Wherein the flow variables are used to determine which control rules in the control flow can be triggered.
And each rule variable in the rule variable list is the attribute of the corresponding position element in the data list to be processed. Wherein the list of rule variables is used to determine which elements can be triggered to perform an action, which actions to perform. Such as deleting data corresponding to a certain brand of mobile phone.
Specifically, the control platform may determine whether to trigger a control rule in the flow based on the flow variable list, and may determine whether to trigger an action in the control rule based on the rule variable list.
For example, after receiving a service request sent by a client, a server of a different service executes a service requested in the service request to obtain a service result, and the service result may be sent to the control platform in the form of the message body described above. Wherein the user can customize the naming of the fields in the message body that are associated with the attributes.
Based on the scheme, when each server requests the control platform to execute the control flow, the server can send the service result of the service to the control platform based on the universal message body, and obtain the data to be processed, the rule variable and the flow variable from the service result according to the message body, so that the control platform can process the service results of different services in time without adapting to different data formats of various services, and the universality is strong.
Optionally, in the control method provided in the embodiment of the present disclosure, the step S202 may be specifically executed by the following steps: responding to the target request, the control platform traverses the control rules in the target process and determines the target control rules with process variables in the control rules; the control platform traverses the execution conditions in each action option in the target control rule and determines the target action option with a rule variable in the execution conditions; and the control platform executes the configured target action on the data of the target element in the first object according to the condition item and the execution logic in the execution condition of the target action option.
It should be noted that, in the embodiment of the present disclosure, since each control rule may be configured flexibly as needed, that is, processing execution conditions in each control rule are flexible and changeable for different services, different keywords, and the like, it is possible to determine which process variables in the process variable list appear in which control rules by traversing all the control rules, and thus it is possible to accurately determine which control rules need to be executed on a service result.
For convenience of description, a control rule may include a plurality of actions, each action corresponds to an execution condition, one action and a condition for executing the action correspond to an action item, and one action item may correspond to an action code, such as action 1 and action 2.
Likewise, in the embodiment of the present disclosure, since the condition item, the execution logic, and the execution action of the execution condition in the control rule can be flexibly configured as needed, after determining to use one control rule in one control flow, it is possible to determine which rule variables in the rule variable list appear in the action option by traversing each action item in the control rule, so as to accurately determine which action option needs to be executed and the data corresponding to the target element that needs to execute the action option.
It should be noted that, after the control platform determines the target action item, the data corresponding to the target element in the target data list may be determined according to the target element in the target action item.
Exemplarily, fig. 3 is a schematic flowchart of a control method provided by the embodiment of the present disclosure, and as shown in fig. 3, in the control platform, a flow 1, a flow 2, and a flow 3 are respectively established for 3 services of a tenant 1, each flow includes at least one rule, and each rule includes at least one action. A control platform receives a target request sent by a server of a tenant 1, wherein the target request comprises a to-be-processed data list 1, a rule variable list 2, a process variable list 3 and a process code (such as a combination of any two of English letters, numbers and symbols) of a process 2; the control platform traverses all the rules of the flow 2, determines which rules have the flow variables in the flow variable list 3, that is, determines whether each rule has an element in the data to be processed list 2, and if the conditions 1 to n in the rule 2 have the flow variables in the flow variable list 3, it may determine to use the rule 2 in the flow 2. Then, the control platform traverses all action items in the rule 2 again to determine which action items have the rule variable list
2, namely, determining whether the condition item corresponding to the action item exists in the rule variable list 2
And (3) processing the data corresponding to the target element in the action item in the data to be processed list 1 according to an operator (namely, an actually executed action) corresponding to the action option, assuming that the action item 1 includes the condition item from the condition item 1 to the condition item n.
Illustratively, assume that the flow is a "search flow". The rules of "search flow" include: "handset rules", "brand 1 handset rules", and "brand 2 handset rules". The user inputs 'brand 1 mobile phone' in the search box, enters a 'search process', and triggers 'mobile phone rule' and 'brand 1 mobile phone rule'. "
Fig. 4 is a flowchart of a control method provided by an embodiment of the present disclosure, and as shown in fig. 4, assuming that a user searches for a brand 1 mobile phone in an e-commerce application in a client, the client sends a keyword "brand 1 mobile phone" to a server, and the e-commerce application server may call an intervention interface of a traffic intervention platform (i.e., a control platform) by using a message body provided by the above embodiment, and send a request body to the traffic intervention platform, where the request body includes a Process Code jux (Process Code jux) and a Process variable, data, and a rule variable of a daily Process. The flow intervention platform determines to execute a daily flow according to the flow code, then traverses each rule in the daily flow according to the flow variable in the request body, determines that the first rule comprises the brand 1 mobile phone in the flow variable, and determines to execute actions respectively according to the action items of the rule variables traversed by the rule under the rule: 1. filtering the commodities with the category of non-mobile phones; 2. filtering out commodities of which the brands are not 'brand 1'; 3. the product ID 1002 is set to the top. Finally, the following result is output.
A request body:
{ "flow code", "TJUX";
"ProcessVariable": { "search term"; brand 1 mobile phone
“Data”:{product1,product2,product3,product4}
“RuleVariable”:
{ "commodity ID": "1001"; "trade name": "Brand 1 model 1 handset"; the price is as follows: 9999 of a basic substance; "category": "Mobile phone"; "Brand": "Brand 1" }
{ "commodity ID": "1002"; "trade name": "Brand 1 model 2 handset"; the price is as follows: 8888; "category": "Mobile phone"; "Brand": "Brand 1" }
{ "commodity ID": "1003"; "trade name": "Brand 2 model 3 handset"; the price is as follows: 3333; "category": "Mobile phone"; "Brand": "Red crystal" }
{ "commodity ID": "3001"; "trade name": "certain apple"; the price is as follows: 35; "category": "fruit"; "Brand": "Brand 3" }
A result body:
{“data”:[product2,product1],
"flow code": TJUX "}
Based on the scheme, after receiving the target request, the control platform may traverse all the control rules in the target process based on the target request, determine which rules have variables in process variables, thereby determining the target control rules to be used, then traverse the actions in the target control rules, determine which actions have variables in rule variables, thereby determining the target elements that need to execute the actions and the target actions that need to be executed by the elements.
In the disclosed embodiments, an administrator may pre-configure a control flow for a service or application on a control platform before controlling the service results of the service through a control flow control. The algorithmic effects of the service can be optimized quickly.
Illustratively, if a bad case is output by an algorithm of a service, a configuration person may configure a control flow for the service in the control platform for the bad case, so that an algorithm effect can be quickly improved, resources are saved, and the stickiness of a user to the service is increased.
Optionally, before S201, the control method provided in the embodiment of the present disclosure may further include the following S204 and S205:
s204, the control platform receives configuration input on the process configuration interface.
Wherein the configuration input may be a configuration input by an administrator at a process configuration interface.
It will be appreciated that the configuration input may comprise a plurality of sub-inputs.
For example, an administrator may, in a flow configuration interface: input flow name, input flow code (such as acronym), input flow description, establish control rules, select control rules, etc.
S205, responding to the configuration input, the control platform configures a target process for the service result of the target service.
It is understood that an administrator may configure a control flow for a service result of a service in a flow management interface of the control platform as desired.
Based on the scheme, a process configuration interface is provided in the control platform, and managers can configure the control process for the service in the process configuration interface according to requirements.
Optionally, in the control method provided in the embodiment of the present disclosure, the step S205 may be specifically executed by the following mode 1 or mode 2:
mode 1: in response to the rule selection input, the control platform selects at least one control rule for the target service.
Wherein the rule selection input is an input for selecting a control rule from the rule options, one control rule comprises an execution condition and an execution action, and the execution condition comprises a condition item and an execution logic of the condition item.
It can be understood that, before the process is established, the control rule may be configured, and the control rule configured in advance may be directly selected in the process of establishing the process.
Mode 2: in response to the rule configuration input, the control platform configures at least one control rule for the target service.
It can be understood that, in the process of establishing the flow, the new rule can be directly configured according to the requirement to obtain a new control rule.
Based on the scheme, the control platform of the embodiment of the disclosure can provide different configuration modes of the control rules, can configure the control rules in advance, directly select the existing control rules in the process of establishing the flow, and also directly establish the new control rules in the configuration process, and can flexibly configure the flow.
Optionally, in the control method provided in the embodiment of the present disclosure, the above-mentioned mode 2 may be performed by the following steps: and the control platform configures the execution conditions and the execution actions of the rules to obtain the target control rules.
Furthermore, after configuring the target control rule, the control platform adds the target control rule to the rule option.
It can be understood that the control rules can be customized according to requirements in the control platform, the condition items, the execution logic and the execution actions of the customized execution conditions are input, and the configuration mode is flexible and convenient.
For convenience of understanding, an exemplary description of the flow configuration is made by taking the configuration flow of the tenant "AI robot platform" as an example. For example, fig. 5 is a flow management interface provided by an embodiment of the present disclosure, as shown in fig. 5, an administrator may create a flow in a flow management interface of a flow intervention platform (i.e., a control platform), and a flow name, a flow code, a description of the flow, a state (online or offline), an updater, a state update time, and a control operable to the flow of each flow configured for a tenant may be displayed in the flow management interface. The administrator can edit and test the configured flow in the flow management interface, can test the completed flow on line, can test the flow off line and delete the configured flow.
For example, when the tenant AI robot platform is configured with the "intention recognition rearrangement process", if the new process in fig. 5 is clicked, a process configuration interface shown in fig. 6 may be displayed, where the process configuration interface may include: the method comprises the steps of inputting a process name, a process code, a process description, a candidate rule display area and a selected rule display area. The re-flow selection or new rules may be identified for the intent as desired.
Fig. 7 is a schematic diagram of a rule management interface provided by an embodiment of the present disclosure, where a rule ID (for example, a number), a rule name, a description of the rule, a state of the rule, an updater of the rule, an update time, and a control of an operation that can be performed on the rule that have been configured in a process can be displayed in the interface. If an input to the control of the newly created rule is received, a rule editing interface shown in fig. 8 may be displayed, where the rule editing interface includes an input area for rule names, an input area for rule descriptions, a configuration area for executing conditions, and a configuration area for executing actions, where the configuration area for executing conditions may include an input area for condition items and an input area for executing logic.
It should be noted that, if a rule including multiple condition items and multiple actions needs to be configured, a user may add a condition item in a rule editing interface and add an execution action, as shown in the rule editing interface shown in fig. 9, where the execution condition includes two condition items, the execution logic is that the condition item 1 is satisfied and the condition item 2 is satisfied, an operator performing the action 1 is filtering, and an operator performing the action 2 is set top.
With reference to fig. 8, when an input to an edit control for executing an action is received, as shown in fig. 10, an action edit interface as in fig. 10 may be displayed, and an operator of the action, an execution condition of the action, and the like may be edited in the interface.
Based on the scheme, different control rules can be configured in each management interface and each editing interface in the control platform according to the actual requirements of the service, so that the service result can be controlled, and the service result can be more accurate and meet the requirements of users.
Optionally, in the control method provided in the embodiment of the present disclosure, after configuring the control flow for the target service, the following steps may also be included: the control platform receives test input at a process configuration interface. And responding to the test input, controlling the platform to test the target process, and outputting the test result of the test target process on the test interface. And under the condition that the test is passed, controlling the on-line target process of the platform.
Fig. 11 is a flow testing interface provided in an embodiment of the present disclosure, and after a flow is edited, a testing flow may be selected in a flow intervention platform, where as shown in fig. 11, a left area of the interface may view a flow to be tested, and after a test run is triggered, a response message, an execution detail, and a time consumption may be displayed in a right area to determine whether a configuration of the flow is valid.
Based on the scheme, the control platform can also provide a flow test function, so that whether the configuration of the configured flow is reasonable or not can be conveniently tested, and the improvement of the algorithm effect can be realized or not.
It should be noted that, in the control method provided in the embodiment of the present disclosure, the execution subject may be a control device, or a control module in the control device for executing the control method. In the embodiment of the present disclosure, a method for controlling a device to execute control is taken as an example, and a device for controlling provided by the embodiment of the present disclosure is described.
Fig. 12 is a control device according to an embodiment of the present disclosure, and as shown in fig. 12, the control device 1200 includes: an acquiring module 1201, an executing module 1202 and a sending module 1203; an obtaining module 1201, configured to obtain a target request sent by a server of a target service, where the target request includes a first object and a target identifier, the first object includes a service result obtained by the server of the target service executing the target service based on a keyword, and the target service is a service used by a client based on the keyword; an executing module 1202, configured to, in response to the target request obtained by the obtaining module 1201, execute a target process corresponding to the target identifier on the first object to obtain a second object, where the target process includes at least one control rule preconfigured for a service result of the target service; a sending module 1203, configured to send the second object obtained by the executing module 1202 to the server of the target service, so that the server of the target service returns a service result of executing the target service based on the keyword to the client according to the second object.
Optionally, each of the at least one control rule includes an execution condition and an execution action, the execution condition includes a condition item and an execution logic of the condition item; the target request also comprises a process variable and a rule variable, wherein the process variable is used for matching a control rule in the process, and the rule variable is used for matching an execution condition in the rule; the execution module is specifically configured to: traversing control rules in a target process, and determining the target control rules of the process variables in the control rules; traversing the execution conditions in each action item in the target control rule, and determining the target action item with a rule variable in the execution conditions; and executing the configured target action on the data of the target element in the first object according to the condition item and the execution logic in the execution condition of the target action item.
Optionally, the control device further comprises: a receiving module and a configuration module; the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving configuration input of a process configuration interface before a target request sent by a server of a target service is acquired; and the configuration module is used for responding to the configuration input received by the receiving module and configuring the target process for the service result of the target service.
Optionally, the configuration module is specifically configured to: selecting at least one control rule for the target service in response to a rule selection input; wherein the rule selection input is an input for selecting a rule from the rule options, one control rule comprises an execution condition and an execution action, and the execution condition comprises a condition item and an execution logic of the condition item.
Optionally, the control device further comprises: adding a module; the configuration module is also used for configuring the execution conditions and the execution actions of the rules to obtain the target control rules; the adding module is used for adding the target control rule to the rule option.
Optionally, the configuration module is specifically configured to: in response to a rule configuration input, configuring at least one control rule for the target service, one control rule comprising an execution condition and an execution action, the execution condition comprising a condition item and execution logic for the condition item.
Optionally, performing the action comprises: move data up, move data down, delete data, modify data.
The embodiment of the disclosure provides a control device, which may first obtain a target request sent by a server of a target service, where the target request includes a first object and a target identifier, the first object includes a service result obtained by the server of the target service executing the target service based on a keyword, and the target service is a service used by a client based on the keyword; then, the control device may respond to the target request, and execute a target process corresponding to the target identifier on the first object to obtain a second object; finally, the control device sends the second object to the server of the target service, so that the server of the target service can return a service result of executing the target service based on the keyword to the client according to the second object. Because the target flow comprises at least one control rule pre-configured for the target service result, the control platform can process the service result of the target service based on the control rule in the pre-configured target flow, and then the server of the target service returns the processed service result to the client. For example, when the bad case exists in the service result output by the target service, the service result of the service can be adjusted according to the preconfigured control flow, and the algorithm engineer does not need to wait for the algorithm of the target service to be optimized, that is, the algorithm effect of the service can be rapidly improved without frequently changing the model of the algorithm of the service, so that time resources and human resources are saved.
The control device in the embodiments of the present disclosure may be a device, or may be a component, an integrated circuit, or a chip in a server. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the disclosed embodiments are not limited in particular.
The control device in the embodiments of the present disclosure may be a device having an operating system. The operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present disclosure is not particularly limited.
The control device provided in the embodiment of the present disclosure can implement each process implemented by the method embodiments of fig. 1 to fig. 11, and is not described here again to avoid repetition.
Optionally, as shown in fig. 13, an embodiment of the present disclosure further provides a server 1300, which includes a processor 1301, a memory 1302, and a program or an instruction stored on the memory 1302 and capable of running on the processor 1301, where the program or the instruction is executed by the processor 1301 to implement each process of the above-described control method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present disclosure includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 14 is a schematic hardware structure diagram of a server implementing an embodiment of the present disclosure.
It should be noted that the server 1400 of the control platform shown in fig. 14 is only an example, and should not bring any limitation to the functions and the scope of the embodiments of the present disclosure.
As shown in fig. 14, the server 1400 includes a Central Processing Unit (CPU) 1401 which can perform various appropriate actions and processes in accordance with a program stored in a Read-Only Memory (ROM) 1402 or a program loaded from a storage portion 1408 into a Random Access Memory (RAM) 1403. In the RAM 1403, various programs and data necessary for system operation are also stored. The CPU 1401, ROM 1402, and RAM 1403 are connected to each other via a bus 1404. An Input/Output (I/O) interface 1405 is also connected to the bus 1404.
The following components are connected to the I/O interface 1405: an input portion 1406 including a keyboard, a mouse, and the like; an output portion 1407 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage portion 1408 including a hard disk and the like; and a communication section 1409 including a Network interface card such as a Local Area Network (LAN) card, a modem, and the like. The communication section 1409 performs communication processing via a network such as the internet. The driver 1410 is also connected to the I/O interface 1405 as necessary. A removable medium 1411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1410 as necessary, so that a computer program read out therefrom is installed into the storage section 1408 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 1409 and/or installed from the removable medium 1411. When the computer program is executed by the CPU 1401, various functions defined in the system of the present application are executed.
The embodiment of the disclosure provides a server, which may first obtain a target request sent by a server of a target service, where the target request includes a first object and a target identifier, the first object includes a service result obtained by the server of the target service executing the target service based on a keyword, and the target service is a service used by a client based on the keyword; then, the server can respond to the target request and execute a target process corresponding to the target identification on the first object to obtain a second object; finally, the server sends the second object to the server of the target service, so that the server of the target service can return a service result of executing the target service based on the keyword to the client according to the second object. Since the target flow includes at least one control rule preconfigured for the target service result, the server may process the service result of the target service based on the control rule in the preconfigured target flow, and then the server of the target service returns the processed service result to the client. For example, when the bad case exists in the service result output by the target service, the service result of the service can be adjusted according to the preconfigured control flow, and the algorithm engineer does not need to wait for the algorithm of the target service to be optimized, that is, the algorithm effect of the service can be rapidly improved without frequently changing the model of the algorithm of the service, so that time resources and human resources are saved.
The embodiments of the present disclosure also provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above control method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer ROM, a computer RAM, a magnetic or optical disk, and the like.
The embodiment of the present disclosure further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the control method embodiment, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present disclosure may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it is noted that the scope of the methods and apparatus in the embodiments of the present disclosure is not limited to performing functions in the order shown or discussed, but may include performing functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present disclosure.
While the present disclosure has been described with reference to the embodiments illustrated in the drawings, which are intended to be illustrative rather than restrictive, it will be apparent to those of ordinary skill in the art in light of the present disclosure that many more modifications may be made without departing from the spirit of the disclosure and the scope of the appended claims.

Claims (11)

1. A control method, characterized in that the method comprises:
acquiring a target request sent by a server of a target service, wherein the target request comprises a first object and a target identifier, the first object comprises a service result obtained by the server of the target service executing the target service based on a keyword, and the target service is a service used by a client based on the keyword;
responding to the target request, executing a target process corresponding to the target identification on the first object to obtain a second object, wherein the target process comprises at least one control rule pre-configured for a service result of the target service;
and sending the second object to the server, so that the server returns a service result of executing the target service based on the keyword to the client according to the second object.
2. The method of claim 1, wherein each of the at least one control rule comprises an execution condition and an execution action, the execution condition comprising a condition item and execution logic for the condition item; the target request also comprises a process variable and a rule variable, wherein the process variable is used for matching a control rule in the process, and the rule variable is used for matching an execution condition in the control rule;
the executing the target process on the first object comprises:
traversing the control rule in the target process, and determining the target control rule of the process variable existing in the control rule;
traversing the execution conditions in each action item in the target control rule, and determining the target action item with the rule variable in the execution conditions;
and executing the configured target action on the data of the target element in the first object according to the condition item and the execution logic in the execution condition of the target action item.
3. The method according to claim 1 or 2, wherein the target request sent by the server for obtaining the target service is preceded by the method further comprising:
receiving a configuration input at a process configuration interface;
and responding to the configuration input, and configuring the target process for the service result of the target service.
4. The method of claim 3, wherein configuring the target process for the service result of the target service in response to the configuration input comprises:
selecting at least one control rule for the target service in response to a rule selection input;
wherein the rule selection input is an input to select a control rule from a rule selection, one control rule comprising an execution condition and an execution action, the execution condition comprising a condition item and execution logic for the condition item.
5. The method of claim 4, further comprising:
configuring the execution conditions and the execution actions of the control rules to obtain target control rules;
adding the target control rule to a rule option.
6. The method of claim 3, wherein configuring the target process for the service result of the target service in response to the configuration input comprises:
configuring at least one control rule for the target service in response to a rule configuration input, one control rule comprising an execution condition and an execution action, the execution condition comprising a condition item and execution logic for the condition item.
7. The method of claim 2, wherein the performing the action comprises: move data up, move data down, delete data, modify data.
8. The method of claim 3, wherein after the configuring the target process, the method further comprises:
receiving test input at the process configuration interface;
responding to the test input, testing the target process, and outputting a test result of the target process on a test interface;
and when the test is passed, the target process is on-line.
9. A control device, characterized in that the control device comprises: the device comprises an acquisition module, an execution module and a sending module;
the acquisition module is used for acquiring a target request, wherein the target request comprises a first object and a target identifier, the first object comprises a service result obtained by a server of a target service executing the target service based on a keyword, and the target service is a service used by a client based on the keyword;
the execution module is configured to execute, in response to the target request acquired by the acquisition module, a target process corresponding to the target identifier on the first object to obtain a second object, where the target process includes at least one control rule preconfigured for a service result of the target service;
the sending module is configured to send the second object to the server, so that the server returns a service result of executing the target service based on the keyword to the client according to the second object.
10. A server, characterized by comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, which program or instructions, when executed by the processor, implement the steps of the control method according to any one of claims 1 to 8.
11. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method according to any one of claims 1 to 8.
CN202110734046.6A 2021-06-30 2021-06-30 Control method, control device, server and storage medium Pending CN113468388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110734046.6A CN113468388A (en) 2021-06-30 2021-06-30 Control method, control device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110734046.6A CN113468388A (en) 2021-06-30 2021-06-30 Control method, control device, server and storage medium

Publications (1)

Publication Number Publication Date
CN113468388A true CN113468388A (en) 2021-10-01

Family

ID=77874312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110734046.6A Pending CN113468388A (en) 2021-06-30 2021-06-30 Control method, control device, server and storage medium

Country Status (1)

Country Link
CN (1) CN113468388A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182488A (en) * 2014-08-08 2014-12-03 腾讯科技(深圳)有限公司 Search method, server and client
CN105354235A (en) * 2015-10-08 2016-02-24 天脉聚源(北京)传媒科技有限公司 Search result processing method and apparatus
CN108090064A (en) * 2016-11-21 2018-05-29 腾讯科技(深圳)有限公司 A kind of data query method, apparatus, data storage server and system
CN109447411A (en) * 2018-09-26 2019-03-08 平安普惠企业管理有限公司 Business Process Control method, apparatus, computer equipment and storage medium
CN109885729A (en) * 2019-02-20 2019-06-14 北京奇艺世纪科技有限公司 A kind of method, apparatus and system showing data
CN110765275A (en) * 2019-10-14 2020-02-07 平安医疗健康管理股份有限公司 Search method, search device, computer equipment and storage medium
CN112256734A (en) * 2020-10-20 2021-01-22 中国农业银行股份有限公司 Big data processing method, device, system, equipment and storage medium
CN112394922A (en) * 2020-12-02 2021-02-23 成都新希望金融信息有限公司 Decision configuration method, business decision method and decision engine system
CN112733009A (en) * 2019-10-28 2021-04-30 百度在线网络技术(北京)有限公司 Searching method and device
CN112905492A (en) * 2021-04-06 2021-06-04 浙江网商银行股份有限公司 Verification method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182488A (en) * 2014-08-08 2014-12-03 腾讯科技(深圳)有限公司 Search method, server and client
CN105354235A (en) * 2015-10-08 2016-02-24 天脉聚源(北京)传媒科技有限公司 Search result processing method and apparatus
CN108090064A (en) * 2016-11-21 2018-05-29 腾讯科技(深圳)有限公司 A kind of data query method, apparatus, data storage server and system
CN109447411A (en) * 2018-09-26 2019-03-08 平安普惠企业管理有限公司 Business Process Control method, apparatus, computer equipment and storage medium
CN109885729A (en) * 2019-02-20 2019-06-14 北京奇艺世纪科技有限公司 A kind of method, apparatus and system showing data
CN110765275A (en) * 2019-10-14 2020-02-07 平安医疗健康管理股份有限公司 Search method, search device, computer equipment and storage medium
CN112733009A (en) * 2019-10-28 2021-04-30 百度在线网络技术(北京)有限公司 Searching method and device
CN112256734A (en) * 2020-10-20 2021-01-22 中国农业银行股份有限公司 Big data processing method, device, system, equipment and storage medium
CN112394922A (en) * 2020-12-02 2021-02-23 成都新希望金融信息有限公司 Decision configuration method, business decision method and decision engine system
CN112905492A (en) * 2021-04-06 2021-06-04 浙江网商银行股份有限公司 Verification method and device

Similar Documents

Publication Publication Date Title
US11670288B1 (en) Generating predicted follow-on requests to a natural language request received by a natural language processing system
JP2022509344A (en) Name tag display method and device
CN111428131A (en) Information pushing method, device and system
CN112306605A (en) RPA-based application program operation method, device and storage medium
CN109885729B (en) Method, device and system for displaying data
US20200410030A1 (en) Cloud search-based recommendation method, apparatus, device and readable storage medium
CN116597443A (en) Material tag processing method and device, electronic equipment and medium
CN116611411A (en) Business system report generation method, device, equipment and storage medium
CN113468388A (en) Control method, control device, server and storage medium
US11062224B2 (en) Prediction using fusion of heterogeneous unstructured data
CN114036397B (en) Data recommendation method, device, electronic equipment and medium
CN116048987A (en) Processing method, device, electronic equipment, system and storage medium for flow business
US20220300494A1 (en) Task query method and device
CN114218258A (en) User label management method, system, equipment and storage medium
CN110716911B (en) Data processing method and device, electronic equipment and storage medium
CN112596617A (en) Message content input method and device and electronic equipment
CN112199561A (en) Application search method and device
CN107885774B (en) Data processing method and system
CN111782776A (en) Method and device for realizing intention identification through slot filling
CN116301869B (en) Front-end page configuration management and control system, method, equipment and medium
CN115495688B (en) Intelligent switching method and system for business handling
US20220343388A1 (en) Intelligent online platform for digitizing, searching, and providing services
CN116776022A (en) Request response method, device, equipment and storage medium
CN108536362B (en) Method and device for identifying operation and server
CN117217836A (en) User positioning and popularization method, device, equipment, medium and program product

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