CN111552610A - Full link monitoring method and device - Google Patents

Full link monitoring method and device Download PDF

Info

Publication number
CN111552610A
CN111552610A CN202010303853.8A CN202010303853A CN111552610A CN 111552610 A CN111552610 A CN 111552610A CN 202010303853 A CN202010303853 A CN 202010303853A CN 111552610 A CN111552610 A CN 111552610A
Authority
CN
China
Prior art keywords
interface
request
calling
module
storage module
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
CN202010303853.8A
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.)
Shanghai Zhongtongji Network Technology Co Ltd
Original Assignee
Shanghai Zhongtongji Network 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 Shanghai Zhongtongji Network Technology Co Ltd filed Critical Shanghai Zhongtongji Network Technology Co Ltd
Priority to CN202010303853.8A priority Critical patent/CN111552610A/en
Publication of CN111552610A publication Critical patent/CN111552610A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes

Abstract

The invention relates to a method and a device for monitoring a full link, which are used for receiving an interface calling request sent by a terminal; judging whether the interface calling request is a test request or not; if so, processing the test data by using a preset shadow storage module, and calling an interface to be called by using a shadow link corresponding to the shadow storage module; if not, processing the service data by using a preset online storage module, and calling an interface to be called by using an online link corresponding to the online storage module; and sending the calling result of the interface to be called to the terminal so that the terminal monitors the interface to be called. When a user really requests on line, the real on-line link calling interface is utilized to operate service request data in a real on-line storage module; when a user tests, the shadow link calling interface is utilized to operate the test request data in the shadow storage module, so that dirty data polluted by on-line data in the real on-line storage module can be avoided, all interfaces can be called at will, and full link monitoring is realized.

Description

Full link monitoring method and device
Technical Field
The invention relates to the technical field of data processing, in particular to a full link monitoring method and device.
Background
The monitoring system is mainly used for monitoring the error reporting of a resource level and an application server, and partial systems realize a scene that data returned by the system is ensured to be consistent with expectations by calling a service system interface in real time through an interface testing technology.
The data interface is an interface for outputting data to the data connection line when data transmission is performed. The interface test is a test for testing interfaces among system components, and is mainly used for detecting interaction points between an external system and a system and between internal subsystems. The key point of the test is to check the exchange, transmission and control management process of data, the mutual logic dependency relationship between systems and the like.
The monitoring system ensures whether the service system normally operates or not through an interface test mode, and the on-line data can be polluted by calling part of interfaces currently, so that dirty data is generated, and the part of interfaces cannot be brought into a daily monitoring range. In the prior art, all interfaces cannot be monitored in a full-coverage mode under the condition that online data are not polluted.
Therefore, how to implement full coverage monitoring of all interfaces without polluting online data is a technical problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of this, an object of the present invention is to provide a full link monitoring method and apparatus, so as to solve the problem in the prior art that all interfaces cannot be monitored in a full coverage manner due to the fact that on-line data is polluted by calling part of the interfaces, and dirty data is generated.
In order to achieve the purpose, the invention adopts the following technical scheme:
a full link monitoring method, comprising:
receiving an interface calling request sent by a terminal; the interface calling request carries interface information of an interface to be called;
judging whether the interface calling request is a test request or not;
if so, processing test data by using a preset shadow storage module, and calling the interface to be called by using a shadow link corresponding to the shadow storage module;
if not, processing service data by using a preset on-line storage module, and calling the interface to be called by using an on-line link corresponding to the on-line storage module;
and sending the calling result of the interface to be called to the terminal so that the terminal monitors the interface to be called.
Further, in the above full link monitoring method, the shadow storage module is a storage module that is duplicated from the online storage module and is the same as the online storage module.
Further, in the above full link monitoring method, the interface call request also carries user account information;
before the determining whether the interface call request is a test request, the method further includes:
verifying whether the user account information carried by the interface calling request is represented as a registered account;
correspondingly, the determining whether the interface call request is a test request includes:
and if the user account information represents a registered account, judging whether the interface calling request is the test request.
Further, in the above full link monitoring method, before verifying whether the user account information carried in the interface call request is represented as a registered account, the method further includes:
acquiring an account application request carrying the application information and sent by the terminal;
verifying whether the account application request meets a preset authorization requirement or not according to the application information;
and if the account application request conforms to the preset authorization requirement, generating the user account information according to the application information, and determining the mark of the user account information as a registered account.
Further, in the above full link monitoring method, the interface call request further carries the call identifier, where the call identifier includes: testing the mark and the on-line mark;
the judging whether the interface calling request is a test request includes:
identifying the calling identifier carried by the interface calling request;
if the calling identifier is identified as the test identifier, judging that the interface calling request is a test request;
and if the calling identifier is identified as the online identifier, judging that the interface calling request is an online request.
The invention also provides a full link monitoring device, comprising: the system comprises a receiving module, a judging module, a first processing module, a second processing module, a sending module, an online storage module and a shadow storage module;
the receiving module is used for receiving an interface calling request sent by a terminal; the interface calling request carries interface information of an interface to be called;
the judging module is used for judging whether the interface calling request is a test request;
the first processing module is used for processing the test data by using a preset shadow storage module and calling the interface to be called by using a shadow link corresponding to the shadow storage module if the test data is true;
the second processing module is used for processing the service data by using a preset on-line storage module and calling the interface to be called by using an on-line link corresponding to the on-line storage module if the service data is not processed by using the preset on-line storage module;
the sending module is used for sending the calling result of the interface to be called to the terminal so that the terminal monitors the interface to be called.
Further, the full link monitoring apparatus further includes: a copy module;
and the copying module is used for copying the storage module which is the same as the storage module on the line as the shadow storage module according to the storage module on the line.
Further, the full link monitoring apparatus further includes: a verification module;
the interface calling request also carries user account information;
the verification module is used for verifying whether the user account information carried by the interface calling request is represented as a registered account;
the judging module is further configured to judge whether the interface call request is the test request if the user account information indicates a registered account.
Further, the full link monitoring apparatus further includes: the device comprises an acquisition module and a generation module;
the acquisition module is used for acquiring an account application request which is sent by the terminal and carries the application information;
the verification module is further used for verifying whether the account application request meets a preset authorization requirement or not according to the application information;
and the generating module is used for generating the user account information according to the application information if the account application request meets the preset authorization requirement, and determining the mark of the user account information as a registration account.
Further, in the above full-link monitoring apparatus, the determining module includes: an identification unit and an identification judgment unit;
the interface calling request also carries the calling identifier, and the calling identifier comprises: testing the mark and the on-line mark;
the identification unit is used for identifying the calling identifier carried by the interface calling request;
the identification judging unit is used for judging the interface calling request as a testing request if the calling identification is identified as the testing identification; and if the calling identifier is identified as the online identifier, judging that the interface calling request is an online request.
A full link monitoring method and device, receive the interface that carries the interface information of the interface to be called that the terminal station sends and call the request; judging whether the interface calling request is a test request or not; if so, processing the test data by using a preset shadow storage module, and calling an interface to be called by using a shadow link corresponding to the shadow storage module; if not, processing the service data by using a preset online storage module, and calling an interface to be called by using an online link corresponding to the online storage module; and sending the calling result of the interface to be called to the terminal so that the terminal monitors the interface to be called. By adopting the technical scheme, when a user carries out a real online request, the real online service link calling interface is utilized to operate the data of the service request in the real online storage module, and when the user carries out a test, the shadow link calling interface can be utilized to operate the data of the test request such as adding, modifying and deleting in the shadow storage module, so that the online data pollution condition in the real online storage module can be avoided, dirty data can be generated, all interfaces can be randomly called, and full link monitoring is realized.
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 invention, as claimed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart provided by one embodiment of a full link monitoring method of the present invention;
fig. 2 is a schematic structural diagram provided by an embodiment of the full link monitoring apparatus of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a flowchart provided in an embodiment of a full link monitoring method of the present invention, and as shown in fig. 1, the full link monitoring method of the present embodiment may specifically include the following steps:
s101, receiving an interface calling request sent by a terminal; the interface calling request carries interface information of an interface to be called;
when a user wants to perform a service operation or a test operation, for example, a normal operation or a test operation on an APP, the user needs to call a corresponding interface to complete the operation when performing the service operation or the test operation, and therefore, the user needs to send an interface call request to the processor through the terminal, where the terminal may be a monitoring terminal that can monitor the call situations of all interfaces; the interface calling request carries interface information of the interface to be called, and the interface information may include an interface number of the interface to be called and the like.
S102, judging whether the interface calling request is a test request; if yes, go to step S103; if not, executing step S104;
after receiving the interface calling request, it needs to judge whether the interface calling request is a test request, if the interface calling request is a test request, step S103 is executed; if the interface call request is an online request, not a test request, step S104 is executed. The online request is an interface calling request sent by a user when the user performs real service operation.
Further, the interface call request also carries a call identifier, wherein the call identifier includes a test identifier and an online identifier. The specific steps of judging whether the interface calling request is a test request comprise:
firstly, identifying a calling identifier carried by an interface calling request;
and identifying the calling identifier carried in the received interface calling request, and determining whether the calling identifier carried in the currently received interface calling request is a test identifier or an on-line identifier. The interface calling request carrying the test identifier is an interface calling request sent by a user during test operation, so that the user can perform interface test on the interface, and thus data exchange, transmission, control management processes, logic dependency relations and the like between an external system and a system and between internal subsystems are detected, that is, whether the current service system operates normally is detected. The interface calling request carrying the online identification is an interface calling request sent by a user during normal online operation.
Secondly, if the calling identifier is recognized as the test identifier, judging that the interface calling request is the test request;
if the calling identifier carried in the interface calling request is identified as the test identifier, determining that the currently received interface calling request is the test request, that is, the operation performed by the current user is the test operation, and the method is mainly used for performing the interface test and judging whether the current service system runs normally, wherein the service system can be a certain APP. The test identifier may be a request header addition mark or any entry as a test mark.
Thirdly, if the calling identifier is identified to be the online identifier, the interface calling request is judged to be the online request.
And if the calling identifier carried in the interface calling request is identified to be the online identifier, determining that the currently received interface calling request is the online request, namely that the operation performed by the current user is real online operation.
S103, processing test data by using a preset shadow storage module, and calling an interface to be called by using a shadow link corresponding to the shadow storage module;
and if the interface calling request is judged to be the test request, processing the test data by using a preset shadow storage module, and calling the interface to be called corresponding to the interface calling request by using a shadow link corresponding to the shadow storage module. The shadow storage module is a storage module which is copied by the processor according to the on-line storage module and is the same as the on-line storage module. The online storage module can adopt a database, Redis and the like. The copied shadow storage module and the online storage module have the same database table structure, table content and the like. For example, when a test request initiated by the monitoring system is received, operations such as adding, modifying, deleting and the like after the program processing are all executed in the shadow storage module. Therefore, the data generated by the test can be stored by using the shadow storage module, so that the test data generated by the test is isolated from the on-line data generated by the on-line request, and the on-line data cannot be polluted.
S104, processing service data by using a preset online storage module, and calling an interface to be called by using an online link corresponding to the online storage module;
and if the interface calling request is judged to be an online request, processing the service data by using a preset online storage module, and calling the interface to be called corresponding to the interface calling request by using an online link corresponding to the online storage module. Thus, when a user executes real online operation, an interface calling request carrying an online identification is sent, and the real online storage module is used for operating online data; when a user executes interface test operation, an interface calling request carrying a test identifier is sent, and the copied shadow storage module is used for operating test data. Therefore, a user can carry out real online operation or interface test operation, the generated online data and the test data can not interfere with each other, and the test data can not pollute the online data.
And S105, sending the calling result of the interface to be called to the terminal so that the terminal monitors the interface to be called.
After the interface to be called is called, the calling result of the interface to be called can be sent to the terminal sending the interface calling request, and a user can monitor the calling condition of the interface to be called by using the calling result received by the terminal, so that the interface to be called of a shadow link can be monitored, the interface to be called of a real on-line link can also be monitored, and thus, the monitoring of all the interfaces can be realized, namely, the monitoring of the full link is realized.
In the full link monitoring method of the embodiment, an interface calling request which is sent by a terminal and carries interface information of an interface to be called is received; judging whether the interface calling request is a test request or not; if so, processing the test data by using a preset shadow storage module, and calling an interface to be called by using a shadow link corresponding to the shadow storage module; if not, processing the service data by using a preset online storage module, and calling an interface to be called by using an online link corresponding to the online storage module; and sending the calling result of the interface to be called to the terminal so that the terminal monitors the interface to be called. By adopting the technical scheme, when a user carries out a real online request, the real online service link calling interface is utilized to operate the data of the service request in the real online storage module, and when the user carries out a test, the shadow link calling interface can be utilized to operate the data of the test request such as adding, modifying and deleting in the shadow storage module, so that the online data pollution condition in the real online storage module can be avoided, dirty data can be generated, all interfaces can be randomly called, and full link monitoring is realized.
Further, in the full link monitoring method of this embodiment, the interface invocation request may also carry user account information, and before determining whether the interface invocation request is a test request, the method further includes:
firstly, verifying whether user account information carried by an interface calling request is represented as a registered account;
before a user sends an interface calling request through a terminal, account information of the user is input, the sent interface calling request carries the user account information of the user, and after the processor receives the interface calling request sent by the terminal, whether the user account information carried by the interface calling request is represented as a registered account is verified.
Secondly, if the user account information indicates a registered account, judging whether the interface calling request is a test request;
and if the user account information carried by the interface calling request is verified to be the registered account, judging whether the interface calling request is a test request. If the user account information carried by the interface calling request is not the registered account, the interface calling cannot be carried out, and the user can be prompted to carry out account registration. The interface calling request can be sent only if the account number of the user is the registered account number, so that the interface can be prevented from being called and data can be sent at will by other people, and the safety of interface testing is guaranteed.
Further, in the full link monitoring method of this embodiment, before verifying whether the user account information carried in the interface call request is represented as a registered account, the method further includes:
firstly, acquiring an account application request carrying application information sent by a terminal;
if a user wants to register an account, the user firstly sends an account application request through a terminal, wherein the account application request carries application information.
Secondly, verifying whether the account application request meets the preset authorization requirement or not according to the application information;
after an account application request sent by a terminal is received, whether the account application request sent by the terminal meets a preset authorization requirement is confirmed according to application information carried by the account application request.
And thirdly, if the account application request meets the preset authorization requirement, generating user account information according to the application information, and determining the mark of the user account information as a registered account.
And if the account application request meets the preset authorization requirement, generating user account information according to application information carried by the account application request, and marking the user account information as a registration account. And if the account application request does not meet the preset authorization requirement, prompting the user that the application information does not meet the requirement.
In order to be more comprehensive, the present application also provides a full link monitoring apparatus corresponding to the full link monitoring method provided by the embodiment of the present invention.
Fig. 2 is a schematic structural diagram provided by an embodiment of a full link monitoring device of the present invention, and as shown in fig. 2, the full link monitoring device of the present embodiment includes a receiving module 101, a determining module 102, a first processing module 103, a second processing module 104, a sending module 105, an online storage module 106, and a shadow storage module 107.
A receiving module 101, configured to receive an interface call request sent by a terminal; the interface calling request carries interface information of an interface to be called;
the judging module 102 is configured to judge whether the interface calling request is a test request;
the first processing module 103 is configured to, if yes, process the test data by using a preset shadow storage module 107, and call the interface to be called by using a shadow link corresponding to the shadow storage module 107;
the second processing module 104 is configured to, if not, process the service data by using a preset online storage module 106, and call an interface to be called by using an online link corresponding to the online storage module 106;
the sending module 105 is configured to send a call result of the interface to be called to the terminal, so that the terminal monitors the interface to be called.
Further, the full link monitoring apparatus of this embodiment further includes a copy module;
the copy module is used for copying a storage module which is the same as the on-line storage module 106 from the on-line storage module 106 as a shadow storage module 107.
Further, in the full-link monitoring apparatus of this embodiment, the determining module 102 includes an identifying unit and an identifier determining unit. The interface calling request also carries a calling identifier, and the calling identifier comprises: testing the mark and the on-line mark;
the identification unit is used for identifying a calling identifier carried by the interface calling request;
the identification judgment unit is used for judging that the interface calling request is a test request if the calling identification is identified as a test identification; and if the calling identifier is identified to be the online identifier, judging that the interface calling request is the online request.
Further, the full link monitoring apparatus of the present embodiment further includes a verification module; the interface calling request also carries user account information;
the verification module is used for verifying whether the user account information carried by the interface calling request is represented as a registration account;
the determining module 102 is further configured to determine whether the interface call request is a test request if the user account information indicates a registered account.
Further, the full link monitoring device of the embodiment further includes an obtaining module and a generating module;
the acquisition module is used for acquiring an account application request carrying application information sent by a terminal;
the verification module is also used for verifying whether the account application request meets the preset authorization requirement or not according to the application information;
and the generating module is used for generating user account information according to the application information if the account application request meets the preset authorization requirement, and determining the mark of the user account information as a registered account.
In the full-link monitoring device of this embodiment, the receiving module 101 receives an interface calling request which is sent by a terminal and carries interface information of an interface to be called; the judging module 102 judges whether the interface calling request is a test request; if yes, the first processing module 103 processes the test data by using a preset shadow storage module 107, and calls an interface to be called by using a shadow link corresponding to the shadow storage module 107; if not, the second processing module 104 processes the service data by using a preset on-line storage module 106, and calls an interface to be called by using an on-line link corresponding to the on-line storage module 106; the sending module 105 sends the calling result of the interface to be called to the terminal, so that the terminal monitors the interface to be called. By adopting the technical scheme, when a user carries out a real online request, the real online service link calling interface is utilized to operate the data of the service request in the real online storage module 106, and when the user carries out a test, the shadow link calling interface can be utilized to operate the data of the test request such as adding, modifying and deleting in the shadow storage module 107, so that the condition of online data pollution in the real online storage module 106 can be avoided, dirty data can be generated, all interfaces can be randomly called, and full link monitoring is realized.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A full link monitoring method, comprising:
receiving an interface calling request sent by a terminal; the interface calling request carries interface information of an interface to be called;
judging whether the interface calling request is a test request or not;
if so, processing test data by using a preset shadow storage module, and calling the interface to be called by using a shadow link corresponding to the shadow storage module;
if not, processing service data by using a preset on-line storage module, and calling the interface to be called by using an on-line link corresponding to the on-line storage module;
and sending the calling result of the interface to be called to the terminal so that the terminal monitors the interface to be called.
2. The full-link monitoring method according to claim 1, wherein the shadow storage module is a storage module replicated from the on-line storage module and identical to the on-line storage module.
3. The full-link monitoring method according to claim 1, wherein the interface call request further carries user account information;
before the determining whether the interface call request is a test request, the method further includes:
verifying whether the user account information carried by the interface calling request is represented as a registered account;
correspondingly, the determining whether the interface call request is a test request includes:
and if the user account information represents a registered account, judging whether the interface calling request is the test request.
4. The full-link monitoring method according to claim 3, wherein before verifying whether the user account information carried in the interface invocation request is represented as a registered account, the method further comprises:
acquiring an account application request carrying the application information and sent by the terminal;
verifying whether the account application request meets a preset authorization requirement or not according to the application information;
and if the account application request conforms to the preset authorization requirement, generating the user account information according to the application information, and determining the mark of the user account information as a registered account.
5. The full-link monitoring method according to claim 1, wherein the interface call request further carries the call identifier, and the call identifier includes: testing the mark and the on-line mark;
the judging whether the interface calling request is a test request includes:
identifying the calling identifier carried by the interface calling request;
if the calling identifier is identified as the test identifier, judging that the interface calling request is a test request;
and if the calling identifier is identified as the online identifier, judging that the interface calling request is an online request.
6. A full link monitoring apparatus, comprising: the system comprises a receiving module, a judging module, a first processing module, a second processing module, a sending module, an online storage module and a shadow storage module;
the receiving module is used for receiving an interface calling request sent by a terminal; the interface calling request carries interface information of an interface to be called;
the judging module is used for judging whether the interface calling request is a test request;
the first processing module is used for processing the test data by using a preset shadow storage module and calling the interface to be called by using a shadow link corresponding to the shadow storage module if the test data is true;
the second processing module is used for processing the service data by using a preset on-line storage module and calling the interface to be called by using an on-line link corresponding to the on-line storage module if the service data is not processed by using the preset on-line storage module;
the sending module is used for sending the calling result of the interface to be called to the terminal so that the terminal monitors the interface to be called.
7. The full link monitoring apparatus of claim 6, further comprising: a copy module;
and the copying module is used for copying the storage module which is the same as the storage module on the line as the shadow storage module according to the storage module on the line.
8. The full link monitoring apparatus of claim 6, further comprising: a verification module;
the interface calling request also carries user account information;
the verification module is used for verifying whether the user account information carried by the interface calling request is represented as a registered account;
the judging module is further configured to judge whether the interface call request is the test request if the user account information indicates a registered account.
9. The full link monitoring apparatus of claim 8, further comprising: the device comprises an acquisition module and a generation module;
the acquisition module is used for acquiring an account application request which is sent by the terminal and carries the application information;
the verification module is further used for verifying whether the account application request meets a preset authorization requirement or not according to the application information;
and the generating module is used for generating the user account information according to the application information if the account application request meets the preset authorization requirement, and determining the mark of the user account information as a registration account.
10. The full link monitoring apparatus according to claim 6, wherein the determining module comprises: an identification unit and an identification judgment unit;
the interface calling request also carries the calling identifier, and the calling identifier comprises: testing the mark and the on-line mark;
the identification unit is used for identifying the calling identifier carried by the interface calling request;
the identification judging unit is used for judging the interface calling request as a testing request if the calling identification is identified as the testing identification; and if the calling identifier is identified as the online identifier, judging that the interface calling request is an online request.
CN202010303853.8A 2020-04-17 2020-04-17 Full link monitoring method and device Pending CN111552610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010303853.8A CN111552610A (en) 2020-04-17 2020-04-17 Full link monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010303853.8A CN111552610A (en) 2020-04-17 2020-04-17 Full link monitoring method and device

Publications (1)

Publication Number Publication Date
CN111552610A true CN111552610A (en) 2020-08-18

Family

ID=72000059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010303853.8A Pending CN111552610A (en) 2020-04-17 2020-04-17 Full link monitoring method and device

Country Status (1)

Country Link
CN (1) CN111552610A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641554A (en) * 2021-08-10 2021-11-12 南威软件股份有限公司 Cross-over interface link monitoring method
CN113923134A (en) * 2021-10-08 2022-01-11 广州博冠信息科技有限公司 Interface testing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4766548A (en) * 1987-01-02 1988-08-23 Pepsico Inc. Telelink monitoring and reporting system
US6768787B1 (en) * 1993-02-16 2004-07-27 C & P Of Virginia Common channeling signaling network maintenance and testing
CN108933713A (en) * 2018-07-20 2018-12-04 阿里巴巴集团控股有限公司 The method, apparatus and service server of sandbox debugging are realized based on shadow link
CN110362456A (en) * 2018-04-10 2019-10-22 挖财网络技术有限公司 A kind of method and device obtaining server-side performance data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4766548A (en) * 1987-01-02 1988-08-23 Pepsico Inc. Telelink monitoring and reporting system
US6768787B1 (en) * 1993-02-16 2004-07-27 C & P Of Virginia Common channeling signaling network maintenance and testing
CN110362456A (en) * 2018-04-10 2019-10-22 挖财网络技术有限公司 A kind of method and device obtaining server-side performance data
CN108933713A (en) * 2018-07-20 2018-12-04 阿里巴巴集团控股有限公司 The method, apparatus and service server of sandbox debugging are realized based on shadow link

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641554A (en) * 2021-08-10 2021-11-12 南威软件股份有限公司 Cross-over interface link monitoring method
CN113641554B (en) * 2021-08-10 2023-10-27 南威软件股份有限公司 Cross-over interface link monitoring method
CN113923134A (en) * 2021-10-08 2022-01-11 广州博冠信息科技有限公司 Interface testing method and device

Similar Documents

Publication Publication Date Title
KR101763804B1 (en) Method for verifying mobile application and terminal using the same
CN111045921A (en) Automatic interface testing method and device, computer equipment and storage medium
CN111552610A (en) Full link monitoring method and device
CN110784374A (en) Method, device, equipment and system for monitoring operation state of service system
CN108933789B (en) Method for preventing personal information leakage and third-party application server
CN110088744A (en) A kind of database maintenance method and its system
CN106250207A (en) A kind of virtual machine dilatation processing method and processing device
CN111464394B (en) Node monitoring method and device and storage medium
JPH0850555A (en) Fault analyzer and fault detector
KR101781527B1 (en) Method for verifying mobile application and terminal using the same
CN114302351B (en) Short message service processing method and device, computer equipment and storage medium
CN106940647B (en) Code management method and device
CN110294382A (en) Fault handling method and relevant device based on elevator call plate
CN113810379B (en) Exception handling method and multi-service system
CN110362464B (en) Software analysis method and equipment
CN107800754B (en) Data transmission task processing method and device, and data transmission task monitoring method and device
CN114327981A (en) Safety verification system, method and device of function safety mechanism
CN113392028A (en) Distributed test system and control method
CN110198249B (en) Power distribution automation system testing method and system
CN112306871A (en) Data processing method, device, equipment and storage medium
CN111506507A (en) Business service state detection method and device, electronic equipment and storage medium
CN106612278B (en) Data validity verification method and system
CN111585844B (en) Test method, system, server and storage medium based on verification code
CN113315676B (en) Method and device for detecting broken link and electronic equipment
CN107438259B (en) Method for positioning network management system performance module fault

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