CN113556251A - Anti-fraud decision engine business service registration method and system - Google Patents
Anti-fraud decision engine business service registration method and system Download PDFInfo
- Publication number
- CN113556251A CN113556251A CN202110828671.7A CN202110828671A CN113556251A CN 113556251 A CN113556251 A CN 113556251A CN 202110828671 A CN202110828671 A CN 202110828671A CN 113556251 A CN113556251 A CN 113556251A
- Authority
- CN
- China
- Prior art keywords
- decision engine
- http
- request
- parameter
- service registration
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 230000000977 initiatory effect Effects 0.000 claims abstract description 9
- 238000010276 construction Methods 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004366 reverse phase liquid chromatography Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
- H04L41/0253—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5041—Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
- H04L41/5051—Service on demand, e.g. definition and deployment of services in real time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/133—Protocols for remote procedure calls [RPC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to the field of service registration, in particular to a method and a system for registering anti-fraud decision engine service, wherein the method comprises the following steps: providing http interface configuration parameters based on a service system, wherein the configured parameters comprise a requested address; constructing an http request parameter based on the configuration parameter; and initiating an http calling request to the configured request address based on the http request parameter. The invention provides a service registration scheme without intruding a decision engine, and the existing decision engine can be conveniently and quickly used in different service scenes.
Description
Technical Field
The invention relates to the field of service registration, in particular to a method and a system for registering anti-fraud decision engine service.
Background
The current anti-fraud decision engine only depends on a fixed service event processor implemented in the decision engine, such as an intelligent outbound event processor, an event processor for sending short messages, sending mails, time delay and the like, and can customize different decision engines based on various service scenarios only by depending on service services in the actual use process.
In the prior art, when business services are used, a decision engine needs to depend on a business system strongly, the stability of the decision engine system is reduced, and the code complexity is increased.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method for registering anti-fraud decision engine service.
In a first aspect, an embodiment of the present invention provides a method for registering an anti-fraud decision engine service, including:
providing http interface configuration parameters based on a service system, wherein the configured parameters comprise a requested address;
constructing an http request parameter based on the configuration parameter;
and initiating an http calling request to the configured request address based on the http request parameter.
In some embodiments, when the http interface is provided by the service system, it is defined whether the http interface needs to be encrypted.
In some embodiments, further comprising:
and when the service system receives the http call request, responding to the processing result within the configured timeout time range.
In some embodiments, further comprising:
and analyzing the parameters of the response processing result and judging whether the calling is successful or not.
In some embodiments, further comprising:
and when the calling continuous failure times reach a set threshold value, triggering an alarm.
In a second aspect, an embodiment of the present invention provides an anti-fraud decision engine service registration system, including:
the parameter configuration module is used for providing http interface configuration parameters based on a service system, wherein the configured parameters comprise requested addresses;
the parameter construction module is used for constructing http request parameters based on the configuration parameters by the decision engine;
and the request module is used for initiating an http calling request to the configured request address by the decision engine based on the http request parameter.
In some embodiments, further comprising:
and the encryption definition module is used for defining whether the http interface needs to be encrypted when the http interface is provided by the service system.
In some embodiments, further comprising:
and the response module is used for responding the processing result within the configured timeout time range after the service system receives the http calling request.
In some embodiments, further comprising:
and the judging module is used for analyzing the parameters of the response processing result and judging whether the calling is successful or not.
In some embodiments, further comprising:
and the alarm module is used for triggering an alarm when the calling continuous failure times reach a set threshold value.
The invention has the beneficial effects that: providing http interface configuration parameters based on a service system, wherein the configured parameters comprise a requested address; constructing an http request parameter based on the configuration parameter; and initiating an http calling request to the configured request address based on the http request parameter. The invention provides a service registration scheme without intruding a decision engine, and the existing decision engine can be conveniently and quickly used in different service scenes.
Drawings
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flow chart of a service registration method of an anti-fraud decision engine according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an anti-fraud decision engine service registration system according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be further described below with reference to the accompanying drawings, but the present invention is not limited to these embodiments.
The basic idea of the invention is to provide http interface configuration parameters based on a service system, wherein the configured parameters comprise a requested address; constructing an http request parameter based on the configuration parameter; and initiating an http calling request to the configured request address based on the http request parameter. The invention provides a service registration scheme without intruding a decision engine, and the existing decision engine can be conveniently and quickly used in different service scenes.
Based on the above thought, as shown in fig. 1, the present invention provides an anti-fraud decision engine service registration method, which includes the following steps:
s1: providing http interface configuration parameters based on a service system, wherein the configured parameters comprise a requested address;
s2: constructing an http request parameter based on the configuration parameter;
s3: and initiating an http calling request to the configured request address based on the http request parameter.
In some embodiments, when service registration is started, it is necessary to distinguish an internal service system from an external service system, register in a manner of supporting dubbo and other RPCs for the internal service system, and support mq and other manners for the internal service system.
In some embodiments, after the service system provides the http interface, the service system customizes whether the http interface provided by the service system needs to be encrypted, and the encryption mode only selects the encryption mode defined by the decision engine.
In some embodiments, after the service system provides a specific http interface, the registration service is configured in the decision engine, and the configured parameters include: the address of the request, the configuration of the request parameters, the resolution of the request parameters (json, xml support), the timeout time, if encryption is required, the encryption parameters (AppKey, AppSecret) and whether the event handler is a synchronous event handler or an asynchronous event handler need to be configured.
In some embodiments, when the decision engine is scheduled and runs to a specific service event handler, an http request parameter is constructed according to an input parameter of the current event handler and a parameter configured during registration, and an http call request is initiated to a configured request address.
In some embodiments, after the service system receives the http call request, the service system needs to respond to the processing result within the configured timeout time range, perform parameter analysis on the processing result, determine whether the return is successful, and if the return is successful, continue to execute the next event handler. If time out, directly returning error and terminating the current decision engine to continue to execute downwards.
In some embodiments, after receiving the processing result, according to the registered configured path expression, the corresponding value is fetched, and the fetched value is used as an entry parameter of the next event handler, and the decision engine is continuously executed.
In some embodiments, when the registered service is abnormal, the execution of most flows of the decision engine is failed, and when the number of continuous failures reaches a set threshold, an alarm is triggered. And when the service provider restores the service, the service provider supports manual retry of the failure event.
The invention provides a service registration method without intrusion on a decision engine, which can ensure that the existing decision engine can be conveniently and quickly used in different service scenes, and simultaneously, relevant codes of the decision engine are not intrusive. Meanwhile, for the corresponding service provider, only the realization of the service logic is concerned, and the logic of the decision engine is not concerned.
In an example embodiment, the registered node is a wechat node (asynchronous node), the decision engine requests to specify the wechat node, and the service system performs service logic processing to call the wechat function. If the subsequent wechat is successful or fails, a notification needs to be sent to the decision engine, and the decision engine performs subsequent processes according to the returned information.
Based on the above method embodiment, correspondingly, as shown in fig. 2, the present invention further provides an anti-fraud decision engine service registration system, including a parameter configuration module, configured to provide http interface configuration parameters based on a service system, where the configured parameters include a requested address; the parameter construction module is used for constructing http request parameters based on the configuration parameters by the decision engine; and the request module is used for initiating an http calling request to the configured request address by the decision engine based on the http request parameter.
In some embodiments, further comprising: and the encryption definition module is used for defining whether the http interface needs to be encrypted when the http interface is provided by the service system.
In some embodiments, further comprising: and the response module is used for responding the processing result within the configured timeout time range after the service system receives the http calling request.
In some embodiments, further comprising: and the judging module is used for analyzing the parameters of the response processing result and judging whether the calling is successful or not.
In some embodiments, further comprising: and the alarm module is used for triggering an alarm when the calling continuous failure times reach a set threshold value.
The implementation and beneficial effects of the present invention have been described based on the above method embodiments, and therefore are not described in detail in the system embodiments.
Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.
Claims (10)
1. A method for registering anti-fraud decision engine business service, comprising:
providing http interface configuration parameters based on a service system, wherein the configured parameters comprise a requested address;
constructing an http request parameter based on the configuration parameter;
and initiating an http calling request to the configured request address based on the http request parameter.
2. The method of claim 1, wherein when the service system provides an http interface, it is defined whether the http interface needs to be encrypted.
3. The anti-fraud decision engine business service registration method of claim 1, further comprising:
and when the service system receives the http call request, responding to the processing result within the configured timeout time range.
4. The anti-fraud decision engine business service registration method of claim 3, further comprising:
and analyzing the parameters of the response processing result and judging whether the calling is successful or not.
5. The anti-fraud decision engine business service registration method of claim 4, further comprising:
and when the calling continuous failure times reach a set threshold value, triggering an alarm.
6. An anti-fraud decision engine business service registration system, comprising:
the parameter configuration module is used for providing http interface configuration parameters based on a service system, wherein the configured parameters comprise requested addresses;
the parameter construction module is used for constructing http request parameters based on the configuration parameters by the decision engine;
and the request module is used for initiating an http calling request to the configured request address by the decision engine based on the http request parameter.
7. The anti-fraud decision engine business service registration system of claim 5, further comprising:
and the encryption definition module is used for defining whether the http interface needs to be encrypted when the http interface is provided by the service system.
8. The anti-fraud decision engine business service registration system of claim 5, further comprising:
and the response module is used for responding the processing result within the configured timeout time range after the service system receives the http calling request.
9. The anti-fraud decision engine business service registration system of claim 8, further comprising:
and the judging module is used for analyzing the parameters of the response processing result and judging whether the calling is successful or not.
10. The anti-fraud decision engine business service registration system of claim 9, further comprising:
and the alarm module is used for triggering an alarm when the calling continuous failure times reach a set threshold value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110828671.7A CN113556251A (en) | 2021-07-22 | 2021-07-22 | Anti-fraud decision engine business service registration method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110828671.7A CN113556251A (en) | 2021-07-22 | 2021-07-22 | Anti-fraud decision engine business service registration method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113556251A true CN113556251A (en) | 2021-10-26 |
Family
ID=78104015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110828671.7A Pending CN113556251A (en) | 2021-07-22 | 2021-07-22 | Anti-fraud decision engine business service registration method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113556251A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101400109A (en) * | 2007-09-30 | 2009-04-01 | 华为技术有限公司 | General service opening interface system and general service opening method |
US20120130853A1 (en) * | 2010-11-24 | 2012-05-24 | Digital River, Inc. | In-Application Commerce System and Method with Fraud Detection |
CN103714479A (en) * | 2012-10-09 | 2014-04-09 | 四川欧润特软件科技有限公司 | Intelligent centralized monitor method and system for bank personal business fraudulent conducts |
CN109842637A (en) * | 2017-11-24 | 2019-06-04 | 武汉斗鱼网络科技有限公司 | A kind of Distributed Services register method and device |
CN110020786A (en) * | 2019-03-11 | 2019-07-16 | 阿里巴巴集团控股有限公司 | Business processing, air control recognition methods, device and equipment |
CN110290021A (en) * | 2019-06-19 | 2019-09-27 | 辽宁大学 | Across chain common recognition time delay optimization method based on dynamic programming algorithm |
CN111245901A (en) * | 2019-12-31 | 2020-06-05 | 的卢技术有限公司 | Distributed service registration discovery method and system supporting service parameter issuing |
CN112365270A (en) * | 2020-10-30 | 2021-02-12 | 上海欣方智能系统有限公司 | Financial fraud identification and interception method |
CN112422576A (en) * | 2020-11-24 | 2021-02-26 | 北京数美时代科技有限公司 | Layered online architecture device and equipment supporting real-time anti-fraud service |
-
2021
- 2021-07-22 CN CN202110828671.7A patent/CN113556251A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101400109A (en) * | 2007-09-30 | 2009-04-01 | 华为技术有限公司 | General service opening interface system and general service opening method |
US20120130853A1 (en) * | 2010-11-24 | 2012-05-24 | Digital River, Inc. | In-Application Commerce System and Method with Fraud Detection |
CN103714479A (en) * | 2012-10-09 | 2014-04-09 | 四川欧润特软件科技有限公司 | Intelligent centralized monitor method and system for bank personal business fraudulent conducts |
CN109842637A (en) * | 2017-11-24 | 2019-06-04 | 武汉斗鱼网络科技有限公司 | A kind of Distributed Services register method and device |
CN110020786A (en) * | 2019-03-11 | 2019-07-16 | 阿里巴巴集团控股有限公司 | Business processing, air control recognition methods, device and equipment |
CN110290021A (en) * | 2019-06-19 | 2019-09-27 | 辽宁大学 | Across chain common recognition time delay optimization method based on dynamic programming algorithm |
CN111245901A (en) * | 2019-12-31 | 2020-06-05 | 的卢技术有限公司 | Distributed service registration discovery method and system supporting service parameter issuing |
CN112365270A (en) * | 2020-10-30 | 2021-02-12 | 上海欣方智能系统有限公司 | Financial fraud identification and interception method |
CN112422576A (en) * | 2020-11-24 | 2021-02-26 | 北京数美时代科技有限公司 | Layered online architecture device and equipment supporting real-time anti-fraud service |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105873068B (en) | Method and device for identifying pseudo base station | |
CN111314181B (en) | Network connectivity diagnosis method, device, terminal and storage medium | |
US20230046979A1 (en) | Microservice call method and apparatus, device, and medium | |
CN109889511B (en) | Process DNS activity monitoring method, equipment and medium | |
CN111193616A (en) | Automatic operation and maintenance method, device and system, storage medium and automatic operation and maintenance server | |
CN112948835A (en) | Applet risk detection method and device | |
CN108668241B (en) | Information reminding method and device, storage medium and electronic equipment | |
CN111176866A (en) | Data interaction method and electronic equipment | |
CN108111346B (en) | Method and device for determining frequent item set in alarm correlation analysis and storage medium | |
CN111372077A (en) | Camera control method and device, terminal equipment and storage medium | |
US20120110178A1 (en) | Location processing method, address duplication processing method and apparatus | |
CN106571975B (en) | Fault tolerance method and device for communication data | |
CN113556251A (en) | Anti-fraud decision engine business service registration method and system | |
CN113296911B (en) | Cluster calling method, cluster calling device, electronic equipment and readable storage medium | |
CN106598770B (en) | Native layer exception reporting processing method and device in Android system | |
CN116126257A (en) | Comprehensive monitoring method, system, equipment and medium of self-service printing terminal | |
CN113572701A (en) | Service interface flow control method, device, equipment and storage medium | |
CN116893913B (en) | Remote program execution method, device, system, electronic equipment and storage medium | |
CN106970884B (en) | Method and device for processing serial port command applied to android system running layer | |
CN111290862A (en) | Message processing method and device, computer equipment and storage medium | |
CN111984341B (en) | Project monitoring method and device, electronic equipment and storage medium | |
CN116775172B (en) | Method and system for achieving Android data acquisition through reflection | |
CN115002000B (en) | Fault tolerance method, device, equipment and storage medium for abnormal interface | |
CN118101537B (en) | Gateway monitoring method and device, system-level chip and electronic equipment | |
CN115277714B (en) | Method, device, equipment and computer readable storage medium for repairing service registration abnormality |
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 |