CN116418829A - System processing method, device, equipment and storage medium - Google Patents

System processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN116418829A
CN116418829A CN202111629515.4A CN202111629515A CN116418829A CN 116418829 A CN116418829 A CN 116418829A CN 202111629515 A CN202111629515 A CN 202111629515A CN 116418829 A CN116418829 A CN 116418829A
Authority
CN
China
Prior art keywords
target
provider system
abnormal
network
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111629515.4A
Other languages
Chinese (zh)
Inventor
聂明慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202111629515.4A priority Critical patent/CN116418829A/en
Publication of CN116418829A publication Critical patent/CN116418829A/en
Pending legal-status Critical Current

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/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0605Supply or demand aggregation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Strategic Management (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present disclosure relates to a processing method, apparatus, device, and storage medium of a system. The method is applied to a target platform, wherein the target platform is communicated with a plurality of provider system networks; the method comprises the following steps: determining the number of abnormal orders corresponding to a target provider system according to data information sent by the target provider system and/or a target network, wherein the target provider system is one of the provider systems, and the target network is a network between the target platform and the target provider system; determining a state corresponding to the target provider system according to the abnormal order number; and if the state corresponding to the target provider system is abnormal, closing a target provider interface corresponding to the target provider system. The method can automatically acquire the system with abnormal state, and improves the processing efficiency of the system abnormal problem.

Description

System processing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a processing method, an apparatus, a device, and a storage medium of a system.
Background
In the existing recharging system, the recharging platform can be communicated with a downstream agent system network, a recharging request of a user can be received through the agent system, the recharging platform can be communicated with an upstream provider system network, and the corresponding provider system is accessed based on the received recharging request, so that the provider system responds to the recharging request of the user.
However, in the existing recharging system, the state of the provider system is usually set and updated on the recharging platform by a manual method, so that the state abnormality of the provider system may not be handled in time, and the processing efficiency of the system abnormality problem is low.
Disclosure of Invention
The disclosure provides a processing method, a device, equipment and a storage medium of a system, which can automatically acquire a system with abnormal states and improve the processing efficiency of the system abnormal problems.
In a first aspect, the present disclosure provides a method of processing a system, applied to a target platform, the target platform in communication with a plurality of provider system networks;
the method comprises the following steps:
determining the number of abnormal orders corresponding to a target provider system according to data information sent by the target provider system and/or a target network, wherein the target provider system is one of the provider systems, and the target network is a network between the target platform and the target provider system;
Determining a state corresponding to the target provider system according to the abnormal order number;
and if the state corresponding to the target provider system is abnormal, closing a target provider interface corresponding to the target provider system.
Optionally, the determining, according to the data information sent by the target provider system and/or the target network, the number of abnormal orders corresponding to the target provider system includes:
determining the number of first abnormal orders corresponding to the target provider system according to the number of abnormal codes sent by the target provider system;
the determining the state of the target provider system according to the abnormal order number comprises the following steps:
and determining a system state corresponding to the target provider system according to the first abnormal order quantity and the first preset order quantity.
Optionally, the determining, according to the first abnormal order quantity and the first preset order quantity, a system state corresponding to the target provider system includes:
if the first abnormal order quantity is larger than the first preset order quantity, determining that the system state corresponding to the target provider system is abnormal;
and if the first abnormal order quantity is smaller than or equal to the first preset order quantity, determining that the system state corresponding to the target provider system is normal.
Optionally, the determining, according to the data information sent by the target provider system and/or the target network, the number of abnormal orders corresponding to the target provider system includes:
determining the number of second abnormal orders corresponding to the target provider system according to the number of network abnormal codes sent by the target network;
the determining the state of the target provider system according to the abnormal order number comprises the following steps:
and determining the network state corresponding to the target provider system according to the second abnormal order quantity and the second preset order quantity.
Optionally, the determining, according to the second abnormal order quantity and the second preset order quantity, the network state corresponding to the target provider system includes:
if the second abnormal order quantity is larger than the second preset order quantity, determining that the network state corresponding to the target provider system is abnormal;
and if the second abnormal order quantity is smaller than or equal to the second preset order quantity, determining that the network state corresponding to the target provider system is normal.
Optionally, the method further comprises:
updating the first abnormal order quantity according to the quantity of normal codes sent by the target provider system;
And if the updated first abnormal order quantity is smaller than a third preset order quantity, starting the target provider interface, wherein the third preset order quantity is smaller than or equal to the first preset order quantity.
Optionally, the method further comprises:
according to the network normal response signal sent by the target network, a second abnormal order is sent to the target provider system, wherein the network normal response signal is a response signal of the target network for a network query instruction;
updating the number of the second abnormal orders according to the number of the network normal codes sent by the target network;
if the updated number of the second abnormal orders is smaller than a fourth preset order, and the system state corresponding to the target provider system is that the system is normal, the target provider interface is started, and the fourth preset order is smaller than or equal to the second preset order.
Optionally, the method further comprises:
determining priority sequences corresponding to the plurality of provider systems according to the attribute information corresponding to the plurality of provider systems;
and calling a provider interface corresponding to the provider system with the highest priority in the priority sequence according to the request sent by the agent system.
Optionally, the determining, according to the attribute information corresponding to each of the plurality of provider systems, a priority sequence corresponding to the plurality of provider systems includes:
determining that the provider system corresponding to each opened provider interface is an effective provider system according to the plurality of provider systems;
and determining the priority sequence according to the price attribute corresponding to each of the plurality of effective provider systems.
In a second aspect, the present disclosure provides a processing apparatus of a system for application to a target platform in communication with a plurality of provider system networks;
the processing device comprises:
the system comprises a determining module, a target platform and a target network, wherein the determining module is used for determining the number of abnormal orders corresponding to the target provider system according to data information sent by the target provider system and/or the target network, the target provider system is one of the provider systems, and the target network is a network between the target platform and the target provider system; determining a state corresponding to the target provider system according to the abnormal order number;
and the execution module is used for closing the target provider interface corresponding to the target provider system if the corresponding state of the target provider system is abnormal.
In a third aspect, the present disclosure provides an electronic device comprising: a processor for executing a computer program stored in a memory, which when executed by the processor implements the steps of any of the methods provided in the first aspect.
In a fourth aspect, the present disclosure provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of any of the methods provided in the first aspect.
According to the technical scheme, the abnormal order number corresponding to the target provider system is determined according to data information sent by the target provider system and/or a target network, wherein the target provider system is one of a plurality of provider systems, and the target network is a network between a target platform and the target provider system; determining the corresponding state of the target provider system according to the abnormal order number; if the state corresponding to the target provider system is abnormal, closing the target provider interface corresponding to the target provider system, so that the provider system with abnormal state can be automatically obtained, and closing the provider interface of the provider system with abnormal state, thereby improving the processing efficiency of the system abnormal problem; in addition, after the provider interface of the provider system with abnormal state is closed, the provider system with abnormal state is prevented from being called to process orders, order blocking is avoided, and therefore user experience can be improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, the drawings that are required for the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic structural diagram of an application scenario provided in the present disclosure;
FIG. 2 is a flow diagram of a method of processing a system provided by the present disclosure;
FIG. 3 is a flow chart of a method of processing another system provided by the present disclosure;
FIG. 4 is a flow chart of a processing method of yet another system provided by the present disclosure;
FIG. 5 is a flow chart of a processing method of yet another system provided by the present disclosure;
FIG. 6 is a flow chart of a processing method of yet another system provided by the present disclosure;
FIG. 7 is a flow chart of a processing method of yet another system provided by the present disclosure;
FIG. 8 is a flow chart of a method of processing of yet another system provided by the present disclosure;
FIG. 9 is a flow chart of a processing method of yet another system provided by the present disclosure;
FIG. 10 is a flow chart of a method of processing of yet another system provided by the present disclosure;
FIG. 11 is a schematic diagram of a processing device of a system provided by the present disclosure;
fig. 12 is a schematic structural diagram of an electronic device provided in the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, a further description of aspects of the present disclosure will be provided below. It should be noted that, without conflict, the embodiments of the present disclosure and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it will be apparent that the embodiments in the specification are only some, but not all, embodiments of the disclosure.
Fig. 1 is a schematic diagram of an application scenario provided in the present disclosure, as shown in fig. 1, a target platform 110 may be in network communication with a plurality of agent systems 120, and the target platform 110 may be in network communication with a plurality of provider systems 130.
Illustratively, the agent system 120 may be understood as a downstream client of the target platform 120, the agent system 120 may be a control within various clients, or may be a client, or may be a website, or may also be an applet, etc., and the agent system 120 may obtain a user initiated order request to generate a user order. The specific implementation of the agent system 120 is not particularly limited by the present disclosure.
Illustratively, the provider system 130 may understand an upstream channel of the target platform 120, and the target platform 110 may invoke a corresponding provider interface based on the user order sent by the agent system 120, and may send the user order to the corresponding provider system 130. The provider system 130 may respond to the received user order and process the user order to enable the user's order request.
In the disclosure, the number of abnormal orders corresponding to a target provider system is determined according to data information sent by the target provider system and/or a target network, wherein the target provider system is one of a plurality of provider systems, and the target network is a network between a target platform and the target provider system; determining the corresponding state of the target provider system according to the abnormal order number; if the state corresponding to the target provider system is abnormal, closing the target provider interface corresponding to the target provider system, so that the provider system with abnormal state can be automatically obtained, and closing the provider interface of the provider system with abnormal state, thereby improving the processing efficiency of the system abnormal problem; in addition, after the provider interface of the provider system with abnormal state is closed, the provider system with abnormal state is prevented from being called to process orders, order blocking is avoided, and therefore user experience can be improved.
Fig. 2 is a flow chart of a processing method of a system provided by the present disclosure, where the embodiment shown in fig. 2 is applied to the target platform shown in fig. 1, and specific steps include:
s101, determining the number of abnormal orders corresponding to a target provider system according to data information sent by the target provider system and/or a target network.
The target provider system is one of the plurality of provider systems, and the target network is a network between the target platform and the target provider system.
After the target platform sends the user order to the provider system, there are two possibilities, one is that the provider system can receive the user order; another situation is that the network between the target platform and the provider system is abnormal, resulting in the provider system failing to receive the user order.
If the provider system can receive the user order, the provider system processes the received user order, and returns a normal code to the target platform for indicating that the order state of the user order is processed under the condition that the provider system successfully processes the user order; in the event that the provider system fails to process the customer order, the provider system returns an exception code to the target platform indicating that the order status of the customer order is in process. If the network between the target platform and the provider system is abnormal, resulting in the provider system failing to receive the user order, the network between the target platform and the provider system returns a network anomaly code, for example, a code that may be non-200, for indicating that the order status of the user order is in line.
The data information may be an anomaly code, a normal code, a network anomaly code, or a network normal code in the above embodiment, which is information indicating the status of the user order. The more the number of anomaly codes sent by the target provider system and/or the more the number of network anomaly codes sent by the target network are received, the more the number of user orders in which the order status in the user order is in process and/or in queuing, i.e. the more the number of anomaly orders. In this way, based on the number of anomaly codes transmitted by the target provider system and/or the number of network anomaly codes transmitted by the target network, the number of user orders in process and/or the number of user orders in queue, i.e., the number of anomaly orders corresponding to the target provider system, may be determined.
S103, determining the corresponding state of the target provider system according to the abnormal order number.
Based on the number of user orders in process and/or the number of user orders in queue, a system status of the target provider system and/or a network status of the target network may be determined. The system state of the target provider system and/or the network state of the target network may be collectively referred to as a state corresponding to the target provider system, where the system state corresponding to the target provider system is the system state of the target provider system, and the network state corresponding to the target provider system is the network state of the target network.
For example, the system state corresponding to the target provider system may be determined according to the number of user orders in the process, and the network state corresponding to the target provider system may be determined according to the number of user orders in the queue.
And S105, if the state corresponding to the target provider system is abnormal, closing a target provider interface corresponding to the target provider system.
Based on the above embodiment, when any one of the system state and the network state corresponding to the target provider system is abnormal, it is determined that the state corresponding to the target provider system is abnormal. At this time, the target provider interface corresponding to the abnormal target provider system is closed, and the target platform is prevented from continuously sending the user order to the abnormal target provider system. Thus, the target platform can call the normal provider system, and send the user order to the normal provider system, so that the user order can be processed in time.
In this embodiment, the number of abnormal orders corresponding to the target provider system is determined according to data information sent by the target provider system and/or the target network, where the target provider system is one of multiple provider systems, and the target network is a network between the target platform and the target provider system; determining the corresponding state of the target provider system according to the abnormal order number; if the state corresponding to the target provider system is abnormal, closing the target provider interface corresponding to the target provider system, so that the provider system with abnormal state can be automatically obtained, and closing the provider interface of the provider system with abnormal state, thereby improving the processing efficiency of the system abnormal problem; in addition, after the provider interface of the provider system with abnormal state is closed, the provider system with abnormal state is prevented from being called to process orders, order blocking is avoided, and therefore user experience can be improved.
Fig. 3 is a flow chart of a processing method of another system provided in the present disclosure, and fig. 3 is a specific description of one possible implementation manner when S101 is performed based on the embodiment shown in fig. 2, as follows:
s101', determining the first abnormal order number corresponding to the target provider system according to the number of abnormal codes sent by the target provider system.
Under the condition that a target network between the target platform and the target provider system is normal, the target platform can successfully send the user order to the target provider system, the target provider system processes the received user order, if one user order is successfully processed, a normal code is returned to the target platform, and if one user order is not successfully processed, an abnormal code is returned to the target platform.
If the target platform receives a normal code, the order state of one of the user orders is marked as processing completion, and if the target platform receives an abnormal code, the order state of one of the user orders is marked as processing, namely, a first abnormal order is generated. As the target provider system continues to return exception codes to the target platform, the number of first exception orders accumulated in the target platform continues to increase, i.e., the number of first exception orders continues to increase.
As a specific description of one possible implementation when S103 is performed, as shown in fig. 3:
s103', determining a system state corresponding to the target provider system according to the first abnormal order quantity and the first preset order quantity.
And determining whether the current corresponding system state of the target provider system is normal or not based on the first abnormal order accumulated in the target platform and the preset first preset order quantity.
In this embodiment, the number of first abnormal orders corresponding to the target provider system is determined according to the number of abnormal codes sent by the target provider system; and determining the system state corresponding to the target provider system according to the first abnormal order quantity and the first preset order quantity, and automatically acquiring the system state of the target provider system.
Fig. 4 is a flow chart of a processing method of another system provided in the present disclosure, and fig. 4 is a specific description of one possible implementation manner when S103' is performed on the basis of the embodiment shown in fig. 3, as follows:
s201, determining whether the first abnormal order quantity is larger than the first preset order quantity.
If not, executing S202; if yes, S203 is executed.
For example, the first preset order quantity may be 300, and it is determined whether the first abnormal order quantity is greater than 300.
S202, determining the system state corresponding to the target provider system as the system normal.
For example, based on the above embodiment, if the number of the first abnormal orders is 300 or less, the number of the first abnormal orders accumulated currently is considered to be smaller, and the time required for the target provider system to reprocess the accumulated first abnormal orders is smaller, so that the user experience is not affected, and the system state of the target provider system at this time is determined to be normal.
S203, determining the system state corresponding to the target provider system as system abnormality.
For example, based on the above embodiment, if the number of first abnormal orders is greater than 300, it is considered that the number of first abnormal orders currently accumulated is large, and it takes a long time even if the target provider system reprocesses the first abnormal orders. Therefore, the system state of the target provider system at the moment is determined to be abnormal, the target provider interface of the target provider system with abnormal system is closed, and the first abnormal orders are prevented from being accumulated continuously, so that the first abnormal orders can be processed and completed quickly after the target provider system is recovered to be normal, and the influence on user experience can be avoided.
Fig. 5 is a flow chart of a processing method of another system provided in the present disclosure, and fig. 5 is a specific description of another possible implementation manner when S101 is performed based on the embodiment shown in fig. 2, as follows:
s101', determining the number of second abnormal orders corresponding to the target provider system according to the number of network abnormal codes sent by the target network.
After the target platform sends the user orders to the target provider system, the target network returns a network status code for each user order sent by the target platform, if the target network fails to transmit a user order to the target provider system, a network anomaly code is returned to the target platform, and if the target network successfully transmits a user order to the target provider system, a network normal code is returned to the target platform.
If the target platform receives a network anomaly code, marking the order state of one user order in the user orders as being in the queue, namely generating a second anomaly order, and if the target platform receives a network anomaly code, waiting to receive a normal code or an anomaly code returned by the target provider system. As the target network continues to return network anomaly codes to the target platform, the number of second anomaly orders accumulated in the target platform continues to increase, i.e., the number of second anomaly orders continues to increase.
As a specific description of another possible implementation manner when S103 is performed, as shown in fig. 5:
s103' determining the network state corresponding to the target provider system according to the second abnormal order quantity and the second preset order quantity.
And determining whether the current network state of the target network is normal or not, namely whether the current network state of the target provider system is normal or not according to the number of the second abnormal orders accumulated in the target platform and the preset second preset order quantity.
In this embodiment, the number of second abnormal orders corresponding to the target provider system is determined according to the number of network abnormal codes sent by the target network; according to the second abnormal order quantity and the second preset order quantity, the network state corresponding to the target provider system is determined, and the network state of the target network can be automatically acquired.
Fig. 6 is a flowchart of a processing method of another system provided in the present disclosure, and fig. 6 is a specific description of one possible implementation manner when S103″ is performed based on the embodiment shown in fig. 5, as follows:
s201', determining whether the second abnormal order quantity is larger than the second preset order quantity.
If not, executing S202'; if yes, execution proceeds to S203'.
For example, the second preset order quantity may be 100, determining whether the second abnormal order quantity is greater than 300. Because the recovery time of the network abnormality is generally longer than that of the system abnormality, the second preset order quantity can be set to be smaller than the first preset order quantity, the waiting time of the user order is reduced, the processing efficiency of the user order is improved, and the user experience is improved.
S202', determining the network state corresponding to the target provider system as normal.
For example, based on the above embodiment, if the number of the second abnormal orders is less than or equal to 100, the number of the second abnormal orders currently accumulated is considered to be smaller, and the time required for retransmitting the accumulated second abnormal orders by the target network is less, so that the user experience is not affected, and the network state of the target network at this time is determined to be normal.
S203', determining the network state corresponding to the target provider system as network abnormality.
For example, based on the above embodiment, if the number of the second abnormal orders is greater than 100, it is considered that the number of the second abnormal orders currently accumulated is large, and it takes a long time even if the target network retransmits the second abnormal orders. Therefore, the network state of the target network at the moment is determined to be abnormal, the target provider interface corresponding to the target network is closed, and the second abnormal orders are prevented from being continuously accumulated, so that the second abnormal orders can be rapidly processed after the target network is recovered to be normal, and the influence on user experience can be avoided.
Fig. 7 is a flow chart of a processing method of another system provided in the present disclosure, and fig. 7 is a schematic diagram of the embodiment shown in fig. 3, further including:
s1061, updating the first abnormal order number according to the number of normal codes sent by the target provider system.
The first exception order has been sent all the way to the target provider system, where only the order status of the user order is stored. The target provider system re-processes the first abnormal orders after its own recovery, and returns a normal code to the target platform after each successful first abnormal order is processed. And updating the order state of a first abnormal order to be processed after the target platform receives a normal code, namely reducing the number of the first abnormal orders, so that the number of the first abnormal orders can be continuously updated based on the number of the normal codes sent by the target provider system.
S1062, if the updated number of the first abnormal orders is smaller than the third preset order number, opening the target provider interface.
The third preset order quantity is smaller than or equal to the first preset order quantity.
Illustratively, based on the above embodiment, the third preset order amount may be an integer of 300 or less, for example, 200. As the target platform continues to receive the normal codes returned by the target provider system, the first abnormal order number gradually decreases, and if the first abnormal order number decreases to 199, the system state of the target provider system is determined to be normal. Because the target platform continuously receives the normal codes returned by the target provider system, the network state of the target network can be determined to be normal, and thus, the target provider interface corresponding to the target provider system can be started, so that the target platform can continuously call the target provider interface.
In this embodiment, the first abnormal order quantity is updated by the quantity of normal codes sent by the target provider system; if the updated first abnormal order quantity is smaller than the third preset order quantity, starting the target provider interface, and starting the target provider interface corresponding to the normal target provider system, so that the target provider interface can be continuously called, the channel quantity for processing the user order is increased, and the processing efficiency of the user order can be improved.
Fig. 8 is a flow chart of a processing method of another system provided in the present disclosure, and fig. 8 is a flowchart of the embodiment shown in fig. 5, further including:
s1061', according to the network normal response signal sent by the target network, sending a second abnormal order to the target provider system.
The network normal response signal is a response signal of the target network for a network query instruction.
The second exception order is not yet transmitted to the target provider system and is still stored in the target platform. The target platform continuously sends a network inquiry command to the target network to determine whether the network state of the target network is recovered to be normal, and if the network state of the target network is recovered to be normal, a network normal response signal is generated in response to the network inquiry command and is sent to the target platform. These second abnormal orders are re-sent to the target provider system based on the network normal response signal sent by the target network.
S1062', updating the second abnormal order number according to the number of network normal codes sent by the target network.
And returning a network normal code to the target platform every time the target network sends a second abnormal order to the target provider system, and updating the order state of the second abnormal order to be processed or processed every time the target platform receives the network normal code, namely reducing the number of the second abnormal orders, so that the number of the second abnormal orders can be continuously updated based on the number of the network normal codes sent by the target network.
S1063', if the updated number of the second abnormal orders is smaller than the fourth preset order number, and the system state corresponding to the target provider system is that the system is normal, opening the target provider interface.
The fourth preset order quantity is smaller than or equal to the second preset order quantity.
Illustratively, based on the above embodiment, the fourth preset order amount may be an integer of 100 or less, for example, 60. And as the target platform continuously receives the normal network codes returned by the target network, the second abnormal order number is gradually reduced, and if the second abnormal order number is reduced to 59, the network state of the target network is determined to be normal. At this time, it is necessary to further determine the system state of the current target provider system, and if the system state of the current target provider system is that the system is normal, the target provider interface corresponding to the target provider system is opened, so that the target platform can continuously call the target provider interface; if the current system state of the target provider system is abnormal, maintaining the target provider interface in a closed state.
In this embodiment, the second abnormal order is sent to the target provider system according to a network normal response signal sent by the target network, where the network normal response signal is a response signal of the target network to the network query instruction; updating the number of the second abnormal orders according to the number of the network normal codes sent by the target network; if the updated number of the second abnormal orders is smaller than the fourth preset order number, and the system state corresponding to the target provider system is that the system is normal, starting the target provider interface, and starting the target provider interface corresponding to the normal target provider system, so that the target provider interface can be continuously called, the number of channels for processing the user orders is increased, and the processing efficiency of the user orders can be improved.
Fig. 9 is a flow chart of a processing method of another system provided in the present disclosure, and fig. 8 is a schematic diagram of the embodiment shown in fig. 2, further including:
and S107, determining priority sequences corresponding to the plurality of provider systems according to the attribute information corresponding to the plurality of provider systems.
By way of example, the attribute information may include at least one of a status of a vendor interface, a price attribute matched to a user order, a failure rate of a vendor system, and a processing efficiency of the vendor system.
As a specific description of one possible implementation when S107 is performed, as shown in fig. 10:
s1071, determining the supplier system corresponding to each opened supplier interface as an effective supplier system according to the plurality of supplier systems.
According to the data information returned by all the provider systems, the switch states of all the provider interfaces can be determined, the provider interfaces with the switch states being opened in all the provider interfaces are effective provider interfaces, and the provider systems corresponding to the effective provider interfaces are effective provider systems. That is, the effective provider interface is a provider interface that can be called by the target platform, and the effective provider interface is a provider system that can be accessed by the target platform.
For example, the provider system A1 corresponds to the provider interface B1, the provider system A2 corresponds to the provider interface B2, the provider system A3 corresponds to the provider interface B3, and the provider system A4 corresponds to the provider interface B4, wherein the provider interface B1, the provider interface B3, and the provider interface B4 are in an open state, and the provider interface B1, the provider interface B3, and the provider interface B4 are all effective provider interfaces, and then the provider system A1, the provider system A3, and the provider system A4 are all effective provider systems.
And S1072, determining the priority sequence according to price attributes corresponding to each of the plurality of effective provider systems.
Illustratively, the priority sequence is determined according to the price attribute corresponding to each of the available provider systems in the order of the price attribute from low to high. For example, based on the above embodiment, the price attribute of the provider system A1 is 99, the price attribute of the provider system A3 is 98, the price attribute of the provider system A4 is 101, and the priority sequence obtained in the order of the price attribute from low to high is: the provider system A3, the provider system A1, the provider system A4, i.e. the provider system A3 has the highest priority, followed by the provider system A1 and finally by the provider system A4.
S108, calling a provider interface corresponding to the provider system with the highest priority in the priority sequence according to the request sent by the agent system.
For example, the user initiates a request for recharging 100-element telephone fee, the agent system sends the 100-element telephone fee order to the target platform, and based on the above embodiment, the target platform calls the provider system with the highest priority, i.e. the provider system A3, so that the profit of the target platform is larger, and the economic benefit of the platform is improved.
In this embodiment, the provider system corresponding to each opened provider interface is determined to be an effective provider system according to the multiple provider systems, and the priority sequence is determined according to the price attribute corresponding to each of the multiple effective provider systems, so that the economic benefit of the platform can be improved.
The present disclosure further provides a processing apparatus of a system, fig. 11 is a schematic structural diagram of the processing apparatus of the system provided by the present disclosure, where the embodiment shown in fig. 11 is applied to the target platform shown in fig. 1, and the processing apparatus includes:
a determining module 210, configured to determine, according to data information sent by a target provider system and/or a target network, an abnormal order number corresponding to the target provider system, where the target provider system is one of the multiple provider systems, and the target network is a network between the target platform and the target provider system; and determining the corresponding state of the target provider system according to the abnormal order number.
And the execution module 220 is configured to close the target provider interface corresponding to the target provider system if the corresponding state of the target provider system is abnormal.
Optionally, the determining module 210 is further configured to determine, according to the number of abnormal codes sent by the target provider system, a first abnormal order number corresponding to the target provider system; and determining a system state corresponding to the target provider system according to the first abnormal order quantity and the first preset order quantity.
Optionally, the determining module 210 is further configured to determine that the system state corresponding to the target provider system is a system anomaly if the first abnormal order quantity is greater than the first preset order quantity; and if the first abnormal order quantity is smaller than or equal to the first preset order quantity, determining that the system state corresponding to the target provider system is normal.
Optionally, the determining module 210 is further configured to determine, according to the number of network anomaly codes sent by the target network, a second quantity of anomaly orders corresponding to the target provider system; and determining the network state corresponding to the target provider system according to the second abnormal order quantity and the second preset order quantity.
Optionally, the determining module 210 is further configured to determine that the network state corresponding to the target provider system is a network anomaly if the second abnormal order quantity is greater than the second preset order quantity; and if the second abnormal order quantity is smaller than or equal to the second preset order quantity, determining that the network state corresponding to the target provider system is normal.
Optionally, the execution module 210 is further configured to update the first abnormal order number according to the number of normal codes sent by the target provider system; and if the updated first abnormal order quantity is smaller than a third preset order quantity, starting the target provider interface, wherein the third preset order quantity is smaller than or equal to the first preset order quantity.
Optionally, the processing device further includes:
and the sending module is used for sending a second abnormal order to the target provider system according to a network normal response signal sent by the target network, wherein the network normal response signal is a response signal of the target network for a network query instruction.
The execution module 210 is further configured to update the second abnormal order number according to the number of network normal codes sent by the target network; if the updated number of the second abnormal orders is smaller than a fourth preset order, and the system state corresponding to the target provider system is that the system is normal, the target provider interface is started, and the fourth preset order is smaller than or equal to the second preset order.
Optionally, the determining module 210 is further configured to determine a priority sequence corresponding to the plurality of provider systems according to attribute information corresponding to each of the plurality of provider systems.
The execution module 210 is further configured to invoke, according to a request sent by the agent system, a provider interface corresponding to a provider system with a highest priority in the priority sequence.
Optionally, the determining module 210 is further configured to determine, according to the plurality of provider systems, that the provider system corresponding to each opened provider interface is an effective provider system; and determining the priority sequence according to the price attribute corresponding to each of the plurality of effective provider systems.
The device provided by the embodiment of the invention can be used for executing the steps of the embodiment of the method, and the implementation principle and the technical effect are similar, and are not repeated here.
Fig. 12 is a schematic structural diagram of an electronic device provided in the present disclosure, and fig. 12 is a block diagram of an exemplary electronic device suitable for implementing the embodiment of the present invention. The electronic device shown in fig. 12 is only an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
As shown in fig. 12, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processors 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any medium that is accessible by electronic device 12 and includes both volatile and non-volatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (commonly referred to as a "hard disk drive"). Disk drives for reading from and writing to removable nonvolatile magnetic disks (e.g., a "floppy disk"), and optical disk drives for reading from and writing to removable nonvolatile optical disks (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The processor 16 executes various functional applications and data processing, such as implementing method embodiments provided by embodiments of the present invention, by running at least one of a plurality of programs stored in the system memory 28.
The present disclosure also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above-described method embodiments.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The present disclosure also provides a computer program product which, when run on a computer, causes the computer to perform the steps of the methods described in the method embodiments above.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a specific embodiment of the disclosure to enable one skilled in the art to understand or practice the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown and described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. A method of processing a system, applied to a target platform, the target platform in communication with a plurality of provider system networks;
the method comprises the following steps:
determining the number of abnormal orders corresponding to a target provider system according to data information sent by the target provider system and/or a target network, wherein the target provider system is one of the provider systems, and the target network is a network between the target platform and the target provider system;
determining a state corresponding to the target provider system according to the abnormal order number;
and if the state corresponding to the target provider system is abnormal, closing a target provider interface corresponding to the target provider system.
2. The method according to claim 1, wherein the determining the number of abnormal orders corresponding to the target provider system according to the data information sent by the target provider system and/or the target network includes:
determining the number of first abnormal orders corresponding to the target provider system according to the number of abnormal codes sent by the target provider system;
the determining the state of the target provider system according to the abnormal order number comprises the following steps:
And determining a system state corresponding to the target provider system according to the first abnormal order quantity and the first preset order quantity.
3. The method of claim 2, wherein determining the system status corresponding to the target provider system based on the first abnormal order quantity and the first preset order quantity comprises:
if the first abnormal order quantity is larger than the first preset order quantity, determining that the system state corresponding to the target provider system is abnormal;
and if the first abnormal order quantity is smaller than or equal to the first preset order quantity, determining that the system state corresponding to the target provider system is normal.
4. The method according to claim 1, wherein the determining the number of abnormal orders corresponding to the target provider system according to the data information sent by the target provider system and/or the target network includes:
determining the number of second abnormal orders corresponding to the target provider system according to the number of network abnormal codes sent by the target network;
the determining the state of the target provider system according to the abnormal order number comprises the following steps:
And determining the network state corresponding to the target provider system according to the second abnormal order quantity and the second preset order quantity.
5. The method of claim 4, wherein determining the network status corresponding to the target provider system based on the second abnormal order quantity and a second preset order quantity comprises:
if the second abnormal order quantity is larger than the second preset order quantity, determining that the network state corresponding to the target provider system is abnormal;
and if the second abnormal order quantity is smaller than or equal to the second preset order quantity, determining that the network state corresponding to the target provider system is normal.
6. A method according to claim 2 or 3, further comprising:
updating the first abnormal order quantity according to the quantity of normal codes sent by the target provider system;
and if the updated first abnormal order quantity is smaller than a third preset order quantity, starting the target provider interface, wherein the third preset order quantity is smaller than or equal to the first preset order quantity.
7. The method according to claim 4 or 5, further comprising:
According to the network normal response signal sent by the target network, a second abnormal order is sent to the target provider system, wherein the network normal response signal is a response signal of the target network for a network query instruction;
updating the number of the second abnormal orders according to the number of the network normal codes sent by the target network;
if the updated number of the second abnormal orders is smaller than a fourth preset order, and the system state corresponding to the target provider system is that the system is normal, the target provider interface is started, and the fourth preset order is smaller than or equal to the second preset order.
8. The method of any one of claims 1-5, further comprising:
determining priority sequences corresponding to the plurality of provider systems according to the attribute information corresponding to the plurality of provider systems;
and calling a provider interface corresponding to the provider system with the highest priority in the priority sequence according to the request sent by the agent system.
9. The method of claim 8, wherein determining the priority sequence corresponding to the plurality of provider systems according to the attribute information corresponding to each of the plurality of provider systems comprises:
Determining that the provider system corresponding to each opened provider interface is an effective provider system according to the plurality of provider systems;
and determining the priority sequence according to the price attribute corresponding to each of the plurality of effective provider systems.
10. A processing device of a system, characterized by being applied to a target platform, said target platform being in communication with a plurality of provider system networks;
the processing device comprises:
the system comprises a determining module, a target platform and a target network, wherein the determining module is used for determining the number of abnormal orders corresponding to the target provider system according to data information sent by the target provider system and/or the target network, the target provider system is one of the provider systems, and the target network is a network between the target platform and the target provider system; determining a state corresponding to the target provider system according to the abnormal order number;
and the execution module is used for closing the target provider interface corresponding to the target provider system if the corresponding state of the target provider system is abnormal.
11. An electronic device, comprising: a processor for executing a computer program stored in a memory, which when executed by the processor carries out the steps of the method according to any one of claims 1-9.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any of claims 1-9.
CN202111629515.4A 2021-12-28 2021-12-28 System processing method, device, equipment and storage medium Pending CN116418829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111629515.4A CN116418829A (en) 2021-12-28 2021-12-28 System processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111629515.4A CN116418829A (en) 2021-12-28 2021-12-28 System processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116418829A true CN116418829A (en) 2023-07-11

Family

ID=87053103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111629515.4A Pending CN116418829A (en) 2021-12-28 2021-12-28 System processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116418829A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117273861A (en) * 2023-10-12 2023-12-22 绅阅(上海)科技有限公司 Sales order management method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117273861A (en) * 2023-10-12 2023-12-22 绅阅(上海)科技有限公司 Sales order management method and system

Similar Documents

Publication Publication Date Title
US10129111B2 (en) Subscription watch lists for event handling
WO2019148727A1 (en) Electronic device, redis-based exception warning method and storage medium
US9164818B2 (en) Event-handler for selecting responsive actions
WO2019169763A1 (en) Electronic apparatus, service system risk control method, and storage medium
WO2019148721A1 (en) Electronic device, risk early warning method for internet service system, and storage medium
US20170351582A1 (en) Technologies for limiting performance variation in a storage device
CN116418829A (en) System processing method, device, equipment and storage medium
CN111080390B (en) Order information modification method, system, equipment and storage medium
CN112181619A (en) Scheduling method, device, equipment and medium for batch service
US11074112B2 (en) Maintaining the responsiveness of a user interface while performing a synchronous operation
CN113238815B (en) Interface access control method, device, equipment and storage medium
CN110855658B (en) Service login method, device, equipment and storage medium
CN114584618A (en) Information interaction method, device, equipment, storage medium and system
US7552439B2 (en) System and method to allow non-deterministic execution in a process control system
CN114449040B (en) Configuration issuing method and device based on cloud platform
CN113673872B (en) Method and device for processing replenishment, storage medium and electronic equipment
CN111882413B (en) Batch updating method and device for overdue rules of bills, server and storage medium
US11561801B2 (en) Predicting execution duration for user-defined functions on function-as-a-service (FaaS) cloud computing platforms
CN113032118A (en) Asynchronous operation processing method for computer application program and corresponding system
US20090177911A1 (en) Apparatus, system, and method to prevent queue stalling
US11403277B2 (en) Integration of independent platforms
CN113810486B (en) Internet of things platform docking method and device, electronic equipment and storage medium
CN113312068B (en) Method, electronic device and computer program product for upgrading a system
CN113778711B (en) Event processing method and device, electronic equipment and storage medium
US20230100931A1 (en) Adaptive message queue timeouts for message queues related to storage systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication