CN111580855A - Strategy issuing method and system based on full-flow gray level issuing and electronic equipment - Google Patents

Strategy issuing method and system based on full-flow gray level issuing and electronic equipment Download PDF

Info

Publication number
CN111580855A
CN111580855A CN202010274586.6A CN202010274586A CN111580855A CN 111580855 A CN111580855 A CN 111580855A CN 202010274586 A CN202010274586 A CN 202010274586A CN 111580855 A CN111580855 A CN 111580855A
Authority
CN
China
Prior art keywords
issuing
production system
strategy
shadow
issued
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
Application number
CN202010274586.6A
Other languages
Chinese (zh)
Other versions
CN111580855B (en
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.)
Shanghai Qiyu Information and Technology Co Ltd
Original Assignee
Shanghai Qiyu Information and 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 Shanghai Qiyu Information and Technology Co Ltd filed Critical Shanghai Qiyu Information and Technology Co Ltd
Priority to CN202010274586.6A priority Critical patent/CN111580855B/en
Publication of CN111580855A publication Critical patent/CN111580855A/en
Application granted granted Critical
Publication of CN111580855B publication Critical patent/CN111580855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Software Systems (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Computer Security & Cryptography (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a strategy issuing method based on full-flow gray level issuing, which is used for automatically issuing a strategy to be issued in a gray level manner in a production system, and comprises the following steps: constructing a shadow system of the production system, wherein the shadow system comprises a plurality of flow nodes which are completely the same as the production system; issuing the strategy to be issued to a corresponding process node in the shadow system; executing the user request in parallel on the production system and the shadow system, and respectively recording the running data in the production system and the shadow system; automatically comparing the operating data of the production system and the shadow subsystem, and judging whether the difference between the operating data and the shadow subsystem is within a preset range; and when the difference is within a preset range, issuing the strategy to be issued to the production system according to a preset gray level issuing rule. The method of the invention can eliminate potential production problems, reduce the release risk of the production system and improve the efficiency of strategy release.

Description

Strategy issuing method and system based on full-flow gray level issuing and electronic equipment
Technical Field
The invention relates to the field of computer information processing, in particular to a strategy issuing method and system based on full-flow gray level issuing and electronic equipment.
Background
When a software or Application program (APP for short) needs to release a new version to be online in a production environment, a gray version may be added first, and a corresponding gray rule (such as a traffic weight, a header field in an http request, and the like) is configured to divert a part of access traffic of a default version of an original production environment to the gray version. After the test is stable, the gray-scale version can be switched to the default version, so that the access flow on the default version of the original production environment is taken over by the gray-scale version.
In the prior art, when the gray rule is configured, the gray rule is configured only after the gray version is started normally. If the access traffic is introduced into the grayscale version due to premature configuration of the grayscale rules, such as the grayscale version not being started normally, the grayscale version cannot be accessed, resulting in a situation where some users cannot access the system. Moreover, if an abnormality occurs in the grayscale version during the operation process, for example, a restart or an abnormal fault core dump occurs in the grayscale version, which may cause that the user traffic introduced into the grayscale version cannot access the APP, thereby causing an interruption of the access traffic during the operation of the grayscale version.
In the existing test version release method, after a developer sees a download link, the developer logs in a test machine with a corresponding test environment through a board jumper, and a remote control test machine completes the release of a new test version through the following processes: and downloading a new test version file from the integration tool according to the download link, respectively deploying the downloaded test version files to corresponding directories on the test machine, manually restarting corresponding services after deployment is completed, and completing release of a new test version after the services are successfully restarted. The test versions are released manually by all developers, the operation process is very complicated, and the release efficiency of the test versions is low. In addition, system or software gray scale releases are typically a/B tested by shunting, and problems can only be discovered at the time of the initial gray scale release. In addition, the existing method is generally only applied to a single node, the difficult problem of relevance evaluation among nodes in a complex flow cannot be solved, and the efficiency of the strategy issuing method also needs to be improved.
Therefore, it is necessary to provide a policy issuing method based on full-flow gray scale issuing with higher efficiency.
Disclosure of Invention
In order to solve the above problem, the present invention provides a policy issuing method based on full-process gray-scale issuing, configured to automatically gray-scale issue a policy to be issued in a production system, where the production system includes a plurality of process nodes, and the policy to be issued is a policy applied to at least one of the plurality of process nodes, and the method includes: constructing a shadow system of a production system, wherein the shadow system comprises a plurality of flow nodes which are completely the same as the production system; issuing the strategy to be issued to a corresponding process node in the shadow system; executing user requests in the production system and the shadow system in parallel, and recording running data in the production system and the shadow system respectively; automatically comparing the operating data of the production system and the shadow system, and judging whether the difference between the operating data of the production system and the operating data of the shadow system is within a preset range; and when the difference is within a preset range, issuing the strategy to be issued to the production system according to a preset gray level issuing rule.
Preferably, automatically comparing the operation data of the production system and the shadow system, and determining whether the difference between the operation data of the production system and the operation data of the shadow system is within a predetermined range includes: and automatically comparing the running data of the production system and the shadow system at each process node respectively, and judging whether the difference of the corresponding process nodes is within the respective preset range.
Preferably, the process node is a process node of a financial product, and includes at least one of the following: registration, credit granting, dynamic payment, quota improvement, repayment and collection urging.
Preferably, the operational data is a financial product indicator including at least one of: user passing rate, user registration probability, user credit rate or credit line and payment overdue rate.
Preferably, the policy to be issued is a policy set composed of policies on each process node.
Preferably, the gray scale release rule includes an effective proportion of the gray scale deployment rule to be released, a user population to be released, and release time.
Preferably, the method further comprises the following steps: the gray release rule comprises: the effective proportion is gradually increased over time.
In addition, the present invention also provides a policy issuing system based on full-process gray-scale issuing, configured to automatically gray-scale issue a policy to be issued in a production system, where the production system includes a plurality of process nodes, and the policy to be issued is a policy applied to at least one of the plurality of process nodes, and the system includes: a construction module for constructing a shadow system of a production system, the shadow system comprising a plurality of process nodes identical to the production system; the processing module is used for issuing the strategy to be issued to a corresponding process node in the shadow system; the recording module is used for executing user requests in parallel on the production system and the shadow system and recording running data in the production system and the shadow system respectively; the comparison module is used for automatically comparing the operating data of the production system and the shadow system and judging whether the difference between the operating data of the production system and the operating data of the shadow system is within a preset range; and the issuing module is used for issuing the strategy to be issued to the production system according to a preset gray level issuing rule when the difference is within a preset range.
Preferably, the policy issuing system further includes a judging module, where the judging module is configured to automatically compare the operation data of the production system and the operation data of the shadow system at each process node, and judge whether the differences of the corresponding process nodes are within respective predetermined ranges.
Preferably, the process node is a process node of a financial product, and includes at least one of the following: registration, credit granting, dynamic payment, quota improvement, repayment and collection urging.
Preferably, the operational data is a financial product indicator including at least one of: user passing rate, user registration probability, user credit rate, credit line and payment overdue rate.
Preferably, the policy to be issued is a policy set composed of policies on each process node.
Preferably, the gray scale release rule includes an effective proportion of the gray scale deployment rule to be released, a user population to be released, and release time.
Preferably, the method further comprises the following steps: the gray release rule comprises: the effective proportion is gradually increased over time.
In addition, the present invention also provides an electronic device, wherein the electronic device includes: a processor; and a memory storing computer executable instructions that, when executed, cause the processor to perform the full-flow grayscale publication based policy issuing method of the present invention.
In addition, the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores one or more programs, and the strategy issuing method based on the full-flow gray scale issuing is provided.
Advantageous effects
Compared with the prior art, the strategy issuing method based on the full-flow gray level issuing can find the production problem of the strategy to be issued before formal issuing, and can ensure the stability of the system; the problem that the influence of each process node in the high-coupling and multi-scenario risk approval full process is difficult to evaluate relative to the full process can be solved, the coupling influence among the process nodes can be judged, the potential production problem can be eliminated, the release risk of a production system is reduced, and the strategy release efficiency is improved.
Drawings
In order to make the technical problems solved by the present invention, the technical means adopted and the technical effects obtained more clear, the following will describe in detail the embodiments of the present invention with reference to the accompanying drawings. It should be noted, however, that the drawings described below are only illustrations of exemplary embodiments of the invention, from which other embodiments can be derived by those skilled in the art without inventive faculty.
Fig. 1 is a flowchart of an example of a policy issuing method based on full-flow grayscale issuing according to the present invention.
Fig. 2 is a schematic structural block diagram of an application scenario of the policy issuing method based on full-flow grayscale issuing of the present invention.
Fig. 3 is a schematic structural block diagram of another example of the policy issuing method based on full-flow gray scale issuing of the present invention.
Fig. 4 is a schematic structural block diagram of an example of the policy issuing system based on full-flow gray scale issuing of the present invention.
Fig. 5 is a schematic structural block diagram of another example of the policy issuing system based on full-flow gray scale issuing of the present invention.
Fig. 6 is a block diagram of an exemplary embodiment of an electronic device according to the present invention.
Fig. 7 is a block diagram of an exemplary embodiment of a computer-readable medium according to the present invention.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals denote the same or similar elements, components, or parts in the drawings, and thus their repetitive description will be omitted.
Features, structures, characteristics or other details described in a particular embodiment do not preclude the fact that the features, structures, characteristics or other details may be combined in a suitable manner in one or more other embodiments in accordance with the technical idea of the invention.
In describing particular embodiments, the present invention has been described with reference to features, structures, characteristics or other details that are within the purview of one skilled in the art to provide a thorough understanding of the embodiments. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific features, structures, characteristics, or other details.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various elements, components, or sections, these terms should not be construed as limiting. These phrases are used to distinguish one from another. For example, a first device may also be referred to as a second device without departing from the spirit of the present invention.
The term "and/or" and/or "includes any and all combinations of one or more of the associated listed items.
In the prior art, the system or software gray scale release is generally subjected to an A/B test through shunting, and a problem is found in the initial gray scale release. In addition, the existing method is generally only applied to a single node, and the problem of relevance evaluation among nodes in a complex flow cannot be solved. Particularly, in the face of high coupling and multi-scenario risk examination and approval whole process, a corresponding strategy issuing method is not available, and the strategy issuing efficiency is low.
In view of the above problems, the present invention provides a policy issuing method based on full-flow grayscale issuing.
In order that the objects, technical solutions and advantages of the present invention will become more apparent, the present invention will be further described in detail with reference to the accompanying drawings in conjunction with the following specific embodiments.
Example 1
Hereinafter, an embodiment of a policy issuing method based on full-flow grayscale issuing of the present invention will be described with reference to fig. 1 to 3.
Fig. 1 is a flowchart of an example of a policy issuing method based on full-flow grayscale issuing according to the present invention.
As shown in fig. 1, a policy issuing method based on full-process gray-scale issuing is used for automatically issuing a policy to be issued in a gray scale in a production system, where the production system includes a plurality of process nodes, and the policy to be issued is a policy applied to at least one of the plurality of process nodes, and the method includes:
step S101, a shadow system of the production system is constructed, and the shadow system comprises a plurality of flow nodes which are completely the same as the production system.
Step S102, the strategy to be issued is issued to the corresponding process node in the shadow system.
Step S103, executing user requests in the production system and the shadow system in parallel, and recording the running data in the production system and the shadow system respectively.
And step S104, automatically comparing the operating data of the production system and the shadow system, and judging whether the difference between the operating data of the production system and the operating data of the shadow system is within a preset range.
And step S105, when the difference is within a preset range, issuing the strategy to be issued to the production system according to a preset gray level issuing rule.
Fig. 2 is a schematic structural block diagram of an application scenario of the policy issuing method based on full-flow grayscale issuing of the present invention.
As shown in fig. 2, in an application scenario of a high-coupling risk approval process, the policy issuing system of the present invention includes a production system and a shadow system, where both the production system and the shadow system include a full-process node of a wind-controlled approval process, the production system is used for a production system of formal gray release, and the shadow system is used for testing a process node of a policy to be issued.
As can be seen from fig. 2, the time nodes are different from left to right, and represent the entire flow of gray level deployment. R0 refers to the rules in production before release of the R1 version, and R1 refers to the test version that needs to be released for the first time. And placing the process node with the strategy R1 to be issued on the corresponding process node of the shadow system, and replacing the original strategy R0 in the production system after testing. Further, when the deployment rule R1 is completed, R1 is released and produced successfully, at this time, the shadow system will become the last production version R0 of the release R1, and the policy release test of the next flow node will be continued.
In the following, the policy issuing method of full-flow grayscale issuing according to the present invention will be specifically described with reference to specific application examples.
Specifically, in step S101, a shadow system of the production system is constructed, the shadow system including a plurality of process nodes identical to the production system.
In order to truly and completely test the influence of the strategy change of a certain flow node in the full-flow gray scale release on the whole flow (or the full flow), a shadow system of the production system is constructed, wherein the shadow system is provided with a plurality of flow nodes which are completely the same as the production system and is used for testing the influence of the flow node of the strategy to be released on the full-flow node.
Further, the process node is a process node of the financial product, and includes at least one of the following: registration, credit granting, dynamic payment, quota improvement, repayment and collection urging.
Next, in step S102, the policy to be issued is issued to the corresponding process node in the shadow system.
In this example, the flow node with the to-be-issued policy R1 is placed at the corresponding flow node of the shadow system, for example.
Specifically, the policy to be issued is a policy set composed of policies on each process node. For example, the gray deployment rule (i.e., the policy to be issued R1) corresponding to the process node to be issued in the production system is uploaded to the corresponding process node in the shadow system as a test node, and is used to simulate the production system to execute pre-issue.
Further, the strategy to be released R1 is tested by the shadow system and is applied to the production system after the test, so that the release risk of the production system is reduced.
Next, in step S103, a user request is executed in parallel between the production system and the shadow system, and the running data in the production system and the shadow system are recorded respectively.
Under the condition that the flow nodes except the flow node of the strategy R1 to be issued are the same, the production system and the shadow are executed in parallel based on the user request, and the operation data in the production system and the shadow system are recorded respectively to judge the influence of the flow node on the whole flow, so that potential production problems are eliminated, and the issuing risk of the production system is reduced.
It should be noted that the recorded operation data includes policy results, such as output items of the decision engine.
In order to determine the influence of the flow node of the policy R1 to be issued on the whole flow, the recorded operation data is analyzed.
Next, in step S104, the operation data of the production system and the shadow system are automatically compared, and whether the difference between the two is within a predetermined range is determined.
Specifically, the operation data of the production system and the shadow system at each process node are respectively and automatically compared, and whether the difference of the corresponding process node is within the respective predetermined range is judged.
Further, the operational data is a financial product indicator including at least one of: user passing rate, user registration probability, user credit rate, credit line and payment overdue rate.
It should be noted that the specific comparison content is determined according to the content of the test policy, such as the user passing rate, the average credit line of the credit line, and other indicators.
Furthermore, the comparison method is performed by, for example, a policy worker through data extraction of the database for comparison analysis, or according to various indexes of the production system and the shadow system observed by the decision engine monitoring system.
In this example, for the automatic comparison of the monitoring system, before the official gray release or before the gray release test, the policy personnel may set the index variation range in the policy requirement, for example, the variation range of the absolute value of the production throughput rate is (1% to 2%), and after the gray release test, the policy release system of the present invention automatically compares whether the throughput rate in the production system and the shadow system is within the set variation range. And then, the policy personnel determines whether to carry out formal release according to the automatic comparison result of the system.
Next, in step S105, when the difference is within a predetermined range, the policy to be issued is issued to the production system according to a predetermined gray-scale issuing rule.
In the present example, as shown in fig. 3, the method further presets a gradation issuance rule step S301.
In step S301, a gray release rule is preset according to the specific content of the release policy.
Specifically, the gray scale release rule includes an effective proportion of the gray scale deployment rule to be released, a user population to be released, and release time.
Further, the gray release rule includes: the effective proportion is gradually increased over time.
In this example, the production system is a risk approval system, the shadow system is part of a gray deployment, and the gray deployment is based on adjusting the effective ratio of the shadow system and the production system. The purpose is to reduce the risks before the test version becomes fully effective.
For example, when 10000 new customers enter the risk approval system, when the current effective rate of gray deployment is 100%, the 10000 new customers may execute the production system and the shadow subsystem in parallel, and after the execution is finished, the result of each user executed in the production system and the shadow subsystem respectively is saved. However, when the effective rate is 20%, 10000 clients execute the production system and 2000 clients execute the shadow system, and then save the results of the execution of the users in the production system and the shadow system, respectively.
It should be noted that the gradation issuance method of the present invention is applied to at least one terminal device, a gradation issuance production system constituted by a server, and a movie subsystem. And data transmission is carried out between the terminal equipment and the server according to a preset protocol. Preferably, the preset protocol includes, but is not limited to, any one of the following: an HTTP Protocol (Hyper Text Transfer Protocol), an HTTPs Protocol (Hyper Text Transfer Protocol over secure Socket Layer), and the like. In at least one embodiment of the present invention, the server may be a single server, or may be a server cluster composed of several functional servers. The terminal device may be any terminal having a network connection function, for example, the terminal device may be a mobile device such as a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an interactive web Television (IPTV), an intelligent wearable device, a navigation device, or the like, or a fixed device such as a desktop computer, a Digital TV, or the like. The foregoing is merely an illustration of preferred embodiments and is not to be construed as limiting the present invention.
In another example, the method further comprises determining the flow nodes associated with the policy nodes to be issued, the number of the associated flow nodes, and the like, so as to judge the coupling influence between the associated flow nodes.
In another example, the issuing risk of the policy node to be issued relative to the full-flow node is quantitatively calculated, and the gray-scale policy rule and the policy set of the flow test node to be issued are optimally adjusted based on the calculation result.
Furthermore, according to the content of the test strategy and the strategy nodes to be issued, user groups and the preset number of the user groups are set, the access requests of the set user groups are screened, and the screened access requests are executed in the production system and the shadow system in parallel to evaluate the issuing risk.
The above-mentioned process of the policy issuing method based on the full-flow gray-scale issuing is only for illustrating the present invention, wherein the order and number of the steps are not particularly limited. In addition, the steps in the method can be split into two or three steps, or some steps can be combined into one step, and the steps are adjusted according to practical examples.
Compared with the prior art, the strategy issuing method based on the full-flow gray level issuing can find the production problem of the strategy to be issued before formal issuing, and can ensure the stability of the system; the problem that the influence of each process node in the high-coupling and multi-scenario risk approval full process is difficult to evaluate relative to the full process can be solved, the coupling influence among the process nodes can be judged, the potential production problem can be eliminated, the release risk of a production system is reduced, and the strategy release efficiency is improved.
Those skilled in the art will appreciate that all or part of the steps to implement the above-described embodiments are implemented as programs (computer programs) executed by a computer data processing apparatus. When the computer program is executed, the method provided by the invention can be realized. Furthermore, the computer program may be stored in a computer readable storage medium, which may be a readable storage medium such as a magnetic disk, an optical disk, a ROM, a RAM, or a storage array composed of a plurality of storage media, such as a magnetic disk or a magnetic tape storage array. The storage medium is not limited to centralized storage, but may be distributed storage, such as cloud storage based on cloud computing.
Embodiments of the policy issuing system of the present invention are described below, which may be used to implement method embodiments of the present invention. Details described in the system embodiments of the invention should be considered supplementary to the above-described method embodiments; reference is made to the above-described method embodiments for details not disclosed in the system embodiments of the invention.
Example 2
Referring to fig. 4 and 5, the present invention further provides a policy issuing system 400 based on full-process gray-scale issuing, configured to automatically gray-scale issue a policy to be issued in a production system, where the production system includes a plurality of process nodes, and the policy to be issued is a policy applied to at least one of the plurality of process nodes, and the system 400 includes: a building module 401 for building a shadow system of a production system, the shadow system comprising a plurality of process nodes identical to the production system; the processing module 402 is configured to issue the policy to be issued to a corresponding process node in the shadow system; a recording module 403, configured to execute a user request in parallel on the production system and the shadow system, and record running data in the production system and the shadow system respectively; a comparison module 404, configured to automatically compare the operating data of the production system and the shadow system, and determine whether a difference between the operating data of the production system and the operating data of the shadow system is within a predetermined range; and the issuing module 405 is configured to issue the policy to be issued to the production system according to a predetermined gray issuing rule when the difference is within a predetermined range.
As shown in fig. 5, the policy issuing system 400 further includes a determining module 501, where the determining module 501 is configured to automatically compare the operation data of the production system and the operation data of the shadow system at each process node, and determine whether the difference between the corresponding process nodes is within a predetermined range.
Preferably, the process node is a process node of a financial product, and includes at least one of the following: registration, credit granting, dynamic payment, quota improvement, repayment and collection urging.
Preferably, the operational data is a financial product indicator including at least one of: user passing rate, user registration probability, user credit rate, credit line and payment overdue rate.
Preferably, the policy to be issued is a policy set composed of policies on each process node.
Preferably, the gray scale release rule includes an effective proportion of the gray scale deployment rule to be released, a user population to be released, and release time.
Preferably, the gray release rule includes: the effective proportion is gradually increased over time.
In embodiment 2, the same portions as those in embodiment 1 are not described.
Compared with the prior art, the strategy issuing system based on the full-flow gray level issuing is particularly suitable for the strategy issuing method of the embodiment 1, the system can find the production problem of the strategy to be issued before formal issuing, and the stability of the system can be ensured; the coupling influence among the process nodes can be judged, potential production problems can be eliminated, the release risk of a production system is reduced, and the strategy release efficiency is improved.
Those skilled in the art will appreciate that the modules in the above-described system embodiments may be distributed in the system as described, and that corresponding variations may be made in one or more systems other than the above-described embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
Example 3
Embodiments of the electronic device of the present invention are described below, which may be considered as specific physical implementations of the above-described embodiments of the method and system of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or system described above; for details not disclosed in the embodiments of the electronic device of the invention, reference may be made to the above-described method or system embodiments.
Fig. 6 is a block diagram of an exemplary embodiment of an electronic device according to the present invention. An electronic device 200 according to the invention will be described below with reference to fig. 6. The electronic device 200 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the electronic device 200 is embodied in the form of a general purpose computing device. The components of the electronic device 200 may include, but are not limited to: at least one processing unit 210, at least one memory unit 220, a bus 230 connecting different system components (including the memory unit 220 and the processing unit 210), a display unit 240, and the like.
Wherein the storage unit stores program code executable by the processing unit 210 to cause the processing unit 210 to perform steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic device processing method section of the present specification. For example, the processing unit 210 may perform the steps as shown in fig. 1.
The memory unit 220 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)2201 and/or a cache memory unit 2202, and may further include a read only memory unit (ROM) 2203.
The storage unit 220 may also include a program/utility 2204 having a set (at least one) of program modules 2205, such program modules 2205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 230 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 200 may also communicate with one or more external devices 300 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 200, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 200 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 250. Also, the electronic device 200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 260. The network adapter 260 may communicate with other modules of the electronic device 200 via the bus 230. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention. The computer program, when executed by a data processing apparatus, enables the computer readable medium to carry out the above-described methods of the invention.
As shown in fig. 7, the computer program may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in embodiments in accordance with the invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP). The present invention may also be embodied as apparatus or system programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
While the foregoing detailed description of the embodiments has described the objects, solutions, and advantages of the present invention in further detail, it is to be understood that the present invention is not inherently related to any particular computer, virtual machine, or electronic device, and that various general-purpose apparatuses may implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.

Claims (10)

1. A strategy issuing method based on full-flow gray level issuing is used for automatically issuing a strategy to be issued in a gray level manner in a production system, the production system comprises a plurality of flow nodes, and the strategy to be issued is a strategy applied to at least one of the flow nodes, and the method is characterized by comprising the following steps:
constructing a shadow system of a production system, wherein the shadow system comprises a plurality of flow nodes which are completely the same as the production system;
issuing the strategy to be issued to a corresponding process node in the shadow system;
executing user requests in the production system and the shadow system in parallel, and recording running data in the production system and the shadow system respectively;
automatically comparing the operating data of the production system and the shadow system, and judging whether the difference between the operating data of the production system and the operating data of the shadow system is within a preset range;
and when the difference is within a preset range, issuing the strategy to be issued to the production system according to a preset gray level issuing rule.
2. The policy issuing method according to claim 1, wherein automatically comparing the operating data of the production system and the shadow system, and determining whether a difference between the operating data of the production system and the operating data of the shadow system is within a predetermined range comprises: and automatically comparing the running data of the production system and the shadow system at each process node respectively, and judging whether the difference of the corresponding process nodes is within the respective preset range.
3. The policy issuing method according to any one of claims 1 to 2, wherein the flow node is a flow point of a financial product, and includes at least one of: registration, credit granting, dynamic payment, quota improvement, repayment and collection urging.
4. The policy issuing method according to any one of claims 1 to 3, wherein the operation data is a financial product index including at least one of: user passing rate, user registration probability, user credit rate or credit line and payment overdue rate.
5. The policy issuing method according to any one of claims 1 to 4, wherein the policy to be issued is a policy set composed of policies on respective process nodes.
6. The policy issuing method according to any one of claims 1 to 5, wherein the grayscale issuing rule includes an effective proportion of a grayscale deployment rule to be issued, a user population to be issued, and an issuing time.
7. The policy issuing method according to any one of claims 1 to 6, further comprising:
the gray release rule comprises: the effective proportion is gradually increased over time.
8. A strategy issuing system based on full-process gray-scale issuing, configured to automatically gray-scale issue a strategy to be issued in a production system, where the production system includes a plurality of process nodes, and the strategy to be issued is a strategy applied to at least one of the plurality of process nodes, and the system includes:
a construction module for constructing a shadow system of a production system, the shadow system comprising a plurality of process nodes identical to the production system;
the processing module is used for issuing the strategy to be issued to a corresponding process node in the shadow system;
the recording module is used for executing user requests in parallel on the production system and the shadow system and recording running data in the production system and the shadow system respectively;
the comparison module is used for automatically comparing the operating data of the production system and the shadow system and judging whether the difference between the operating data of the production system and the operating data of the shadow system is within a preset range;
and the issuing module is used for issuing the strategy to be issued to the production system according to a preset gray level issuing rule when the difference is within a preset range.
9. An electronic device, wherein the electronic device comprises:
a processor; and the number of the first and second groups,
a memory storing computer-executable instructions that, when executed, cause the processor to perform the full-flow grayscale publication based policy issuing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs which, when executed by a processor, implement the full-flow grayscale publication-based policy publication method according to any one of claims 1 to 7.
CN202010274586.6A 2020-04-09 2020-04-09 Policy issuing method and system based on full-flow gray level issuing and electronic equipment Active CN111580855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010274586.6A CN111580855B (en) 2020-04-09 2020-04-09 Policy issuing method and system based on full-flow gray level issuing and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010274586.6A CN111580855B (en) 2020-04-09 2020-04-09 Policy issuing method and system based on full-flow gray level issuing and electronic equipment

Publications (2)

Publication Number Publication Date
CN111580855A true CN111580855A (en) 2020-08-25
CN111580855B CN111580855B (en) 2023-11-14

Family

ID=72126115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010274586.6A Active CN111580855B (en) 2020-04-09 2020-04-09 Policy issuing method and system based on full-flow gray level issuing and electronic equipment

Country Status (1)

Country Link
CN (1) CN111580855B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184235A (en) * 2020-09-04 2021-01-05 支付宝(杭州)信息技术有限公司 Wind control data changing method and device
CN112306860A (en) * 2020-09-24 2021-02-02 上海趣蕴网络科技有限公司 Product gray level packet access evaluation method and system
CN114253600A (en) * 2021-12-28 2022-03-29 上海淇玥信息技术有限公司 Feature comparison method and device based on shadow system and electronic equipment
CN114356401A (en) * 2022-01-12 2022-04-15 江苏安超云软件有限公司 Gray scale distribution method and device, electronic equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632842A (en) * 2017-09-26 2018-01-26 携程旅游信息技术(上海)有限公司 Rule configuration and dissemination method, system, equipment and storage medium
CN107729046A (en) * 2017-10-17 2018-02-23 福建富士通信息软件有限公司 A kind of software version automation dissemination method and device
CN108989267A (en) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 Gray scale dissemination method, system, equipment and storage medium based on SIP
CN109726099A (en) * 2018-04-12 2019-05-07 平安普惠企业管理有限公司 A kind of application gray scale dissemination method, device and equipment
CN109857428A (en) * 2018-12-29 2019-06-07 大唐软件技术股份有限公司 Gray scale dissemination method for IOM system
CN110347605A (en) * 2019-07-12 2019-10-18 北京百度网讯科技有限公司 Method, apparatus, equipment and the storage medium for preventing software from degenerating
CN114356401A (en) * 2022-01-12 2022-04-15 江苏安超云软件有限公司 Gray scale distribution method and device, electronic equipment and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989267A (en) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 Gray scale dissemination method, system, equipment and storage medium based on SIP
CN107632842A (en) * 2017-09-26 2018-01-26 携程旅游信息技术(上海)有限公司 Rule configuration and dissemination method, system, equipment and storage medium
CN107729046A (en) * 2017-10-17 2018-02-23 福建富士通信息软件有限公司 A kind of software version automation dissemination method and device
CN109726099A (en) * 2018-04-12 2019-05-07 平安普惠企业管理有限公司 A kind of application gray scale dissemination method, device and equipment
CN109857428A (en) * 2018-12-29 2019-06-07 大唐软件技术股份有限公司 Gray scale dissemination method for IOM system
CN110347605A (en) * 2019-07-12 2019-10-18 北京百度网讯科技有限公司 Method, apparatus, equipment and the storage medium for preventing software from degenerating
CN114356401A (en) * 2022-01-12 2022-04-15 江苏安超云软件有限公司 Gray scale distribution method and device, electronic equipment and computer readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184235A (en) * 2020-09-04 2021-01-05 支付宝(杭州)信息技术有限公司 Wind control data changing method and device
CN112306860A (en) * 2020-09-24 2021-02-02 上海趣蕴网络科技有限公司 Product gray level packet access evaluation method and system
CN114253600A (en) * 2021-12-28 2022-03-29 上海淇玥信息技术有限公司 Feature comparison method and device based on shadow system and electronic equipment
WO2023124366A1 (en) * 2021-12-28 2023-07-06 上海淇玥信息技术有限公司 Shadow system-based feature comparison method and apparatus, and electronic device
CN114253600B (en) * 2021-12-28 2023-11-28 上海淇玥信息技术有限公司 Feature comparison method and device based on shadow system and electronic equipment
CN114356401A (en) * 2022-01-12 2022-04-15 江苏安超云软件有限公司 Gray scale distribution method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111580855B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN111580855B (en) Policy issuing method and system based on full-flow gray level issuing and electronic equipment
US20220100641A1 (en) System and method for continuous testing and delivery of software
CN112100079B (en) Test method and system based on simulation data calling and electronic equipment
CN103946809B (en) Product servers load activity is produced for testing service device
JP2015505097A (en) Computer-implemented process, computer program product, and apparatus for repair delivery system
CN113157545A (en) Method, device and equipment for processing service log and storage medium
CN108196877B (en) The method and apparatus and calculating equipment of component release management
CN111245642A (en) Method and device for acquiring dependency relationship between multiple systems and electronic equipment
CN113656307A (en) System capacity evaluation method, device, equipment and medium
CN111210109A (en) Method and device for predicting user risk based on associated user and electronic equipment
CN114253600B (en) Feature comparison method and device based on shadow system and electronic equipment
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
CN115509918A (en) Software testing method and device, electronic equipment and storage medium
CN111737130B (en) Public cloud multi-tenant authentication service testing method, device, equipment and storage medium
EP3877838B1 (en) Intelligent software asset classification for software update validation
CN114170006A (en) Information data acquisition method, device, equipment and medium based on state machine
CN114240476A (en) Abnormal user determination method, device, equipment and storage medium
CN110674491A (en) Method and device for real-time evidence obtaining of android application and electronic equipment
CN110874238A (en) Online service updating method and device
CN112764950B (en) Event interaction method and device based on combined behaviors and electronic equipment
CN113742243B (en) Application evaluation method, device, electronic equipment and computer readable medium
CN113342634A (en) Software quality evaluation method and device
CN112508715A (en) Method and device for online deployment of insurance dual-core data model, electronic equipment and medium
CN113987487A (en) Method and device for identifying simulator type and electronic equipment
CN110704291A (en) User flow direction obtaining method and device based on icon attribute identification and electronic equipment

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