[go: up one dir, main page]

CN107562551A - Monitoring method, device and the computer-readable recording medium of outside access system - Google Patents

Monitoring method, device and the computer-readable recording medium of outside access system Download PDF

Info

Publication number
CN107562551A
CN107562551A CN201710792556.2A CN201710792556A CN107562551A CN 107562551 A CN107562551 A CN 107562551A CN 201710792556 A CN201710792556 A CN 201710792556A CN 107562551 A CN107562551 A CN 107562551A
Authority
CN
China
Prior art keywords
access system
external access
external
data
interface
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
CN201710792556.2A
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.)
Beijing Xiaodu Information Technology Co Ltd
Original Assignee
Beijing Xiaodu Information 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 Beijing Xiaodu Information Technology Co Ltd filed Critical Beijing Xiaodu Information Technology Co Ltd
Priority to CN201710792556.2A priority Critical patent/CN107562551A/en
Publication of CN107562551A publication Critical patent/CN107562551A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present disclosure discloses monitoring method, device and the computer-readable recording medium of outside access system, and methods described includes:Asked in response to the status data of outside access system, obtain the daily record data of correlation;The status data of the outside access system is determined according to acquired daily record data;Export the status data of the outside access system.The above-mentioned technical proposal of the disclosure can monitor the state of outside access system in real time, while access system can also grasp the status data of outside access system in real time, be taken measures in time when the running status of outside access system has exception, reduce loss.

Description

Monitoring method and device for external access system and computer readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a monitoring method and apparatus for an external access system, and a computer-readable storage medium.
Background
With the rapid development of the internet, more and more offline enterprises enter the online market through the platform provided by the electronic commerce. Many offline enterprises have own systems, and the offline enterprises access the system platforms of the offline enterprises through interfaces provided by the e-commerce platforms in a mode of accessing the systems from the outside so as to be used online. For example, some catering shops access their own ordering systems to the take-away ordering platform through the take-away ordering platform, the take-away ordering platform directly faces to users, and the ordering system of catering enterprises provides take-away ordering services based on user orders pushed by the take-away ordering platform.
Disclosure of Invention
The embodiment of the disclosure provides a monitoring method and device of an external access system and a computer readable storage medium.
In a first aspect, an embodiment of the present disclosure provides a method for monitoring an external access system.
Specifically, the monitoring method of the external access system includes:
responding to a state data request of an external access system, and acquiring related log data;
determining state data of the external access system according to the acquired log data;
and outputting the state data of the external access system.
With reference to the first aspect, in a first implementation manner of the first aspect, the acquiring, in response to a status data request of an external access system, related log data includes:
acquiring identification data of the external access system;
obtaining a time period for the requested state data;
and acquiring log data generated when the external access system interacts with the external access system within the time period according to the identification data of the external access system.
With reference to the first aspect, in a second implementation manner of the first aspect, the determining state data of the external access system according to the acquired log data includes:
determining calling data of a preset external interface according to the acquired log data; the predetermined external interface is an interface interacting with the external access system, and the calling data includes at least one of: the identifier of the preset external interface, the success frequency of calling the preset external interface, the failure frequency of calling the preset external interface, the success rate of calling the preset external interface and the identifier of whether the success rate of calling the preset external interface reaches the standard or not.
With reference to the second implementation manner of the first aspect, the method further includes:
and responding to the viewing operation of at least one item in the calling data, and outputting a log data list related to the at least one item.
With reference to the first aspect, the first implementation manner of the first aspect, or the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the determining state data of the external access system according to the acquired log data includes:
determining response data of a predetermined external interface according to the acquired log data; the predetermined external interface is an interface for interacting with the external access system, and the response data includes at least one of: the external interface calling method comprises the following steps of identification of the preset external interface, maximum response time for calling the preset external interface, minimum response time for calling the preset external interface, the number of times that the response time for calling the preset external interface exceeds a preset response time threshold value, achievement rate of the response time for calling the preset external interface, and identification of whether the response time for calling the preset external interface is up to the achievement.
With reference to the third implementation manner of the first aspect, the method further includes:
and outputting a log data list related to at least one item of the response data in response to the viewing operation of at least one item of the response data.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, or the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the present disclosure further includes:
pushing information to the external access system using a predetermined external interface, the information comprising at least one of: order content information, order state information and state information of the external access system generated by a user;
and determining whether the external access system fails according to the response of the external access system.
With reference to the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the determining whether the external access system fails according to the response of the external access system includes:
and when the number of times of pushing the message to the external access system by using the preset external interface reaches a preset threshold value and no response of the external access system is received, setting the state of the external access system to be a down state.
With reference to the fourth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the determining the state data of the external access system according to the acquired log data includes:
determining the reason for canceling the order generated by the user by the external access system according to the log data; the order generated by the user is pushed to the external access system through a preset external interface;
order data under different cancel cause categories are generated.
With reference to the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the determining, according to the log data, a reason why the external access system cancels the order generated by the user includes at least one of:
after an order generated by a user is pushed to the external access system, when the received response information indicates that the external access system cancels the order, determining that the reason that the external access system cancels the order generated by the user is that the external access system cancels the order actively;
after an order generated by a user is pushed to the external access system, when the received response information is interface abnormity, determining that the reason for canceling the order generated by the user by the external access system is the abnormity of the external access system;
and after the number of times of pushing the order generated by the user to the external access system reaches a preset threshold value and no response information is received, determining that the reason for canceling the order generated by the user by the external access system is abnormal by the external access system.
In a second aspect, an embodiment of the present disclosure provides a monitoring apparatus for an external access system, including:
the first response module is configured to respond to a status data request of an external access system and acquire related log data;
a first determination module configured to determine status data of the external access system from the acquired log data;
an output module configured to output status data of the external access system.
With reference to the first aspect, in a first implementation manner of the first aspect, the first response module includes:
a first obtaining submodule configured to obtain identification data of the external access system;
a second obtaining sub-module configured to obtain a time period of the requested status data;
and the third obtaining submodule is configured to obtain log data generated when the third obtaining submodule interacts with the external access system within the time period according to the identification data of the external access system.
With reference to the first aspect, in a second implementation manner of the first aspect, the first determining module includes:
a first determination submodule configured to determine call data of a predetermined external interface based on the acquired log data; the predetermined external interface is an interface interacting with the external access system, and the calling data includes at least one of: the identifier of the preset external interface, the success frequency of calling the preset external interface, the failure frequency of calling the preset external interface, the success rate of calling the preset external interface and the identifier of whether the success rate of calling the preset external interface reaches the standard or not.
With reference to the second implementation manner of the first aspect, the method further includes:
a second response module configured to output a list of log data associated with at least one item of the call data in response to a viewing operation of the at least one item of the call data.
With reference to the first aspect, the first implementation manner of the first aspect, or the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the first determining module includes:
a second determining submodule configured to determine response data of a predetermined external interface based on the acquired log data; the predetermined external interface is an interface for interacting with the external access system, and the response data includes at least one of: the external interface calling method comprises the following steps of identification of the preset external interface, maximum response time for calling the preset external interface, minimum response time for calling the preset external interface, the number of times that the response time for calling the preset external interface exceeds a preset response time threshold value, achievement rate of the response time for calling the preset external interface, and identification of whether the response time for calling the preset external interface is up to the achievement.
With reference to the third implementation manner of the first aspect, the method further includes:
a third response module configured to output a list of log data associated with at least one of the response data in response to a viewing operation of the at least one of the response data.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, or the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the present disclosure further includes:
a push module configured to push information to the external access system using a predetermined external interface, the information comprising at least one of: order content information, order state information and state information of the external access system generated by a user;
a second determination module configured to determine whether the external access system is malfunctioning according to a response of the external access system.
With reference to the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the second determining module includes:
the setting submodule is configured to set the state of the external access system to a down state when the number of times of pushing the message to the external access system by using the predetermined external interface reaches a predetermined threshold and no response of the external access system is received.
With reference to the fourth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the first determining module includes:
a third determining submodule configured to determine, according to the log data, a reason why the external access system cancels an order generated by a user; the order generated by the user is pushed to the external access system through a preset external interface;
and the generation submodule is configured to generate order data under different cancellation reason types.
With reference to the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the third determining submodule includes at least one of:
a fourth determining submodule configured to determine that the reason why the external access system cancels the order generated by the user is actively cancelled by the external access system when the received response information is that the external access system cancels the order after the order generated by the user is pushed to the external access system;
a fifth determining submodule configured to determine that the reason why the external access system cancels the order generated by the user is that the external access system is abnormal when the received response information is that the interface is abnormal after the order generated by the user is pushed to the external access system;
a sixth determining submodule, configured to determine that the reason why the external access system cancels the order generated by the user is the external access system abnormality when the response information is not received after the number of times of pushing the order generated by the user to the external access system reaches a predetermined threshold.
The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In a possible design, the monitoring apparatus of the external access system is configured to include a memory and a processor, the memory is used to store one or more computer instructions for supporting the monitoring apparatus of the external access system to perform the monitoring method of the external access system in the first aspect, and the processor is configured to execute the computer instructions stored in the memory. The monitoring means of the external access system may further comprise a communication interface for the monitoring means of the external access system to communicate with other devices or a communication network.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method for monitoring an external access system according to the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer-readable storage medium for storing computer instructions for a monitoring apparatus of an external access system, which includes computer instructions for executing the monitoring method of the external access system in the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method and the device, when a request for the state data of the external access system is responded, log data interacting with the external access system is obtained, the state data of the external access system is obtained according to the log data, and the state data of the external access system is output to a requester, so that the requester can monitor the state of the external access system in real time, meanwhile, the access system can master the state data of the external access system in real time, measures are taken in time when the running state of the external access system is abnormal, and loss is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
fig. 1 illustrates a flow chart of a monitoring method of an external access system according to an embodiment of the present disclosure;
FIG. 2 shows a flow chart of step S101 according to the embodiment shown in FIG. 1;
fig. 3 illustrates a flow chart of a monitoring method of an external access system according to yet another embodiment of the present disclosure;
FIG. 4 shows a flowchart of step S102 according to the embodiment shown in FIG. 1;
FIG. 5 is a diagram illustrating order data for different cancellation reason types according to the embodiment shown in FIG. 4;
fig. 6 shows a block diagram of a monitoring apparatus of an external access system according to an embodiment of the present disclosure;
FIG. 7 illustrates a block diagram of a first response module 601 according to the embodiment shown in FIG. 6;
fig. 8 illustrates a block diagram of a monitoring apparatus of an external access system according to still another embodiment of the present disclosure;
FIG. 9 illustrates a block diagram of the first determination module 602 according to the embodiment shown in FIG. 6;
fig. 10 is a schematic structural diagram of an electronic device suitable for implementing a monitoring method of an external access system according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
With the increasing number of external access systems accessing the e-commerce platform, and the lack of tracking of the e-commerce platform on the stability of the third-party external access system, the third-party external access system may not be aware of system failure. Offline enterprises cannot know the stability of the system of the offline enterprises, and the stability is lack of optimization power, so that frequent accidents are possibly caused, but the frequent accidents are difficult to improve, and the user experience of an e-commerce platform and the online operation of a third-party external access system are seriously influenced. According to the various embodiments of the present disclosure, in response to a received status data request of an external access system, related log data is acquired, and status data of the external access system is determined according to the acquired log data, and is output. By the mode, operation and maintenance personnel of the external access system can monitor the state of the external access system in real time through the access system, the operation and maintenance personnel of the external access system are supervised to improve the system, the stability of the external access system is improved, meanwhile, the access system can master the state data of the external access system in real time, measures are taken in time when the running state of the external access system is abnormal, and loss is reduced.
Fig. 1 illustrates a flowchart of a monitoring method of an external access system according to an embodiment of the present disclosure. As shown in fig. 1, the monitoring method of the external access system includes the following steps S101 to S103:
in step S101, in response to a status data request of an external access system, acquiring related log data;
in step S102, determining status data of the external access system according to the acquired log data;
in step S103, status data of the external access system is output.
In this embodiment, the external access system is a third-party system accessed through an interface provided by the system platform, the system platform may be a user-oriented platform, and may provide an operation interface for a user, the user may generate a predetermined behavior for a service provided by the external access system through the operation interface, the system platform pushes the predetermined behavior generated by the user to the external access system, and the external access system provides a corresponding service for the user according to the predetermined behavior generated by the user. For example, a third-party catering enterprise accesses a self system to a take-away ordering system platform, the take-away ordering system platform receives an order of a user and pushes order information to the system of the third-party catering enterprise, and the third-party catering enterprise redistributes to various stores to provide take-away food for the user.
In the embodiment, when a request for acquiring state data of an external access system is received, related log data is acquired; when the system platform interacts with the external access system, the interface provided by the system platform is called to send a message to the external access system or receive the response of the external access system, and the information of the interaction between the system platform and the external access system is recorded in the log, so that when the running state request of the external access system is received, log data related to the request can be obtained firstly, and then the state data of the external access system is determined according to the information recorded in the log. The status data of the external access system includes performance data of the external access system, accident data, service information to the user, and the like. After the status data of the external access system is determined, the status data is output, and a specific output mode can be determined according to a preset setting, the identity of a requesting party and the like, for example, the status data is presented in a chart, a list and the like after statistics based on a requested time dimension (including day, week, month, year and the like), so that a requester can intuitively know the whole operation status of the external access system from the status data of the external access system.
In an optional implementation manner of this embodiment, as shown in fig. 2, the step S101, that is, the step of acquiring relevant log data in response to a status data request of an external access system, further includes the following steps S201 to S203:
in step S201, identification data of the external access system is acquired;
in step S202, the time period of the requested status data is acquired;
in step S203, according to the identification data of the external access system, log data generated when interacting with the external access system within the time period is obtained.
In this alternative implementation, the system platform may access multiple external access systems simultaneously, and each external access system is given unique identification data, such as a unique ID number. The database records the interactive information provided for the interfaces of all the external access systems, and when the log data is acquired, the log data generated by the external access system in the time period can be acquired from the log file through the identification data of the external access system and the time period of requesting the state data. By the method, the required log data can be screened from the log file, and the next statistical analysis is carried out, so that the cost is saved.
In an optional implementation manner of this embodiment, the step S102, namely, the step of determining the status data of the external access system according to the acquired log data, further includes the following steps: determining calling data of a preset external interface according to the acquired log data; the predetermined external interface is an interface interacting with the external access system, and the calling data includes at least one of: the identifier of the preset external interface, the success frequency of calling the preset external interface, the failure frequency of calling the preset external interface, the success rate of calling the preset external interface and the identifier of whether the success rate of calling the preset external interface reaches the standard or not.
In this optional implementation manner, the predetermined external interface is provided by the system platform for the external access system, the system platform interacts with the external access system by calling the predetermined external interface, and in order to obtain the status data of the external access system, the system platform may determine by monitoring the calling data of the predetermined external interface, for example, the calling data of the predetermined external interface includes an identifier of the predetermined external interface, the number of times of success of calling the predetermined external interface, the number of times of failure of calling the predetermined external interface, the success rate of calling the predetermined external interface, and/or an identifier indicating whether the success rate of calling the predetermined external interface reaches the standard. The predetermined external interface can be determined according to the actual business of the system platform, and may include one or more, for example, for the takeaway ordering system platform, the predetermined external interface that can be provided includes a push order interface, a push order state interface, and an interface for pushing the state of the external access system, where the push order interface is used to push the content of a user order to the external access system after the user order is generated on the external ordering system platform, so that the external access system provides the takeaway food for the user; the push order state interface is used for pushing the state change of the order generated by the user to the external access state, for example, the user cancels the order, or urges the order, and the like; the interface for pushing the state of the external access system is used for pushing the state change information of the external access system to the external access system.
In addition, whether the predetermined external interface is successfully called may be determined according to whether response information of the external access system is received after information is pushed to the external access system, or whether an abnormal code returned by the predetermined external interface is received, and if the response is not received after time out or the system is down, the predetermined external interface is considered to be failed to be called. The success rate of calling a predetermined external interface may be determined by the ratio of the number of successes to the total number of calls; whether the success rate of calling the preset external interface reaches the standard can be judged by whether the success rate exceeds a preset standard, for example, the standard reaches 99%, if the success rate is 99% or more, the preset external interface is considered to reach the standard, a standard mark is set for the preset external interface, and if not, an unqualified mark is set.
In an optional implementation manner of this embodiment, the method further includes: and responding to the viewing operation of at least one item in the calling data, and outputting a log data list related to the at least one item. In this alternative implementation, after the call data of the predetermined external interface is determined and presented to the requester, the log data corresponding to the entry is output in response to a viewing operation of the requester on a predetermined entry in the call data of the predetermined external interface, for example, when the requester clicks on an entry corresponding to the number of failures in calling the predetermined external interface when seeing the call data list, the log data of the call failure may be output according to the time dimension in response to the clicking operation.
In an optional implementation manner of this embodiment, the step S102, namely, the step of determining the status data of the external access system according to the acquired log data, further includes the following steps:
determining response data of a predetermined external interface according to the acquired log data; the predetermined external interface is an interface for interacting with the external access system, and the response data includes at least one of: the external interface calling method comprises the following steps of identification of the preset external interface, maximum response time for calling the preset external interface, minimum response time for calling the preset external interface, the number of times that the response time for calling the preset external interface exceeds a preset response time threshold value, achievement rate of the response time for calling the preset external interface, and identification of whether the response time for calling the preset external interface is up to the achievement.
In this alternative implementation, the response data of the predetermined external interface includes an identification of the predetermined external interface, a maximum response time for calling the predetermined external interface, a minimum response time for calling the predetermined external interface, a number of times that the time for calling the predetermined external interface exceeds a predetermined response time threshold, and an identification of whether the response time for calling the predetermined external interface is up to standard. Different predetermined external interfaces have different identifications, which may be interface names or ID numbers, etc. The response time of the predetermined external interface may be determined according to a time between pushing information to the external access system by using the predetermined external interface and receiving a response of the external access system, for example, when a response of the external access system is received 400ms after the takeaway ordering system platform pushes the user order to the external access system, the response time of the predetermined external interface is 400 ms; the maximum response time is the longest response time in a period of time, and the minimum response time is the minimum response time in a period of time; the achievement rate is determined from the ratio of the number of times the response time exceeds a predetermined response time threshold to the total number of times the predetermined external interface is invoked, provided that the predetermined response time threshold is 5000 ms; for example, the compliance standard is 99%, if the compliance rate exceeds 99%, the compliance flag of the response time of the predetermined external interface is set to compliance, otherwise, the compliance is set to non-compliance. Through the optional implementation mode, the response time of the interface provided for the external access system can be monitored, the use condition of the external access system is further determined, the problem can be found in time when the problem occurs, and the user experience is improved.
In an optional implementation manner of the embodiment, the method further includes outputting a log data list related to at least one item of the response data in response to a viewing operation of at least one item of the response data. In this alternative implementation, after the response data of the predetermined external interface is determined and presented to the requester, in response to a viewing operation of the requester on a predetermined entry in the response data of the predetermined external interface, the log data corresponding to the entry is output, for example, when the requester clicks an entry in the call data list, which is a number of times that the predetermined external interface exceeds a predetermined response time threshold, the log data that is overtime may be output according to the time dimension in response to the clicking operation.
In an optional implementation manner of this embodiment, as shown in fig. 3, the method further includes the following steps S301 to S302:
in step S301, information is pushed to the external access system using a predetermined external interface, the information including at least one of: order content information, order state information and state information of the external access system generated by a user;
in step S302, it is determined whether the external access system fails according to a response of the external access system.
In this optional implementation manner, the system platform provides a predetermined external interface for the third-party external access system, the system platform interacts with the third-party external access system through the predetermined external interface, and the user behavior generated on the system platform is pushed to the external access system through the predetermined external interface. For example, the information pushed to the external access system may include order content information generated by the user, order status information, and/or status information of the external access system, etc. The order content information includes goods or services ordered by an order generated by a user on the system platform, the order status information may be that the current status of the order includes cancelled, urged, and the like, and the status information of the external access system includes status information displayed by the external access system on the system platform, such as that the external access system is normally online, offline, suspended from service, and the like.
In this optional implementation manner, after pushing information to the external access system by using a predetermined external interface, it is determined whether the external access system fails according to response information of the external access system. By the method, the fault information of the external access system can be monitored, the fault can be found in time and a third party can be informed, so that the fault can be solved as soon as possible, and high-quality service is provided for users.
In an optional implementation manner of this embodiment, step S301, namely, the step of determining whether the external access system fails according to the response of the external access system, further includes the following steps:
and when the number of times of pushing the message to the external access system by using the preset external interface reaches a preset threshold value and no response of the external access system is received, setting the state of the external access system to be a down state.
In this optional implementation manner, if the number of times of pushing information to the external access system exceeds the predetermined threshold and no response is received, the external access system may be considered to be temporarily in a failure state, so that the external access system may be set to an offline state, so as to avoid inconvenience of a user due to the fact that the user cannot respond to the behavior of the external access system for a long time. For example, after a user generates an order, after pushing the content of the order to the external access system, no response information is received within a predetermined time, the order can be pushed once again, and after the number of times of pushing reaches a predetermined threshold value, when no response is received, the external access system is considered to be in a fault, and then the state of the external access system displayed on the system platform is set to be offline, so that the user cannot continue to generate user behavior on the external access system. When the external access system is on-line again, a request can be sent to the system platform through the preset external access system, the system platform sets the external access system to be in an on-line state after receiving the request of the external access system, and a user can continue to generate user behaviors in the external access system through an interface displayed on the system platform. For example, in the takeaway ordering system, the external access system corresponding to the restaurant a fails due to downtime or other reasons, and the takeaway ordering system does not receive a response after pushing information for a predetermined number of times, and then the store corresponding to the restaurant a in the takeaway ordering system is set to be offline, so that the user cannot generate an order in the store of the restaurant a.
In an optional implementation manner of this embodiment, as shown in fig. 4, the step S102, namely the step of determining the status data of the external access system according to the acquired log data, further includes the following steps S401 to S402:
in step S401, according to the log data, determining a reason why the external access system cancels the order generated by the user; the order generated by the user is pushed to the external access system through a preset external interface;
in step S402, order data for different cancel cause categories is generated.
In this alternative implementation, the reasons why the external access system cancels the order generated by the user can be divided into two main categories: the external access system actively cancels the order generated by the user and the exception of the external access system causes the order generated by the user to be cancelled. The reason that the external access system actively cancels the order generated by the user may be caused by an internal reason of the external access system, for example, for a takeaway ordering platform, when the external access system is a certain catering enterprise, the reason that the order generated by the user is actively cancelled may be that a store for which the order is directed temporarily stops working, ordered dishes are sold out, the order is repeated, the user cannot be contacted, and the like; when the external access system is abnormal, the system platform may not receive a response of the external access system after pushing order content to the external access system, and if a predetermined condition is reached (e.g., timeout, multiple pushing non-response, etc.), the system platform cancels the order generated by the user due to the abnormality, and the reason of the external access system may include a failure of directly returning the interface (e.g., after pushing a message to the external access system through the interface, the interface returns an exception code corresponding to the reason of the external entry system abnormality), a failure of calling the interface (e.g., after pushing a message to the external access system multiple times through the interface, the interface does not return any response), an internal abnormality of the external access system (e.g., after pushing a message to the external access system, a response returned by the external access system is an abnormality generated inside the external access system). In this implementation, the reason why the order generated by the user is cancelled is counted according to the time dimension (e.g., day, week, month, etc.), the above two major categories may be counted, each major category is subdivided into minor categories (each major category is for various different cancellation reasons), for example, the time dimension requesting the operation state of the external access system is the previous week, then the order data of cancellation of each sub-category, which may include the order quantity, the order amount, etc., of the two major categories in which the external access system actively cancels the order generated by the user and the order generated by the user is cancelled due to the abnormality of the external access system in the previous week may be counted, as shown in fig. 5. By the method, operation and maintenance personnel of the external access system can intuitively know the amount of money related to the reason for canceling the order, and powerful data support is provided for later system maintenance.
In an optional implementation manner, step S401, namely, the step of determining, according to the log data, a reason why the external access system cancels the order generated by the user, further includes at least one of the following steps:
after an order generated by a user is pushed to the external access system, when the received response information indicates that the external access system cancels the order, determining that the reason that the external access system cancels the order generated by the user is that the external access system cancels the order actively;
after an order generated by a user is pushed to the external access system, when the received response information is interface abnormity, determining that the reason for canceling the order generated by the user by the external access system is the abnormity of the external access system;
and after the number of times of pushing the order generated by the user to the external access system reaches a preset threshold value and no response information is received, determining that the reason for canceling the order generated by the user by the external access system is abnormal by the external access system.
In this optional implementation manner, after the content of the order is pushed to the external access system, the cancellation reason of the order generated by the user is determined by the response condition of the external access system as two types, namely active cancellation of the external access system and cancellation caused by an abnormal external access system: if a response for canceling the order is received from the external access system after the order content is pushed, determining that the external access system actively cancels the order, and if the received response is an abnormal code returned by the interface after the order content is pushed, determining that the external access system generates an abnormality, wherein the reason of the abnormality corresponds to the returned abnormal code; and if the response of the external access system is not received after the order content is pushed, and the response is still not received after the order content is pushed for many times and the times reach a preset threshold value, the external access system is considered to be abnormal, and the reason of the abnormality cannot be known. In this way, the reasons why the order generated by the user is cancelled can be classified so as to monitor the abnormal reason of the external access system.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 shows a block diagram of a monitoring apparatus of an external access system according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of the two. As shown in fig. 6, the monitoring apparatus of the external access system includes a first response module 601, a first determination module 602, and an output module 4603:
a first response module 601 configured to obtain relevant log data in response to a status data request of an external access system;
a first determining module 602 configured to determine status data of the external access system according to the acquired log data;
an output module 603 configured to output status data of the external access system
In this embodiment, the external access system is a third-party system accessed through an interface provided by the system platform, the system platform may be a user-oriented platform, and may provide an operation interface for a user, the user may generate a predetermined behavior for a service provided by the external access system through the operation interface, the system platform pushes the predetermined behavior generated by the user to the external access system, and the external access system provides a corresponding service for the user according to the predetermined behavior generated by the user. For example, a third-party catering enterprise accesses a self system to a take-away ordering system platform, the take-away ordering system platform receives an order of a user and pushes order information to the system of the third-party catering enterprise, and the third-party catering enterprise redistributes to various stores to provide take-away food for the user.
In the embodiment, when a request for acquiring state data of an external access system is received, related log data is acquired; when the system platform interacts with the external access system, the interface provided by the system platform is called to send a message to the external access system or receive the response of the external access system, and the information of the interaction between the system platform and the external access system is recorded in the log, so that when the running state request of the external access system is received, log data related to the request can be obtained firstly, and then the state data of the external access system is determined according to the information recorded in the log. The status data of the external access system includes performance data of the external access system, accident data, service information to the user, and the like. After the status data of the external access system is determined, the status data is output, and a specific output mode can be determined according to a preset setting, the identity of a requesting party and the like, for example, the status data is presented in a chart, a list and the like after statistics based on a requested time dimension (including day, week, month, year and the like), so that a requester can intuitively know the whole operation status of the external access system from the status data of the external access system.
In an optional implementation manner of this embodiment, as shown in fig. 7, the first response module 601 includes a first obtaining sub-module 701, a second obtaining sub-module 702, and a third obtaining sub-module 703:
a first obtaining sub-module 701 configured to obtain identification data of the external access system;
a second obtaining submodule 702 configured to obtain a time period of the requested status data;
a third obtaining sub-module 703 configured to obtain, according to the identification data of the external access system, log data generated when interacting with the external access system within the time period.
In this alternative implementation, the system platform may access multiple external access systems simultaneously, and each external access system is given unique identification data, such as a unique ID number. The database records the interactive information provided for the interfaces of all the external access systems, and when the log data is acquired, the log data generated by the external access system in the time period can be acquired from the log file through the identification data of the external access system and the time period of requesting the state data. By the method, the required log data can be screened from the log file, and the next statistical analysis is carried out, so that the cost is saved.
In an optional implementation manner of this embodiment, the first determining module 602 includes: a first determination submodule configured to determine call data of a predetermined external interface based on the acquired log data; the predetermined external interface is an interface interacting with the external access system, and the calling data includes at least one of: the identifier of the preset external interface, the success frequency of calling the preset external interface, the failure frequency of calling the preset external interface, the success rate of calling the preset external interface and the identifier of whether the success rate of calling the preset external interface reaches the standard or not.
In this optional implementation manner, the predetermined external interface is provided by the system platform for the external access system, the system platform interacts with the external access system by calling the predetermined external interface, and in order to obtain the status data of the external access system, the system platform may determine by monitoring the calling data of the predetermined external interface, for example, the calling data of the predetermined external interface includes an identifier of the predetermined external interface, the number of times of success of calling the predetermined external interface, the number of times of failure of calling the predetermined external interface, the success rate of calling the predetermined external interface, and/or an identifier indicating whether the success rate of calling the predetermined external interface reaches the standard. The predetermined external interface can be determined according to the actual business of the system platform, and may include one or more, for example, for the takeaway ordering system platform, the predetermined external interface that can be provided includes a push order interface, a push order state interface, and an interface for pushing the state of the external access system, where the push order interface is used to push the content of a user order to the external access system after the user order is generated on the external ordering system platform, so that the external access system provides the takeaway food for the user; the push order state interface is used for pushing the state change of the order generated by the user to the external access state, for example, the user cancels the order, or urges the order, and the like; the interface for pushing the state of the external access system is used for pushing the state change information of the external access system to the external access system.
In addition, whether the predetermined external interface is successfully called may be determined according to whether response information of the external access system is received after information is pushed to the external access system, or whether an abnormal code returned by the predetermined external interface is received, and if the response is not received after time out or the system is down, the predetermined external interface is considered to be failed to be called. The success rate of calling a predetermined external interface may be determined by the ratio of the number of successes to the total number of calls; whether the success rate of calling the preset external interface reaches the standard can be judged by whether the success rate exceeds a preset standard, for example, the standard reaches 99%, if the success rate is 99% or more, the preset external interface is considered to reach the standard, a standard mark is set for the preset external interface, and if not, an unqualified mark is set.
In an optional implementation manner of this embodiment, the apparatus further includes: a second response module configured to output a list of log data associated with at least one item of the call data in response to a viewing operation of the at least one item of the call data. In this alternative implementation, after the call data of the predetermined external interface is determined and presented to the requester, the log data corresponding to the entry is output in response to a viewing operation of the requester on a predetermined entry in the call data of the predetermined external interface, for example, when the requester clicks on an entry corresponding to the number of failures in calling the predetermined external interface when seeing the call data list, the log data of the call failure may be output according to the time dimension in response to the clicking operation.
In an optional implementation manner of this embodiment, the first determining module 602 includes:
a second determining submodule configured to determine response data of a predetermined external interface based on the acquired log data; the predetermined external interface is an interface for interacting with the external access system, and the response data includes at least one of: the external interface calling method comprises the following steps of identification of the preset external interface, maximum response time for calling the preset external interface, minimum response time for calling the preset external interface, the number of times that the response time for calling the preset external interface exceeds a preset response time threshold value, achievement rate of the response time for calling the preset external interface, and identification of whether the response time for calling the preset external interface is up to the achievement.
In this alternative implementation, the response data of the predetermined external interface includes an identification of the predetermined external interface, a maximum response time for calling the predetermined external interface, a minimum response time for calling the predetermined external interface, a number of times that the time for calling the predetermined external interface exceeds a predetermined response time threshold, and an identification of whether the response time for calling the predetermined external interface is up to standard. Different predetermined external interfaces have different identifications, which may be interface names or ID numbers, etc. The response time of the predetermined external interface may be determined according to a time between pushing information to the external access system by using the predetermined external interface and receiving a response of the external access system, for example, when a response of the external access system is received 400ms after the takeaway ordering system platform pushes the user order to the external access system, the response time of the predetermined external interface is 400 ms; the maximum response time is the longest response time in a period of time, and the minimum response time is the minimum response time in a period of time; the achievement rate is determined from the ratio of the number of times the response time exceeds a predetermined response time threshold to the total number of times the predetermined external interface is invoked, provided that the predetermined response time threshold is 5000 ms; for example, the compliance standard is 99%, if the compliance rate exceeds 99%, the compliance flag of the response time of the predetermined external interface is set to compliance, otherwise, the compliance is set to non-compliance. Through the optional implementation mode, the response time of the interface provided for the external access system can be monitored, the use condition of the external access system is further determined, the problem can be found in time when the problem occurs, and the user experience is improved.
In an optional implementation manner of this embodiment, the apparatus further includes: a third response module configured to output a list of log data associated with at least one of the response data in response to a viewing operation of the at least one of the response data. In this alternative implementation, after the response data of the predetermined external interface is determined and presented to the requester, in response to a viewing operation of the requester on a predetermined entry in the response data of the predetermined external interface, the log data corresponding to the entry is output, for example, when the requester clicks an entry in the call data list, which is a number of times that the predetermined external interface exceeds a predetermined response time threshold, the log data that is overtime may be output according to the time dimension in response to the clicking operation.
In an optional implementation manner of this embodiment, as shown in fig. 8, the apparatus further includes a pushing module 801 and a second determining module 802:
a push module 801 configured to push information to the external access system using a predetermined external interface, the information comprising at least one of: order content information, order state information and state information of the external access system generated by a user;
a second determining module 802 configured to determine whether the external access system is malfunctioning according to a response of the external access system.
In this optional implementation manner, the system platform provides a predetermined external interface for the third-party external access system, the system platform interacts with the third-party external access system through the predetermined external interface, and the user behavior generated on the system platform is pushed to the external access system through the predetermined external interface. For example, the information pushed to the external access system may include order content information generated by the user, order status information, and/or status information of the external access system, etc. The order content information includes goods or services ordered by an order generated by a user on the system platform, the order status information may be that the current status of the order includes cancelled, urged, and the like, and the status information of the external access system includes status information displayed by the external access system on the system platform, such as that the external access system is normally online, offline, suspended from service, and the like.
In this optional implementation manner, after pushing information to the external access system by using a predetermined external interface, it is determined whether the external access system fails according to response information of the external access system. By the method, the fault information of the external access system can be monitored, the fault can be found in time and a third party can be informed, so that the fault can be solved as soon as possible, and high-quality service is provided for users.
In an optional implementation manner of this embodiment, the second determining module 802 includes:
the setting submodule is configured to set the state of the external access system to a down state when the number of times of pushing the message to the external access system by using the predetermined external interface reaches a predetermined threshold and no response of the external access system is received.
In this optional implementation manner, if the number of times of pushing information to the external access system exceeds the predetermined threshold and no response is received, the external access system may be considered to be temporarily in a failure state, so that the external access system may be set to an offline state, so as to avoid inconvenience of a user due to the fact that the user cannot respond to the behavior of the external access system for a long time. For example, after a user generates an order, after pushing the content of the order to the external access system, no response information is received within a predetermined time, the order can be pushed once again, and after the number of times of pushing reaches a predetermined threshold value, when no response is received, the external access system is considered to be in a fault, and then the state of the external access system displayed on the system platform is set to be offline, so that the user cannot continue to generate user behavior on the external access system. When the external access system is on-line again, a request can be sent to the system platform through the preset external access system, the system platform sets the external access system to be in an on-line state after receiving the request of the external access system, and a user can continue to generate user behaviors in the external access system through an interface displayed on the system platform. For example, in the takeaway ordering system, the external access system corresponding to the restaurant a fails due to downtime or other reasons, and the takeaway ordering system does not receive a response after pushing information for a predetermined number of times, and then the store corresponding to the restaurant a in the takeaway ordering system is set to be offline, so that the user cannot generate an order in the store of the restaurant a.
In an optional implementation manner of this embodiment, as shown in fig. 9, the first determining module 602 includes a third determining submodule 901 and a generating submodule 902:
a third determining submodule 901, configured to determine, according to the log data, a reason why the external access system cancels the order generated by the user; the order generated by the user is pushed to the external access system through a preset external interface;
a generation submodule 902 configured to generate order data under different cancel cause categories.
In this alternative implementation, the reasons why the external access system cancels the order generated by the user can be divided into two main categories: the external access system actively cancels the order generated by the user and the exception of the external access system causes the order generated by the user to be cancelled. The reason that the external access system actively cancels the order generated by the user may be caused by an internal reason of the external access system, for example, for a takeaway ordering platform, when the external access system is a certain catering enterprise, the reason that the order generated by the user is actively cancelled may be that a store for which the order is directed temporarily stops working, ordered dishes are sold out, the order is repeated, the user cannot be contacted, and the like; when the external access system is abnormal, the system platform may not receive a response of the external access system after pushing order content to the external access system, and if a predetermined condition is reached (e.g., timeout, multiple pushing non-response, etc.), the system platform cancels the order generated by the user due to the abnormality, and the reason of the external access system may include a failure of directly returning the interface (e.g., after pushing a message to the external access system through the interface, the interface returns an exception code corresponding to the reason of the external entry system abnormality), a failure of calling the interface (e.g., after pushing a message to the external access system multiple times through the interface, the interface does not return any response), an internal abnormality of the external access system (e.g., after pushing a message to the external access system, a response returned by the external access system is an abnormality generated inside the external access system). In this implementation, the reason why the order generated by the user is cancelled is counted according to the time dimension (e.g., day, week, month, etc.), the above two major categories may be counted, each major category is subdivided into minor categories (each major category is for various different cancellation reasons), for example, the time dimension requesting the operation state of the external access system is the previous week, then the order data of cancellation of each sub-category, which may include the order quantity, the order amount, etc., of the two major categories in which the external access system actively cancels the order generated by the user and the order generated by the user is cancelled due to the abnormality of the external access system in the previous week may be counted, as shown in fig. 5. By the method, operation and maintenance personnel of the external access system can intuitively know the amount of money related to the reason for canceling the order, and powerful data support is provided for later system maintenance.
In an optional implementation manner, the third determining sub-module 901 includes at least one of a fourth determining sub-module, a fifth determining sub-module, and a sixth determining sub-module:
a fourth determining submodule configured to determine that the reason why the external access system cancels the order generated by the user is actively cancelled by the external access system when the received response information is that the external access system cancels the order after the order generated by the user is pushed to the external access system;
a fifth determining submodule configured to determine that the reason why the external access system cancels the order generated by the user is that the external access system is abnormal when the received response information is that the interface is abnormal after the order generated by the user is pushed to the external access system;
a sixth determining submodule, configured to determine that the reason why the external access system cancels the order generated by the user is the external access system abnormality when the response information is not received after the number of times of pushing the order generated by the user to the external access system reaches a predetermined threshold.
In this optional implementation manner, after the content of the order is pushed to the external access system, the cancellation reason of the order generated by the user is determined by the response condition of the external access system as two types, namely active cancellation of the external access system and cancellation caused by an abnormal external access system: if a response for canceling the order is received from the external access system after the order content is pushed, determining that the external access system actively cancels the order, and if the received response is an abnormal code returned by the interface after the order content is pushed, determining that the external access system generates an abnormality, wherein the reason of the abnormality corresponds to the returned abnormal code; and if the response of the external access system is not received after the order content is pushed, and the response is still not received after the order content is pushed for many times and the times reach a preset threshold value, the external access system is considered to be abnormal, and the reason of the abnormality cannot be known. In this way, the reasons why the order generated by the user is cancelled can be classified so as to monitor the abnormal reason of the external access system.
Fig. 10 is a schematic structural diagram of an electronic device suitable for implementing a monitoring method of an external access system according to an embodiment of the present disclosure.
As shown in fig. 10, the electronic apparatus 1000 includes a Central Processing Unit (CPU)1001 that can execute various processes in the embodiment shown in fig. 1 described above according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM1003, various programs and data necessary for the operation of the electronic apparatus 1000 are also stored. The CPU1001, ROM1002, and RAM1003 are connected to each other via a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to embodiments of the present disclosure, the method described above with reference to fig. 1 may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the monitoring method of the external access system of fig. 1. In such embodiments, the computer program may be downloaded and installed from a network through the communication section 1009 and/or installed from the removable medium 1011.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
A1, a method for monitoring an external access system, comprising: responding to a state data request of an external access system, and acquiring related log data; determining state data of the external access system according to the acquired log data; and outputting the state data of the external access system. A2, the method for monitoring an external access system according to a1, wherein the obtaining of the related log data in response to the status data request of the external access system includes: acquiring identification data of the external access system; obtaining a time period for the requested state data; and acquiring log data generated when the external access system interacts with the external access system within the time period according to the identification data of the external access system. A3, the method for monitoring an external access system according to a1, wherein the determining the status data of the external access system according to the acquired log data includes: determining calling data of a preset external interface according to the acquired log data; the predetermined external interface is an interface interacting with the external access system, and the calling data includes at least one of: the identifier of the preset external interface, the success frequency of calling the preset external interface, the failure frequency of calling the preset external interface, the success rate of calling the preset external interface and the identifier of whether the success rate of calling the preset external interface reaches the standard or not. A4, the method for monitoring an external access system according to A3, further comprising: and responding to the viewing operation of at least one item in the calling data, and outputting a log data list related to the at least one item. A5, the method for monitoring an external access system according to a1, wherein the determining the status data of the external access system according to the acquired log data includes: determining response data of a predetermined external interface according to the acquired log data; the predetermined external interface is an interface for interacting with the external access system, and the response data includes at least one of: the external interface calling method comprises the following steps of identification of the preset external interface, maximum response time for calling the preset external interface, minimum response time for calling the preset external interface, the number of times that the response time for calling the preset external interface exceeds a preset response time threshold value, achievement rate of the response time for calling the preset external interface, and identification of whether the response time for calling the preset external interface is up to the achievement. A6, the method for monitoring an external access system according to A5, further comprising: and outputting a log data list related to at least one item of the response data in response to the viewing operation of at least one item of the response data. A7, the method for monitoring an external access system according to A1, further comprising: pushing information to the external access system using a predetermined external interface, the information comprising at least one of: order content information, order state information and state information of the external access system generated by a user; and determining whether the external access system fails according to the response of the external access system. A8, the method for monitoring an external access system according to a7, wherein determining whether the external access system fails according to the response of the external access system comprises: and when the number of times of pushing the message to the external access system by using the preset external interface reaches a preset threshold value and no response of the external access system is received, setting the state of the external access system to be a down state. A9, the method for monitoring an external access system according to a7, wherein the determining the status data of the external access system according to the acquired log data includes: determining the reason for canceling the order generated by the user by the external access system according to the log data; the order generated by the user is pushed to the external access system through a preset external interface; order data under different cancel cause categories are generated. A10, according to the monitoring method of the external access system of A9, determining the reason why the external access system cancels the order generated by the user according to the log data, including at least one of: after an order generated by a user is pushed to the external access system, when the received response information indicates that the external access system cancels the order, determining that the reason that the external access system cancels the order generated by the user is that the external access system cancels the order actively; after an order generated by a user is pushed to the external access system, when the received response information is interface abnormity, determining that the reason for canceling the order generated by the user by the external access system is the abnormity of the external access system; and after the number of times of pushing the order generated by the user to the external access system reaches a preset threshold value and no response information is received, determining that the reason for canceling the order generated by the user by the external access system is abnormal by the external access system.
B11, a monitoring device of an external access system, comprising: the first response module is configured to respond to a status data request of an external access system and acquire related log data; a first determination module configured to determine status data of the external access system from the acquired log data; an output module configured to output status data of the external access system. B12, the monitoring device of the external access system according to claim 11, wherein the first response module includes: a first obtaining submodule configured to obtain identification data of the external access system; a second obtaining sub-module configured to obtain a time period of the requested status data; and the third obtaining submodule is configured to obtain log data generated when the third obtaining submodule interacts with the external access system within the time period according to the identification data of the external access system. B13, the monitoring device of the external access system according to B11, the first determining module includes: a first determination submodule configured to determine call data of a predetermined external interface based on the acquired log data; the predetermined external interface is an interface interacting with the external access system, and the calling data includes at least one of: the identifier of the preset external interface, the success frequency of calling the preset external interface, the failure frequency of calling the preset external interface, the success rate of calling the preset external interface and the identifier of whether the success rate of calling the preset external interface reaches the standard or not. B14, the monitoring device of the external access system according to B13, further comprising: a second response module configured to output a list of log data associated with at least one item of the call data in response to a viewing operation of the at least one item of the call data. B15, the monitoring device of the external access system according to B11, the first determining module includes: a second determining submodule configured to determine response data of a predetermined external interface based on the acquired log data; the predetermined external interface is an interface for interacting with the external access system, and the response data includes at least one of: the external interface calling method comprises the following steps of identification of the preset external interface, maximum response time for calling the preset external interface, minimum response time for calling the preset external interface, the number of times that the response time for calling the preset external interface exceeds a preset response time threshold value, achievement rate of the response time for calling the preset external interface, and identification of whether the response time for calling the preset external interface is up to the achievement. B16, the monitoring device of the external access system according to B15, further comprising: a third response module configured to output a list of log data associated with at least one of the response data in response to a viewing operation of the at least one of the response data. B17, the monitoring device of the external access system according to B11, further comprising: a push module configured to push information to the external access system using a predetermined external interface, the information comprising at least one of: order content information, order state information and state information of the external access system generated by a user; a second determination module configured to determine whether the external access system is malfunctioning according to a response of the external access system. B18, the monitoring device of the external access system according to B17, the second determining module comprising: the setting submodule is configured to set the state of the external access system to a down state when the number of times of pushing the message to the external access system by using the predetermined external interface reaches a predetermined threshold and no response of the external access system is received. B19, the monitoring device of the external access system according to B17, the first determining module includes: a third determining submodule configured to determine, according to the log data, a reason why the external access system cancels an order generated by a user; the order generated by the user is pushed to the external access system through a preset external interface; and the generation submodule is configured to generate order data under different cancellation reason types. B20, the monitoring device of the external access system according to B19, the third determining submodule comprising at least one of: a fourth determining submodule configured to determine that the reason why the external access system cancels the order generated by the user is actively cancelled by the external access system when the received response information is that the external access system cancels the order after the order generated by the user is pushed to the external access system; a fifth determining submodule configured to determine that the reason why the external access system cancels the order generated by the user is that the external access system is abnormal when the received response information is that the interface is abnormal after the order generated by the user is pushed to the external access system; a sixth determining submodule, configured to determine that the reason why the external access system cancels the order generated by the user is the external access system abnormality when the response information is not received after the number of times of pushing the order generated by the user to the external access system reaches a predetermined threshold.
C21, an electronic device comprising a memory and a processor; wherein,
the memory is for storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to perform the method steps of A1-A10.
D22, a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, carry out the method steps recited in a1-a 10.

Claims (10)

1. A method for monitoring an external access system, comprising:
responding to a state data request of an external access system, and acquiring related log data;
determining state data of the external access system according to the acquired log data;
and outputting the state data of the external access system.
2. The method for monitoring an external access system according to claim 1, wherein the obtaining the relevant log data in response to the status data request of the external access system comprises:
acquiring identification data of the external access system;
obtaining a time period for the requested state data;
and acquiring log data generated when the external access system interacts with the external access system within the time period according to the identification data of the external access system.
3. The method for monitoring an external access system according to claim 1, wherein the determining the status data of the external access system according to the acquired log data comprises:
determining calling data of a preset external interface according to the acquired log data; the predetermined external interface is an interface interacting with the external access system, and the calling data includes at least one of: the identifier of the preset external interface, the success frequency of calling the preset external interface, the failure frequency of calling the preset external interface, the success rate of calling the preset external interface and the identifier of whether the success rate of calling the preset external interface reaches the standard or not.
4. The method for monitoring an external access system according to claim 3, further comprising:
and responding to the viewing operation of at least one item in the calling data, and outputting a log data list related to the at least one item.
5. The method for monitoring an external access system according to claim 1, wherein the determining the status data of the external access system according to the acquired log data comprises:
determining response data of a predetermined external interface according to the acquired log data; the predetermined external interface is an interface for interacting with the external access system, and the response data includes at least one of: the external interface calling method comprises the following steps of identification of the preset external interface, maximum response time for calling the preset external interface, minimum response time for calling the preset external interface, the number of times that the response time for calling the preset external interface exceeds a preset response time threshold value, achievement rate of the response time for calling the preset external interface, and identification of whether the response time for calling the preset external interface is up to the achievement.
6. The method for monitoring an external access system according to claim 5, further comprising:
and outputting a log data list related to at least one item of the response data in response to the viewing operation of at least one item of the response data.
7. The method for monitoring an external access system according to claim 1, further comprising:
pushing information to the external access system using a predetermined external interface, the information comprising at least one of: order content information, order state information and state information of the external access system generated by a user;
and determining whether the external access system fails according to the response of the external access system.
8. A monitoring apparatus of an external access system, comprising:
the first response module is configured to respond to a status data request of an external access system and acquire related log data;
a first determination module configured to determine status data of the external access system from the acquired log data;
an output module configured to output status data of the external access system.
9. An electronic device comprising a memory and a processor; wherein,
the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of claims 1-7.
10. A computer-readable storage medium having stored thereon computer instructions, characterized in that the computer instructions, when executed by a processor, implement the method steps of claims 1-7.
CN201710792556.2A 2017-09-05 2017-09-05 Monitoring method, device and the computer-readable recording medium of outside access system Pending CN107562551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710792556.2A CN107562551A (en) 2017-09-05 2017-09-05 Monitoring method, device and the computer-readable recording medium of outside access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710792556.2A CN107562551A (en) 2017-09-05 2017-09-05 Monitoring method, device and the computer-readable recording medium of outside access system

Publications (1)

Publication Number Publication Date
CN107562551A true CN107562551A (en) 2018-01-09

Family

ID=60979321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710792556.2A Pending CN107562551A (en) 2017-09-05 2017-09-05 Monitoring method, device and the computer-readable recording medium of outside access system

Country Status (1)

Country Link
CN (1) CN107562551A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509313A (en) * 2018-03-23 2018-09-07 深圳乐信软件技术有限公司 A kind of business monitoring method, platform and storage medium
CN111199370A (en) * 2019-12-25 2020-05-26 北京三快在线科技有限公司 Order information processing method and device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030118353A1 (en) * 2001-12-20 2003-06-26 Baller Eric Henry Method and apparatus for managing intelligent assets in a distributed environment
CN105553740A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Data interface monitoring method and device
CN106327304A (en) * 2016-08-26 2017-01-11 北京小度信息科技有限公司 Order processing method, device and system
CN106846080A (en) * 2016-11-01 2017-06-13 上海携程商务有限公司 The real-time monitoring system and method placed an order in line service
CN107092544A (en) * 2016-05-24 2017-08-25 口碑控股有限公司 monitoring method and device
CN107104999A (en) * 2016-02-23 2017-08-29 北京京东尚科信息技术有限公司 The treating method and apparatus of service interface call request

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030118353A1 (en) * 2001-12-20 2003-06-26 Baller Eric Henry Method and apparatus for managing intelligent assets in a distributed environment
CN105553740A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Data interface monitoring method and device
CN107104999A (en) * 2016-02-23 2017-08-29 北京京东尚科信息技术有限公司 The treating method and apparatus of service interface call request
CN107092544A (en) * 2016-05-24 2017-08-25 口碑控股有限公司 monitoring method and device
CN106327304A (en) * 2016-08-26 2017-01-11 北京小度信息科技有限公司 Order processing method, device and system
CN106846080A (en) * 2016-11-01 2017-06-13 上海携程商务有限公司 The real-time monitoring system and method placed an order in line service

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509313A (en) * 2018-03-23 2018-09-07 深圳乐信软件技术有限公司 A kind of business monitoring method, platform and storage medium
CN108509313B (en) * 2018-03-23 2021-03-19 深圳乐信软件技术有限公司 A business monitoring method, platform and storage medium
CN111199370A (en) * 2019-12-25 2020-05-26 北京三快在线科技有限公司 Order information processing method and device, storage medium and electronic equipment
CN111199370B (en) * 2019-12-25 2021-03-19 北京三快在线科技有限公司 Order information processing method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US7574382B1 (en) Automated detection of anomalous user activity associated with specific items in an electronic catalog
US8966039B1 (en) End-to-end communication service monitoring and reporting
US8352867B2 (en) Predictive monitoring dashboard
US11107084B2 (en) Fraud risk scoring tool
US20180173751A1 (en) Log file management tool
US20240152977A1 (en) Virality cause determination
US20140095212A1 (en) Systems and methods for providing quality of service for data supporting a driving performance product
US20080120204A1 (en) Method for transferring product service records
US20090112809A1 (en) Systems and methods for monitoring health of computing systems
US10437695B2 (en) Fault information providing server and fault information providing method for users of in-vehicle terminals
CN114782024A (en) Material purchasing plan generation method and device
CN106651527A (en) Multi-process order information processing method
US11334476B2 (en) Client-side survey control
US10783562B2 (en) Mitigation of failures in an online advertising network
CN107562551A (en) Monitoring method, device and the computer-readable recording medium of outside access system
US8589207B1 (en) System and method for determining and visually predicting at-risk integrated processes based on age and activity
CN109284213A (en) Alarm method, device, electronic equipment and computer readable storage medium
US11308545B2 (en) Automated order troubleshooting
CN115423574B (en) Order-based data processing method and related device
CN116402599A (en) Credit evaluation method, credit evaluation device, electronic equipment and readable storage medium
CN108257011B (en) Drop list processing method and device
WO2019099351A1 (en) Real-time event management system for mobile devices
CN108711196B (en) Parking lot management method and device
US9727835B2 (en) Business systems management mobile administration
US20230177555A1 (en) Systems and methods for item obtainment via automated discharge

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180109

RJ01 Rejection of invention patent application after publication