CN112181450A - Method, device, server and storage medium for processing service request - Google Patents

Method, device, server and storage medium for processing service request Download PDF

Info

Publication number
CN112181450A
CN112181450A CN201910593586.XA CN201910593586A CN112181450A CN 112181450 A CN112181450 A CN 112181450A CN 201910593586 A CN201910593586 A CN 201910593586A CN 112181450 A CN112181450 A CN 112181450A
Authority
CN
China
Prior art keywords
rule
service
target
target service
request
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
CN201910593586.XA
Other languages
Chinese (zh)
Inventor
章碧云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910593586.XA priority Critical patent/CN112181450A/en
Publication of CN112181450A publication Critical patent/CN112181450A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a method, a device, a server and a storage medium for processing a service request, and relates to the technical field of internet. The method comprises the following steps: receiving a rule configuration request; acquiring a target business rule component corresponding to the rule identifier from a plurality of pre-stored business rule components; adding the configuration parameters carried in the rule configuration request into a target service rule component to obtain an execution code corresponding to the target service execution trigger rule; and when receiving the service request of the target service, processing the service request based on the execution code. By adopting the method and the device, the server can determine the target business rule component based on the rule identifier only by sending the rule identifier of the target business execution trigger rule to the server, and then the execution code corresponding to the target business execution trigger rule can be obtained by adding the configuration parameter to the target business rule component, so that the operation efficiency of changing the business execution trigger rule is improved.

Description

Method, device, server and storage medium for processing service request
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method, an apparatus, a server, and a storage medium for processing a service request.
Background
The server can execute the service requested by the terminal under the condition that the terminal is judged to meet certain service execution triggering rules. For example, the application development platform may update the application, and the updated application may be referred to as a testboard application in the early stage, and the testboard application cannot be released formally on the download platform for all users to download. The testboard application at this time may also have some unknown problems, requiring a small portion of terminals meeting certain rules to download preferentially and assist in improvement.
When the terminal starts the application program, the terminal can be triggered to acquire the terminal related information and send a service request carrying the terminal related information to the server. After receiving the service request, the server may verify whether the terminal-related information satisfies a preset service execution trigger rule. And under the condition that the verification result is that the terminal related information can meet the preset service execution triggering rule, the server can execute the service requested by the terminal.
When the service execution trigger rule corresponding to the service needs to be changed, a programmer can compile an execution code corresponding to the changed service execution trigger rule in a computer, and upload the execution code to a server for operation. In this way, when the server receives the corresponding service request again, it can respond based on the changed service execution trigger rule.
In carrying out the present disclosure, the inventors found that at least the following problems exist:
in practical application, the service execution trigger rule corresponding to the service often needs to be changed to adapt to different requirements. When the service execution trigger rule is changed each time, a programmer needs to compile an execution code corresponding to the changed service execution trigger rule in a computer and upload the execution code to a server for operation, so that the server can respond to a service request sent by a terminal based on the changed service execution trigger rule, and the operation efficiency is extremely low.
Disclosure of Invention
The present disclosure provides a method, an apparatus, a server, and a storage medium for processing a service request, so as to solve at least the problem of inefficient operation of changing a service execution trigger rule in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for processing a service request is provided, including:
receiving a rule configuration request, wherein the rule configuration request carries a rule identifier and a configuration parameter of a target service execution trigger rule corresponding to a target service;
acquiring a target business rule component corresponding to the rule identifier from a plurality of pre-stored business rule components, wherein the business rule components comprise initial codes which correspond to business execution trigger rules and do not contain configuration parameters;
adding the configuration parameters carried in the rule configuration request into the target service rule component to obtain an execution code corresponding to the target service execution trigger rule;
and when receiving the service request of the target service, processing the service request based on the execution code.
Optionally, the rule configuration request carries a plurality of rule identifiers, the configuration parameters include configuration parameters corresponding to each rule identifier, and the step of acquiring, from a plurality of pre-stored service rule components, a target service rule component corresponding to the rule identifier includes:
acquiring a target business rule component corresponding to each rule identifier from a plurality of pre-stored business rule components;
the step of adding the configuration parameters carried in the rule configuration request to the target service rule component to obtain the execution codes corresponding to the target service execution trigger rules comprises:
respectively adding the configuration parameters corresponding to each rule identifier into the corresponding target business rule components;
and combining and linking the target service rule components added with the configuration parameters to obtain an execution code corresponding to the target service execution trigger rule.
Optionally, the target service is an application update query service, and the plurality of service rule components include at least one of the following service rule components:
the client version rule component is used for judging whether the version number of an application program installed in the terminal belongs to a preset version number set or not;
the system version rule component is used for judging whether the system number of the terminal system is a preset system number or not;
the white list rule component is used for judging whether the terminal is a terminal in a preset white list or not;
the geographical position rule component is used for judging whether the terminal position belongs to a preset geographical area;
the terminal brand rule component is used for judging whether the brand of the terminal is a preset brand;
the terminal model rule component is used for judging whether the terminal model is a preset model or not;
the upper limit rule component of the gray scale is used for judging whether the total number of the download links sent by the server exceeds a first preset threshold value or not;
and the issuing frequency rule component is used for judging whether the number of the download links sent by the server in the preset unit time exceeds a second preset threshold value.
Optionally, the target service corresponds to a plurality of target service execution trigger rules, and when receiving a service request of the target service, the processing the service request based on the execution code includes:
sequencing the trigger rules executed by the target services, and setting N to be 1;
determining a target service execution triggering rule ordered at the Nth bit;
if the terminal related information carried in the service request of the target service and the acquired current state information of the server meet the N-th target service execution trigger rule, determining a target service processing mode corresponding to the N-th target service execution trigger rule, and processing the service request based on the target service processing mode;
and if the terminal related information carried in the service request of the target service or the acquired current state information of the server does not meet the Nth bit target service execution trigger rule, adding 1 to N, and switching to the step of executing the target service execution trigger rule which is determined to be sequenced at the Nth bit.
Optionally, the target service is an application update query service, and if the terminal related information carried in the service request of the target service and the acquired current state information of the server satisfy the target service execution trigger rule of the nth bit, determining a target service processing mode corresponding to the target service execution trigger rule of the nth bit, where the processing step of processing the service request based on the target service processing mode includes:
and if the terminal related information carried in the service request of the application updating query service and the acquired current state information of the server meet the Nth target service execution trigger rule, determining a download link and download prompt information of the application of the target test version corresponding to the Nth target service execution trigger rule, and returning the download link and the download prompt information of the application of the target test version to the terminal sending the service request.
Optionally, the step of returning the download link of the application program of the target test version and the download prompting information to the terminal sending the service request includes:
if the downloading state of the application program with the target test version is set to be an automatic downloading state, acquiring automatic downloading mark information, and returning a downloading link of the application program with the target test version, the downloading prompt information and the automatic downloading mark information to a terminal sending the service request;
and if the downloading state of the application program of the target test version is not set to be the automatic downloading state, returning the downloading link of the application program of the target test version and the downloading prompt information to the terminal sending the service request.
Optionally, when receiving a service request of the target service, the processing the service request based on the execution code includes:
and associating an execution code corresponding to the target service execution trigger rule to a main thread for processing a service request of the target service, so that when the service request of the target service is received, the service request is processed based on the execution code.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for processing a service request, including:
the system comprises a receiving module, a rule configuration module and a processing module, wherein the receiving module is configured to receive a rule configuration request, and the rule configuration request carries a rule identifier and a configuration parameter of a target service execution trigger rule corresponding to a target service;
the acquisition module is configured to acquire a target business rule component corresponding to the rule identifier from a plurality of pre-stored business rule components, wherein the business rule components comprise initial codes which do not contain configuration parameters and correspond to business execution trigger rules;
the adding module is configured to add the configuration parameters carried in the rule configuration request to the target service rule component to obtain an execution code corresponding to the target service execution trigger rule;
and the execution module is configured to process the service request based on the execution code when receiving the service request of the target service.
Optionally, the rule configuration request carries a plurality of rule identifiers, the configuration parameters include configuration parameters corresponding to each rule identifier, and the obtaining module is configured to:
acquiring a target business rule component corresponding to each rule identifier from a plurality of pre-stored business rule components;
the step of adding the configuration parameters carried in the rule configuration request to the target service rule component to obtain the execution codes corresponding to the target service execution trigger rules comprises:
respectively adding the configuration parameters corresponding to each rule identifier into the corresponding target business rule components;
and combining and linking the target service rule components added with the configuration parameters to obtain an execution code corresponding to the target service execution trigger rule.
Optionally, the target service is an application update query service, and the plurality of service rule components include at least one of the following service rule components:
the client version rule component is used for judging whether the version number of an application program installed in the terminal belongs to a preset version number set or not;
the system version rule component is used for judging whether the system number of the terminal system is a preset system number or not;
the white list rule component is used for judging whether the terminal is a terminal in a preset white list or not;
the geographical position rule component is used for judging whether the terminal position belongs to a preset geographical area;
the terminal brand rule component is used for judging whether the brand of the terminal is a preset brand;
the terminal model rule component is used for judging whether the terminal model is a preset model or not;
the upper limit rule component of the gray scale is used for judging whether the total number of the download links sent by the server exceeds a first preset threshold value or not;
and the issuing frequency rule component is used for judging whether the number of the download links sent by the server in the preset unit time exceeds a second preset threshold value.
Optionally, the target service corresponds to a plurality of target service execution trigger rules, and the execution module is configured to:
sequencing the trigger rules executed by the target services, and setting N to be 1;
determining a target service execution triggering rule ordered at the Nth bit;
when the terminal related information carried in the service request of the target service and the acquired current state information of the server meet the N-th target service execution trigger rule, determining a target service processing mode corresponding to the N-th target service execution trigger rule, and processing the service request based on the target service processing mode;
and when the terminal related information carried in the service request of the target service or the acquired current state information of the server does not meet the Nth bit target service execution trigger rule, adding 1 to N, and switching to the step of executing the target service execution trigger rule which is determined to be sequenced at the Nth bit.
Optionally, the target service is an application update query service, and the execution module is configured to:
when the terminal related information carried in the service request of the application program updating inquiry service and the acquired current state information of the server meet the Nth target service execution trigger rule, determining the download link and the download prompt information of the application program of the target test version corresponding to the Nth target service execution trigger rule, and returning the download link and the download prompt information of the application program of the target test version to the terminal sending the service request.
Optionally, the execution module is configured to:
when the downloading state of the application program with the target test version is set to be an automatic downloading state, acquiring automatic downloading mark information, and returning a downloading link of the application program with the target test version, the downloading prompt information and the automatic downloading mark information to a terminal sending the service request;
and when the downloading state of the application program of the target test version is not set to be the automatic downloading state, returning the downloading link of the application program of the target test version and the downloading prompt information to the terminal sending the service request.
Optionally, the execution module is configured to:
and associating an execution code corresponding to the target service execution trigger rule to a main thread for processing a service request of the target service, so that when the service request of the target service is received, the service request is processed based on the execution code.
According to a third aspect of the embodiments of the present disclosure, there is provided a server, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method for processing a service request according to the first aspect of the embodiments of the present disclosure.
According to a fourth aspect provided by the embodiments of the present disclosure, there is provided a storage medium, where instructions of the storage medium, when executed by a processor of a server, enable the server to perform the method for processing a service request according to the first aspect of the embodiments of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising:
receiving a rule configuration request, wherein the rule configuration request carries a rule identifier and a configuration parameter of a target service execution trigger rule corresponding to a target service;
acquiring a target business rule component corresponding to the rule identifier from a plurality of pre-stored business rule components, wherein the business rule components comprise initial codes which correspond to business execution trigger rules and do not contain configuration parameters;
adding the configuration parameters carried in the rule configuration request into the target service rule component to obtain an execution code corresponding to the target service execution trigger rule;
and when receiving the service request of the target service, processing the service request based on the execution code.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
by the method provided by the embodiment of the disclosure, the service rule components corresponding to different service rules can be stored in the server in advance, and when the method is used, the target service rule component can be obtained according to requirements. And the target business rule component executes the standardized initial code corresponding to the trigger rule for the target business. The target business rule component can realize different rule control logics by transmitting the configuration parameters of the personalized setting into the target business rule component. Therefore, only the rule identifier of the target service execution trigger rule is sent to the server, the server can determine the target service rule component based on the rule identifier, and then the execution code corresponding to the target service execution trigger rule can be obtained by adding the configuration parameter to the target service rule component, so that the effect that the server can respond to the service request sent by the terminal based on the target service execution trigger rule can be finally achieved, and the operation efficiency of changing the service execution trigger rule is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating a system architecture for processing service requests in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of processing a service request in accordance with an exemplary embodiment;
FIG. 3 is a block diagram illustrating a business rule filter chain in accordance with an exemplary embodiment;
FIG. 4 is a flow diagram illustrating a method of processing a service request in accordance with an exemplary embodiment;
FIG. 5 is a flow diagram illustrating a method of processing a service request in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus for processing a service request in accordance with an exemplary embodiment;
fig. 7 is a schematic diagram illustrating a configuration of a server according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the disclosure provides a method for processing a service request, which can be implemented by a server and implemented by a computer in a matching manner. As shown in fig. 1, when the business execution trigger rule needs to be changed, a programmer may open a target Web (World Wide Web) page in a browser of a computer, and change the business execution trigger rule through a related operation in the target Web page. When the programmer sets the changed service execution trigger rule in the computer, the computer may send a rule configuration request to the server, and after receiving the rule configuration request, the server may perform some corresponding settings locally on the server, so as to finally change the service execution trigger rule. The specific implementation can be seen in the contents described in the following embodiments.
Fig. 2 is a flowchart illustrating a method of processing a service request according to an exemplary embodiment, and the method of processing a service request, as shown in fig. 2, is used in a server and includes the following steps.
In step S210, the server receives a rule configuration request.
The rule configuration request carries a rule identifier and a configuration parameter of a target service execution trigger rule corresponding to the target service. The target business execution triggering rule is used for triggering the target business to be executed when the target business execution triggering rule is met. And when the target service execution triggering rule is not satisfied, the target service is not executed. The target service may be a gray scale update service, a hot update service, and the like, and the gray scale update service may further include an Android (Android is an operating system based on a Linux free and open source code) gray scale update service and an iOS (iOS is a mobile operating system developed by equipment companies) gray scale update service. The hot update service can also be called as an incremental update service, and only the code for installing the update part needs to be downloaded during update, and the hot update service can be used when the hot update service is opened again.
In implementation, when the business execution triggering rule needs to be changed, a programmer may open a target web page in a browser of a computer, and an application identification input box needing to be changed and a target business identification input box corresponding to the application needing to be changed are displayed in the target web page. The programmer may enter the identification of the application that needs to be changed, for example, the name of the AAA application may be entered. The programmer may also input a target service identifier corresponding to the application program to be changed, for example, the changeable service corresponding to the AAA application program includes multiple services such as a grayscale updating service and a hot updating service, and the programmer may select the target service corresponding to the application program to be changed in a pull-down menu in the input box.
The programmer may then view the alternate target business execution trigger rules in the target web page. For example, the programmer selects the target service corresponding to the application program to be changed as the grayscale updating service of the AAA application program, and the rule that can be set to trigger the grayscale updating corresponding to the service includes a client version rule, a system version rule, a white list rule, a geographical location rule, a channel rule (also called a mobile phone brand rule), a mobile phone model rule, a grayscale upper limit rule (when the number of terminals that successfully perform the grayscale updating reaches a certain number, the grayscale updating is stopped for other terminals), an automatic grayscale rule (when the automatic grayscale rule is set, a terminal that performs the grayscale updating cannot check whether an application program of an updated version exists alone, and simultaneously, an application program of an updated version is downloaded and installed), a delivery frequency rule (when the number of terminals that successfully perform the grayscale updating reaches a certain number within a period of unit time, stopping performing gray level updating for other terminals, ab experiment rules (some parameters are different in the application programs with the same version, so that different users can use the application programs corresponding to different parameters, and the user experience of the application program corresponding to which parameter is investigated is better), and the like. The computer can display the rules in a pull-down menu of a target business execution triggering rule input box of the target web page for selection by a programmer, and the programmer can select the target business execution triggering rules according to actual requirements.
The programmer may then enter the configuration parameters for the target business execution trigger rule in the configuration parameters entry box for the target business execution trigger rule for the target web page. For example, the target service execution triggering rule selected by the programmer is that "only the preset brand mobile phone can perform gray level update", and the configuration parameter to be input is the "X brand", so that only the X brand mobile phone can perform gray level update. If the input configuration parameter is 'Y brand', only the mobile phone with the Y brand can be updated in gray scale. In application, a programmer can configure how many terminals for gray level updating this time according to actual needs, perform gray level updating on clients of old versions in which range, perform gray level updating on mobile phones of which brands, download CDN (Content Delivery Network) links corresponding to mobile phones of different brands, perform gray level updating on mobile phone models of which mobile phones, and determine whether to add ab experiments or not.
After the programmer inputs the information in the target web page of the computer, the computer can acquire the application program identifier to be changed, the target service identifier of the application program to be changed, the rule identifier of the target service execution trigger rule and the configuration parameters of the target service execution trigger rule, and carry the information in the rule configuration request to be sent to the server. The server may receive a rule configuration request sent by the computer, acquire an application identifier that needs to be changed, a target service identifier of the application that needs to be changed, a rule identifier of a target service execution trigger rule, and a configuration parameter of the target service execution trigger rule in the rule configuration request, and perform change processing of the target service execution trigger rule based on the acquired information.
In the server, a service rule system for performing change processing of the target service execution trigger rule on different applications and different services may be provided, and change processing of the target service execution trigger rule is realized based on the service rule system.
In the server, a database table may be provided, including a business table and a rule table. The service table is used for storing information corresponding to the target service, and the rule table is used for storing a target service execution triggering rule associated with the target service.
In step S220, the server obtains a target business rule component corresponding to the rule identifier from a plurality of business rule components stored in advance.
The service rule component comprises an initial code which does not contain configuration parameters and corresponds to the service execution trigger rule.
In implementation, the business rule component may be an initial code (also referred to as a class corresponding to the business execution trigger rule) corresponding to the business execution trigger rule, where the initial code is a standardized code, and may be applicable to any environment in any scenario, but lacks configuration parameters in the initial code, and after the configuration parameters are introduced into the initial code, that is, after an object corresponding to the class is generated, some logic functions may be implemented by calling the object. For example, the business rules component describes the logic "only pre-set brands of cell phones can be grayed up" but with a lack of specificity only which brands of cell phones can be grayed up. The service rule components with various functions can be pre-written, stored, and when needed, specific configuration parameters are transmitted to the service rule components to complete personalized setting and calling.
Optionally, when the target service is an application update query service, the plurality of service rule components provided by the embodiments of the present disclosure may include, but are not limited to, the following service rule components:
the client version rule component (corresponding to the client version rule, the preset version number set may be a set formed by all versions from a low version to a high version), and the client version rule component is configured to determine whether a version number of an application program installed in the terminal belongs to the preset version number set.
And the system version rule component (corresponding to the system version rule) is used for judging whether the system number of the terminal system is a preset system number.
And the white list rule component (corresponding to the white list rule) is used for judging whether the terminal is the terminal in the preset white list.
And the geographic position rule component (corresponding to the geographic position rule) is used for judging whether the terminal position belongs to a preset geographic area.
And the terminal brand rule component (corresponding to the channel rule) is used for judging whether the brand of the terminal is a preset brand.
And the terminal model rule component (corresponding to the terminal model rule) is used for judging whether the terminal model is a preset model.
And the gray level upper limit rule component (corresponding to the gray level upper limit rule) is used for judging whether the total number of the download links sent by the server exceeds a first preset threshold value.
And the issuing frequency rule component (corresponding to the issuing frequency rule) is used for judging whether the number of the download links sent by the server in the preset unit time exceeds a second preset threshold value.
A new business rule component can be extended according to actual requirements, the new business rule component corresponding to the new rule. For example, a business rule component for automatically allowing a terminal meeting the rule to download and install an application program of an updated version can be added, and only a popup window prompts a user to update the application program before installation, but an update canceling button is not set. And a service rule component for performing an ab experiment can be added, when the terminal meets a first rule, the download link of the application program of the first update version is sent to the terminal, and when the terminal meets a second rule, the download link of the application program of the second update version is sent to the terminal. Therefore, different terminals can install the application programs with different update versions, the application programs with different update versions have smaller difference, and developers of the application programs can be helped to determine which update version of the application program is finally released by receiving user experience.
In step S230, the server adds the configuration parameters carried in the rule configuration request to the target service rule component to obtain an execution code corresponding to the target service execution trigger rule.
In implementation, the configuration parameters may be stored in a JSON (Object Notation) file, and the target business rule component may be described by a separate JSON file. Configuration parameters stored in the JSON file can be transmitted into a target service rule component to obtain an execution code corresponding to the target service execution trigger rule. The execution code at this time is executable, and is an execution code that can implement some specific logical functions.
Optionally, the business rule component and the action execution statement may be encapsulated to obtain the business rule filter. In the rule filter, not only can whether a certain rule is satisfied be judged, but also a preset logic action (implementation action operation) can be executed or specific information can be output after the certain rule is satisfied.
For example, the business rule filter corresponding to the channel rule can not only determine whether the brand of the terminal is a preset brand (where the preset brand may be two brands including an "X brand" and a "Y brand"), but also output an "a download link" if the brand of the terminal is the "X brand", and output a "B download link" if the brand of the terminal is the "Y brand" (different brands of terminals need to download updated versions of applications from different channels).
Alternatively, the rule identifier may be one or more. When the rule configuration request carries a plurality of rule identifiers, the configuration parameters include configuration parameters corresponding to each rule identifier. Different rules can be combined, when all the combined rules are met, the target service is triggered to be executed, otherwise, the target service is not executed. For example, a combination of "only X brand mobile phone can perform Android grayscale updating" and "only mobile phone with version number of application program installed in mobile phone between 1.3.5 and 1.3.7 can perform Android grayscale updating" is changed into "only X brand mobile phone with version number of application program installed in mobile phone between 1.3.5 and 1.3.7 can perform Android grayscale updating". The operating system of the X brand mobile phone is an Android operating system. Therefore, when the terminal sends a service request and meets the rule that the mobile phone only with the brand X and the version number of the application program installed in the mobile phone is between 1.3.5 and 1.3.7 can carry out Android gray level updating, the target service can be triggered to be executed, otherwise, the target service is not executed.
If the rule identifier set by the programmer is multiple, the rule configuration request carries multiple rule identifiers, and the rule configuration request carries the configuration parameters corresponding to each rule identifier. After receiving the rule configuration request, the server may obtain a target business rule component corresponding to each rule identifier from a plurality of business rule components stored in advance. And respectively adding the configuration parameters corresponding to each rule identifier into the corresponding target business rule components. Combining and linking each target service rule component added with the configuration parameters to obtain an execution code corresponding to the target service execution trigger rule
If the business rule components are packaged into business rule filters, the business rule filters corresponding to each business rule component are independent. If the business rule components need to be combined, all the business rule filters can be combined and linked to obtain a business rule filtering chain. The next business rule filter to be jumped can be written in the previous business rule filter, so that the combined link of all the business rule filters can be realized. Therefore, the business rule filter chain can link the rules to be combined, and realize the semantic of logical AND, that is, the business rule filter chain can be passed only if all the rules are satisfied.
The structure of the service rule filter chain can be shown in fig. 3, and includes a front service rule filter sub-chain, a service rule filter a, and a back service rule filter sub-chain. Only when the previous business rule filter subchains all pass through, the business rule filter A can be reached, and if the business rule filter A also passes through, whether the subsequent business rule filter subchains pass through can be judged. If all the post-business rule filter child chains pass, pass information can be returned in reverse order from the last business rule filter. The target service may be defined in the service rule filter a to be executed when the pass information is received, for example, for a grayscale update, when the pass information is received, a download link of an updated version of the application is acquired, and the download link of the updated version of the application is transmitted to the terminal. Thus, when all rules are satisfied, the satisfied event can be processed in the business rule filter a without returning the pass information to the first business rule filter to process the satisfied event, i.e., the action operation is implemented as long as the rules are satisfied, and the logical actions performed after determining that the unsatisfied rules are satisfied and the rules are satisfied are not separated.
In step S240, when receiving the service request of the target service, the server processes the service request based on the execution code.
In implementation, after the execution code corresponding to the target service execution trigger rule is obtained, the execution code corresponding to the target service execution trigger rule may be validated, and when the server receives a service request of the target service, the service request may be processed based on the validated execution code.
The business rules system may monitor for events that trigger the performance of a new task that contains a business rule filter chain. As shown in fig. 4, step S240 may include: in step S441, when an event triggering the validation of the new task is monitored, information corresponding to the target service and a target service execution triggering rule associated with the target service may be read from the database table. In step S442, the new task may be parsed. In step S443, the target service execution trigger rule associated with the target service may be parsed, corresponding service rule filters may be generated, and all the rule filters may be linked into one service rule filter chain. In step S444, the business rule filter chain may be associated with a new task and the task is added to the multitask control module. The server can be provided with a multi-task control module, each task corresponds to one service rule filtering chain, and when any service rule filtering chain is met, the corresponding service can be triggered and executed, so that the logic 'OR' semantic is realized. The server can support a plurality of service requirements, all developers or testers can configure the target service execution trigger rule at any time according to the requirements of the developers or testers, and the rapid iteration and verification of the application program are realized.
For example, for a grayscale updating service, a developer may set to perform grayscale updating on multiple updated versions of an application program at the same time. And when the terminal meets the second rule, the download link of the application program of the second update version is sent to the terminal. Therefore, different terminals can install the application programs with different update versions, and the application programs with different update versions have smaller difference, so that the user experience for testing which application program with the update version has higher experience is higher. When the terminal starts the application program, the terminal can trigger the sending of the application program updating query request. After receiving the application program update query request, the server may determine a target service rule filter chain that the terminal can pass through, and execute a service corresponding to the target service rule filter chain.
Optionally, the steps of parsing the target service execution trigger rule associated with the target service and associating the service rule filter chain to the new task may include: and associating an execution code corresponding to the target service execution trigger rule to a main thread for processing the service request of the target service, so that when the service request of the target service is received, the service request is processed based on the execution code.
In the server, there are multiple main threads for processing service requests of different services, and each main thread may correspond to one service. When a server receives a service request of a service, a target service type corresponding to the service request can be determined, and the service request is processed in a main thread corresponding to the target service type. If the rule triggering the execution of the target service needs to be accessed, after the execution code corresponding to the target service execution trigger rule is obtained, the execution code corresponding to the target service execution trigger rule can be associated to a main thread for processing the service request of the target service. Therefore, when the server receives the service request of the target service and enters the corresponding main thread to process the service request, the execution code corresponding to the target service execution trigger rule can be called, and the logic of executing the target service when the target service execution trigger rule is met can be further realized.
As shown in fig. 5, step S240 may include: in step S541, a service request is received. In step S542, all tasks associated with the target service are acquired by the service control module. In step S543, the service rule filtering chains associated with all tasks are traversed, and in each service rule filtering chain, based on the terminal related information and the current state information of the server, whether the service rule filtering chain can be satisfied is determined in order until the first service rule filtering chain that can be satisfied is determined or all service rule filtering chains are determined to be unsatisfied. In step S544, when the first service rule filter chain that can be satisfied is determined, the target service may be executed, and if the target service is the application update query service, the download link and the download prompt information of the application program of the target test version may be obtained, and the download link and the download prompt information of the application program of the target test version may be returned to the terminal.
Optionally, a service management module may be disposed in the server, and since different applications and different services need to access the service rule system, the service management module may perform configuration, update, and issue processing of rules for different applications and different services. For example, a service execution trigger rule of a first service of a first application program may be set, and a service execution trigger rule of a second service of a second application program may also be set. The business execution triggering rules of different businesses of different application programs can be set according to actual requirements, the business execution triggering rules of different businesses of different application programs are accessed into the business rule system, and the business rule system is used for managing the business execution triggering rules in a unified mode.
When one target service corresponds to a plurality of target service execution trigger rules, if a service request of the target service is received, the server may perform the following steps:
(1) and sequencing the trigger rules executed by the target services, and setting N to be 1.
(2) And determining the target service execution triggering rule ordered at the Nth bit.
(3) And if the terminal related information carried in the service request of the target service and the acquired current state information of the server meet the N-th target service execution trigger rule, determining a target service processing mode corresponding to the N-th target service execution trigger rule, and processing the service request based on the target service processing mode.
(4) And if the terminal related information carried in the service request of the target service or the acquired current state information of the server does not meet the Nth bit target service execution triggering rule, adding 1 to N, switching to the step (2), and continuing to execute from the step (2).
The terminal-related information may include a version number of an application installed in the terminal, a system number of a terminal system, a terminal identifier, a terminal location, a terminal brand, a terminal model, and the like. The current state information of the server may include the total number of the download links sent by the server, the number of the download links sent by the server within a preset unit time length, and the like. Whether the target service execution triggering rule is satisfied may be determined based on the terminal-related information or the acquired current state information of the server.
When one target service corresponds to a plurality of target service execution trigger rules, if a service request of the target service is received, the server may use a target service processing mode corresponding to the target service execution trigger rule which is judged to be satisfied first as a service processing mode for processing the service request. It should be noted that, in step (1), the trigger rules executed by each target service may be randomly sorted, or the last sorting may be adjusted each time, so as to ensure that the similar sorts are different for several times.
When the target service is an application update query service and one target service corresponds to a plurality of target services to execute the trigger rule, the step (4) may include: and if the terminal related information carried in the service request of the application program updating inquiry service and the acquired current state information of the server meet the Nth target service execution trigger rule, determining the download link and the download prompt information of the application program of the target test version corresponding to the Nth target service execution trigger rule, and returning the download link and the download prompt information of the application program of the target test version to the terminal sending the service request.
For example, the terminal sends an application update query request of an application a to the server, and two different test versions of the application for performing grayscale updating are stored in the server corresponding to the application a. The two application programs of different test versions for carrying out gray level updating are respectively an application program of a P test version and an application program of a Q test version, and the target service execution triggering rules respectively corresponding to the application programs are a V rule and a W rule. The V rules and W rules may be ordered, e.g., the first bit is the W rule and the second bit is the V rule. Whether the terminal related information sent by the terminal and the current state information of the local server acquired by the server meet the W rule or not can be judged, and if the W rule is met, the download link of the application program of the Q test version is sent to the terminal. Otherwise, judging whether the terminal related information sent by the terminal and the current state information of the local server acquired by the server meet the V rule, and if so, sending the download link of the application program of the P test version to the terminal. Meanwhile, the download prompt information can be determined and sent to the terminal, so that the terminal can prompt the user of the application program with the detected target test version and whether the application program with the target test version needs to be downloaded.
Optionally, the step of returning the download link and the download prompt information of the application program of the target test version to the terminal sending the service request may include: if the downloading state of the application program with the target test version is the automatic downloading state, acquiring automatic downloading mark information, and returning a downloading link, downloading prompt information and automatic downloading mark information of the application program with the target test version to a terminal sending a service request; and if the downloading state of the application program of the target test version is not set to be the automatic downloading state, returning a downloading link and downloading prompt information of the application program of the target test version to the terminal sending the service request.
If the downloading state of the application program with the target test version is the automatic downloading state, the automatic gray scale business rule filter can be configured. The business rule filter does not have judgment logic, and has action execution logic, such as obtaining automatic downloading mark information. When passing through the business rule filter chain and returning the pass information, the automatic gray scale business rule device can obtain the automatic download mark information when the pass information is returned to the automatic gray scale business rule device. And finally, the service rule filtering chain can output automatic downloading mark information, and the server can send the downloading link, the downloading prompt information and the automatic downloading mark information of the application program of the target test version to the terminal.
When the terminal receives the automatic downloading mark information, the terminal prompts the user of the application program with the detected target test version, but does not inquire whether the user wants to download the application program with the target test version, and automatically downloads and installs the application program with the target test version after popping up the preset time length of the popup window prompting the user.
By the method provided by the embodiment of the disclosure, the service rule components corresponding to different service rules can be stored in the server in advance, and when the method is used, the target service rule component can be obtained according to requirements. And the target business rule component executes the standardized initial code corresponding to the trigger rule for the target business. The target business rule component can realize different rule control logics by transmitting the configuration parameters of the personalized setting into the target business rule component. Therefore, only the rule identifier of the target service execution trigger rule is sent to the server, the server can determine the target service rule component based on the rule identifier, and then the execution code corresponding to the target service execution trigger rule can be obtained by adding the configuration parameter to the target service rule component, so that the effect that the server can respond to the service request sent by the terminal based on the target service execution trigger rule can be finally achieved, and the operation efficiency of changing the service execution trigger rule is improved.
Fig. 6 is a block diagram illustrating an apparatus for processing a service request in accordance with an example embodiment. The apparatus may include:
a receiving module 610, configured to receive a rule configuration request, where the rule configuration request carries a rule identifier and a configuration parameter of a target service execution trigger rule corresponding to a target service;
an obtaining module 620, configured to obtain a target business rule component corresponding to the rule identifier from a plurality of pre-stored business rule components, where the business rule component includes an initial code corresponding to a business execution trigger rule and not including a configuration parameter;
an adding module 630, configured to add the configuration parameter carried in the rule configuration request to the target service rule component to obtain an execution code corresponding to the target service execution trigger rule;
and the execution module 640 is configured to, when receiving a service request of the target service, process the service request based on the execution code.
Optionally, the rule configuration request carries a plurality of rule identifiers, the configuration parameters include configuration parameters corresponding to each rule identifier, and the obtaining module 620 is configured to:
acquiring a target business rule component corresponding to each rule identifier from a plurality of pre-stored business rule components;
the step of adding the configuration parameters carried in the rule configuration request to the target service rule component to obtain the execution codes corresponding to the target service execution trigger rules comprises:
respectively adding the configuration parameters corresponding to each rule identifier into the corresponding target business rule components;
and combining and linking the target service rule components added with the configuration parameters to obtain an execution code corresponding to the target service execution trigger rule.
Optionally, the target service is an application update query service, and the plurality of service rule components include at least one of the following service rule components:
the client version rule component is used for judging whether the version number of an application program installed in the terminal belongs to a preset version number set or not;
the system version rule component is used for judging whether the system number of the terminal system is a preset system number or not;
the white list rule component is used for judging whether the terminal is a terminal in a preset white list or not;
the geographical position rule component is used for judging whether the terminal position belongs to a preset geographical area;
the terminal brand rule component is used for judging whether the brand of the terminal is a preset brand;
the terminal model rule component is used for judging whether the terminal model is a preset model or not;
the upper limit rule component of the gray scale is used for judging whether the total number of the download links sent by the server exceeds a first preset threshold value or not;
and the issuing frequency rule component is used for judging whether the number of the download links sent by the server in the preset unit time exceeds a second preset threshold value.
Optionally, the target service corresponds to a plurality of target service execution trigger rules, and the execution module 640 is configured to:
sequencing the trigger rules executed by the target services, and setting N to be 1;
determining a target service execution triggering rule ordered at the Nth bit;
when the terminal related information carried in the service request of the target service and the acquired current state information of the server meet the N-th target service execution trigger rule, determining a target service processing mode corresponding to the N-th target service execution trigger rule, and processing the service request based on the target service processing mode;
and when the terminal related information carried in the service request of the target service or the acquired current state information of the server does not meet the Nth bit target service execution trigger rule, adding 1 to N, and switching to the step of executing the target service execution trigger rule which is determined to be sequenced at the Nth bit.
Optionally, the target service is an application update query service, and the executing module 640 is configured to:
when the terminal related information carried in the service request of the application program updating inquiry service and the acquired current state information of the server meet the Nth target service execution trigger rule, determining the download link and the download prompt information of the application program of the target test version corresponding to the Nth target service execution trigger rule, and returning the download link and the download prompt information of the application program of the target test version to the terminal sending the service request.
Optionally, the executing module 640 is configured to:
when the downloading state of the application program with the target test version is set to be an automatic downloading state, acquiring automatic downloading mark information, and returning a downloading link of the application program with the target test version, the downloading prompt information and the automatic downloading mark information to a terminal sending the service request;
and when the downloading state of the application program of the target test version is not set to be the automatic downloading state, returning the downloading link of the application program of the target test version and the downloading prompt information to the terminal sending the service request.
Optionally, the executing module 640 is configured to:
and associating an execution code corresponding to the target service execution trigger rule to a main thread for processing a service request of the target service, so that when the service request of the target service is received, the service request is processed based on the execution code.
By the device provided by the embodiment of the disclosure, the service rule components corresponding to different service rules can be stored in the server in advance, and when the device is used, the target service rule component can be obtained according to requirements. And the target business rule component executes the standardized initial code corresponding to the trigger rule for the target business. The target business rule component can realize different rule control logics by transmitting the configuration parameters of the personalized setting into the target business rule component. Therefore, only the rule identifier of the target service execution trigger rule is sent to the server, the server can determine the target service rule component based on the rule identifier, and then the execution code corresponding to the target service execution trigger rule can be obtained by adding the configuration parameter to the target service rule component, so that the effect that the server can respond to the service request sent by the terminal based on the target service execution trigger rule can be finally achieved, and the operation efficiency of changing the service execution trigger rule is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 shows a schematic structural diagram of a server 1900 provided in an exemplary embodiment of the present disclosure. The server 1900 may have a large difference due to different configurations or performances, and may include one or more processors (CPUs) 1910 and one or more memories 1920. The memory 1920 stores at least one instruction, which is loaded and executed by the processor 1910 to implement the method for processing service request according to the above embodiments.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as the memory 1920 including instructions executable by the processor 1910 of the server 1900 for performing the above method of processing a service request, the method comprising: receiving a rule configuration request, wherein the rule configuration request carries a rule identifier and a configuration parameter of a target service execution trigger rule corresponding to a target service; acquiring a target business rule component corresponding to the rule identifier from a plurality of pre-stored business rule components, wherein the business rule components comprise initial codes which correspond to business execution trigger rules and do not contain configuration parameters; adding the configuration parameters carried in the rule configuration request into the target service rule component to obtain an execution code corresponding to the target service execution trigger rule; and when receiving the service request of the target service, processing the service request based on the execution code. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application program comprising one or more instructions executable by the processor 1910 of the server 1900 to perform the above method for processing a service request, the method comprising: receiving a rule configuration request, wherein the rule configuration request carries a rule identifier and a configuration parameter of a target service execution trigger rule corresponding to a target service; acquiring a target business rule component corresponding to the rule identifier from a plurality of pre-stored business rule components, wherein the business rule components comprise initial codes which correspond to business execution trigger rules and do not contain configuration parameters; adding the configuration parameters carried in the rule configuration request into the target service rule component to obtain an execution code corresponding to the target service execution trigger rule; and when receiving the service request of the target service, processing the service request based on the execution code. Optionally, the instructions may also be executable by the processor 1910 of the server 1900 to perform other steps involved in the exemplary embodiments described above.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A method for processing a service request, comprising:
receiving a rule configuration request, wherein the rule configuration request carries a rule identifier and a configuration parameter of a target service execution trigger rule corresponding to a target service;
acquiring a target business rule component corresponding to the rule identifier from a plurality of pre-stored business rule components, wherein the business rule components comprise initial codes which correspond to business execution trigger rules and do not contain configuration parameters;
adding the configuration parameters carried in the rule configuration request into the target service rule component to obtain an execution code corresponding to the target service execution trigger rule;
and when receiving the service request of the target service, processing the service request based on the execution code.
2. The method according to claim 1, wherein the rule configuration request carries a plurality of rule identifiers, the configuration parameters include configuration parameters corresponding to each rule identifier, and the step of obtaining a target service rule component corresponding to the rule identifier from a plurality of pre-stored service rule components comprises:
acquiring a target business rule component corresponding to each rule identifier from a plurality of pre-stored business rule components;
the step of adding the configuration parameters carried in the rule configuration request to the target service rule component to obtain the execution codes corresponding to the target service execution trigger rules comprises:
respectively adding the configuration parameters corresponding to each rule identifier into the corresponding target business rule components;
and combining and linking the target service rule components added with the configuration parameters to obtain an execution code corresponding to the target service execution trigger rule.
3. The method of processing a service request according to claim 1, wherein the target service is an application update query service, and wherein the plurality of service rule components comprises at least one of the following service rule components:
the client version rule component is used for judging whether the version number of an application program installed in the terminal belongs to a preset version number set or not;
the system version rule component is used for judging whether the system number of the terminal system is a preset system number or not;
the white list rule component is used for judging whether the terminal is a terminal in a preset white list or not;
the geographical position rule component is used for judging whether the terminal position belongs to a preset geographical area;
the terminal brand rule component is used for judging whether the brand of the terminal is a preset brand;
the terminal model rule component is used for judging whether the terminal model is a preset model or not;
the upper limit rule component of the gray scale is used for judging whether the total number of the download links sent by the server exceeds a first preset threshold value or not;
and the issuing frequency rule component is used for judging whether the number of the download links sent by the server in the preset unit time exceeds a second preset threshold value.
4. The method according to claim 1, wherein the target service corresponds to a plurality of target service execution trigger rules, and the step of processing the service request based on the execution code when receiving the service request of the target service comprises:
sequencing the trigger rules executed by the target services, and setting N to be 1;
determining a target service execution triggering rule ordered at the Nth bit;
if the terminal related information carried in the service request of the target service and the acquired current state information of the server meet the N-th target service execution trigger rule, determining a target service processing mode corresponding to the N-th target service execution trigger rule, and processing the service request based on the target service processing mode;
and if the terminal related information carried in the service request of the target service or the acquired current state information of the server does not meet the Nth bit target service execution trigger rule, adding 1 to N, and switching to the step of executing the target service execution trigger rule which is determined to be sequenced at the Nth bit.
5. The method for processing a service request according to claim 4, wherein the target service is an application update query service, and if the terminal related information carried in the service request of the target service and the acquired current state information of the server satisfy the N-th target service execution trigger rule, the target service processing method corresponding to the N-th target service execution trigger rule is determined, and the step of processing the service request based on the target service processing method includes:
and if the terminal related information carried in the service request of the application updating query service and the acquired current state information of the server meet the Nth target service execution trigger rule, determining a download link and download prompt information of the application of the target test version corresponding to the Nth target service execution trigger rule, and returning the download link and the download prompt information of the application of the target test version to the terminal sending the service request.
6. The method of claim 5, wherein the step of returning the download link of the target test version of the application program and the download prompting message to the terminal sending the service request comprises:
if the downloading state of the application program with the target test version is set to be an automatic downloading state, acquiring automatic downloading mark information, and returning a downloading link of the application program with the target test version, the downloading prompt information and the automatic downloading mark information to a terminal sending the service request;
and if the downloading state of the application program of the target test version is not set to be the automatic downloading state, returning the downloading link of the application program of the target test version and the downloading prompt information to the terminal sending the service request.
7. The method of claim 1, wherein the step of processing the service request based on the execution code when receiving the service request of the target service comprises:
and associating an execution code corresponding to the target service execution trigger rule to a main thread for processing a service request of the target service, so that when the service request of the target service is received, the service request is processed based on the execution code.
8. An apparatus for processing a service request, comprising:
the system comprises a receiving module, a rule configuration module and a processing module, wherein the receiving module is configured to receive a rule configuration request, and the rule configuration request carries a rule identifier and a configuration parameter of a target service execution trigger rule corresponding to a target service;
the acquisition module is configured to acquire a target business rule component corresponding to the rule identifier from a plurality of pre-stored business rule components, wherein the business rule components comprise initial codes which do not contain configuration parameters and correspond to business execution trigger rules;
the adding module is configured to add the configuration parameters carried in the rule configuration request to the target service rule component to obtain an execution code corresponding to the target service execution trigger rule;
and the execution module is configured to process the service request based on the execution code when receiving the service request of the target service.
9. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement a method of processing a service request as claimed in any one of claims 1 to 7.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor of a server, enable the server to perform a method of processing a service request according to any one of claims 1 to 7.
CN201910593586.XA 2019-07-03 2019-07-03 Method, device, server and storage medium for processing service request Pending CN112181450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910593586.XA CN112181450A (en) 2019-07-03 2019-07-03 Method, device, server and storage medium for processing service request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910593586.XA CN112181450A (en) 2019-07-03 2019-07-03 Method, device, server and storage medium for processing service request

Publications (1)

Publication Number Publication Date
CN112181450A true CN112181450A (en) 2021-01-05

Family

ID=73914409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910593586.XA Pending CN112181450A (en) 2019-07-03 2019-07-03 Method, device, server and storage medium for processing service request

Country Status (1)

Country Link
CN (1) CN112181450A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023274135A1 (en) * 2021-06-28 2023-01-05 华为技术有限公司 Data processing system, method and apparatus

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110087689A1 (en) * 2009-10-09 2011-04-14 Carsten Ziegler Methods and systems for providing a business repository
CN104598262A (en) * 2014-11-25 2015-05-06 深圳市腾讯计算机系统有限公司 Method and device for updating mobile application
CN105099988A (en) * 2014-04-24 2015-11-25 阿里巴巴集团控股有限公司 Method used for supporting gray releasing, access method, devices and system
CN105808278A (en) * 2014-12-31 2016-07-27 中国移动通信集团辽宁有限公司 Client version upgrading method and device
CN106990948A (en) * 2016-10-14 2017-07-28 深圳大宇无限科技有限公司 Application upgrade treating method and apparatus
CN107919989A (en) * 2017-11-17 2018-04-17 深圳泉眼体育运营管理有限公司 A kind of application upgrade method, apparatus and terminal device
CN108121579A (en) * 2016-11-26 2018-06-05 上海壹账通金融科技有限公司 The method and device of alteration ruler file
CN108595207A (en) * 2018-03-23 2018-09-28 深圳乐信软件技术有限公司 A kind of gray scale dissemination method, regulation engine, system, terminal and storage medium
CN109388414A (en) * 2017-08-03 2019-02-26 合网络技术(北京)有限公司 Method for upgrading software and device
KR20190032040A (en) * 2017-09-19 2019-03-27 삼성전자주식회사 Method and apparatus for controlling a update of software of an electronic device
CN109542432A (en) * 2018-10-16 2019-03-29 深圳壹账通智能科技有限公司 Air control rule editing method and terminal device
CN109960521A (en) * 2019-03-20 2019-07-02 北京顺丰同城科技有限公司 Application program updating method, apparatus, electronic equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110087689A1 (en) * 2009-10-09 2011-04-14 Carsten Ziegler Methods and systems for providing a business repository
CN105099988A (en) * 2014-04-24 2015-11-25 阿里巴巴集团控股有限公司 Method used for supporting gray releasing, access method, devices and system
CN104598262A (en) * 2014-11-25 2015-05-06 深圳市腾讯计算机系统有限公司 Method and device for updating mobile application
CN105808278A (en) * 2014-12-31 2016-07-27 中国移动通信集团辽宁有限公司 Client version upgrading method and device
CN106990948A (en) * 2016-10-14 2017-07-28 深圳大宇无限科技有限公司 Application upgrade treating method and apparatus
CN108121579A (en) * 2016-11-26 2018-06-05 上海壹账通金融科技有限公司 The method and device of alteration ruler file
CN109388414A (en) * 2017-08-03 2019-02-26 合网络技术(北京)有限公司 Method for upgrading software and device
KR20190032040A (en) * 2017-09-19 2019-03-27 삼성전자주식회사 Method and apparatus for controlling a update of software of an electronic device
CN107919989A (en) * 2017-11-17 2018-04-17 深圳泉眼体育运营管理有限公司 A kind of application upgrade method, apparatus and terminal device
CN108595207A (en) * 2018-03-23 2018-09-28 深圳乐信软件技术有限公司 A kind of gray scale dissemination method, regulation engine, system, terminal and storage medium
CN109542432A (en) * 2018-10-16 2019-03-29 深圳壹账通智能科技有限公司 Air control rule editing method and terminal device
CN109960521A (en) * 2019-03-20 2019-07-02 北京顺丰同城科技有限公司 Application program updating method, apparatus, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
糖糖糖糖糖糖糖糖糖糖糖糖糖糖糖糖糖糖: "苏宁金融App全链路灰度实践", Retrieved from the Internet <URL:《https://blog.csdn.net/cpongo4/acticle/details/89174461》> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023274135A1 (en) * 2021-06-28 2023-01-05 华为技术有限公司 Data processing system, method and apparatus

Similar Documents

Publication Publication Date Title
CN107979508B (en) Micro-service test method and device
CN108319460B (en) Method and device for generating application program installation package, electronic equipment and storage medium
CN109032825B (en) Fault injection method, device and equipment
CN110597531B (en) Distributed module upgrading method and device and storage medium
US11113050B2 (en) Application architecture generation
US20140289761A1 (en) Systems and Methods of Processing Data Involving Presentation of Information on Android Devices
US20040143835A1 (en) Automatically upgradeable extension of software
US20150039515A1 (en) Interactive product improvement through the use of variants and data gathering reports in a system that can be updated on the fly
US20200057622A1 (en) Management of updates to externally managed libraries
CN110046100B (en) Packet testing method, electronic device and medium
US9760364B2 (en) Checks for software extensions
CN112181450A (en) Method, device, server and storage medium for processing service request
US20200117443A1 (en) Selective application updates based on usage analytics
JP7015625B2 (en) Step-back mechanism for developing and diagnosing process applications
CN112527459A (en) Log analysis method and device based on Kubernetes cluster
CN114546819A (en) Code processing method and device, electronic equipment and readable medium
CN109933355B (en) Application program upgrading method and device
CN111104331A (en) Software management method, terminal device and computer-readable storage medium
KR101449201B1 (en) Automatic software test system for steel processing
CN115454851A (en) Interface regression testing method and device, storage medium and electronic device
CN111309541A (en) Exception handling detection method, device and equipment and computer storage medium
CN110705956A (en) Project coordination method and device based on micro-service architecture and storage medium
CN117435510B (en) Automatic test method, terminal equipment and computer readable storage medium
CN108334336A (en) Atomic operation automated method, system, device and computer storage media
CN113760723B (en) Business process debugging method and device

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