CN114500629A - Monitoring processing method and device under credit contract system - Google Patents

Monitoring processing method and device under credit contract system Download PDF

Info

Publication number
CN114500629A
CN114500629A CN202210082470.1A CN202210082470A CN114500629A CN 114500629 A CN114500629 A CN 114500629A CN 202210082470 A CN202210082470 A CN 202210082470A CN 114500629 A CN114500629 A CN 114500629A
Authority
CN
China
Prior art keywords
credit
long connection
page
event
project
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
CN202210082470.1A
Other languages
Chinese (zh)
Other versions
CN114500629B (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.)
Advanced New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN202210082470.1A priority Critical patent/CN114500629B/en
Publication of CN114500629A publication Critical patent/CN114500629A/en
Application granted granted Critical
Publication of CN114500629B publication Critical patent/CN114500629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0036Checkout procedures
    • G07G1/0045Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a monitoring processing method and a device under a credit contract system, wherein the monitoring processing method under the credit contract system comprises the following steps: receiving a long connection establishment request sent by a contracting party; establishing a first long connection between an event monitoring processing module and a sender so as to respond to a long connection establishment request; starting an event monitoring processing module to monitor and process events under a credit contract system; monitoring an interface calling request submitted by a contracting party aiming at a project event in the process of participating in the credit project based on a pre-established long connection, wherein calling parameters in the interface calling request comprise a contracting order number corresponding to a contracting order generated by the contracting party after signing on a credit contract template of the project event, and the pre-established long connection comprises a first long connection; inquiring the order information corresponding to the order number in a database, and acquiring a signing page template corresponding to the project event; and performing page rendering based on the issue sheet information and the signing page template to obtain a signing page.

Description

Monitoring processing method and device under credit contract system
The application is a divisional application with the application number of 201910704395.6, application date of 2019, 7 and 31, and the title of the invention is a monitoring processing method and device under a credit contract system.
Technical Field
The application relates to the technical field of internet, in particular to a monitoring processing method under a credit contract system. The application also relates to a monitoring processing device under the credit contract system, an electronic device and a computer readable storage medium.
Background
With the popularization of mobile terminals, mobile internet technology has also developed, which refers to a general term for technologies, platforms, business models, and activities in which applications and mobile communication technologies are combined and practiced on the internet.
In the current mobile internet solution, in most cases, a client and a server of a mobile internet application program communicate through hypertext transfer, specifically, the client initiates a hypertext transfer request, and the server returns data, and this traditional request-response mode is a typical short connection, and is characterized in that a connection is established once per call, and the connection is interrupted once the communication is completed, and the work flow is as follows: link- > transmit data- > close the link.
However, the above transmission method has the following disadvantages: (1) the real-time performance is not high, because the hypertext transfer protocol connection uses a request-response mode, the connection needs to be established first when the request is made, and the server can only reply data after the client sends the request to the server, so that the efficiency is low, and the service requirement with high real-time performance requirement cannot be met; (2) the loss of the connection is established, for the hypertext transfer protocol, the transmission control protocol connection is released every time the communication is completed, the connection is reestablished for data transmission when the next hypertext transfer request comes, and each transmission control protocol connection needs three-way handshaking, which causes the loss of time and resources.
Disclosure of Invention
In view of this, the embodiment of the present application provides a monitoring processing method under a credit contract system. The application also relates to a monitoring processing device under the credit contract system, an electronic device and a computer readable storage medium, so as to solve the technical defects in the prior art.
The application provides a monitoring processing method under a credit contract system, which comprises the following steps:
monitoring an interface calling request submitted by a contracting party aiming at a project event in the process of participating in a credit project based on a pre-established long connection, wherein calling parameters in the interface calling request comprise a contracting order number corresponding to a contracting order generated by the contracting party after signing on a credit contract template of the project event;
inquiring the offer list information corresponding to the offer list number in a database, and acquiring a signing page template corresponding to the project event;
performing page rendering based on the issue order information and the contract page template;
and sending and displaying the signed page obtained by rendering as an invitation request for inviting the offeree to participate in the credit project to the offeree so as to respond to the interface calling request.
Optionally, the offeror submits the interface call request by:
submitting the interface calling request based on a credit identification code presented by a scanning offeror; and calling parameters in the interface calling request comprise an encrypted character string acquired by scanning the credit identification code and an issue order number corresponding to an issue order generated by the issuing party after signing on the basis of a credit contract template of the target service.
Optionally, the long connection is established by:
receiving a long connection establishment request sent by the sender;
establishing a first long connection between an event monitoring processing module and the sponsor so as to respond to the long connection establishment request;
and starting the event monitoring processing module to monitor and process the events under the credit contract system.
Optionally, before the step of monitoring an interface call request submitted by a sponsor for participating in a credit project based on a pre-established long connection and submitting a project event is executed, the method further includes:
detecting whether the first long connection established with the offeror is disconnected;
if so, reestablishing a second long connection with the sender;
and if not, executing the step of monitoring the interface call request submitted by the contract sending party aiming at the project event in the process of participating in the credit project based on the pre-established long connection.
Optionally, after the sending and presenting an invitation request for inviting an offeree to participate in the credit item to the offeror, the step of sending and presenting the invitation request includes:
and when the connection holding time of the first long connection or the second long connection reaches a preset time threshold, disconnecting the first long connection or the second long connection.
Optionally, the starting the event monitoring processing module to perform monitoring processing on the event under the credit contract system includes:
polling whether an interface calling request submitted by the contracting party for a project event in a credit project process exists at a preset frequency, wherein the preset frequency is not more than a frequency threshold value.
Optionally, after the step of monitoring an interface call request submitted by a sponsor and a credit project in the process of participating in the credit project based on the pre-established long connection is executed, before the step of sending and presenting an invitation request for inviting the sponsor to participate in the credit project to the sponsor by using the rendered subscription page as the invitation page, the method further includes:
analyzing the encrypted character string in the calling parameter to obtain credit account page information of the offeror;
correspondingly, the sending and presenting the contracted page obtained by rendering as an invitation request for inviting an offeree to participate in the credit item to the offeree comprises:
sending the signed page obtained by rendering as an invitation request for inviting an offeree to participate in the credit item to the offeree and showing the invitation request on a credit account page of the offeree.
Optionally, the rendering a page based on the issue ticket information and the contract page template includes:
acquiring information of a plurality of components to be displayed in the signing page template;
determining a plurality of component renderers according to the plurality of to-be-displayed component information;
rendering the components to be displayed by utilizing the component renderers respectively to generate a plurality of page fragments;
and combining the plurality of page fragments to complete the rendering of the signed page template.
Optionally, after the sending and presenting an invitation request for inviting an offeree to participate in the credit item to the offeror, the step of sending and presenting the invitation request includes:
detecting the execution action of the contracting party on the signing page;
and if the execution action is a contract confirmation action, generating a credit contract corresponding to the project event based on the contract sending order and the contract result of the contracting party.
The application also provides a monitoring processing device under the credit contract system, which comprises:
the event monitoring module is configured to monitor an interface calling request submitted by a sponsor and a credit project in the process of participating in the credit project based on a pre-established long connection, wherein calling parameters in the interface calling request comprise a number of a delivery order corresponding to the delivery order generated by the sponsor after signing on the basis of a credit contract template of the project event;
the information processing module is configured to inquire the issue order information corresponding to the issue order number in a database and acquire a signing page template corresponding to the project event;
the page rendering module is configured to render a page based on the issue ticket information and the contract page template;
and the page sending module is configured to send and display the signed page obtained by rendering as an invitation request for inviting the offeree to participate in the credit project to the offeree so as to respond to the interface calling request.
Optionally, the event listening module is further configured to:
monitoring that the contracting party submits the interface calling request based on the credit identification code presented by the scanning contracting party based on the pre-established long connection; and calling parameters in the interface calling request comprise an encrypted character string acquired by scanning the credit identification code and an issue order number corresponding to an issue order generated by the issuing party after signing on the basis of a credit contract template of the target service.
Optionally, the monitoring processing apparatus under the credit contract system further includes:
a request receiving module configured to receive a long connection establishment request sent by the offeror;
a first long connection establishing module configured to establish a first long connection between the event monitoring processing module and the offerer in response to the long connection establishing request;
and the business monitoring processing module is configured to start the event monitoring processing module to monitor and process events under a credit contract system.
Optionally, the monitoring processing apparatus under the credit contract system further includes:
a detection module configured to detect whether the first long connection established with the offeror is broken;
if the execution result of the detection module is yes, operating a second long connection establishing module;
the second long connection establishment module configured to re-establish a second long connection with the offeror;
and if the execution result of the detection module is negative, operating the event monitoring module.
Optionally, the traffic monitoring processing module is further configured to:
polling whether an interface calling request submitted by the contracting party for a project event in a credit project process exists at a preset frequency, wherein the preset frequency is not more than a frequency threshold value.
Optionally, the page rendering module includes:
the component information acquisition sub-module is configured to acquire a plurality of pieces of to-be-displayed component information in the signing page template;
the component renderer determination submodule is configured to determine a plurality of component renderers according to the information of the plurality of components to be shown;
the rendering submodule is configured to render the components to be displayed by utilizing the component renderers respectively to generate a plurality of page fragments;
a combining sub-module configured to combine the plurality of page fragments to complete rendering of the contracted page template.
Optionally, the monitoring processing apparatus under the credit contract system further includes:
the detection module is configured to detect an execution action of the contracting party on the signing page;
a credit contract generating module configured to generate a credit contract corresponding to the project event based on the issue ticket and a contract result of the offeror in a case where the execution action is a contract confirmation action.
The present application further provides an electronic device, including:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
monitoring an interface calling request submitted by a contracting party aiming at a project event in the process of participating in a credit project based on a pre-established long connection, wherein calling parameters in the interface calling request comprise a contracting order number corresponding to a contracting order generated by the contracting party after signing on a credit contract template of the project event;
inquiring the offer list information corresponding to the offer list number in a database, and acquiring a signing page template corresponding to the project event;
performing page rendering based on the issue order information and the contract page template;
and sending and displaying the signed page obtained by rendering as an invitation request for inviting the offeree to participate in the credit project to the offeree so as to respond to the interface calling request.
The present application also provides a computer readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the snoop handling method under the credit contract architecture.
Compared with the prior art, the method has the following advantages:
the monitoring processing method under the credit contract system provided by the application comprises the following steps: monitoring an interface calling request submitted by a contracting party aiming at a project event in the process of participating in a credit project based on a pre-established long connection, wherein calling parameters in the interface calling request comprise a contracting order number corresponding to a contracting order generated by the contracting party after signing on a credit contract template of the project event; inquiring the offer list information corresponding to the offer list number in a database, and acquiring a signing page template corresponding to the project event; performing page rendering based on the issue order information and the contract page template; and sending and displaying the signed page obtained by rendering as an invitation request for inviting the offeree to participate in the credit project to the offeree so as to respond to the interface calling request.
According to the monitoring processing method under the credit contract system, the event is monitored through the pre-established long connection, the real-time performance of information transmission can be guaranteed, the event processing efficiency is improved, and meanwhile, the resource loss caused in the information transmission process can be reduced. In addition, the contract-making information is used as partial content of the contract-making page to render the contract-making page template corresponding to the project event, so that the obtained contract-making page is sent to the user, the restriction of the performance behavior of the corresponding contract-making party can be realized through the contract-making information contained in the contract-making page, and the risk that the contract-making user does not perform according to the specification after the contract-making user performs the contract is reduced.
Drawings
Fig. 1 is a flowchart of a monitoring processing method under a credit contract system according to an embodiment of the present application;
fig. 2 is a schematic diagram of an interface for a user to show a credit identification code in a monitoring processing method under a credit contract system according to an embodiment of the present application;
fig. 3 is a schematic diagram of a contracted page in a monitoring processing method under a credit contract system according to an embodiment of the present application;
fig. 4 is a flowchart of a monitoring processing method applied to a credit contract system of an actual scenario according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a snoop processing apparatus under a credit contract system according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present invention relate are explained.
And (3) credit contract: the method is characterized in that two or more parties agree on the use of a certain service based on credit, namely, the two or more parties achieve 'authority', 'responsibility' and 'interest', and each party achieving the agreement reserves an agreed agreement datum; for example, a consensus of book borrowing and returning based on credit is achieved between the library and the users, a consensus of a plurality of users on participation in a public welfare project under the credit constraint is achieved, or a consensus of money borrowing and returning or article borrowing and returning is achieved between the users on the premise that credit is used as a mortgage;
wherein, the 'right' defines the right enjoyed by one party, and can also be understood as the action that the other party needs to perform, such as returning borrowed books, participating in the offered public service items, returning borrowed money or borrowed articles, etc. according to the appointed mode;
"liability" defines the liability of the breach that the breaching party needs to undertake, such as recording the breach incident in the breach party's credit, reducing the breach party's credit score, or making fines to the breach party, etc.;
the "profit" defines the benefit or reward that the performing party can obtain, for example, the user who successfully returns the borrowed book will raise his/her credit score through this credit book borrowing behavior, the user who successfully participates in the public good item by agreement can obtain a credit-based reward, the user who successfully returns the borrowed money or the borrowed article can obtain the amount of the defaulting party's payment, etc.
Long connection: it means that a plurality of data packets can be continuously transmitted on a connection, and if no data packet is transmitted during the connection holding period, a link detection packet needs to be transmitted by two sides.
The application provides a monitoring processing method under a credit contract system. The present application further provides a monitoring processing apparatus under a credit contract system, an electronic device, and a computer-readable storage medium, which are respectively described in detail below with reference to the drawings of the embodiments provided in the present application.
The embodiment of the monitoring processing method under the credit contract system provided by the application is as follows:
referring to fig. 1, a flowchart of a snoop processing method under a credit contract system according to the present embodiment is shown, which includes steps 102 to 108.
Step 102, monitoring an interface call request submitted by a contract sending party aiming at a project event in the process of participating in a credit project based on a pre-established long connection.
And calling parameters in the interface calling request comprise a number of an issue sheet corresponding to an issue sheet generated by the issuing party after signing up based on the credit contract template of the project event.
In the method for processing issue under the credit contract system provided in the embodiment of the present application, the credit items include a credit loan item or a credit commonweal item, which is different from a traditional service mode, in the embodiment, a credit contract is merged into the credit loan item and the credit commonweal item, a credit system between a user to be offered and an issuing party is constructed based on the credit contract, and corresponding business processing is completed based on the constructed credit system.
The credit book borrowing project is that a credit contract is established between the book borrowing and returning mechanism and a user when the credit information of the user meets book borrowing conditions set by the book borrowing and returning mechanism on the basis of the credit information of the user, so that the user can borrow books without deposit and borrowing cards, and the book borrowing and returning mechanism updates the credit information of the user according to whether the user performs on time. In the credit book borrowing project, the offeror is a book borrowing and returning mechanism, the offeror is a user, specifically, the user is a book borrowing user, and the book borrowing and returning mechanism can comprise a library, a bookstore or other mechanisms for book borrowing and returning by the offeror.
The credit public welfare project is that a credit contract is established between a public welfare activity initiator and a user on the basis of the credit information of the user when the credit information of the user meets public welfare activity participation conditions set by the public welfare activity initiator, the user can participate in public welfare activity, and the public welfare activity initiator updates the credit information of the user according to whether the user performs on time. In the credit public service project, the contracting party is a public service activity initiator, and the contracting party is a user participating in the public service activity.
The credit contract is a technical solution that the user uses the credit to guarantee, the credit behavior of the user is collected through a computer system to form a set of credit value standard, and the credit standard is used as a guarantee fund or a collateral instead of currency or securities or real objects, so that the user establishes a contract with another user. The credit value is used as guarantee, and the method can replace the method of using common general equivalent methods such as currency, securities and the like as a guarantee fund and a collateral in some original fields.
The sponsor is the initiator of the activity and initiates an offer request to join the activity to other users to be offered. If the user to be contracted receives the invitation request and agrees to join the activity, the user to be contracted is the contracting party, before the contracting party initiates the invitation request, the contracting party firstly signs a contract template generated aiming at the activity to generate a contracting order, and sends the contracting order to the user to be contracted to join the activity while initiating the invitation request to other users. And establishing connection between the user to be contracted and the contracting party through the credit contract.
Specifically, the credit account information of the contracting party is stored in the credit platform, and the credit account information includes detailed credit information of the contracting party, after the contracting party establishes a credit contract with the contracting party, the credit information of the contracting party is updated according to the specific performance condition of the contracting party, namely, under the condition that the contracting party performs on time, the credit platform awards credit to the contracting party according to contract award terms in the credit contract, credit points are added for the contracting party, and under the condition that the contracting party does not perform on time, the credit platform awards credit to the contracting party according to contract penalty terms in the credit contract, namely, partial credit points of the contracting party are deducted.
A long connection means that multiple packets can be sent continuously over one connection, and during the connection hold period, if no packet is sent, a link check packet needs to be sent in both directions. In the case of using a long connection, after a web page is opened, the tcp connection between the client and the server for transmitting the http data is not closed, and if the client accesses the web page of the server again, the established connection is used.
Specifically, the long connection is established as follows:
receiving a long connection establishment request sent by the sender;
establishing a first long connection between an event monitoring processing module and the sponsor so as to respond to the long connection establishment request;
and starting the event monitoring processing module to monitor and process the events under the credit contract system.
The event monitoring processing module polls whether an interface call request submitted by the offerer in the process of participating in the credit project aiming at the project event is available at a preset frequency, and the preset frequency is not greater than a frequency threshold.
Taking the credit item as a credit book borrowing item as an example, if an offeror in the credit book borrowing item is a library, if an offeror is a user, in the process of establishing long connection between the offeror and a credit platform, the offeror initiates a long connection establishment request to the credit platform, the credit platform receives the long connection establishment request, and establishes long connection between an event monitoring processing module and the offeror so as to respond to the long connection establishment request. After the contracting party and the event monitoring processing module complete one time of reading and writing, the connection between the contracting party and the event monitoring processing module is not closed actively, the subsequent reading and writing operation can continue to use the connection, and after the long connection is established, the credit platform starts the event monitoring processing module, and the preset frequency is assumed to be 60 s/time, namely the event monitoring processing module monitors whether the library sends an event processing request through the long connection or not at the frequency of 60 s/time.
Specifically, the sponsor submits the interface call request in the following manner:
submitting the interface calling request based on a credit identification code presented by a scanning offeror; and calling parameters in the interface calling request comprise an encrypted character string acquired by scanning the credit identification code and an issue order number corresponding to an issue order generated by the issuing party after signing on the basis of a credit contract template of the target service.
Still taking the credit item as a credit book borrowing item as an example, assuming that an offeror in the credit book borrowing item is a library and an offeror is a user, the user can borrow books through a self-service book borrowing machine of the library, namely, a user initiates a book borrowing request to the self-service book borrowing machine by clicking a book borrowing button of a touch interactive interface of the self-service book borrowing machine, the self-service book borrowing machine detects book information in a specified book placement area after receiving the book borrowing request, and generates a book borrowing order according to the detected book information, after the book borrowing order is generated, the self-service book borrowing machine can prompt the user to show the credit identification code, specifically, the schematic diagram of the interface for showing the credit identification code by the user is shown in figure 2, prompting the user to place the credit identification code in an appointed identification code scanning area of the self-service book borrowing machine for code scanning, and submitting the interface calling request to a credit platform after the code scanning is successful; the calling parameters in the interface calling request comprise an encrypted character string obtained by scanning the credit identification code and an issue order number corresponding to an issue order generated after a library signs a contract based on a credit contract template of a book borrowing service.
After the long connection is established, the connection is not permanently maintained, and the connection has a holding time, and the specific holding time can be set according to actual needs. Therefore, before receiving the event processing request sent by the offeror, it is further necessary to determine whether the first long connection established with the offeror is disconnected, which may specifically be implemented by the following steps:
detecting whether the first long connection established with the offeror is disconnected;
if so, reestablishing a second long connection with the sender;
and if not, executing the step of monitoring the interface call request submitted by the contract sending party aiming at the project event in the process of participating in the credit project based on the pre-established long connection.
Specifically, after detecting that the first long connection is disconnected, the second long connection needs to be re-established, and the establishment method is the same as the establishment method of the first long connection in the foregoing embodiment, and is not described herein again.
And 104, inquiring the issue list information corresponding to the issue list number in a database, and acquiring a signing page template corresponding to the project event.
The contracted page is that after the contracting party initiates a credit item participation request to the contracting party, the contracting party scans the credit identification code presented by the contracting party and displays and supplies the page contracted by the contracting party to the contracting party. In an actual application process, the contract signing page can be displayed on a mobile device terminal interface of an offer party or a terminal interface of an offer party. The contract signing page comprises an offer list generated by the contract template signed by the offer party in advance, the offer list can comprise credit reward and punishment rules corresponding to specific performance behaviors, and the offer list can be checked by the offer party on the contract signing page to select whether the offer should be made or not.
Specifically, still taking the credit item as a credit book borrowing item as an example, assuming that an appointment issuing party in the credit book borrowing item is a library and an appointment responding party is a user, before the user sends a book borrowing request to the library, the library sends an appointment issuing application to a credit platform in advance, the service related to the appointment issuing application is a book borrowing service, a contract template which is returned by the credit platform and related to the book borrowing service is signed to generate an appointment issuing sheet, the appointment issuing sheet and an appointment number corresponding to the appointment issuing sheet are stored, and meanwhile, the library sends the appointment issuing sheet and the appointment issuing sheet number information to the credit platform for storing again.
After receiving an interface calling request sent by the library, an event monitoring processing module of the credit platform acquires an appointment making number carried in the interface calling request, inquires appointment making information corresponding to the appointment making number in a database according to the appointment making number, and after acquiring the appointment making number, the library can further determine that a service related to the appointment making number is a book borrowing service according to the content in the appointment making number and then acquires a signing page template corresponding to the book borrowing service.
In addition, if the library scans the credit identification code presented by the user, the encrypted character string corresponding to the credit identification code in the scanning result can be acquired, specifically, the encrypted character string can be a uniform resource locator, and the uniform resource locator is used as an interface calling parameter and is sent to the credit platform for processing through long connection.
And after receiving an interface calling request sent by the library, an event monitoring processing module of the credit platform acquires an encrypted character string carried in the interface calling request, and analyzes the encrypted character string in the calling parameter to acquire the credit account page information of the user.
And 106, rendering the page based on the issue order information and the contract page template.
In an embodiment provided by the present application, the page rendering based on the issue ticket information and the contracted page template may specifically be implemented by the following steps:
acquiring a plurality of pieces of information of components to be displayed in the signing page template;
determining a plurality of component renderers according to the information of the plurality of components to be shown;
rendering the components to be displayed by utilizing the component renderers respectively to generate a plurality of page fragments;
and combining the plurality of page fragments to complete the rendering of the signed page template.
Still taking the credit item as a credit book borrowing item as an example, it is assumed that the content contained in the issue ticket information contains "book returning within 30 days, credit points are accumulated", and the contracted page template contains information of a plurality of components to be shown, specifically, the components to be shown may include a table, a tree, a linked drop-down box, and the like. The component renderers required for rendering different components are different, and therefore the component renderers corresponding to the different components need to be determined according to different component information. After the component renderer is determined, rendering component information by using the component renderer to generate page fragments, after all component information in the subscription page is rendered and corresponding page fragments are generated, combining the page fragments to obtain a rendered subscription page, and specifically, the subscription page obtained by rendering is as shown in fig. 3.
And step 108, sending and displaying the signed page obtained by rendering as an invitation request for inviting the offeree to participate in the credit project to the offeree so as to respond to the interface calling request.
Since the long connection is not permanently maintained after it is established, it has a hold time, and the specific hold time can be set according to actual needs. Therefore, after the contracted page obtained by rendering is used as an invitation request for inviting the offeror to participate in the credit project and is sent to the offeror and displayed, the link holding duration of the first long connection or the second long connection needs to be detected, and if the connection holding duration of the first long connection or the second long connection is detected to reach a preset duration threshold, the first long connection or the second long connection is disconnected.
In an embodiment provided by the application, if the library scans the credit identification code presented by the user, the encrypted character string corresponding to the credit identification code in the scanning result can be acquired, specifically, the encrypted character string can be a uniform resource locator, and the uniform resource locator conforms to the issue order number and is sent to the credit platform as an interface calling parameter through long connection for processing.
And after receiving an interface calling request sent by the library, an event monitoring processing module of the credit platform acquires an encrypted character string carried in the interface calling request, and analyzes the encrypted character string in the calling parameter to acquire the credit account page information of the user.
Correspondingly, the contracted page obtained by rendering is used as an invitation request for inviting the offeror to participate in the credit item, and the contracted page obtained by rendering is sent to the offeror and is shown as an invitation request for inviting the offeror to participate in the credit item, and the invitation request is sent to the offeror and is shown on a credit account page of the offeror.
In another embodiment provided by the present application, after the step of sending and presenting the invitation request to the offeror as an invitation for the offeror to participate in the credit item is performed on the subscription page obtained by rendering, the following operations may also be performed:
detecting the execution action of the contracting party on the signing page;
and if the execution action is a contract confirmation action, generating a credit contract corresponding to the project event based on the contract sending order and the contract result of the contracting party.
Specifically, still taking the credit item as a credit book borrowing item as an example, the rendered contract page is as shown in fig. 3, and if the user views the issue list and approves the content in the issue list, and clicks a virtual key "i want to join" of the contract page, the execution action may be determined as an approval contract action, and a credit book borrowing contract is generated according to a signature result of the issue list by the user and stored.
In addition, if the user views the issue list, confirms the content in the issue list, and clicks a virtual key of a signing page, namely 'i want to join', the execution action can be determined as a signing confirmation action, and a credit score acquisition instruction of the user is generated based on the execution action.
The order form of the library can also comprise book borrowing conditions of the user, under the condition that the user confirms to join, credit points of the user are obtained and whether the credit points meet the book borrowing conditions set by the library or not is judged, and if the credit points of the user are larger than or equal to the score threshold set by the library, the user can successfully borrow the books; otherwise, the book borrowing fails.
In addition, if the user checks the appointment list, confirms the content in the appointment list, and clicks a virtual key 'i want to join' of a signing page, the execution action can be determined as a signing confirmation action, and whether the user opens a personal credit system can be continuously judged; because the credit book borrowing project associates the credit contract with the credit information of the user, the precondition that the user can successfully borrow the book is to open a personal credit system, if the user does not open the book, the book borrowing is failed, and the system can send prompt information for opening the personal credit system to the user to be contracted; if the book is opened, the book can be successfully borrowed.
In addition to the foregoing situation, if the user views the issue ticket, confirms the content in the issue ticket, and clicks a virtual key of a contract page to "i want to join", the execution action may be determined as a contract confirmation action, a geographic position information acquisition instruction is generated based on the execution action, the geographic position information of the book and the current position information of the user are acquired according to the instruction, the distance between the user and the library is calculated, and if the distance between the user and the library is less than or equal to a preset distance threshold, the book borrowing may be successful; otherwise, the book borrowing fails.
According to the monitoring processing method under the credit contract system, the event is monitored through the pre-established long connection, the real-time performance of information transmission can be guaranteed, the event processing efficiency is improved, and meanwhile, the resource loss caused in the information transmission process can be reduced. In addition, the contract-making information is used as partial content of the contract-making page to render the contract-making page template corresponding to the project event, so that the obtained contract-making page is sent to the user, the restriction of the performance behavior of the corresponding contract-making party can be realized through the contract-making information contained in the contract-making page, and the risk that the contract-making user does not perform according to the specification after the contract-making user performs the contract is reduced.
Fig. 4 shows a monitoring processing method under a credit contract system according to an embodiment of the present specification, which is described by taking the credit item as a credit loan item and the offeror in the credit loan item as a library as an example, and includes steps 402 to 414.
Step 402, receiving a long connection establishment request sent by a library.
Step 404, a long connection between the event monitoring processing module and the library is established.
And 406, polling the interface call request submitted based on the credit identification code presented by the scanning user in the process of participating in the credit book borrowing project of the library at a preset frequency.
Specifically, the interface calling parameters in the interface calling request include an encrypted character string obtained by scanning the credit identification code and an offer order number corresponding to an offer order generated by the offeror after signing on the basis of a credit contract template of the borrowing service.
Step 408, inquiring the issue order information corresponding to the issue order number in a database, and acquiring the signing page template corresponding to the book borrowing service.
And step 410, performing page rendering based on the issue ticket information and the contract page template.
Step 412, sending and displaying the signed page obtained by rendering to the user as an invitation request for inviting the user to participate in the credit borrowing project, so as to respond to the interface calling request.
And 414, detecting that the user confirms participation, and generating a credit book borrowing contract corresponding to the book borrowing service based on the issue sheet and the signing result of the user.
In the embodiment of the application, based on the long connection communication link, the library can receive the business data pushed by the credit platform at any time, so that the availability of the long connection service is improved. And the long connection can save more TCP establishment and closing operations, and the service data transmission is carried out by establishing the long connection under the condition that the library frequently initiates a service processing request to the credit platform, thereby being beneficial to reducing resource waste and improving the data transmission efficiency.
The embodiment of the monitoring processing device under the credit contract system provided by the application is as follows:
in the above embodiment, a monitoring processing method under a credit contract system is provided, and correspondingly, the present application also provides a monitoring processing apparatus under a credit contract system, which is described below with reference to the accompanying drawings.
Referring to fig. 5, a schematic diagram of an embodiment of a snoop handling apparatus under a credit contract system provided in the present application is shown.
Since the apparatus embodiments are substantially similar to the method embodiments, the description is relatively simple, and the relevant portions may be referred to the corresponding descriptions of the method embodiments provided above. The device embodiments described below are merely illustrative.
The application provides a monitoring processing device under a credit contract system, comprising:
the event monitoring module 502 is configured to monitor an interface call request submitted by a contracting party for a project event in a process of participating in a credit project based on a pre-established long connection, wherein call parameters in the interface call request comprise a number of a contract issuing order corresponding to a contract issuing order generated by the contracting party after signing on a credit contract template of the project event;
an information processing module 504 configured to query the offer list information corresponding to the offer list number in a database, and obtain a signing page template corresponding to the project event;
a page rendering module 506 configured to perform page rendering based on the issue ticket information and the contracted page template;
and the page sending module 508 is configured to send and display the rendered signed page as an invitation request for inviting the offeree to participate in the credit item to the offeree so as to respond to the interface calling request.
Optionally, the event listening module is further configured to:
monitoring that the contracting party submits the interface calling request based on the credit identification code presented by the scanning contracting party based on the pre-established long connection; and calling parameters in the interface calling request comprise an encrypted character string acquired by scanning the credit identification code and an issue order number corresponding to an issue order generated by the issuing party after signing on the basis of a credit contract template of the target service.
Optionally, the monitoring processing apparatus under the credit contract system further includes:
a request receiving module configured to receive a long connection establishment request sent by the offeror;
a first long connection establishing module configured to establish a first long connection between the event monitoring processing module and the offerer in response to the long connection establishing request;
and the business monitoring processing module is configured to start the event monitoring processing module to monitor and process events under a credit contract system.
Optionally, the monitoring processing apparatus under the credit contract system further includes:
a detection module configured to detect whether the first long connection established with the offeror is broken;
if the execution result of the detection module is yes, a second long connection establishing module is operated;
the second long connection establishment module configured to re-establish a second long connection with the offeror;
and if the execution result of the detection module is negative, operating the event monitoring module.
Optionally, the monitoring processing apparatus under the credit contract system further includes:
a long connection disconnection module configured to disconnect the first long connection or the second long connection when a connection holding time of the first long connection or the second long connection reaches a preset time threshold.
Optionally, the traffic monitoring processing module is further configured to:
polling whether an interface calling request submitted by the contracting party for a project event in a credit project process exists at a preset frequency, wherein the preset frequency is not more than a frequency threshold value.
Optionally, the monitoring processing apparatus under the credit contract system further includes:
the analysis module is configured to analyze the encrypted character string in the calling parameter to obtain credit account page information of the offeror;
correspondingly, the page sending module is further configured to:
sending the signed page obtained by rendering as an invitation request for inviting an offeree to participate in the credit item to the offeree and showing the invitation request on a credit account page of the offeree.
Optionally, the page rendering module includes:
the component information acquisition sub-module is configured to acquire a plurality of pieces of to-be-displayed component information in the signing page template;
the component renderer determination submodule is configured to determine a plurality of component renderers according to the information of the plurality of components to be shown;
the rendering submodule is configured to render the components to be displayed by utilizing the component renderers respectively to generate a plurality of page fragments;
a combining sub-module configured to combine the plurality of page fragments to complete rendering of the contracted page template.
Optionally, the monitoring processing apparatus under the credit contract system further includes:
the detection module is configured to detect an execution action of the contracting party on the signing page;
a credit contract generating module configured to generate a credit contract corresponding to the project event based on the issue ticket and a contract result of the offeror in a case where the execution action is a contract confirmation action.
The embodiment of the electronic equipment provided by the application is as follows:
fig. 6 shows a block diagram of an electronic device 600 according to an embodiment of the present description. The components of the electronic device 600 include, but are not limited to, a memory 610 and a processor 620. The processor 620 is coupled to the memory 610 via a bus 630 and a database 650 is used to store data.
The electronic device 600 also includes an access device 640 that enables the electronic device 600 to communicate via one or more networks 660. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 640 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-mentioned components of the electronic device 600 and other components not shown in fig. 6 may also be connected to each other, for example, through a bus. It should be understood that the block diagram of the electronic device shown in fig. 6 is for exemplary purposes only and is not intended to limit the scope of the present disclosure. Those skilled in the art may add or replace other components as desired.
The electronic device 600 may be any type of stationary or mobile electronic device, including a mobile computer or mobile electronic device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable electronic device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary electronic device such as a desktop computer or PC. The electronic device 600 may also be a mobile or stationary server.
Wherein processor 620 is configured to execute the following computer-executable instructions:
monitoring an interface calling request submitted by a contracting party aiming at a project event in the process of participating in a credit project based on a pre-established long connection, wherein calling parameters in the interface calling request comprise a contracting order number corresponding to a contracting order generated by the contracting party after signing on a credit contract template of the project event;
inquiring the offer list information corresponding to the offer list number in a database, and acquiring a signing page template corresponding to the project event;
performing page rendering based on the issue order information and the contract page template;
and sending and displaying the signed page obtained by rendering as an invitation request for inviting the offeree to participate in the credit project to the offeree so as to respond to the interface calling request.
Optionally, the offeror submits the interface call request by:
submitting the interface calling request based on a credit identification code presented by a scanning offeror; and calling parameters in the interface calling request comprise an encrypted character string acquired by scanning the credit identification code and an issue order number corresponding to an issue order generated by the issuing party after signing on the basis of a credit contract template of the target service.
Optionally, the long connection is established by:
receiving a long connection establishment request sent by the sender;
establishing a first long connection between an event monitoring processing module and the offeror so as to respond to the long connection establishment request;
and starting the event monitoring processing module to monitor and process the events under the credit contract system.
Optionally, before the step of monitoring an interface call request submitted by a sponsor for participating in a credit project based on a pre-established long connection and submitting a project event is executed, the method further includes:
detecting whether the first long connection established with the offeror is disconnected;
if so, reestablishing a second long connection with the sender;
and if not, executing the step of monitoring the interface call request submitted by the contract sending party aiming at the project event in the process of participating in the credit project based on the pre-established long connection.
Optionally, after the sending and presenting an invitation request for inviting an offeree to participate in the credit item to the offeror, the step of sending and presenting the invitation request includes:
and when the connection holding time of the first long connection or the second long connection reaches a preset time threshold, disconnecting the first long connection or the second long connection.
Optionally, the starting the event monitoring processing module to perform monitoring processing on the event under the credit contract system includes:
polling whether an interface calling request submitted by the contracting party for a project event in a credit project process exists at a preset frequency, wherein the preset frequency is not more than a frequency threshold value.
Optionally, after the step of monitoring an interface call request submitted by a sponsor and a credit project in the process of participating in the credit project based on the pre-established long connection is executed, before the step of sending and presenting an invitation request for inviting the sponsor to participate in the credit project to the sponsor by using the rendered subscription page as the invitation page, the method further includes:
analyzing the encrypted character string in the calling parameter to obtain credit account page information of the offeror;
correspondingly, the sending and presenting the contracted page obtained by rendering as an invitation request for inviting an offeree to participate in the credit item to the offeree comprises:
sending the signed page obtained by rendering as an invitation request for inviting an offeree to participate in the credit item to the offeree and showing the invitation request on a credit account page of the offeree.
Optionally, the rendering a page based on the issue ticket information and the contract page template includes:
acquiring information of a plurality of components to be displayed in the signing page template;
determining a plurality of component renderers according to the information of the plurality of components to be shown;
rendering the components to be displayed by utilizing the component renderers respectively to generate a plurality of page fragments;
and combining the plurality of page fragments to complete the rendering of the signed page template.
Optionally, after the sending and presenting an invitation request for inviting an offeree to participate in the credit item to the offeror, the step of sending and presenting the invitation request includes:
detecting the execution action of the contracting party on the signing page;
and if the execution action is a contract confirmation action, generating a credit contract corresponding to the project event based on the contract sending order and the contract result of the contracting party.
The above is a schematic scheme of an electronic device of the present embodiment. It should be noted that the technical solution of the electronic device and the technical solution of the monitoring processing method under the credit contract system belong to the same concept, and details that are not described in detail in the technical solution of the electronic device can be referred to the description of the technical solution of the monitoring processing method under the credit contract system.
The embodiment of a computer-readable storage medium provided by the application is as follows:
an embodiment of the present application further provides a computer readable storage medium storing computer instructions that, when executed by a processor, are configured to:
monitoring an interface calling request submitted by a contracting party aiming at a project event in the process of participating in a credit project based on a pre-established long connection, wherein calling parameters in the interface calling request comprise a contracting order number corresponding to a contracting order generated by the contracting party after signing on a credit contract template of the project event;
inquiring the offer list information corresponding to the offer list number in a database, and acquiring a signing page template corresponding to the project event;
performing page rendering based on the issue order information and the contract page template;
and sending and displaying the signed page obtained by rendering as an invitation request for inviting the offeree to participate in the credit project to the offeree so as to respond to the interface calling request.
Optionally, the offeror submits the interface call request by:
submitting the interface calling request based on a credit identification code presented by a scanning offeror; and calling parameters in the interface calling request comprise an encrypted character string acquired by scanning the credit identification code and an issue order number corresponding to an issue order generated by the issuing party after signing on the basis of a credit contract template of the target service.
Optionally, the long connection is established by:
receiving a long connection establishment request sent by the sender;
establishing a first long connection between an event monitoring processing module and the sponsor so as to respond to the long connection establishment request;
and starting the event monitoring processing module to monitor and process the events under the credit contract system.
Optionally, before the step of monitoring an interface call request submitted by a sponsor for participating in a credit project based on a pre-established long connection and submitting a project event is executed, the method further includes:
detecting whether the first long connection established with the offeror is disconnected;
if so, reestablishing a second long connection with the sender;
and if not, executing the step of monitoring the interface call request submitted by the contract sending party aiming at the project event in the process of participating in the credit project based on the pre-established long connection.
Optionally, after the sending and presenting an invitation request for inviting an offeree to participate in the credit item to the offeror, the step of sending and presenting the invitation request includes:
and when the connection holding time of the first long connection or the second long connection reaches a preset time threshold, disconnecting the first long connection or the second long connection.
Optionally, the starting the event monitoring processing module to perform monitoring processing on the event under the credit contract system includes:
polling whether an interface calling request submitted by the contracting party for a project event in a credit project process exists at a preset frequency, wherein the preset frequency is not more than a frequency threshold value.
Optionally, after the step of monitoring an interface call request submitted by a sponsor and a credit project in the process of participating in the credit project based on the pre-established long connection is executed, before the step of sending and presenting an invitation request for inviting the sponsor to participate in the credit project to the sponsor by using the rendered subscription page as the invitation page, the method further includes:
analyzing the encrypted character string in the calling parameter to obtain credit account page information of the offeror;
correspondingly, the sending and presenting the contracted page obtained by rendering as an invitation request for inviting an offeree to participate in the credit item to the offeree comprises:
sending the signed page obtained by rendering as an invitation request for inviting an offeree to participate in the credit item to the offeree and showing the invitation request on a credit account page of the offeree.
Optionally, the rendering the page based on the offer ticket information and the contract signing page template includes:
acquiring information of a plurality of components to be displayed in the signing page template;
determining a plurality of component renderers according to the information of the plurality of components to be shown;
rendering the components to be displayed by utilizing the component renderers respectively to generate a plurality of page fragments;
and combining the plurality of page fragments to complete the rendering of the signed page template.
Optionally, after the sending and presenting an invitation request for inviting an offeree to participate in the credit item to the offeror, the step of sending and presenting the invitation request includes:
detecting the execution action of the contracting party on the signing page;
and if the execution action is a contract confirmation action, generating a credit contract corresponding to the project event based on the contract sending order and the contract result of the contracting party.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the monitoring processing method under the credit contract system belong to the same concept, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the monitoring processing method under the credit contract system.
The foregoing description of specific embodiments of the present application has been presented. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (13)

1. A monitoring processing method under a credit contract system is characterized by comprising the following steps:
receiving a long connection establishment request sent by a contracting party;
establishing a first long connection between an event monitoring processing module and the sponsor so as to respond to the long connection establishment request;
starting the event monitoring processing module to monitor and process events under a credit contract system;
monitoring an interface calling request submitted by a contracting party for a project event in the process of participating in a credit project based on a pre-established long connection, wherein calling parameters in the interface calling request comprise a contracting order number corresponding to a contracting order generated by the contracting party after signing on a credit contract template of the project event, and the pre-established long connection comprises the first long connection;
inquiring the offer list information corresponding to the offer list number in a database, and acquiring a signing page template corresponding to the project event;
and performing page rendering based on the issue order information and the signing page template to obtain a signing page.
2. The snoop processing method under a credit contract architecture of claim 1, wherein the offeror submits the interface call request by:
submitting the interface calling request based on a credit identification code presented by a scanning offeror; and calling parameters in the interface calling request comprise an encrypted character string acquired by scanning the credit identification code and an issue order number corresponding to an issue order generated by the issuing party after signing on the basis of a credit contract template of the target service.
3. The method for monitoring and processing under the credit contract system according to claim 1, wherein before the step of monitoring and sending the interface call request submitted for the project event in the course of participating in the credit project based on the pre-established long connection is executed, the method further comprises:
detecting whether the first long connection established with the offeror is disconnected;
if so, reestablishing a second long connection with the sender;
and if not, executing the step of monitoring the interface call request submitted by the contract sending party aiming at the project event in the process of participating in the credit project based on the pre-established long connection.
4. The monitoring processing method under the credit contract system according to claim 1 or 3, wherein the page rendering is performed based on the contract offer information and the contracted page template, and after the contracted page obtaining step is executed, the method further comprises:
and when the connection holding time of the first long connection or the second long connection reaches a preset time threshold, disconnecting the first long connection or the second long connection.
5. The method for monitoring and processing under the credit contract system according to claim 1, wherein the starting of the event monitoring and processing module to perform monitoring and processing of the event under the credit contract system comprises:
polling whether an interface call request submitted by the contracting party for a project event in a credit project process exists at a preset frequency, wherein the preset frequency is not more than a frequency threshold value.
6. The monitoring processing method under the credit contract system according to claim 1, wherein the rendering a page based on the contract offer information and the contracted page template includes:
acquiring information of a plurality of components to be displayed in the signing page template;
determining a plurality of component renderers according to the plurality of to-be-displayed component information;
rendering the components to be displayed by utilizing the component renderers respectively to generate a plurality of page fragments;
and combining the plurality of page fragments to complete the rendering of the signed page template.
7. A snoop handling apparatus under a credit contract architecture, comprising:
the request receiving module is configured to receive a long connection establishment request sent by a contracting party;
a first long connection establishing module configured to establish a first long connection between the event monitoring processing module and the offeror in response to the long connection establishing request;
the business monitoring processing module is configured to start the event monitoring processing module to monitor and process events under a credit contract system;
the event monitoring module is configured to monitor an interface calling request submitted by a sponsor and a credit project in the process of participating in the credit project based on a pre-established long connection, wherein calling parameters in the interface calling request comprise a number of a delivery order corresponding to a delivery order generated by the sponsor after signing on the basis of a credit contract template of the project event, and the pre-established long connection comprises the first long connection;
the information processing module is configured to inquire the issue order information corresponding to the issue order number in a database and acquire a signing page template corresponding to the project event;
and the page rendering module is configured to render the page based on the issue ticket information and the signing page template to obtain the signing page.
8. The apparatus for snoop processing under a credit contract architecture according to claim 7, wherein the event snoop module is further configured to:
monitoring that the contracting party submits the interface calling request based on the credit identification code presented by the scanning contracting party based on the pre-established long connection; and calling parameters in the interface calling request comprise an encrypted character string acquired by scanning the credit identification code and an issue order number corresponding to an issue order generated by the issuing party after signing on the basis of a credit contract template of the target service.
9. The apparatus for snoop handling under a credit contract architecture according to claim 7, further comprising:
a detection module configured to detect whether the first long connection established with the offeror is broken;
if the execution result of the detection module is yes, a second long connection establishing module is operated;
the second long connection establishment module configured to re-establish a second long connection with the offeror;
and if the execution result of the detection module is negative, operating the event monitoring module.
10. The apparatus for snoop handling under credit contract architecture according to claim 7, wherein said traffic snoop handling module is further configured to:
polling whether an interface calling request submitted by the contracting party for a project event in a credit project process exists at a preset frequency, wherein the preset frequency is not more than a frequency threshold value.
11. The apparatus for snoop processing under a credit contract architecture according to claim 7, wherein said page rendering module comprises:
the component information acquisition sub-module is configured to acquire a plurality of pieces of to-be-displayed component information in the contract signing page template;
the component renderer determination submodule is configured to determine a plurality of component renderers according to the information of the plurality of components to be shown;
the rendering submodule is configured to render the components to be displayed by utilizing the component renderers respectively to generate a plurality of page fragments;
a combining sub-module configured to combine the plurality of page fragments to complete rendering of the contracted page template.
12. An electronic device, comprising:
a memory, a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
receiving a long connection establishment request sent by a contracting party;
establishing a first long connection between an event monitoring processing module and the sponsor so as to respond to the long connection establishment request;
starting the event monitoring processing module to monitor and process events under a credit contract system;
monitoring an interface calling request submitted by a contracting party for a project event in the process of participating in a credit project based on a pre-established long connection, wherein calling parameters in the interface calling request comprise a contracting order number corresponding to a contracting order generated by the contracting party after signing on a credit contract template of the project event, and the pre-established long connection comprises the first long connection;
inquiring the offer list information corresponding to the offer list number in a database, and acquiring a signing page template corresponding to the project event;
and performing page rendering based on the issue order information and the signing page template to obtain a signing page.
13. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement the steps of a snoop handling method under a credit contract architecture according to any of claims 1 to 6.
CN202210082470.1A 2019-07-31 2019-07-31 Monitoring processing method and device under credit contract system Active CN114500629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210082470.1A CN114500629B (en) 2019-07-31 2019-07-31 Monitoring processing method and device under credit contract system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910704395.6A CN110519334B (en) 2019-07-31 2019-07-31 Monitoring processing method and device under credit contract system
CN202210082470.1A CN114500629B (en) 2019-07-31 2019-07-31 Monitoring processing method and device under credit contract system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910704395.6A Division CN110519334B (en) 2019-07-31 2019-07-31 Monitoring processing method and device under credit contract system

Publications (2)

Publication Number Publication Date
CN114500629A true CN114500629A (en) 2022-05-13
CN114500629B CN114500629B (en) 2023-07-18

Family

ID=68624123

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910704395.6A Active CN110519334B (en) 2019-07-31 2019-07-31 Monitoring processing method and device under credit contract system
CN202210082470.1A Active CN114500629B (en) 2019-07-31 2019-07-31 Monitoring processing method and device under credit contract system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910704395.6A Active CN110519334B (en) 2019-07-31 2019-07-31 Monitoring processing method and device under credit contract system

Country Status (1)

Country Link
CN (2) CN110519334B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001175737A (en) * 1999-12-20 2001-06-29 Orient Corp System and method for processing credit information and recording medium stored with software for credit information processing
US20030041031A1 (en) * 1999-10-19 2003-02-27 Advanced Business Computers Of America, Inc. System and method for real-time inquiry, delivery, and reporting of credit information
US20080275813A1 (en) * 2007-05-03 2008-11-06 Utbk, Inc. Systems and Methods to Provide Connections for Real Time Communications and Commerce
US7941355B1 (en) * 2005-05-27 2011-05-10 Jpmorgan Chase Bank, N.A. Universal payment protection
US8210356B1 (en) * 2009-08-14 2012-07-03 Krull Mark A Organizational methods and apparatus
US20130054454A1 (en) * 2011-08-18 2013-02-28 Thomas Purves Wallet Service Enrollment Platform Apparatuses, Methods and Systems
CN103283209A (en) * 2011-04-18 2013-09-04 北京新媒传信科技有限公司 Application service platform system and implementation method thereof
CN105978784A (en) * 2016-04-14 2016-09-28 北京乐租科技网络有限公司 Contract signing reminding system and method
US9652802B1 (en) * 2010-03-24 2017-05-16 Consumerinfo.Com, Inc. Indirect monitoring and reporting of a user's credit data
CN109166027A (en) * 2018-07-02 2019-01-08 阿里巴巴集团控股有限公司 A kind of loaning bill contract processing method and processing device
US20190179963A1 (en) * 2017-12-13 2019-06-13 Facebook, Inc. Rendering search results in a graphical user interface based on the detection of a user-initiated event

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8228299B1 (en) * 2005-01-27 2012-07-24 Singleton Technology, Llc Transaction automation and archival system using electronic contract and disclosure units
CN102005012A (en) * 2010-12-13 2011-04-06 苏州德融嘉信信用管理技术有限公司 Contract content control method based on credit contract management system
CN105426452B (en) * 2015-11-11 2018-12-14 中国建设银行股份有限公司 A kind of business processing and data control method and device
WO2019021314A1 (en) * 2017-07-26 2019-01-31 Capitaworld Platform Private Limited A system and method for default probability prediction and credit scoring framework
CN109214883A (en) * 2018-07-27 2019-01-15 阿里巴巴集团控股有限公司 Service lease method, apparatus, system and electronic equipment based on block chain

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030041031A1 (en) * 1999-10-19 2003-02-27 Advanced Business Computers Of America, Inc. System and method for real-time inquiry, delivery, and reporting of credit information
JP2001175737A (en) * 1999-12-20 2001-06-29 Orient Corp System and method for processing credit information and recording medium stored with software for credit information processing
US7941355B1 (en) * 2005-05-27 2011-05-10 Jpmorgan Chase Bank, N.A. Universal payment protection
US20080275813A1 (en) * 2007-05-03 2008-11-06 Utbk, Inc. Systems and Methods to Provide Connections for Real Time Communications and Commerce
US8210356B1 (en) * 2009-08-14 2012-07-03 Krull Mark A Organizational methods and apparatus
US9652802B1 (en) * 2010-03-24 2017-05-16 Consumerinfo.Com, Inc. Indirect monitoring and reporting of a user's credit data
CN103283209A (en) * 2011-04-18 2013-09-04 北京新媒传信科技有限公司 Application service platform system and implementation method thereof
US20130054454A1 (en) * 2011-08-18 2013-02-28 Thomas Purves Wallet Service Enrollment Platform Apparatuses, Methods and Systems
CN105978784A (en) * 2016-04-14 2016-09-28 北京乐租科技网络有限公司 Contract signing reminding system and method
US20190179963A1 (en) * 2017-12-13 2019-06-13 Facebook, Inc. Rendering search results in a graphical user interface based on the detection of a user-initiated event
CN109166027A (en) * 2018-07-02 2019-01-08 阿里巴巴集团控股有限公司 A kind of loaning bill contract processing method and processing device

Also Published As

Publication number Publication date
CN110519334B (en) 2021-12-10
CN110519334A (en) 2019-11-29
CN114500629B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
RU2604418C2 (en) Session establishment method, server, device, system and apparatus
AU2022206740A1 (en) Authentication of service requests initiated from a social networking site
CN108038687B (en) Transaction method based on voice recognition, server and computer-readable storage medium
CN110175842A (en) Transfer account method, system, calculating equipment and storage medium based on block chain
CN110708358B (en) Session message processing method, electronic device and computer-readable storage medium
KR101702036B1 (en) Method of providing dutch pay and server performing the same
CN111865771B (en) Message sending method and device and electronic equipment
WO2021057139A1 (en) Credit-based interaction processing method and device
CN110458559A (en) Transaction data processing method, device, server and storage medium
CN110599312A (en) Credit-based interactive credit evaluation method and device
CN109586930A (en) Participant user adding method, first terminal, second terminal and processing server
CN111917631A (en) Internet financial service method, device, electronic equipment, readable storage medium and system
CN110120908A (en) Group message processing method, device and server
WO2024174714A1 (en) Authenticity verification method and device
CN112101915B (en) Financial service management and control data processing method and device
CN109559246A (en) Enter group checking method, audit server, client and enters group auditing system
CN110519334B (en) Monitoring processing method and device under credit contract system
CN110706135A (en) Contract processing method and device
CN110555593B (en) Method and device for processing issue of credit contract system
CN112138401B (en) Game prop transaction method, system and transaction equipment
US20130191265A1 (en) Cloud-based system for performing online trading
CN114997989A (en) Loan request processing method and device based on block chain
CN112700340A (en) Method and system for vehicle insurance claim settlement communication
CN113420133A (en) Session processing method, device, equipment and storage medium
CN110706112A (en) Identity processing method and device based on credit contract system

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