CN115829702A - User message transmission method for cloud credit service - Google Patents

User message transmission method for cloud credit service Download PDF

Info

Publication number
CN115829702A
CN115829702A CN202211195240.2A CN202211195240A CN115829702A CN 115829702 A CN115829702 A CN 115829702A CN 202211195240 A CN202211195240 A CN 202211195240A CN 115829702 A CN115829702 A CN 115829702A
Authority
CN
China
Prior art keywords
request
message
decision module
cloud credit
module server
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
CN202211195240.2A
Other languages
Chinese (zh)
Other versions
CN115829702B (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.)
Smart Co Ltd Beijing Technology Co ltd
Original Assignee
Smart Co Ltd Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Smart Co Ltd Beijing Technology Co ltd filed Critical Smart Co Ltd Beijing Technology Co ltd
Priority to CN202211195240.2A priority Critical patent/CN115829702B/en
Publication of CN115829702A publication Critical patent/CN115829702A/en
Application granted granted Critical
Publication of CN115829702B publication Critical patent/CN115829702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a user message transmission method of cloud credit service, which comprises the following steps: s1: the user side generates scoring request message data; s2: coding the scoring request message data based on a variable-length character coding method to obtain message coded data; s3: transmitting the message encoding data to a cloud credit decision module server based on a network transmission protocol; s4: receiving a corresponding feedback result message, and executing corresponding operation based on the feedback result message; the method is used for greatly improving the transmission safety of the request message data while ensuring the message transmission efficiency by carrying out character coding on the request message data and transmitting the request message data based on a network transmission protocol; and then receiving a feedback result message corresponding to the message coding data, and performing corresponding operation based on the feedback result message to realize bidirectional transmission between the user side and the cloud credit decision module server, thereby overcoming the problems of early warning hysteresis and information difference existing in current user message transmission.

Description

User message transmission method for cloud credit service
Technical Field
The invention relates to the technical field of message transmission, in particular to a user message transmission method of cloud credit service.
Background
At present, with the increasingly deep development of the financial industry in China, the general finance is advancing to a new era, wherein the consumption credit business is developed with sudden and violent progress, the prevention of bad loan becomes the primary target of asset risk management, and the establishment of a scientific and reasonable asset risk early warning system has important significance for effectively monitoring asset risk and improving the capability of the asset risk prevention. The user message transmission is an important ring of the asset risk early warning system in the cloud credit service.
However, early warning hysteresis and information difference caused by the fact that the wind control caliber and the financial caliber cannot be converted in real time exist in current user message transmission, and the fact that the user side makes an information transmission request to the cloud credit decision module server is an important link for solving the information hysteresis and the difference, so that the timeliness and the scientificity of asset early warning are improved when the information transmission request efficiency from the user side to the cloud credit decision module server is improved.
Therefore, the invention provides a user message transmission method of cloud credit service.
Disclosure of Invention
The invention provides a user message transmission method of cloud credit service, which is used for receiving a corresponding feedback result message after character coding is carried out on request message data and transmission is carried out based on a network transmission protocol, and carrying out corresponding operation based on the feedback result message, so that the transmission safety of the request message data is greatly improved while the message transmission efficiency is ensured.
The invention provides a user message transmission method of cloud credit service, which comprises the following steps:
s1: the user side generates scoring request message data;
s2: carrying out character encoding on the scoring request message data based on a preset character encoding mode to obtain message encoded data;
s3: transmitting the message encoding data to a cloud credit decision module server based on a network transmission protocol;
s4: and receiving a corresponding feedback result message, and executing corresponding operation based on the feedback result message.
Preferably, in the method for transmitting the user message for the cloud credit service, the step S1: the user side generates scoring request message data, which comprises the following steps:
s101: establishing a network request connection pool, and establishing an encryption transmission channel between the network request connection pool and a cloud credit decision module server;
s102: acquiring an identification number and a transmission password of a user side from a resource file of a cloud credit decision module server based on an encrypted transmission channel;
s103: and assembling the initial scoring request message, the identification number and the transmission password to obtain scoring request message data.
Preferably, the method for transmitting the user message of the cloud credit service builds an encrypted transmission channel between the network request connection pool and the cloud credit decision module server, and includes:
sending an access request to a cloud credit decision module server;
generating a trust certificate based on the access request, and sending the trust certificate to a network request connection pool;
the network request connection pool generates a corresponding public key based on the trust certificate and sends a trust result to the cloud credit decision module server;
the cloud credit decision module server generates a key based on the trust result;
and building an encryption transmission channel between the network request connection pool and the cloud credit decision module server based on the public key and the secret key.
Preferably, in the user message transmission method of the cloud credit service, the preset character encoding mode is a UTF-8 encoding mode.
Preferably, in the method for transmitting the user message for the cloud credit service, the step S3: transmitting the message coding data to a cloud credit decision module server based on a network transmission protocol, comprising:
s301: encrypting and packaging the message encoding data based on the public key to generate a corresponding request information data packet;
s302: and calling the request information data packet based on the network request connection pool, and transmitting the request information data packet to the cloud credit decision module server based on a network transmission protocol.
Preferably, in the method for transmitting the user message for the cloud credit service, the step S4: receiving a corresponding feedback result message, and executing corresponding operations based on the feedback result message, wherein the operations comprise:
the cloud credit decision module server decrypts the request information data packet based on the secret key to obtain a request information decryption message;
generating a corresponding feedback result message based on the request information decryption message and the current state of the cloud credit decision module server;
transmitting the feedback result message to a network request connection pool based on a network transmission protocol;
and the network request connection pool receives the corresponding feedback result message and executes corresponding operation based on the feedback result message.
Preferably, the method for transmitting the user packet of the cloud credit service, which generates the corresponding feedback result packet based on the request information decryption packet and the current state of the cloud credit decision module server, includes:
when the cloud credit decision module server analyzes the decrypted message of the acquired request information, judging whether an interface of the cloud credit decision module server is busy;
if yes, taking the busy interface as a feedback result message;
otherwise, the request which can receive the corresponding user side is used as a feedback result message, and the user data in the request information decryption message is called out.
Preferably, the method for transmitting the user message of the cloud credit service performs corresponding operations based on the feedback result message, and includes:
when the feedback result message is that the interface is busy, determining the next request time based on the current request time;
initiating a request to the cloud credit decision module server again at the next request time, and judging to finish the request until the newly obtained feedback result message is a request capable of receiving the corresponding user side;
and when the feedback result message is the request which can receive the corresponding user side, judging that the request is completed.
Preferably, the method for transmitting the user message of the cloud credit service, which determines whether an interface of the cloud credit decision module server is busy, includes:
acquiring sub-request tasks being processed by each interface contained in a cloud credit decision module server;
performing back tracking based on the sub-request tasks to obtain complete request tasks corresponding to the sub-request tasks;
determining all interface calling steps in the complete request task, and dividing task execution threads of the complete request task based on the interface calling steps to obtain divided threads;
determining a called interface corresponding to each interface calling step, marking the called interface in the division thread, and obtaining an interface marking thread;
determining a called thread segment corresponding to each interface in the interface marking threads, and aligning the interface marking threads of all complete request tasks to obtain aligned threads;
performing time sequence summarization on all called thread segments of the corresponding interface in all interface marking threads based on the alignment thread to obtain a complete called thread of the corresponding interface, determining a change value of occupied transmission bandwidth of the corresponding interface based on the complete called thread, and determining an available bandwidth change value of the corresponding interface based on an initial transmission bandwidth and a real-time occupied transmission bandwidth change value of the corresponding interface;
determining an interface calling thread corresponding to the request information decryption message, and determining a corresponding required interface, a required time period and a required transmission bandwidth value of each required interface based on the interface calling thread;
judging whether the available bandwidth change values of all required interfaces in the corresponding required time periods are constantly larger than the corresponding required transmission bandwidth values or not based on the available bandwidth change values of all the interfaces, and if so, judging that the interfaces of the cloud credit decision module server are not busy;
otherwise, judging that the interface of the cloud credit decision module server is busy.
Preferably, the method for transmitting a user message of a cloud credit service, which determines a complete request task being processed by each interface in a cloud credit decision module server, includes:
the method comprises the steps that a sub-request task which is being processed by each interface in a cloud credit decision module server is used as an initial determination task, the starting time of the initial determination task is determined, and the termination time range of the adjacent previous sub-request task of the initial determination task in the corresponding complete request task is determined based on an interval time threshold and the starting time;
screening out sub-request tasks with the termination execution time within the termination time range from historical execution threads of all interfaces as speculative sub-request tasks, and summarizing all the speculative sub-request tasks to obtain a previous sub-request task set;
determining a first execution target of an initial determination task and a second execution target of each conjecture sub-request task in a previous sub-request task set, and determining a correlation coefficient between the first execution target and the second execution target based on a correlation coefficient list of adjacent execution targets;
taking the guess sub-request task corresponding to the maximum correlation coefficient as a previous sub-request task corresponding to an initial determination task, taking the previous sub-request task as a new initial determination task, determining a new previous sub-request task, and sequencing all the currently determined previous sub-request tasks and the first initial determination task according to an execution sequence until the determined latest previous sub-request task is a standard initial task of a complete request task to obtain a part of request tasks;
building an execution purpose venation based on the execution purpose of each sub-request task included in the partial request tasks, and determining the predicted execution purpose of the complete request task based on the execution purpose venation;
the method comprises the steps of calling out partial execution codes corresponding to partial request tasks in complete execution codes corresponding to predicted execution targets, matching the partial execution codes with the executed codes, determining corresponding matching degree, and taking the predicted execution targets corresponding to the partial execution codes corresponding to the maximum matching degree as final execution targets of the complete request tasks;
and restoring the complete request task based on the final execution purpose.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a user message transmission method of a cloud credit service according to an embodiment of the present invention;
fig. 2 is a flowchart of a user message transmission method of a cloud credit service according to another embodiment of the present invention;
fig. 3 is a flowchart of a user message transmission method of a cloud credit service according to another embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Example 1:
the invention provides a user message transmission method of cloud credit service, which comprises the following steps with reference to fig. 1:
s1: the user side generates scoring request message data;
s2: carrying out character encoding on the scoring request message data based on a preset character encoding mode to obtain message encoded data;
s3: transmitting the message encoding data to a cloud credit decision module server based on a network transmission protocol;
s4: and receiving a corresponding feedback result message, and executing corresponding operation based on the feedback result message.
In this embodiment, the user terminal is a user terminal that sends a request message to the cloud credit decision module server.
In this embodiment, the scoring request message data is message data generated by the user side and used for requesting scoring of the credit of the corresponding user.
In this embodiment, the preset character encoding mode is a preset mode for performing character encoding on the scoring request packet data, and examples include a UTF-8 encoding mode, a UTF-16 encoding mode, and the like.
In this embodiment, the message encoding data is encoded message data obtained by character encoding the scoring request message data based on a preset character encoding mode.
In this embodiment, the network transport protocol is a transport protocol for transporting the packet encoded data to the cloud credit decision module server, and examples of the transport protocol include a TCP/IP protocol, an HTTP protocol, and a Socket protocol.
In this embodiment, the cloud credit decision module server is a server used by the cloud to score and decide the credit of the user.
In this embodiment, the feedback result message is the message data representing the feedback of the corresponding message encoding data sent after the cloud credit decision module server receives the message encoding data.
In this embodiment, if the corresponding operation is, for example, to stop making a request to the cloud credit decision module server, and continue making a request to the cloud credit decision module server.
The beneficial effects of the above technology are: by carrying out character coding on the request message data and transmitting the request message data based on a network transmission protocol, the transmission safety of the request message data is greatly improved while the message transmission efficiency is ensured; and receiving a feedback result message corresponding to the message coding data, and performing corresponding operation based on the feedback result message to realize bidirectional transmission between the user side and the cloud credit decision module server, so that the problems of early warning hysteresis and information difference caused by the fact that the wind control caliber and the financial caliber cannot be converted in real time in the current user message transmission are solved, and the timeliness and the scientificity of asset early warning are improved.
Example 2:
on the basis of embodiment 1, in the user message transmission method of the cloud credit service, S1: the user side generates scoring request message data, referring to fig. 2, including:
s101: establishing a network request connection pool, and establishing an encryption transmission channel between the network request connection pool and a cloud credit decision module server;
s102: acquiring an identification number and a transmission password of a user side from a resource file of a cloud credit decision module server based on an encrypted transmission channel;
s103: and assembling the initial scoring request message, the identification number and the transmission password to obtain scoring request message data.
In this embodiment, the network request connection pool is to store the created network request connection in the pool, and when a network request comes, the created network request connection is directly used to access the cloud credit decision module server, so that the processes of creating a connection and destroying a connection are omitted.
In this embodiment, the encrypted transmission channel is an encrypted network transmission channel between the network request connection pool and the cloud credit decision module.
In this embodiment, the resource file is a file for storing resources related to the cloud credit decision module server.
In this embodiment, the identification number is a number that is stored in the cloud credit decision module server by the user side and used for distinguishing the corresponding user side from other user sides in the message process.
In this embodiment, the transmission password is a password (password) required in the process of transmitting the message from the user side to the cloud credit decision module server.
In this embodiment, the scoring request message data is the message data obtained by assembling the initial scoring request message, the identification number, and the transmission password.
In this embodiment, the initial message data is message data that is prepared in advance and used for making a credit scoring request to the cloud credit decision module server.
The beneficial effects of the above technology are: based on the built network request connection pool, the processes of connection establishment and connection destruction are omitted in the process of multiple transmissions between the user side and the cloud credit decision module server, the message transmission efficiency is improved, the accuracy of the acquired identification number and transmission password of the user side is guaranteed based on the encrypted transmission channel, and the accuracy of the generated request message data is further guaranteed.
Example 3:
on the basis of embodiment 2, the method for transmitting the user message of the cloud credit service, which builds an encrypted transmission channel between the network request connection pool and the cloud credit decision module server, includes:
sending an access request to a cloud credit decision module server;
generating a trust certificate based on the access request, and sending the trust certificate to a network request connection pool;
the network request connection pool generates a corresponding public key based on the trust certificate and sends a trust result to the cloud credit decision module server;
the cloud credit decision module server generates a key based on the trust result;
and building an encryption transmission channel between the network request connection pool and the cloud credit decision module server based on the public key and the secret key.
In this embodiment, the access request is a request for requesting access to the cloud credit decision module server.
In this embodiment, the trust certificate is a trust certificate for enabling the cloud credit decision module server to trust the application client.
In this embodiment, the public key is an algorithm that is generated by the network request connection pool based on the trust certificate and is used for encrypting data information to be sent.
In this embodiment, the trust result is a result of the network requesting the connection pool to generate a corresponding public key based on the trust certificate.
In this embodiment, the secret key is generated based on the trust result of the network request connection pool and is used to decrypt the data information encrypted based on the public key.
In this embodiment, the encrypted transmission channel is a transmission mode for encrypting and decrypting the transmitted data information based on the public key and the secret key.
The beneficial effects of the above technology are: and an encrypted transmission channel between the network request connection pool and the cloud credit decision module server is established based on the public key and the secret key generated by the trust certificate transmission, so that the transmission security between the network request connection pool and the cloud credit decision module server is further improved.
Example 4:
on the basis of the embodiment 1, the user message transmission method of the cloud credit service is characterized in that the preset character encoding mode is a UTF-8 encoding mode.
In this embodiment, the UTF-8 encoding is a variable length character encoding for Unicode. The method can be used for representing any character in the Unicode standard, and the first byte in the code is still compatible with ASCII, so that the original software for processing the ASCII character can be continuously used without or after only a small part of modification; therefore, it is becoming a preferred encoding for e-mail, web pages, and other text storage or delivery applications.
The beneficial effects of the above technology are: and the effective coding of the scoring message data is realized by adopting a UTF-8 coding mode, and the coding of the scoring message data containing any character is realized.
Example 5:
on the basis of embodiment 3, in the user message transmission method of the cloud credit service, S3: transmitting the message encoding data to the cloud credit decision module server based on the network transmission protocol, referring to fig. 3, including:
s301: encrypting and packaging the message encoding data based on the public key to generate a corresponding request information data packet;
s302: and calling the request information data packet based on the network request connection pool, and transmitting the request information data packet to the cloud credit decision module server based on a network transmission protocol.
In this embodiment, the request information data is an encrypted data packet generated by encrypting and packaging the message encoded data based on the public key.
The beneficial effects of the above technology are: the public key in the encryption transmission channel is used for encrypting the message coding data and then transmitting the message coding data based on the network transmission protocol, so that the dual protection of the message transmission process is realized.
Example 6:
on the basis of embodiment 1, in the user message transmission method of the cloud credit service, S4: receiving a corresponding feedback result message, and executing corresponding operations based on the feedback result message, wherein the operations comprise:
the cloud credit decision module server decrypts the request information data packet based on the secret key to obtain a request information decryption message;
generating a corresponding feedback result message based on the request information decryption message and the current state of the cloud credit decision module server;
transmitting the feedback result message to a network request connection pool based on a network transmission protocol;
and the network request connection pool receives the corresponding feedback result message and executes corresponding operation based on the feedback result message.
In this embodiment, the request information decryption packet is the packet data obtained by decrypting the request information packet based on the key.
In this embodiment, the current status is whether the interface of the cloud credit decision module server is busy.
In this embodiment, the feedback result packet is packet data generated based on the request information decryption packet and the current state of the cloud credit decision module server and used for feeding back the received request information decryption packet.
The beneficial effects of the above technology are: the request message data packet is decrypted based on the secret key, the last step of the request message data encryption transmission process is completed, the feedback result message is transmitted to the network request connection pool based on the network transmission protocol, the bidirectional encryption transmission between the user side and the cloud credit decision module server is achieved, corresponding operation is executed based on the feedback result message, and response to the feedback result message is achieved.
Example 7:
on the basis of embodiment 6, the method for transmitting a user packet of a cloud credit service, which generates a corresponding feedback result packet based on a request information decryption packet and a current state of a cloud credit decision module server, includes:
when the cloud credit decision module server analyzes the decryption message of the acquired request information, judging whether an interface of the cloud credit decision module server is busy;
if yes, taking the busy interface as a feedback result message;
otherwise, the request which can receive the corresponding user side is used as a feedback result message, and the user data in the request information decryption message is called out.
In this embodiment, the user data is information data related to the user and included in the request information decryption message, and is also information data that needs to be used in the process of scoring the credit of the user.
The beneficial effects of the above technology are: whether the interface of the cloud credit decision module server is busy is judged, and a corresponding feedback result message is generated, so that the interface is successfully called in the credit scoring process of the corresponding user in the follow-up process, and the condition that the task is interrupted due to the fact that the interface is busy in the credit scoring process is avoided.
Example 8:
on the basis of embodiment 7, the method for transmitting the user message of the cloud credit service performs corresponding operations based on the feedback result message, and includes:
when the feedback result message is that the interface is busy, determining the next request time based on the current request time;
initiating a request to the cloud credit decision module server again at the next request time, and judging that the request is finished when the newly obtained feedback result message is a request capable of receiving the corresponding user side;
and when the feedback result message is the request which can receive the corresponding user side, judging that the request is completed.
In this embodiment, the next request time is the time for the next request to the cloud credit decision module server, which is obtained by adding the interval time threshold to the current request time.
In this embodiment, the current request time is the time when the request is initiated to the cloud credit decision module server.
The beneficial effects of the above technology are: based on the information about the interface state of the cloud credit decision module server in the feedback result message, the reading and the response of the request feedback result are realized, and the integrity of the scoring request task is further ensured.
Example 9:
on the basis of embodiment 7, the method for transmitting a user packet of a cloud credit service, which determines whether an interface of a cloud credit decision module server is busy, includes:
acquiring sub-request tasks being processed by each interface contained in a cloud credit decision module server;
performing back tracking based on the sub-request tasks to obtain complete request tasks corresponding to the sub-request tasks;
determining all interface calling steps in the complete request task, and dividing task execution threads of the complete request task based on the interface calling steps to obtain divided threads;
determining a called interface corresponding to each interface calling step, marking the called interface in the division thread, and obtaining an interface marking thread;
determining a called thread segment corresponding to each interface in the interface marking threads, and aligning the interface marking threads of all complete request tasks to obtain aligned threads;
performing time sequence summarization on all called thread segments of the corresponding interface in all interface marking threads based on the alignment thread to obtain a complete called thread of the corresponding interface, determining a change value of occupied transmission bandwidth of the corresponding interface based on the complete called thread, and determining an available bandwidth change value of the corresponding interface based on an initial transmission bandwidth and a real-time occupied transmission bandwidth change value of the corresponding interface;
determining an interface calling thread corresponding to the request information decryption message, and determining a corresponding required interface, a required time period and a required transmission bandwidth value of each required interface based on the interface calling thread;
judging whether the available bandwidth change values of all required interfaces in the corresponding required time period are constantly larger than the corresponding required transmission bandwidth values or not based on the available bandwidth change value of each interface, and if so, judging that the interface of the cloud credit decision module server is not busy;
otherwise, judging that the interface of the cloud credit decision module server is busy.
In this embodiment, the sub-request task is a part of the request task corresponding to a stage in the execution request task for the interface included in the cloud credit decision module server.
In this embodiment, the complete request task is the complete request task obtained after performing back tracking based on the sub-request tasks.
In this embodiment, the interface calling step is a step of calling all new interfaces in the complete request task.
In this embodiment, the task execution thread is an execution thread that characterizes the total process of the complete requested task.
In this embodiment, the dividing thread is a thread obtained by dividing a task execution thread of a complete request task based on the interface calling step.
In this embodiment, the called thread segment is a thread segment determined to depend on the corresponding interface in the interface marking thread.
In this embodiment, the alignment thread is an aligned thread obtained by aligning the interface mark threads of all the complete request tasks.
In this embodiment, the complete called thread is a thread that characterizes records of the corresponding interface that are called in all complete request tasks, obtained after all called thread segments of the corresponding interface in all interface marking threads are subjected to time sequence summarization based on the alignment thread.
In this embodiment, the time-series summarization is to splice according to a time series, where, based on the alignment thread, the time-series summarization of all the called thread segments of the corresponding interface in all the interface marking threads is to: and splicing all the called thread segments of the corresponding interfaces in all the interface marking threads according to the time sequence based on the alignment threads.
In this embodiment, the occupied transmission bandwidth variation value is the transmission bandwidth value of the corresponding interface that is determined based on the complete called thread and is occupied in real time.
In this embodiment, the initial transmission bandwidth is a preset transmission bandwidth value of the corresponding interface (i.e. a total bandwidth value that can be occupied by transmission of the corresponding interface).
In this embodiment, based on the initial transmission bandwidth and the real-time occupied transmission bandwidth variation value of the corresponding interface, the available bandwidth variation value of the corresponding interface is determined, that is:
M K =M C -M Z
in the formula, M K For the value of the change in the available bandwidth of the corresponding interface at the corresponding instant, M C For the initial transmission bandwidth of the corresponding interface, M Z The real-time occupied transmission bandwidth change value of the corresponding interface at the corresponding moment;
for example, M C Is 100,M Z Is 80, then M K Is 20.
In this embodiment, the available bandwidth variation value is an available bandwidth value representing the corresponding interface at different time.
In this embodiment, the interface calling thread is a thread that calls an interface process in a request execution process corresponding to the representation request information decryption packet.
In this embodiment, the required interface is an interface that needs to be called in a request execution process corresponding to the request information decryption packet determined based on the interface calling thread.
In this embodiment, the required time period is an invoked time period corresponding to the required interface determined based on the interface invocation thread.
In this embodiment, the required transmission bandwidth value is a bandwidth value required for transmission at a corresponding required interface in a request execution process corresponding to the request information decryption packet.
The beneficial effects of the above technology are: determining a calling interface of each calling step in a complete request task determined based on the back tracking of a sub-request task processed by each interface in a cloud credit decision module server, further determining a called thread of the interface, further determining an available bandwidth change value of the interface, then calling an interface process in a request execution process corresponding to a request information decryption message, determining a required transmission bandwidth value of the interface and a required transmission bandwidth value of a corresponding interface in the request process, comparing the required transmission bandwidth value with the available bandwidth change value, and determining whether the interface of the cloud credit decision module server is busy, so that the complete prediction and judgment of the interface calling process in the request execution process corresponding to the request information decryption message are realized, the condition of task interruption caused by busy interface in the request execution process is greatly reduced, and the integrity and the high efficiency of the request execution process are ensured.
Example 10:
on the basis of embodiment 9, the method for transmitting a user packet of a cloud credit service, which determines a complete request task being processed by each interface in a cloud credit decision module server, includes:
the method comprises the steps that a sub-request task which is being processed by each interface in a cloud credit decision module server is used as an initial determination task, the starting time of the initial determination task is determined, and the termination time range of the adjacent previous sub-request task of the initial determination task in the corresponding complete request task is determined based on an interval time threshold and the starting time;
screening out sub-request tasks with the termination execution time within the termination time range from historical execution threads of all interfaces as speculative sub-request tasks, and summarizing all the speculative sub-request tasks to obtain a previous sub-request task set;
determining a first execution purpose of an initial determination task and a second execution purpose of each conjecture sub-request task in a previous sub-request task set, and determining a correlation coefficient between the first execution purpose and the second execution purpose based on an adjacent execution purpose correlation coefficient list;
taking the guess sub-request task corresponding to the maximum correlation coefficient as a previous sub-request task corresponding to an initial determination task, taking the previous sub-request task as a new initial determination task, determining a new previous sub-request task, and sequencing all the currently determined previous sub-request tasks and the first initial determination task according to an execution sequence until the determined latest previous sub-request task is a standard initial task of a complete request task to obtain a part of request tasks;
building an execution purpose venation based on the execution purpose of each sub-request task included in the partial request tasks, and determining the predicted execution purpose of the complete request task based on the execution purpose venation;
the method comprises the steps of calling out partial execution codes corresponding to partial request tasks in complete execution codes corresponding to predicted execution targets, matching the partial execution codes with the executed codes, determining corresponding matching degree, and taking the predicted execution targets corresponding to the partial execution codes corresponding to the maximum matching degree as final execution targets of the complete request tasks;
and restoring the complete request task based on the final execution purpose.
In this embodiment, the initial determination task is a sub-request task currently being processed by the corresponding interface.
In this embodiment, the start time is the time when the start determination task starts to execute.
In this embodiment, the interval time threshold is a preset time interval between the interface call ending time in the execution process of the previous sub-request task and the interface call starting time in the execution process of the next sub-request task.
In this embodiment, the termination time range is a possible range of the interface call termination time in the execution process of the previous sub-request task of the start determination task, and the termination time range is [ t [ ] 1 ,t 2 ],t 1 Time difference between start time and interval time threshold, t 2 Is the start time.
In this embodiment, the history execution thread is a thread representing a history called record of the corresponding interface.
In this embodiment, the speculative sub-request task is a sub-request task screened from the historical execution thread and having a termination execution time within a termination time range.
In this embodiment, the previous sub-request task set is a set obtained by aggregating all the speculative sub-request tasks.
In this embodiment, the first execution purpose is an execution purpose of the start determination task, for example: calling the historical credit record of the user side.
In this embodiment, the second execution destination is the execution destination of the speculative sub-request task, for example: calling the historical credit record of the user side.
In this embodiment, the list of correlation coefficients of adjacent execution destinations is a list including correlation coefficients between adjacent execution destinations.
In this embodiment, the correlation coefficient is a coefficient that ensures a degree of correlation between the first execution destination and the second execution destination when the first execution destination and the second execution destination are adjacent execution destinations.
In this embodiment, the previous sub-request task is the speculative sub-request task corresponding to the maximum correlation coefficient.
In this embodiment, the standard start task is the first sub-request task common to all the complete request tasks.
In this embodiment, the partial request tasks are aggregated partial tasks obtained by sorting all currently determined previous sub-request tasks and a first initial determination task according to an execution sequence when the determined latest previous sub-request task is a standard initial task of a complete request task.
In this embodiment, the execution destination context is a context structure obtained by sorting the execution destinations of each sub-request task included in a part of the request tasks according to the sequence of the executed times of the sub-request tasks.
In this embodiment, the predicted execution destination is the possible final execution destination of the complete requested task predicted based on the execution destination context.
In this embodiment, the predicted execution destination of the complete requested task is determined based on the execution destination context, that is: and matching the execution target venation with the standard execution target venation corresponding to each final execution target, determining the corresponding venation matching degree, and taking the final execution target corresponding to the standard execution target venation corresponding to the maximum venation matching degree as a prediction execution target.
In this embodiment, the partial execution code is a partial code corresponding to the partial request task in the complete execution code corresponding to the predicted execution target.
In this embodiment, the executed code is a complete code corresponding to the partial request task, and is also an executed code in the complete request task.
In this embodiment, matching a part of the executed code with the executed code, and determining a corresponding matching degree includes:
carrying out character alignment processing on the partial execution code and the executed code to obtain an alignment code;
based on the aligned code, determining a total number of first code characters in the partially executed code that are inconsistent with the aligned code in the executed code, determining a total number of second code characters in the executed code that are inconsistent with the aligned code in the partially executed code, and determining a total number of third code characters in the partially executed code and a total number of fourth code characters in the executed code;
calculating the matching degree between the partially executed code and the executed code based on the total number of the first code characters, the total number of the second code characters, the total number of the third code characters and the total number of the fourth code characters:
Figure BDA0003867877190000181
where β is the degree of match between the partially executed code and the executed code, lg is a base-10 logarithmic function, and m 1 Is the total number of characters of the first code, m 2 Is the total number of characters of the second code, m 3 Is the total number of characters of the third code, m 4 Is the fourth code character total number;
e.g. m 1 Is 50,m 2 Is 150,m 3 Is 100,m 4 200, beta is 0.138.
In this embodiment, the final execution destination; namely the predicted execution purpose corresponding to the partial execution code corresponding to the maximum matching degree.
In this embodiment, the complete request task is restored based on the final execution purpose, that is:
the complete code in the process of the complete requested task being executed is determined based on the final execution objective.
The beneficial effects of the above technology are: based on the starting time and interval time threshold of the sub-request tasks being processed by each interface of the cloud credit decision module server and the correlation coefficient between adjacent execution targets, the previous sub-request task and the corresponding called interface of the corresponding interface are gradually determined, the restoration of the executed partial tasks in the request tasks being executed by the cloud credit decision module server is realized, the possible execution targets of the complete request task are predicted based on the execution target context corresponding to the restored partial request task, the final execution target of the complete request task is determined based on the matching of execution codes, and the accurate restoration of the complete request task is further realized.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A user message transmission method of a cloud credit service is characterized by comprising the following steps:
s1: the user side generates scoring request message data;
s2: carrying out character encoding on the scoring request message data based on a preset character encoding mode to obtain message encoded data;
s3: transmitting the message encoding data to a cloud credit decision module server based on a network transmission protocol;
s4: and receiving a corresponding feedback result message, and executing corresponding operation based on the feedback result message.
2. The method for transmitting the user message of the cloud credit service according to claim 1, wherein the step S1: the user side generates scoring request message data, which comprises the following steps:
s101: establishing a network request connection pool, and establishing an encryption transmission channel between the network request connection pool and a cloud credit decision module server;
s102: acquiring an identification number and a transmission password of a user side from a resource file of a cloud credit decision module server based on an encrypted transmission channel;
s103: and assembling the initial scoring request message, the identification number and the transmission password to obtain scoring request message data.
3. The method for transmitting the user message of the cloud credit service according to claim 2, wherein an encrypted transmission channel between the network request connection pool and the cloud credit decision module server is established, and the method comprises the following steps:
sending an access request to a cloud credit decision module server;
generating a trust certificate based on the access request, and sending the trust certificate to a network request connection pool;
the network request connection pool generates a corresponding public key based on the trust certificate and sends a trust result to the cloud credit decision module server;
the cloud credit decision module server generates a key based on the trust result;
and building an encryption transmission channel between the network request connection pool and the cloud credit decision module server based on the public key and the secret key.
4. The method as claimed in claim 1, wherein the predetermined character encoding mode is UTF-8 encoding mode.
5. The method for transmitting the user message of the cloud credit service according to claim 3, wherein S3: transmitting the message coding data to a cloud credit decision module server based on a network transmission protocol, comprising:
s301: encrypting and packaging the message coding data based on the public key to generate a corresponding request information data packet;
s302: and calling the request information data packet based on the network request connection pool, and transmitting the request information data packet to the cloud credit decision module server based on a network transmission protocol.
6. The method for transmitting the user message of the cloud credit service according to claim 1, wherein S4: receiving a corresponding feedback result message, and executing corresponding operations based on the feedback result message, wherein the operations comprise:
the cloud credit decision module server decrypts the request information data packet based on the secret key to obtain a request information decryption message;
generating a corresponding feedback result message based on the request information decryption message and the current state of the cloud credit decision module server;
transmitting the feedback result message to a network request connection pool based on a network transmission protocol;
and the network request connection pool receives the corresponding feedback result message and executes corresponding operation based on the feedback result message.
7. The method for transmitting the user message of the cloud credit service according to claim 6, wherein generating the corresponding feedback result message based on the request information decryption message and the current state of the cloud credit decision module server comprises:
when the cloud credit decision module server analyzes the decrypted message of the acquired request information, judging whether an interface of the cloud credit decision module server is busy;
if yes, taking the interface busy as a feedback result message;
otherwise, the request which can receive the corresponding user side is used as a feedback result message, and the user data in the request information decryption message is called out.
8. The method for transmitting the user message of the cloud credit service according to claim 7, wherein the corresponding operation is performed based on the feedback result message, and the method comprises:
when the feedback result message is that the interface is busy, determining the next request time based on the current request time;
initiating a request to the cloud credit decision module server again at the next request time, and judging to finish the request until the newly obtained feedback result message is a request capable of receiving the corresponding user side;
and when the feedback result message is the request which can receive the corresponding user side, judging that the request is completed.
9. The method of claim 7, wherein determining whether the interface of the cloud credit decision module server is busy comprises:
determining a complete request task being processed by each interface in a cloud credit decision module server, dividing and marking task execution threads corresponding to the complete request task, and obtaining interface marking threads;
determining an available bandwidth change value based on all the interface marking threads, and determining a required transmission bandwidth value of a required interface for requesting information to decrypt a message in a required time period;
and judging whether the cloud credit decision module server is busy or not based on the available bandwidth change value of each required interface in the required time period and the corresponding required transmission bandwidth value.
10. The method of claim 9, wherein determining the complete request task being processed by each interface in the cloud credit decision module server comprises:
determining the termination time range of the adjacent previous sub-request task based on the start time and the interval time threshold of the sub-request task being processed by each interface, and acquiring a part of request tasks based on the termination time range and the adjacent execution target association coefficient list;
and determining the predicted execution purpose of the complete request task based on the execution purpose context of the partial request task, and recovering the complete request task based on the predicted execution purpose.
CN202211195240.2A 2022-09-28 2022-09-28 User message transmission method for cloud credit service Active CN115829702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211195240.2A CN115829702B (en) 2022-09-28 2022-09-28 User message transmission method for cloud credit service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211195240.2A CN115829702B (en) 2022-09-28 2022-09-28 User message transmission method for cloud credit service

Publications (2)

Publication Number Publication Date
CN115829702A true CN115829702A (en) 2023-03-21
CN115829702B CN115829702B (en) 2023-07-25

Family

ID=85524176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211195240.2A Active CN115829702B (en) 2022-09-28 2022-09-28 User message transmission method for cloud credit service

Country Status (1)

Country Link
CN (1) CN115829702B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140226173A1 (en) * 2013-02-12 2014-08-14 Xerox Corporation Method and system for establishing secure communications between a multifunction device and a mobile communications device
CN111815439A (en) * 2020-07-23 2020-10-23 睿智合创(北京)科技有限公司 Credit scoring system based on cloud platform
CN112351040A (en) * 2020-11-10 2021-02-09 宏图智能物流股份有限公司 Network request validity verification method applied to logistics network
CN113067828A (en) * 2021-03-25 2021-07-02 中国建设银行股份有限公司 Message processing method and device, server, computer equipment and storage medium
CN113765927A (en) * 2021-09-09 2021-12-07 图易(常熟)信息技术有限公司 Method and system for encrypting network copyright of cloud uploaded content
CN114124891A (en) * 2021-10-25 2022-03-01 青岛海尔科技有限公司 Network request processing method and device, storage medium and electronic device
CN115086428A (en) * 2021-03-11 2022-09-20 中国电信股份有限公司 Network request sending method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140226173A1 (en) * 2013-02-12 2014-08-14 Xerox Corporation Method and system for establishing secure communications between a multifunction device and a mobile communications device
CN111815439A (en) * 2020-07-23 2020-10-23 睿智合创(北京)科技有限公司 Credit scoring system based on cloud platform
CN112351040A (en) * 2020-11-10 2021-02-09 宏图智能物流股份有限公司 Network request validity verification method applied to logistics network
CN115086428A (en) * 2021-03-11 2022-09-20 中国电信股份有限公司 Network request sending method and device and electronic equipment
CN113067828A (en) * 2021-03-25 2021-07-02 中国建设银行股份有限公司 Message processing method and device, server, computer equipment and storage medium
CN113765927A (en) * 2021-09-09 2021-12-07 图易(常熟)信息技术有限公司 Method and system for encrypting network copyright of cloud uploaded content
CN114124891A (en) * 2021-10-25 2022-03-01 青岛海尔科技有限公司 Network request processing method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN115829702B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
US11050690B2 (en) Method for providing recording and verification service for data received and transmitted by messenger service, and server using method
US20030115251A1 (en) Peer data protocol
US11115345B2 (en) Systems and methods for providing self-referencing utilization calculation and dynamic resource allocation based thereon for digital transmissions
CN110224808B (en) Bank data sharing method and device based on block chain, computer equipment and storage medium
CN112367164B (en) Service request processing method and device, computer equipment and storage medium
CN111597567B (en) Data processing method, data processing device, node equipment and storage medium
CN112989400A (en) Privacy transaction processing method and device, electronic equipment and medium
US20240179007A1 (en) Blockchain Index Tracking
CN111597537A (en) Block chain network-based certificate issuing method, related equipment and medium
CN113630418A (en) Network service identification method, device, equipment and medium
CN111327680B (en) Authentication data synchronization method, device, system, computer equipment and storage medium
CN115829702B (en) User message transmission method for cloud credit service
CN117633112A (en) System event processing method, device and storage medium
CN116132035B (en) High-performance password operation method and device based on multi-parameter dynamic adjustment
EP2725757A1 (en) TLS protocol extension
US20240015023A1 (en) Systems and methods for facilitating blockchain operation characteristic selection when conducting blockchain operations
CN111324914B (en) File transmission method, device, server, equipment and medium
CN114896569A (en) Code copyright registration system, method and platform based on block chain
CN112217801B (en) Message processing method and device, computer equipment and storage medium
CN114567678A (en) Resource calling method and device of cloud security service and electronic equipment
CN113961600A (en) Data query method and device, computer equipment and storage medium
CN112491777B (en) Cross-block chain identity authentication method, computer equipment and readable storage medium
CN112148803A (en) Method, device and equipment for calling tasks in block chain and readable storage medium
CN110795596B (en) Information feedback method and device for client
US20240015034A1 (en) Systems and methods for processing blockchain operations featuring a plurality of blockchain operation types

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