CN111475694A - Data processing method, device, terminal and storage medium - Google Patents
Data processing method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN111475694A CN111475694A CN202010189668.0A CN202010189668A CN111475694A CN 111475694 A CN111475694 A CN 111475694A CN 202010189668 A CN202010189668 A CN 202010189668A CN 111475694 A CN111475694 A CN 111475694A
- Authority
- CN
- China
- Prior art keywords
- service
- formula
- target
- service information
- rule
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 12
- 238000012545 processing Methods 0.000 claims abstract description 187
- 238000000034 method Methods 0.000 claims abstract description 34
- 230000004044 response Effects 0.000 claims abstract description 11
- 238000000605 extraction Methods 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012795 verification Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 239000000284 extract Substances 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000001303 quality assessment method Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Databases & Information Systems (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Educational Administration (AREA)
- Development Economics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application provides a data processing method, a data processing device, a terminal and a storage medium, wherein the method comprises the following steps: responding to the selection operation of the identification of the target service scene in at least one service scene included in the service information set, and determining a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in at least one service corresponding to the target service scene included in the service information set; responding to the selection operation of the service information of the target service in the sub-service information set, determining a rule processing interface matched with the terminal user according to second user data of the terminal user and a preset interface matching rule, carrying out window splitting processing on the rule processing interface to obtain a plurality of windows, loading a target formula list in a first window of the plurality of windows, and loading a calling relation graph in a second window of the plurality of windows. By adopting the method and the device, the rule setting process can be simplified, and the response speed to the service change is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method, an apparatus, a terminal, and a storage medium.
Background
With the development of computer technology, in the process of business processing, rules can be set in advance for one or more businesses. For example, in performance assessment, various index assessment rules of performance assessment need to be set. In the implementation of a traditional service system, customized development and implementation of each service scenario are required, for example, customized setting of code logic of a certain type of early warning rule is required. When a user needs to configure a corresponding rule, the user needs to fully understand the business form, grasp the code logic, and then configure the code logic of the corresponding rule. However, this rule setting process is cumbersome and reduces the speed of response to traffic changes.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, a terminal and a storage medium, which can simplify the rule setting process and improve the response speed to service change.
In a first aspect, an embodiment of the present application provides a data processing method, including:
acquiring a service information set, wherein the service information set comprises an identifier of each service scene in at least one service scene and service information of each service in at least one service corresponding to each service scene;
responding to the selection operation of the identification of the target service scene in the at least one service scene, and determining a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scene;
responding to the selection operation of the service information of the target service in the sub-service information set, and determining a rule processing interface matched with the terminal user according to second user data of the terminal user and a preset interface matching rule;
displaying the rule processing interface, performing window splitting processing on the rule processing interface to obtain a plurality of windows, loading a target formula list on a first window in the plurality of windows, scanning and traversing the target formula list to construct a calling relation graph of the target formula list, and loading the calling relation graph on a second window in the plurality of windows.
Optionally, the determining, by the first user data including a user role of the terminal user, a sub-service information set matched with the terminal user according to the first user data of the terminal user and service information of each service of at least one service corresponding to the target service scenario includes:
determining a target access authority corresponding to the user role of the terminal user according to the corresponding relation between the user role and the access authority;
determining service information of a service corresponding to the target access authority from service information of each service in at least one service corresponding to the target service scene;
and generating a sub-service information set comprising the service information of the service corresponding to the target access authority.
Optionally, the determining, by the first user data, a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scenario includes:
determining the service information of the service concerned by the terminal user from the service information of each service in at least one service corresponding to the target service scene according to the service information of the service collected by the terminal user;
and generating a sub-service information set comprising the service information of the service concerned by the terminal user.
Optionally, the second user data includes a service familiarity of the end user, the interface matching rule includes a rule set according to the service familiarity, and the determining, according to the second user data of the end user and a preset interface matching rule, a rule processing interface matched with the end user includes:
judging whether the service familiarity of the terminal user is less than a preset familiarity or not;
when the service familiarity of the terminal user is smaller than a preset familiarity, determining a first rule processing interface as a rule processing interface matched with the terminal user; the first rule processing interface is a simple mode rule processing interface;
when the service familiarity of the terminal user is greater than or equal to a preset familiarity, determining a second rule processing interface as a rule processing interface matched with the terminal user; the second rule processing interface is a rule processing interface with a complex mode.
Optionally, before the first window of the plurality of windows loads the list of target formulas, the method further includes:
acquiring a general formula set and acquiring a scene formula set matched with the target service scene; wherein the set of generic formulas includes at least one generic formula; the set of scene formulas includes at least one scene formula;
generating a target formula list comprising the set of generic formulas and the set of scenario formulas.
Optionally, the obtaining a general formula set and obtaining a scene formula set matched with the target service scene include:
acquiring a first type script file and a second type script file from a service server; each script file in the first type of script file comprises at least one general formula, and each script file in the second type of script file comprises at least one scene formula;
extracting at least one general formula included in each script file in the first type of script files and extracting at least one scene formula included in each script file in the second type of script files according to formula extraction rules; the formula extraction rule comprises a keyword positioning extraction rule or a line positioning extraction rule.
Optionally, the method further comprises:
responding to the selection operation of at least one formula in the target formula list, and loading the at least one formula in a rule setting area of the rule processing interface;
when the editing operation of the at least one formula loaded in the rule setting area is detected, editing the at least one formula according to the editing operation to obtain a target formula;
generating a formula set comprising the target formula;
and sending the formula set to a service server so that the service server can execute formula updating operation or store the formula.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
an obtaining module, configured to obtain a service information set, where the service information set includes an identifier of each service scenario in at least one service scenario, and service information of each service in at least one service corresponding to each service scenario;
the determining module is used for responding to the selection operation of the identifier of the target service scene in the at least one service scene, and determining a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scene;
the determining module is further configured to determine, in response to a selection operation on the service information of the target service in the sub-service information set, a rule processing interface matched with the terminal user according to second user data of the terminal user and a preset interface matching rule;
and the output module is used for displaying the rule processing interface, carrying out window splitting processing on the rule processing interface to obtain a plurality of windows, loading a target formula list on a first window in the plurality of windows, scanning and traversing the target formula list, constructing a calling relation graph of the target formula list, and loading the calling relation graph on a second window in the plurality of windows.
In a third aspect, an embodiment of the present application provides a terminal, including a processor, an output device, and a memory, where the processor, the output device, and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a processor to implement the method according to the first aspect.
In summary, the terminal may obtain a service information set, respond to a selection operation of an identifier of a target service scene in the at least one service scene included in the service information set, and determine a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scene; the terminal can respond to the selection operation of the service information of the target service in the sub-service information set, and determine a rule processing interface matched with the terminal user according to the second user data of the terminal user and a preset interface matching rule; the terminal can display the rule processing interface, window splitting processing is carried out on the rule processing interface, a plurality of windows are obtained, a target formula list is loaded on a first window in the windows, the target formula list is scanned and traversed, a calling relation graph of the target formula list is constructed, and the calling relation graph is loaded on a second window in the windows.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a data processing method provided in an embodiment of the present application;
FIG. 1a is a schematic diagram of a rule processing interface provided by an embodiment of the present application;
FIG. 1b is a schematic diagram of another rule processing interface provided by embodiments of the present application;
FIG. 2 is a schematic flow chart diagram of another data processing method provided in the embodiments of the present application;
fig. 3 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Please refer to fig. 1, which is a flowchart illustrating a data processing method according to an embodiment of the present disclosure. The method can be applied to a terminal. The terminal includes but is not limited to smart terminals such as smart phones, tablet computers, notebook computers and desktop computers. Specifically, the method may comprise the steps of:
s101, acquiring a service information set, wherein the service information set comprises an identifier of each service scene in at least one service scene and service information of each service in at least one service corresponding to each service scene.
The identifier of the service scenario includes, but is not limited to, a name of the service scenario, and other information for uniquely identifying the service scenario. The service information of the service may include an identifier of each processing task of the at least one processing task corresponding to the service, such as a name of the processing task, and/or an identifier of each rule of the at least one rule, such as a name of the rule. In one embodiment, each of the at least one processing task may correspond to at least one rule.
For example, the business scenario is approval, and the at least one task corresponding to approval may include an approval form. The identification of the processing task to which the approval sheet corresponds may include a processing stage, such as in-process. The identification of the rule corresponding to the approval sheet may include the name of the early warning rule 1. The processing can be prompted according to the early warning rule 1, such as the unprocessed state exceeding 7 days.
In an embodiment, the terminal may obtain the service information set from the server, or read the service information set from the local, and the embodiment of the present application does not limit the manner of obtaining the service information set.
S102, responding to the selection operation of the identification of the target service scene in the at least one service scene, and determining a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scene.
In the embodiment of the application, the terminal user may select the identifier of the target service scenario in the at least one service scenario. The terminal may respond to the selection operation of the identifier of the target service scenario in the at least one service scenario, and determine a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scenario. When the service information is more, the process can rapidly screen a large amount of service information to obtain the service information matched with the user, so that the query time of the user can be reduced, and the user experience is improved.
In an embodiment, the first user data includes a user role of the terminal user, and the manner of determining, by the terminal, the sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scenario may be as follows: the terminal determines a target access authority corresponding to the user role of the terminal user according to the corresponding relation between the user role and the access authority; the terminal determines the service information of the service corresponding to the target access authority from the service information of each service in at least one service corresponding to the target service scene; and the terminal generates a sub-service information set comprising the service information of the service corresponding to the target access authority. By adopting the process, the service information of the service which can be accessed by the terminal user can be quickly positioned.
For example, the user role of the user 1 is a project manager, and the terminal can determine the access right 1 corresponding to the project manager according to the corresponding relationship between the user role and the access right; the terminal can determine the service information of the service 1 corresponding to the access authority 1 from the service information of the service 1, the service information of the service 2 and the service information of the service 3 corresponding to the target service scene; the terminal may generate a sub-service information set including the service information of the service 1.
In an embodiment, the manner of determining, by the terminal, the service information of the service corresponding to the target access right from the service information of each service in the at least one service corresponding to the target service scenario may be as follows: and the terminal determines the service information of the service corresponding to the target access authority from the service information of each service in at least one service corresponding to the target service scene according to the corresponding relation between the access authority and the service.
In an embodiment, the first user data includes service information of services collected by the terminal user, and the manner of determining, by the terminal, the sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scenario may be as follows: the terminal determines the service information of the service concerned by the terminal user from the service information of each service in at least one service corresponding to the target service scene according to the service information of the service collected by the terminal user; the terminal generates a sub-service information set including service information of the service concerned by the terminal user. The service information of the service concerned by the terminal user is determined through the collected service, and the service information of the service interested by the terminal user can be quickly positioned. In one embodiment, the favorite service of interest may be a service added to a favorite.
In an embodiment, the manner of determining, by the terminal, the service information of the service concerned by the terminal user from the service information of each service in the at least one service corresponding to the target service scenario according to the service information of the services collected by the terminal user may be as follows: and the terminal determines the service information of the service appearing in the collected services as the service information of the service concerned by the terminal user from the service information of each service in at least one service corresponding to the target service scene.
In an embodiment, the manner of determining, by the terminal, the service information of the service concerned by the terminal user from the service information of each service in the at least one service corresponding to the target service scenario according to the service information of the services collected by the terminal user may be as follows: the terminal determines the category of the service information of the service collected by the terminal user; and the terminal determines the service information of the service belonging to the category as the information of the service concerned by the terminal user from the service information of each service in at least one service corresponding to the target service scene. The service information of the service concerned by the terminal user can be identified through the category, and the service information of the service interested by the terminal user can be quickly positioned.
S103, responding to the selection operation of the service information of the target service in the sub-service information set, and determining a rule processing interface matched with the terminal user according to the second user data of the terminal user and a preset interface matching rule.
In the embodiment of the application, the terminal can display the sub-service information set, and the terminal user can select the service information of the target service in the sub-service information set. The terminal can respond to the selection operation of the service information of the target service in the sub-service information set, and determine a rule processing interface matched with the terminal user according to the second user data of the terminal user and a preset interface matching rule.
Wherein the interface matching rules include, but are not limited to, any one or more of the following: and processing the rules set by the interface according to the rules set by the business familiarity, the rules set according to the categories to which the user roles belong and the rules selected in a preset time range.
In one embodiment, the second user data includes a business familiarity of the end user, the interface matching rule includes a rule set according to the business familiarity, and the terminal determines a rule processing interface matching with the end user according to the second user data of the end user and a preset interface matching rule in the following manner: the terminal judges whether the service familiarity of the terminal user is less than a preset familiarity or not; when the service familiarity of the terminal user is smaller than the preset familiarity, the terminal determines a first rule processing interface as a rule processing interface matched with the terminal user; and when the service familiarity of the terminal user is greater than or equal to the preset familiarity, the terminal determines the second rule processing interface as the rule processing interface matched with the terminal user. The first rule processing interface is a simple mode rule processing interface, for example, the first rule processing interface may be the first rule processing interface shown in fig. 1a, that is, a rule processing interface of an interface mode. The second rule processing interface is a complex schema rule processing interface, for example, the second rule processing interface may be a developer schema rule processing interface as shown in fig. 1 b. The rule processing interface suitable for the terminal user can be matched for the terminal user through the familiarity judgment, and the user experience can be improved.
In one embodiment, the business familiarity may be determined by at least one of: the service quality assessment method comprises the following steps of working experience data of the terminal user, assessment scores (such as basic knowledge and/or professional skill scores) of the terminal user in a module corresponding to the target service, and the number of times of using or access frequency of the terminal user to the module corresponding to the target service.
In an embodiment, the second user data includes a category to which a user role corresponding to the terminal user belongs, the interface matching rule includes a rule set according to the category to which the user role belongs, and the terminal determines, according to the second user data of the terminal user and a preset interface matching rule, a rule processing interface matching with the terminal user in the following manner: when the category to which the user role of the terminal user belongs is a first category (such as non-developer), the terminal determines the first rule processing interface as a rule processing interface matched with the terminal user; and when the category to which the user role of the terminal user belongs is a second category (such as a developer), the terminal determines the second rule processing interface as the rule processing interface matched with the terminal user.
In one embodiment, the second user data includes a rule processing interface selected by the end user within a preset time range, the interface matching rule includes a rule set according to the rule processing interface selected within the preset time range, and the terminal determines the rule processing interface matched with the end user according to the second user data of the end user and the preset interface matching rule in the following manner: and the terminal counts the rule processing interface with the maximum selection times of the terminal user according to the rule processing interface selected by the terminal user within the preset time range, and determines the rule processing interface with the maximum selection times as the rule processing interface matched with the terminal user.
In one embodiment, when the rule processing interface with the largest number of selections is the first rule processing interface, mode switching prompt information can be output, and the mode switching prompt information is used for prompting whether to switch from the first rule processing interface to the second rule processing interface; and when receiving a switching confirmation instruction aiming at the mode switching prompt information input, determining the second rule processing interface as the rule processing interface matched with the terminal user. In an embodiment, when the rule processing interface with the largest number of selections is the second rule processing interface, mode switching prompt information may also be output, where the mode switching prompt information is used to debug whether to switch from the second rule processing interface to the first rule processing interface.
In one embodiment, the second user data includes a business familiarity of an end user and a rule processing interface selected by the end user within a preset time range, the interface matching rule includes a rule set according to the business familiarity and a rule set according to the rule processing interface selected within the preset time range, and the terminal determines the rule processing interface matched with the end user according to the second user data of the end user and the preset interface matching rule in the following manner: the terminal determines a rule processing interface matched with the terminal user (such as the rule processing interface with the largest selection times) according to the rule processing interface selected by the terminal user within a preset time range, and determines the rule processing interface matched with the terminal user according to the service familiarity of the terminal user (such as the service familiarity is smaller than the preset familiarity, the matched rule processing interface is a first rule processing interface, the service familiarity is larger than or equal to the preset familiarity, and the matched rule processing interface is a second rule processing interface); when the rule processing interfaces determined by the two modes are inconsistent, the terminal can output prompt information to prompt selection of the first rule processing interface or the second rule processing interface, and when the selection operation of the terminal on the option of the first rule processing interface is received, the first rule processing interface is determined to be the rule processing matched with the terminal user; and when the selection operation of the terminal on the option of the second rule processing interface is received, determining the second rule processing interface as the rule processing matched with the terminal user.
S104, displaying the rule processing interface, carrying out window splitting processing on the rule processing interface to obtain a plurality of windows, loading a target formula list on a first window of the plurality of windows, scanning and traversing the target formula list, constructing a calling relation graph of the target formula list, and loading the calling relation graph on a second window of the plurality of windows.
In the embodiment of the present application, the target formula list may be obtained locally or generated in real time. The target formula list may include a plurality of formulas. In one embodiment, the target formula list may specifically include a set of general formulas and a set of scenario formulas matching the target service scenario. The calling relationship diagram indicates calling relationships among a plurality of formulas included in the target formula list.
Wherein the set of generic formulas may include at least one generic formula. The set of scenario formulas may include at least one scenario formula. The set of general formulas may be a set of general formulas applicable to a plurality of service scenarios (e.g., may be all service scenarios). In one embodiment, the correlation between the plurality of service scenes is greater than or equal to a preset correlation. The at least one general formula includes, but is not limited to, at least one of: a value conversion formula, at least one condition judgment formula (e.g., a formula for judging whether it is empty), an attribute expression, such as a formula for acquiring a variable or a parameter. Wherein the formula for obtaining the variable or parameter includes, but is not limited to, at least one of: the method comprises the steps of obtaining date, obtaining a function name of a currently executed function, obtaining a parameter list corresponding to the function, obtaining currently processed data, obtaining a request source internet protocol address of the currently processed data, and obtaining a data processing object corresponding to the currently processed data. Wherein the acquisition date includes, but is not limited to, acquisition of the current time, the current day, acquisition of the current month, or acquisition of the current year. The at least one scenario formula may be different according to the target service scenario. For example, when the target business scenario is an investment, the at least one scenario formula corresponding to the investment may include a scenario formula of getformmaximum (document type, state name, comparison field) -now () >7, getvaluefin (document quantity value), and so on. The above are only two scenario formulas corresponding to the listed investments, and certainly, at least one scenario formula corresponding to the investments may also be other scenario formulas, or may also include other scenario formulas, which is not limited in the embodiment of the present application.
In one embodiment, the terminal may obtain a scene formula set, and may obtain a scene formula set matched with the target service scene; the terminal may generate a target formula list including the set of generic formulas and the set of scenario formulas.
In an embodiment, the manner for the terminal to obtain the general formula set and obtain the scene formula set matched with the target service scene may be as follows: the terminal acquires a first type script file and a second type script file from the service server; each script file in the first type of script file comprises at least one general formula, and each script file in the second type of script file comprises at least one scene formula; and the terminal extracts at least one general formula included in each script file in the first type of script file and extracts at least one scene formula included in each script file in the second type of script file according to formula extraction rules. The formula extraction rule comprises a keyword positioning extraction rule or a line positioning extraction rule. The corresponding formula is extracted through the script file, the possibility that the formula is tampered can be reduced, and therefore the accuracy and the reliability of the obtained formula are guaranteed.
The following explains how to extract the scene formula, where the extraction method of the general formula may refer to the extraction method of the scene formula, and details are not described herein in this embodiment of the present application.
In an embodiment, the formula extraction rule includes a keyword location extraction rule, and according to the formula extraction rule, the terminal may extract at least one scene formula included in each script file in the second type of script file in the following manner: the terminal identifies at least one formula definition keyword included in each script file in the second type of script files by adopting a keyword identification technology; and the terminal extracts the scene formula after the formula definition keyword from the sentence in which each formula definition keyword in the at least one formula definition keyword is positioned. Wherein the formula definition key may be a key for defining and declaring a formula. For example, the formula definition key may include a formula declaration (e.g., a function declaration: function) and a formula annotation (e.g., a formula label, which may include a scenario formula label).
In an embodiment, the formula extraction rule includes a line location extraction rule, and the manner of extracting, by the terminal, at least one scene formula included in each script file in the second type of script file may be as follows: and the terminal extracts at least one scene formula included in each script file in the second type of script file according to the line number of the at least one scene formula in each script file in the second type of script file.
In an embodiment, the terminal may use a preset positioning function to position, according to the line number of the at least one scene formula in each script file in the second type of script file, a line in which the at least one scene formula included in each script file in the second type of script file is located. In which different programming languages differ in the positioning function they apply.
In an embodiment, the manner for the terminal to obtain the first type script file and the second type script file from the service server may be as follows: the terminal sends a script file acquisition instruction to the service server, wherein the script file acquisition instruction carries an identifier of a target service scene, and the script acquisition instruction is used for indicating the service server to return a first type of script file and a second type of script file; the service server can query a second type of script file according to the identifier of the target service scene, and send the first type of script file and the second type of script file to the terminal, and the terminal can receive the first type of script file and the second type of script file returned by the service server. In addition, the terminal can also query the second type of script file from the local according to the identifier of the target service scene, and acquire the first type of script file.
In one embodiment, the respective formulas included in the target formula list may be defined by a specific expression engine, such as an MVE L expression engine.
In one embodiment, the terminal may sort the at least one general formula and the at least one scene formula according to the usage frequency of the terminal user for each general formula in the at least one general formula and the usage frequency of each scene formula in the at least one scene formula, obtain a sorting result, and generate a target formula list including the sorting result. For example, if the usage frequency of the general formula 1 is 1 time/month, the usage frequency of the general formula 2 is 5 times/month, the usage frequency of the scenario formula 1 is 2 times/month, and the usage frequency of the scenario formula 2 is 3 times/month, the ranking result may be the general formula 2, the scenario formula 1, or the general formula 1, and the terminal may generate the target formula list including the ranking result.
In one embodiment, the terminal may group the at least one general formula, sort the group of general formulas according to the frequency of the terminal user's use of each general formula in the at least one general formula to obtain a first sorting result of the group of general formulas, divide the at least one scene formula into another group, sort the group of scene formulas according to the frequency of the terminal user's use of each scene formula in the at least one scene formula to obtain a second sorting result of the group of scene formulas, and generate a target formula list including the first sorting result and the second sorting result. For example, if the usage frequency of the general formula 1 is 1/month, the usage frequency of the general formula 2 is 5/month, the usage frequency of the scenario formula 1 is 2/month, and the usage frequency of the scenario formula 2 is 3/month, the ranking results may be the general formula 2, the general formula 1, the scenario formula 2, and the scenario formula 1, and the terminal may generate the target formula list including the first ranking result and the second ranking result.
In an embodiment, the window splitting processing is performed on the rule processing interface by the terminal, and the manner of obtaining the plurality of windows may be: the terminal acquires the interface data and determines a window to be loaded with each data in the interface data according to the corresponding relation between the preset data and the window. For example, the terminal may determine, according to a preset correspondence between data and a window, that a window to be loaded in the target formula list in the interface data is a first window.
In an embodiment, the terminal scans and traverses the target formula list, and the manner of constructing the call relationship graph of the target formula list may be as follows: and the terminal scans and traverses the target formula list, draws nodes corresponding to each formula in the target formula list, and connects the nodes corresponding to the first formula in the target formula list with the nodes corresponding to the second formula in the target formula list by using a connecting line. A calling relationship exists between the first formula and the second formula.
In one embodiment, the terminal may count the importance value of each formula in the target formula list, and draw the node corresponding to each formula according to the importance value of the formula by using the color corresponding to the importance value. In one embodiment, the importance value may be determined based on the frequency of use of the formula.
In one embodiment, when detecting a selection operation on a node corresponding to one of the formulas in the call relationship graph, the terminal may locate the formula included in the target formula list, and mark, such as highlight, the formula included in the target formula list.
In one embodiment, the displayed rule processing interface may include at least one interface option, and when a selection operation on the at least one interface option is detected, the rule processing interface corresponding to the interface option may be switched to. For example, in the first rule processing interface shown in FIG. 1a, the at least one interface option includes a developer mode option and an interface mode option. When the terminal user is not satisfied with the displayed rule processing interface, the switching of the rule processing interface can be realized through the interface option.
As can be seen, in the embodiment shown in fig. 1, a terminal may obtain a service information set, respond to a selection operation of an identifier of a target service scene in at least one service scene included in the service information set, and determine, according to first user data of a terminal user and service information of each service in at least one service corresponding to the target service scene, a sub-service information set matched with the terminal user; the terminal can respond to the selection operation of the service information of the target service in the sub-service information set, and determine a rule processing interface matched with the terminal user according to the second user data of the terminal user and a preset interface matching rule; the terminal can display the rule processing interface, carry out window splitting processing on the rule processing interface to obtain a plurality of windows, load a target formula list in a first window of the plurality of windows, scan and traverse the target formula list, construct a calling relation graph of the target formula list, and load the calling relation graph in a second window of the plurality of windows.
Please refer to fig. 2, which is a flowchart illustrating another data processing method according to an embodiment of the present disclosure. The data processing method can be applied to a terminal. Specifically, the method may comprise the steps of:
s201, acquiring a service information set, wherein the service information set comprises an identifier of each service scene in at least one service scene and service information of each service in at least one service corresponding to each service scene.
S202, responding to the selection operation of the identification of the target service scene in the at least one service scene, and determining a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scene.
S203, responding to the selection operation of the service information of the target service in the sub-service information set, and determining a rule processing interface matched with the terminal user according to the second user data of the terminal user and a preset interface matching rule.
S204, displaying the rule processing interface, carrying out window splitting processing on the rule processing interface to obtain a plurality of windows, loading a target formula list on a first window of the plurality of windows, scanning and traversing the target formula list, constructing a calling relation graph of the target formula list, and loading the calling relation graph on a second window of the plurality of windows.
Steps S201 to S204 may refer to steps S101 to S104 in the embodiment of fig. 1, which is not described herein again in this embodiment of the present application.
S205, responding to the selection operation of at least one formula in the target formula list, and loading the at least one formula in a rule setting area of the rule processing interface.
S206, when the editing operation of the at least one formula loaded in the rule setting area is detected, editing the at least one formula according to the editing operation to obtain a target formula.
And S207, generating a formula set comprising the target formula.
In steps S205-S207, the terminal may respond to the selection operation of at least one formula in the target formula list, load the at least one formula in the rule setting area of the rule processing interface, and when an editing operation of the at least one formula loaded in the rule setting area is detected, modify the at least one formula according to the editing operation to obtain a target formula, thereby generating a formula set including the target formula. Wherein, the formula set can comprise at least one modified formula and/or at least one modified combined formula, and the combined formula is formed by combining one or more formulas. By adopting the process, the formula can be visually displayed, and the editing efficiency of the formula is improved.
In one embodiment, when the terminal detects an editing operation on a target factor in at least one formula included in the rule setting area, the terminal modifies the at least one formula according to the editing operation to obtain a target formula. Wherein, the target factor can be any one of the following items: target parameters, target constants, target compare operators. The target comparison operator may be greater than, less than or equal to the actual requirement. For example, referring to fig. 1a, in the first rule processing interface shown in fig. 1a, the rule setting area includes: getvalue (parameter 1, parameter 2, parameter 3) <100, and when the terminal detects an editing operation on the target factor in getvalue (parameter 1, parameter 2, parameter 3) <100, the terminal performs an editing process on getvalue (parameter 1, parameter 2, parameter 3) <100 according to the editing operation, so as to obtain the target formula.
In one embodiment, when the rule processing interface is a first rule processing interface, the terminal may enter a data detail interface when detecting a selection operation on a target factor in the at least one formula included in the rule setting area, where the data detail interface includes an explanation of the target factor; and after the terminal closes the data detail interface, if a first factor for replacing the target factor input by a keypad included in the rule processing interface is detected, replacing the target factor by the first factor. The input operation of the user can be normalized through the small keyboard, so that the formula has higher reliability. Or, the terminal can also enter a data detail interface when the selection operation of the target factor in the at least one formula is detected, wherein the data detail interface comprises at least one factor and explanation about each factor; the terminal responds to the selection operation of the first factor in the at least one factor and replaces the target factor by the first factor.
In one embodiment, when the rule processing interface is the second rule processing interface, the terminal may enable a target factor in the at least one formula included in the rule setting area to be in an editable state when detecting a selection operation on the target factor, and may acquire an input first factor for replacing the target factor. For example, referring to fig. 1b, in the second rule processing interface shown in fig. 1b, the terminal user may directly select parameter 1 in the formula included in the rule setting area, the terminal may enable parameter 1 to be in an editable state when detecting a selection operation on parameter 1 in the formula included in the rule setting area, the terminal user may input a parameter for replacing parameter 1, and the terminal may acquire the input parameter for replacing parameter 1 to replace parameter 1.
In one embodiment, the terminal may respond to a selection operation on a first formula in the target formula list, load the first formula in the rule setting area, and set an association relationship between the first formula and a second formula (the association relationship may be represented by an arithmetic operator); the terminal can also respond to the selection operation of the second formula in the target formula list, load the second formula in the rule setting area, and generate a first combined formula formed by the first formula, the arithmetic operator and the second formula as the target formula. Arithmetic operators include, but are not limited to, addition, subtraction, multiplication, and division. Optionally, the target factor in the first combined formula may be edited by the foregoing process, which is not described herein again in this embodiment of the application.
And S208, sending the formula set to a service server so that the service server can execute formula updating operation or store the formula.
In an embodiment, the terminal may further send the identifier of the target service scenario, the service information of the target service, and a formula set corresponding to the identifier information of the target service to the server.
In an embodiment, the terminal may send the identifier of the target service scene, the identifier information of the target service, and the formula set corresponding to the identifier information of the target service to the server when detecting the verification instruction, and may receive a verification result returned by the server after performing verification processing on the formula set corresponding to the identifier information of the target service, so as to display the verification result.
In one embodiment, the terminal may also display the verification rule corresponding to the formula set. When the terminal detects the check instruction, the terminal can use the check rules corresponding to the formulas to check the formulas included in the formula set respectively, and output the check result for display. In an embodiment, the terminal may determine, according to a correspondence between a preset formula set and a check rule, a formula set corresponding to the service information of the target service and the corresponding check rule.
In an embodiment, the terminal may further obtain a performance parameter of the terminal itself, determine a formula verification number according to the performance parameter, perform verification on the formula verification number (for example, 10 times) of the formula included in the formula set by using a verification rule corresponding to each formula, and output a verification result of each verification. Wherein the performance parameters include, but are not limited to, any one or more of: remaining power, remaining memory, processor utilization. The better the performance, the more checks can be. The more the verification times are, the more formula operation scenes are covered by the verification, so that the reliability and the accuracy of the formula are improved. In one embodiment, each time the formula is checked, a different input variable or parameter (which may be randomly generated) may be used for the formula for checking the formula.
In an embodiment, when detecting the confirmation submission instruction, the terminal may further send the identifier of the target service scenario, the identifier information of the target service, and the formula set corresponding to the identifier information of the target service to the server.
It can be seen that, in the embodiment shown in fig. 2, the terminal may load at least one formula in the rule setting area of the rule processing interface in response to the selection operation of at least one formula in the target formula list; the terminal can edit the at least one formula according to the editing operation when detecting the editing operation of the at least one formula loaded in the rule setting area to obtain a target formula and generate a formula set comprising the target formula, so that the formula set is sent to the service server to facilitate the service server to execute formula updating operation or store the formula updating operation, the rule setting efficiency is improved, and the response speed to service change is improved.
Please refer to fig. 3, which is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure, wherein the data processing apparatus can be applied to a terminal. Specifically, the apparatus may include:
an obtaining module 301, configured to obtain a service information set, where the service information set includes an identifier of each service scenario in at least one service scenario, and service information of each service in at least one service corresponding to each service scenario.
A determining module 302, configured to determine, in response to a selection operation on an identifier of a target service scenario in the at least one service scenario, a sub-service information set that is matched with the terminal user according to the first user data of the terminal user and service information of each service in the at least one service corresponding to the target service scenario.
The determining module 302 is further configured to determine, in response to a selection operation on the service information of the target service in the sub-service information set, a rule processing interface matched with the terminal user according to the second user data of the terminal user and a preset interface matching rule.
An output module 303, configured to display the rule processing interface, perform window splitting processing on the rule processing interface to obtain multiple windows, load a target formula list in a first window of the multiple windows, perform scanning traversal on the target formula list, construct a call relation graph of the target formula list, and load the call relation graph in a second window of the multiple windows.
In an optional implementation manner, the first user data includes a user role of the terminal user, and the determining module 302 determines, according to the first user data of the terminal user and service information of each service in at least one service corresponding to the target service scenario, a sub-service information set matched with the terminal user, specifically, according to a corresponding relationship between the user role and an access right, determines a target access right corresponding to the user role of the terminal user; determining service information of a service corresponding to the target access authority from service information of each service in at least one service corresponding to the target service scene; and generating a sub-service information set comprising the service information of the service corresponding to the target access authority.
In an optional implementation manner, the first user data includes service information of services collected by the terminal user, and the determining module 302 determines, according to the first user data of the terminal user and service information of each service in at least one service corresponding to the target service scenario, a sub-service information set matched with the terminal user, specifically, according to the service information of the services collected by the terminal user, determines service information of a service concerned by the terminal user from the service information of each service in at least one service corresponding to the target service scenario; and generating a sub-service information set comprising the service information of the service concerned by the terminal user.
In an optional embodiment, the second user data includes a business familiarity of the end user, the interface matching rule includes a rule set according to the business familiarity, the determining module 302 determines a rule processing interface matched with the end user according to the second user data of the end user and a preset interface matching rule, specifically, when the business familiarity of the end user is smaller than the preset familiarity, the first rule processing interface is determined as a rule processing interface matched with the end user; the first rule processing interface is a simple mode rule processing interface; when the service familiarity of the terminal user is greater than or equal to a preset familiarity, determining a second rule processing interface as a rule processing interface matched with the terminal user; the second rule processing interface is a rule processing interface with a complex mode.
In an optional implementation manner, the obtaining module 301 is further configured to obtain a general formula set before a target formula list is loaded in a first window of the multiple windows, and obtain a scene formula set matched with the target service scene; wherein the set of generic formulas includes at least one generic formula; the set of scene formulas includes at least one scene formula; generating a target formula list comprising the set of generic formulas and the set of scenario formulas.
In an optional implementation manner, the obtaining module 301 obtains a general formula set, and obtains a scene formula set matched with the target service scene, specifically, obtains a first type script file and a second type script file from a service server; each script file in the first type of script file comprises at least one general formula, and each script file in the second type of script file comprises at least one scene formula; extracting at least one general formula included in each script file in the first type of script files and extracting at least one scene formula included in each script file in the second type of script files according to formula extraction rules; the formula extraction rule comprises a keyword positioning extraction rule or a line positioning extraction rule.
In an alternative embodiment, the data processing apparatus further comprises a processing module 304.
In an alternative embodiment, the processing module 304 is configured to load, through the output module 303, at least one formula in the rule setting area of the rule processing interface in response to a selection operation on the at least one formula in the target formula list; when the editing operation of the at least one formula loaded in the rule setting area is detected, editing the at least one formula according to the editing operation to obtain a target formula; generating a formula set comprising the target formula; and sending the formula set to a service server through an output module 303 so that the service server can execute formula updating operation or save.
As can be seen, in the embodiment shown in fig. 3, the terminal may obtain a service information set, respond to a selection operation of an identifier of a target service scene in the at least one service scene included in the service information set, and determine, according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scene, a sub-service information set matched with the terminal user; the terminal can respond to the selection operation of the service information of the target service in the sub-service information set, and determine a rule processing interface matched with the terminal user according to the second user data of the terminal user and a preset interface matching rule; the terminal can display the rule processing interface, carry out window splitting processing on the rule processing interface to obtain a plurality of windows, load a target formula list in a first window of the plurality of windows, scan and traverse the target formula list, construct a calling relational graph of the target formula list, and load the calling relational graph in a second window of the plurality of windows.
Please refer to fig. 4, which is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal described in this embodiment may include: a processor 1000, an input device 2000, an output device 3000, and a memory 4000. The processor 1000, the input device 2000, the output device 3000, and the memory 4000 may be connected by a bus or other means as shown in fig. 4. In one embodiment, the input device 2000 is an optional device. In one embodiment, input device 2000 includes, but is not limited to, a touch screen, a sound recorder, a sensor, and the like. Output devices 3000 include, but are not limited to, a display screen, speakers, etc. The touch screen and the display screen can also be replaced by a touch display screen. Input device 2000 and output device 3000 may also include standard wired or wireless communication interfaces.
The Processor 1000 may be a Central Processing Unit (CPU), and may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 4000 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 4000 is used to store a set of program codes, and the processor 1000, the input device 2000 and the output device 3000 may call the program codes stored in the memory 4000. Specifically, the method comprises the following steps:
a processor 1000, configured to obtain a service information set, where the service information set includes an identifier of each service scenario in at least one service scenario and service information of each service in at least one service corresponding to each service scenario; responding to the selection operation of the identification of the target service scene in the at least one service scene, and determining a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scene; responding to the selection operation of the service information of the target service in the sub-service information set, and determining a rule processing interface matched with the terminal user according to second user data of the terminal user and a preset interface matching rule; displaying the rule processing interface through an output device 3000, performing window splitting processing on the rule processing interface to obtain a plurality of windows, loading a target formula list on a first window of the plurality of windows, scanning and traversing the target formula list, constructing a call relation graph of the target formula list, and loading the call relation graph on a second window of the plurality of windows.
Optionally, the first user data includes a user role of the terminal user, and the processor 1000 determines a sub-service information set matched with the terminal user according to the first user data of the terminal user and service information of each service in at least one service corresponding to the target service scene, specifically, determines a target access right corresponding to the user role of the terminal user according to a corresponding relationship between the user role and the access right; determining service information of a service corresponding to the target access authority from service information of each service in at least one service corresponding to the target service scene; and generating a sub-service information set comprising the service information of the service corresponding to the target access authority.
Optionally, the first user data includes service information of services collected by the terminal user, and the processor 1000 determines a sub-service information set matched with the terminal user according to the first user data of the terminal user and service information of each service in the at least one service corresponding to the target service scenario, specifically, determines service information of a service concerned by the terminal user from the service information of each service in the at least one service corresponding to the target service scenario according to the service information of the services collected by the terminal user; and generating a sub-service information set comprising the service information of the service concerned by the terminal user.
Optionally, the second user data includes a service familiarity of the end user, the interface matching rule includes a rule set according to the service familiarity, and the processor 1000 determines a rule processing interface matched with the end user according to the second user data of the end user and a preset interface matching rule, specifically, determines whether the service familiarity of the end user is smaller than a preset familiarity; when the service familiarity of the terminal user is smaller than a preset familiarity, determining a first rule processing interface as a rule processing interface matched with the terminal user; the first rule processing interface is a simple mode rule processing interface; when the service familiarity of the terminal user is greater than or equal to a preset familiarity, determining a second rule processing interface as a rule processing interface matched with the terminal user; the second rule processing interface is a rule processing interface with a complex mode.
Optionally, the processor 1000 is further configured to obtain a general formula set before a target formula list is loaded in a first window of the multiple windows, and obtain a scene formula set matched with the target service scene; wherein the set of generic formulas includes at least one generic formula; the set of scene formulas includes at least one scene formula; generating a target formula list comprising the set of generic formulas and the set of scenario formulas.
Optionally, the processor 1000 obtains a general formula set, and obtains a scene formula set matched with the target service scene, specifically, obtains a first type script file and a second type script file from the service server through the input device 2000; each script file in the first type of script file comprises at least one general formula, and each script file in the second type of script file comprises at least one scene formula; extracting at least one general formula included in each script file in the first type of script files and extracting at least one scene formula included in each script file in the second type of script files according to formula extraction rules; the formula extraction rule comprises a keyword positioning extraction rule or a line positioning extraction rule.
Optionally, the processor 1000 is further configured to load, through the output device 3000, at least one formula in the rule setting area of the rule processing interface in response to a selection operation on the at least one formula in the target formula list; when the editing operation of the at least one formula loaded in the rule setting area is detected through the input device 2000, the at least one formula is edited according to the editing operation to obtain a target formula; generating a formula set comprising the target formula; the formula set is sent to the service server through the output device 3000 so that the service server can execute the formula updating operation or save the formula.
In a specific implementation, the processor 1000, the input device 2000, and the output device 3000 described in this embodiment of the present application may perform the implementation described in the embodiment of fig. 1 and fig. 2, and may also perform the implementation described in this embodiment of the present application, which is not described herein again.
The functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of sampling hardware, and can also be realized in a form of sampling software functional units.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The medium is a computer-readable storage medium, which may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A data processing method, comprising:
acquiring a service information set, wherein the service information set comprises an identifier of each service scene in at least one service scene and service information of each service in at least one service corresponding to each service scene;
responding to the selection operation of the identification of the target service scene in the at least one service scene, and determining a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scene;
responding to the selection operation of the service information of the target service in the sub-service information set, and determining a rule processing interface matched with the terminal user according to second user data of the terminal user and a preset interface matching rule;
displaying the rule processing interface, performing window splitting processing on the rule processing interface to obtain a plurality of windows, loading a target formula list on a first window in the plurality of windows, scanning and traversing the target formula list to construct a calling relation graph of the target formula list, and loading the calling relation graph on a second window in the plurality of windows.
2. The method of claim 1, wherein the first user data comprises a user role of the end user, and wherein determining a sub-service information set matching the end user according to the first user data of the end user and service information of each service of the at least one service corresponding to the target service scenario comprises:
determining a target access authority corresponding to the user role of the terminal user according to the corresponding relation between the user role and the access authority;
determining service information of a service corresponding to the target access authority from service information of each service in at least one service corresponding to the target service scene;
and generating a sub-service information set comprising the service information of the service corresponding to the target access authority.
3. The method of claim 1, wherein the first user data includes service information of services collected by the end user, and the determining a sub-service information set matching the end user according to the first user data of the end user and the service information of each service in the at least one service corresponding to the target service scenario comprises:
determining the service information of the service concerned by the terminal user from the service information of each service in at least one service corresponding to the target service scene according to the service information of the service collected by the terminal user;
and generating a sub-service information set comprising the service information of the service concerned by the terminal user.
4. The method of claim 1, wherein the second user data comprises business familiarity of the end user, the interface matching rules comprise rules set according to business familiarity, and the determining a rule processing interface matching the end user according to the second user data of the end user and preset interface matching rules comprises:
judging whether the service familiarity of the terminal user is less than a preset familiarity or not;
when the service familiarity of the terminal user is smaller than a preset familiarity, determining a first rule processing interface as a rule processing interface matched with the terminal user; the first rule processing interface is a simple mode rule processing interface;
when the service familiarity of the terminal user is greater than or equal to a preset familiarity, determining a second rule processing interface as a rule processing interface matched with the terminal user; the second rule processing interface is a rule processing interface with a complex mode.
5. The method of claim 1, wherein prior to the first window of the plurality of windows loading the list of target formulas, the method further comprises:
acquiring a general formula set and acquiring a scene formula set matched with the target service scene; wherein the set of generic formulas includes at least one generic formula; the set of scene formulas includes at least one scene formula;
generating a target formula list comprising the set of generic formulas and the set of scenario formulas.
6. The method of claim 5, wherein obtaining the set of generic formulas and obtaining the set of scenario formulas matching the target service scenario comprises:
acquiring a first type script file and a second type script file from a service server; each script file in the first type of script file comprises at least one general formula, and each script file in the second type of script file comprises at least one scene formula;
extracting at least one general formula included in each script file in the first type of script files and extracting at least one scene formula included in each script file in the second type of script files according to formula extraction rules; the formula extraction rule comprises a keyword positioning extraction rule or a line positioning extraction rule.
7. The method of claim 1, further comprising:
responding to the selection operation of at least one formula in the target formula list, and loading the at least one formula in a rule setting area of the rule processing interface;
when the editing operation of the at least one formula loaded in the rule setting area is detected, editing the at least one formula according to the editing operation to obtain a target formula;
generating a formula set comprising the target formula;
and sending the formula set to a service server so that the service server can execute formula updating operation or store the formula.
8. A data processing apparatus, comprising:
an obtaining module, configured to obtain a service information set, where the service information set includes an identifier of each service scenario in at least one service scenario, and service information of each service in at least one service corresponding to each service scenario;
the determining module is used for responding to the selection operation of the identifier of the target service scene in the at least one service scene, and determining a sub-service information set matched with the terminal user according to the first user data of the terminal user and the service information of each service in the at least one service corresponding to the target service scene;
the determining module is further configured to determine, in response to a selection operation on the service information of the target service in the sub-service information set, a rule processing interface matched with the terminal user according to second user data of the terminal user and a preset interface matching rule;
and the output module is used for displaying the rule processing interface, carrying out window splitting processing on the rule processing interface to obtain a plurality of windows, loading a target formula list on a first window in the plurality of windows, scanning and traversing the target formula list, constructing a calling relation graph of the target formula list, and loading the calling relation graph on a second window in the plurality of windows.
9. A terminal, comprising a processor, an output device and a memory, the processor, the output device and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010189668.0A CN111475694B (en) | 2020-03-18 | 2020-03-18 | Data processing method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010189668.0A CN111475694B (en) | 2020-03-18 | 2020-03-18 | Data processing method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111475694A true CN111475694A (en) | 2020-07-31 |
CN111475694B CN111475694B (en) | 2024-05-14 |
Family
ID=71747528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010189668.0A Active CN111475694B (en) | 2020-03-18 | 2020-03-18 | Data processing method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111475694B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111931474A (en) * | 2020-08-10 | 2020-11-13 | 中化信息技术有限公司 | Information table generation method and device, electronic equipment and computer readable medium |
CN112114948A (en) * | 2020-09-18 | 2020-12-22 | 上海商汤智能科技有限公司 | Data loading method and device, electronic equipment and storage medium |
CN112364092A (en) * | 2020-11-11 | 2021-02-12 | 北京中电普华信息技术有限公司 | Data processing method and device |
CN112529400A (en) * | 2020-12-09 | 2021-03-19 | 平安科技(深圳)有限公司 | Data processing method, device, terminal and readable storage medium |
CN113392361A (en) * | 2021-05-24 | 2021-09-14 | 北京京东振世信息技术有限公司 | Service processing method and device, electronic equipment and computer readable medium |
CN115048177A (en) * | 2022-08-15 | 2022-09-13 | 成都中科合迅科技有限公司 | Dynamic configuration method for completing business scene based on custom container |
CN116302079A (en) * | 2023-05-22 | 2023-06-23 | 北京拓普丰联信息科技股份有限公司 | Service data processing method and device, electronic equipment and storage medium |
CN116600020A (en) * | 2023-07-13 | 2023-08-15 | 支付宝(杭州)信息技术有限公司 | Protocol generation method, terminal cloud collaborative recommendation method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105718434A (en) * | 2014-12-23 | 2016-06-29 | 远光软件股份有限公司 | Natural language formula editing method and system |
CN108418790A (en) * | 2018-01-22 | 2018-08-17 | 平安科技(深圳)有限公司 | Business tracking method, device, terminal device and storage medium |
CN109284159A (en) * | 2018-08-17 | 2019-01-29 | 平安科技(深圳)有限公司 | Information processing method, device, computer equipment and storage medium |
CN109582681A (en) * | 2018-10-26 | 2019-04-05 | 平安科技(深圳)有限公司 | Business data processing method, device, computer equipment and storage medium |
CN110647549A (en) * | 2019-09-29 | 2020-01-03 | 北京卓信智恒数据科技股份有限公司 | Data index analyzing and executing method and device based on business dynamic modeling |
-
2020
- 2020-03-18 CN CN202010189668.0A patent/CN111475694B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105718434A (en) * | 2014-12-23 | 2016-06-29 | 远光软件股份有限公司 | Natural language formula editing method and system |
CN108418790A (en) * | 2018-01-22 | 2018-08-17 | 平安科技(深圳)有限公司 | Business tracking method, device, terminal device and storage medium |
CN109284159A (en) * | 2018-08-17 | 2019-01-29 | 平安科技(深圳)有限公司 | Information processing method, device, computer equipment and storage medium |
CN109582681A (en) * | 2018-10-26 | 2019-04-05 | 平安科技(深圳)有限公司 | Business data processing method, device, computer equipment and storage medium |
CN110647549A (en) * | 2019-09-29 | 2020-01-03 | 北京卓信智恒数据科技股份有限公司 | Data index analyzing and executing method and device based on business dynamic modeling |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111931474B (en) * | 2020-08-10 | 2024-01-02 | 中化信息技术有限公司 | Information table generation method, device, electronic equipment and computer readable medium |
CN111931474A (en) * | 2020-08-10 | 2020-11-13 | 中化信息技术有限公司 | Information table generation method and device, electronic equipment and computer readable medium |
CN112114948A (en) * | 2020-09-18 | 2020-12-22 | 上海商汤智能科技有限公司 | Data loading method and device, electronic equipment and storage medium |
CN112364092A (en) * | 2020-11-11 | 2021-02-12 | 北京中电普华信息技术有限公司 | Data processing method and device |
CN112529400A (en) * | 2020-12-09 | 2021-03-19 | 平安科技(深圳)有限公司 | Data processing method, device, terminal and readable storage medium |
CN112529400B (en) * | 2020-12-09 | 2024-06-11 | 平安科技(深圳)有限公司 | Data processing method, device, terminal and readable storage medium |
CN113392361A (en) * | 2021-05-24 | 2021-09-14 | 北京京东振世信息技术有限公司 | Service processing method and device, electronic equipment and computer readable medium |
CN113392361B (en) * | 2021-05-24 | 2024-05-17 | 北京京东振世信息技术有限公司 | Service processing method, device, electronic equipment and computer readable medium |
CN115048177B (en) * | 2022-08-15 | 2022-11-04 | 成都中科合迅科技有限公司 | Dynamic configuration method for completing business scene based on custom container |
CN115048177A (en) * | 2022-08-15 | 2022-09-13 | 成都中科合迅科技有限公司 | Dynamic configuration method for completing business scene based on custom container |
CN116302079B (en) * | 2023-05-22 | 2023-08-15 | 北京拓普丰联信息科技股份有限公司 | Service data processing method and device, electronic equipment and storage medium |
CN116302079A (en) * | 2023-05-22 | 2023-06-23 | 北京拓普丰联信息科技股份有限公司 | Service data processing method and device, electronic equipment and storage medium |
CN116600020A (en) * | 2023-07-13 | 2023-08-15 | 支付宝(杭州)信息技术有限公司 | Protocol generation method, terminal cloud collaborative recommendation method and device |
CN116600020B (en) * | 2023-07-13 | 2023-10-10 | 支付宝(杭州)信息技术有限公司 | Protocol generation method, terminal cloud collaborative recommendation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111475694B (en) | 2024-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111475694B (en) | Data processing method, device, terminal and storage medium | |
CN110019486B (en) | Data acquisition method, device, equipment and storage medium | |
CN111026645B (en) | User interface automatic test method and device, storage medium and electronic equipment | |
CN110955416A (en) | Interface document generation method, device, equipment and computer storage medium | |
CN115236260B (en) | Chromatographic data storage method and device, electronic equipment and storage medium | |
CN110427188B (en) | Configuration method, device, equipment and storage medium of single-test assertion program | |
CN112487150A (en) | File management method, system, storage medium and electronic equipment | |
CN110716866A (en) | Code quality scanning method and device, computer equipment and storage medium | |
CN110059002B (en) | Test data generation method, test equipment, storage medium and device | |
CN112632529A (en) | Vulnerability identification method, device, storage medium and device | |
CN112241362B (en) | Test method, test device, server and storage medium | |
US20230267228A1 (en) | Detection method and apparatus, and non-transitory computer readable storage medium | |
CN112948264B (en) | Method and device for executing test task, system, storage medium and electronic device | |
CN113094283A (en) | Data acquisition method, device, equipment and storage medium | |
CN111459936B (en) | Data management method, data management device and server | |
CN111046393B (en) | Vulnerability information uploading method and device, terminal equipment and storage medium | |
CN112650673A (en) | Method and device for creating test case in transaction tracking system and electronic equipment | |
CN112632528A (en) | Threat information generation method, equipment, storage medium and device | |
CN112214532A (en) | Service data auditing method and related device | |
CN108563578B (en) | SDK compatibility detection method, device, equipment and readable storage medium | |
CN110727436A (en) | Operation interface script execution method and device, terminal equipment and storage medium | |
CN117033309A (en) | Data conversion method and device, electronic equipment and readable storage medium | |
CN116737535A (en) | Interface test method, device, computer equipment and storage medium | |
CN111695031A (en) | Label-based searching method, device, server and storage medium | |
CN110874305A (en) | User operation recording method and device and server |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |