Access path detection method and related device
Through the access path detection method, by comparing the standards and actual access paths, the lack of business abnormal detection in the banking system is solved, and the success rate and security of business processing are improved.
Patent Information
- Application Number
- CN202410921144.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-12
AI Technical Summary
The banking system lacks effective abnormal detection methods during business processing, resulting in chaotic program calls and data error applications, increasing the probability of program failure and reducing data security, thereby reducing the success rate and overall security of business processing.
Provide an access path detection method, by obtaining the target business identifier in the business processing request, determining the standard access path, and comparing the actual access path, determining whether there are abnormalities in the business processing, and ensuring that the program and data calls meet the standard path.
By accurately detecting abnormalities in the business processing process, the success rate and stability of business processing are improved, and the risks of program failures and data security are reduced.
Smart Images

Figure CN118939334A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field, and in particular to a testing method and related devices. Background Art
[0002] In the banking system, various programs and data need to be called when handling business, and the called data is processed through the cooperation between multiple programs to achieve the successful execution of the business. As the richness of business gradually increases, the banking system needs to call more and more programs and data when handling business, and the complexity of the business handling process is also increasing.
[0003] In the relevant technology, there is a lack of an effective detection method for whether there are any abnormalities in business processing, which leads to problems such as program call confusion and data error application during the business processing, thereby increasing the probability of program failure and reducing data security, and the overall security and success rate of business processing are low. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides an access path detection method, which can accurately detect business processing based on the access path during business processing to ensure the success rate of business processing.
[0005] The embodiments of the present application disclose the following technical solutions:
[0006] In a first aspect, an embodiment of the present application discloses an access path detection method, the method comprising:
[0007] Obtaining a business processing request, the business processing request is used to request processing of a target business, and the business processing request includes a target business identifier corresponding to the target business;
[0008] Determine, according to the target business identifier, a standard access path corresponding to the target business, wherein the standard access path is used to identify a program calling method and a data calling method required for the target business to be handled normally;
[0009] Handle the target business, and obtain an actual access path corresponding to the target business when handling the target business, wherein the actual access path is used to identify a program calling method and a data calling method corresponding to the target business when actually handling the target business;
[0010] The standard access path and the actual access path are compared to determine a detection result corresponding to the target business, where the detection result is used to identify whether an abnormality occurs in the handling of the target business.
[0011] In a possible implementation, before obtaining the service processing request, the method further includes:
[0012] Obtaining a target access path corresponding to when the target business is handled normally;
[0013] The target access path is determined as a standard access path corresponding to the target service.
[0014] In a possible implementation, the method further includes:
[0015] Identify the system to be tested;
[0016] A plurality of services supported by the system to be detected is obtained, wherein the target service is any one of the plurality of services.
[0017] In a possible implementation manner, comparing the standard access path with the actual access path to determine the detection result corresponding to the target service includes:
[0018] In response to the standard access path being consistent with the actual access path, determining that no abnormality occurs in the handling of the target business;
[0019] In response to the standard access path being inconsistent with the actual access path, it is determined that an abnormality occurs in the processing of the target service.
[0020] In a possible implementation, the program calling method includes calling a program and a program calling sequence, and in response to the inconsistency between the standard access path and the actual access path, determining that the handling of the target business is abnormal includes:
[0021] In response to the inconsistency between the calling program identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business;
[0022] In response to the inconsistency between the program call sequence identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business;
[0023] In response to the data calling modes identified by the standard access path and the actual access path being inconsistent, it is determined that an abnormality occurs in the processing of the target business.
[0024] In a second aspect, an embodiment of the present application discloses an access path detection device, the device comprising a first acquisition unit, a first determination unit, a second acquisition unit, and a second determination unit:
[0025] The first acquisition unit is used to acquire a service processing request, where the service processing request is used to request processing of a target service, and the service processing request includes a target service identifier corresponding to the target service;
[0026] The first determining unit is used to determine a standard access path corresponding to the target service according to the target service identifier, wherein the standard access path is used to identify a program calling method and a data calling method required for the target service to be handled normally;
[0027] The second acquisition unit is used to handle the target business and acquire an actual access path corresponding to the target business when the target business is handled, wherein the actual access path is used to identify a program calling method and a data calling method corresponding to the target business when the target business is actually handled;
[0028] The second determination unit is used to compare the standard access path and the actual access path to determine a detection result corresponding to the target business, wherein the detection result is used to identify whether an abnormality occurs in the handling of the target business.
[0029] In a possible implementation manner, the apparatus further includes a third acquiring unit and a third determining unit:
[0030] The third acquisition unit is used to acquire the target access path corresponding to the target service when it is handled normally;
[0031] The third determining unit is configured to determine the target access path as a standard access path corresponding to the target service.
[0032] In a possible implementation manner, the apparatus further includes a fourth determining unit and a fourth acquiring unit:
[0033] The fourth determining unit is used to determine the system to be detected;
[0034] The fourth acquisition unit is used to acquire multiple services supported by the system to be detected, and the target service is any one of the multiple services.
[0035] In a possible implementation manner, the second determining unit is specifically configured to:
[0036] In response to the standard access path being consistent with the actual access path, determining that no abnormality occurs in the handling of the target business;
[0037] In response to the standard access path being inconsistent with the actual access path, it is determined that an abnormality occurs in the processing of the target service.
[0038] In a possible implementation, the program calling mode includes calling a program and a program calling sequence, and the second determining unit is specifically configured to:
[0039] In response to the inconsistency between the calling program identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business;
[0040] In response to the inconsistency between the program call sequence identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business;
[0041] In response to the data calling modes identified by the standard access path and the actual access path being inconsistent, it is determined that an abnormality occurs in the processing of the target business.
[0042] In a third aspect, an embodiment of the present application discloses a computer device, wherein the computer device includes a processor and a memory:
[0043] The memory is used to store a computer program and transmit the computer program to the processor;
[0044] The processor is used to execute the access path detection method described in any one of the first aspects according to the instructions in the computer program;
[0045] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the access path detection method described in any one of the first aspects;
[0046] In a fifth aspect, an embodiment of the present application discloses a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the access path detection method described in any one of the first aspects.
[0047] It can be seen from the above technical solution that when handling a business, the standard access path corresponding to the target business can be retrieved based on the target business identifier included in the business handling request. The standard access path is the program calling method and data calling method required when the target business is handled normally, that is, only the program calling method and data calling method identified by the standard access path can successfully and normally execute the target business. The processing device can execute the target business and obtain the actual access path corresponding to the target business when it is handled. The actual access path is used to identify the program calling method and data calling method corresponding to the target business when it is actually handled. Therefore, by comparing the standard access path and the actual access path, it is possible to analyze whether the target business correctly performs program calls and data calls when it is handled, so that it can be determined whether the target business is successfully handled and obtain the detection result corresponding to the target business. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0049] Figure 1 A flowchart of an access path detection method provided in an embodiment of the present application;
[0050] Figure 2 A flowchart of an access path detection method in an actual application scenario provided by an embodiment of the present application;
[0051] Figure 3 A structural block diagram of an access path detection device provided in an embodiment of the present application;
[0052] Figure 4 A structural diagram of a terminal provided in an embodiment of the present application;
[0053] Figure 5 A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] The embodiments of the present application are described below in conjunction with the accompanying drawings.
[0055] Business processing is one of the main functions of a bank. In the banking system, business processing is usually completed through the cooperation between multiple programs, and multiple data needs to be retrieved during the business processing. In the relevant technology, there is a lack of an effective monitoring method for the business processing process, which makes it easy for business processing to have undetectable anomalies, which in turn leads to problems such as program failures or data anomalies.
[0056] In order to solve the above technical problems, the present application provides an access path detection method, which can compare the actual access path corresponding to the target business when the target business is actually handled with the standard access path corresponding to the target business when the target business is normally handled, so as to analyze whether the program and data are correctly called when the target business is actually handled, thereby achieving effective detection of the target business handling process, and then timely discovering abnormal business handling, thereby improving the success rate and stability of business handling.
[0057] It is understandable that the method can be applied to a computer device, which is a computer device capable of performing access path detection, such as a terminal device or a server. The method can be executed independently by a terminal device or a server, or can be applied to a network scenario in which a terminal device and a server communicate, and is executed by the cooperation of a terminal device and a server. Among them, the terminal device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer and other devices. The server can be understood as an application server or a Web server. In actual deployment, the server can be an independent server, a cluster server, or a cloud server, etc.
[0058] The access path detection method provided by the present invention can be used in the financial field or other fields, for example, it can be used in the financial business handling application scenario in the financial field. Other fields are any fields other than the financial field, such as the computer field. The above is only an example and does not limit the application field of the access path detection method provided by the present invention.
[0059] In order to facilitate understanding of the technical solution provided by the present application, the access path detection method provided by the present application will be introduced below in conjunction with the accompanying drawings.
[0060] See also Figure 1 , Figure 1 A flowchart of an access path detection method provided in an embodiment of the present application. In this embodiment, the processing device may be any of the above-mentioned processing devices having an access path detection function. The method includes:
[0061] S101: Obtain a business processing request.
[0062] When a target service needs to be processed, a service processing request corresponding to the target service can be sent to the processing device, and the service processing request is used to request the processing of the target service. In order to let the processing device know which service needs to be processed, the service processing request may include a target service identifier corresponding to the target service, and the target service identifier is used to identify the target service, and the target service can be any service that supports processing.
[0063] S102: Determine a standard access path corresponding to the target service according to the target service identifier.
[0064] As mentioned above, business processing is achieved through the call of programs and data. Therefore, by analyzing the data call and program call situation during business processing, it can reflect the situation of the business during processing to a certain extent.
[0065] Based on this, in the present application, the processing device can predetermine the standard access path corresponding to each service, wherein the standard access path corresponding to the target service is used to identify the program calling method and data calling method required for the target service when it is handled normally. That is, when the target service is handled normally without any abnormality, the data and program called by the target service should be consistent with the program calling method and data calling method identified by the standard access path.
[0066] S103: Process the target service, and obtain the actual access path corresponding to the target service during the processing.
[0067] The actual access path is used to identify the program calling method and data calling method corresponding to the target business when it is actually handled, so as to reflect the actual handling situation of the target business when it is handled.
[0068] S104: Compare the standard access path and the actual access path to determine a detection result corresponding to the target service.
[0069] By comparing the normal data calling method and program calling method identified by the standard access path and the actual data calling method and program calling method identified by the actual access path, it can be determined whether the data and program are correctly called when the target business is being handled, so that the detection result can be used to identify whether there are any abnormalities in the handling of the target business.
[0070] It can be seen from the above technical solution that when handling a business, the standard access path corresponding to the target business can be retrieved based on the target business identifier included in the business handling request. The standard access path is the program calling method and data calling method required when the target business is handled normally, that is, only the program calling method and data calling method identified by the standard access path can successfully and normally execute the target business. The processing device can execute the target business and obtain the actual access path corresponding to the target business when it is handled. The actual access path is used to identify the program calling method and data calling method corresponding to the target business when it is actually handled. Therefore, by comparing the standard access path and the actual access path, it is possible to analyze whether the target business correctly performs program calls and data calls when it is handled, so that it can be determined whether the target business is successfully handled and obtain the detection result corresponding to the target business.
[0071] In one possible implementation, before obtaining the service processing request, in order to detect the service, the processing device may first obtain the target access path corresponding to the target service when it is processed normally, so that the target access path can identify the normal program calling method and data calling method corresponding to the target service when it is processed normally, so that the processing device can determine the target access path as the standard access path corresponding to the target service.
[0072] It can be understood that, through the above detection process, it can be seen that the present application is versatile in the system, and the method of the present application can be applied as long as the system realizes business processing through program calls and data calls. Based on this, in a possible implementation method, the processing device can first determine the system to be detected, and the system to be detected is any system that needs to be detected by the access path detection method of the present application. The processing device can obtain multiple businesses supported by the system to be detected, and the target business is any one of the multiple businesses. Thus, the processing device can analyze the standard access paths for these businesses respectively for subsequent detection.
[0073] Specifically, in a possible implementation, when comparing the standard access path and the actual access path to determine the detection result corresponding to the target service, the processing device may perform the comparison in the following manner:
[0074] In response to the standard access path being consistent with the actual access path, it is determined that there is no abnormality in the handling of the target business. If the standard access path is consistent with the actual access path, it means that the target business has correctly called the program and data during the actual handling, so the standard access path is consistent with the actual access path. On the contrary, in response to the standard access path being inconsistent with the actual access path, it is determined that there is an abnormality in the handling of the target business.
[0075] Specifically, in a possible implementation, the program calling method may include calling a program and a program calling sequence, where the calling program refers to the program called during the business handling process, and the program calling sequence is used to identify the sequence of calling the program when handling the target business. When determining that the handling of the target business is abnormal, the processing device may analyze in the following manner:
[0076] In response to the inconsistency between the calling program identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business;
[0077] In response to the inconsistency between the program call sequence identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business;
[0078] In response to the data calling modes identified by the standard access path and the actual access path being inconsistent, it is determined that an abnormality occurs in the processing of the target business.
[0079] That is, as long as the called programs and / or the order of calling programs are inconsistent, the processing device can directly determine that there is an abnormality in the program calling method when executing the target business, that is, there is an abnormality in the handling of the target business; in terms of data, as long as there is an abnormality in the data calling method, the processing device can also determine that there is an abnormality in the handling of the target business.
[0080] Next, an access path detection method provided in an embodiment of the present application is introduced in combination with an actual application scenario.
[0081] First, the processing device can configure parameters for the system to be detected, such as process step configuration, access path comparison method, scenario customization, etc. The comparison method can perform dynamic processing in different modes for different data storage units.
[0082] Then, the processing device can analyze the data units in the system to be tested, determine the program call status and data call status corresponding to each business during business processing, so as to obtain the standard access path corresponding to each business, check the validity of the access path, and initiate comparison processing according to the specified comparison rules.
[0083] See also Figure 2 , Figure 2 A flowchart of an access path detection method in an actual application scenario provided by the present application includes:
[0084] S201: Sending a data unit to specify a target system for which access path comparison is to be performed.
[0085] The data unit is a unit for storing and processing data, and may include data and a program for processing data. The processing device may determine the data unit to be analyzed according to the target system to be compared.
[0086] S202: Determine standard access paths corresponding to a plurality of services respectively according to the target system.
[0087] S203: Form a unique access path comparison specification.
[0088] The processing device can determine the content to be compared according to the specific situation of the required comparison in the target system and form a comparison specification, such as the need to compare the calling program, the program calling sequence and the data calling method.
[0089] S204: Perform a specific access path comparison.
[0090] S205: Publish the comparison report results.
[0091] After comparing the access paths, the processing device can generate a corresponding comparison report to inform whether there are any abnormalities in the business processing. According to the comparison results, customized reports can be generated according to different scenario requirements, and relevant interfaces can be provided to link other devices for early warning.
[0092] The access path detection method of the present application can be applied to different system platforms, and the access path detection can be realized simply by the above-mentioned method, without limiting the type of data unit and the system type.
[0093] Based on the access path detection method provided in the above embodiment, the present application embodiment discloses an access path detection device. Figure 3 , Figure 3 This is a structural block diagram of an access path detection device 300 provided in the present application, the device includes a first acquisition unit 301, a first determination unit 302, a second acquisition unit 303 and a second determination unit 304:
[0094] The first acquisition unit 301 is used to acquire a service processing request, wherein the service processing request is used to request processing of a target service, and the service processing request includes a target service identifier corresponding to the target service;
[0095] The first determining unit 302 is used to determine a standard access path corresponding to the target service according to the target service identifier, wherein the standard access path is used to identify a program calling method and a data calling method required for the target service to be handled normally;
[0096] The second acquisition unit 303 is used to handle the target business and acquire the actual access path corresponding to the target business when handling it, wherein the actual access path is used to identify the program calling mode and data calling mode corresponding to the target business when actually handling it;
[0097] The second determining unit 304 is used to compare the standard access path with the actual access path to determine a detection result corresponding to the target business, where the detection result is used to identify whether an abnormality occurs in the handling of the target business.
[0098] In a possible implementation manner, the apparatus further includes a third acquiring unit and a third determining unit:
[0099] The third acquisition unit is used to acquire the target access path corresponding to the target service when it is handled normally;
[0100] The third determining unit is configured to determine the target access path as a standard access path corresponding to the target service.
[0101] In a possible implementation manner, the apparatus further includes a fourth determining unit and a fourth acquiring unit:
[0102] The fourth determining unit is used to determine the system to be detected;
[0103] The fourth acquisition unit is used to acquire multiple services supported by the system to be detected, and the target service is any one of the multiple services.
[0104] In a possible implementation manner, the second determining unit 304 is specifically configured to:
[0105] In response to the standard access path being consistent with the actual access path, determining that no abnormality occurs in the handling of the target business;
[0106] In response to the standard access path being inconsistent with the actual access path, it is determined that an abnormality occurs in the processing of the target service.
[0107] In a possible implementation, the program calling mode includes calling a program and a program calling sequence, and the second determining unit 304 is specifically configured to:
[0108] In response to the inconsistency between the calling program identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business;
[0109] In response to the inconsistency between the program call sequence identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business;
[0110] In response to the data calling modes identified by the standard access path and the actual access path being inconsistent, it is determined that an abnormality occurs in the processing of the target business.
[0111] The present application also provides a computer device, see Figure 4 As shown, the computer device may be a terminal device, and a mobile phone is taken as an example:
[0112] Figure 4 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Figure 4 The mobile phone includes: a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 770, a processor 780, and a power supply 790. Those skilled in the art will understand that Figure 4The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0113] Combine the following Figure 4 A detailed introduction to the various components of the mobile phone:
[0114] The RF circuit 710 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 780 for processing; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit 710 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, referred to as LNA), a duplexer, etc. In addition, the RF circuit 710 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0115] The memory 720 can be used to store software programs and modules. The processor 780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 720. The memory 720 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 720 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0116] The input unit 730 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 731 or near the touch panel 731 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 731 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 780, and can receive and execute commands sent by the processor 780. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 731, the input unit 730 may further include other input devices 732. Specifically, the other input devices 732 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
[0117] The display unit 740 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc. Further, the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it is transmitted to the processor 780 to determine the type of touch event. Subsequently, the processor 780 provides a corresponding visual output on the display panel 741 according to the type of touch event. Although in Figure 4 In the embodiment, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 731 and the display panel 741 can be integrated to realize the input and output functions of the mobile phone.
[0118] The mobile phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0119] The audio circuit 760, the speaker 761, and the microphone 762 can provide an audio interface between the user and the mobile phone. The audio circuit 760 can transmit the received audio data to the speaker 761 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is received by the audio circuit 760 and converted into audio data, and then the audio data is output to the processor 780 for processing, and then sent to another mobile phone through the RF circuit 710, or the audio data is output to the memory 720 for further processing.
[0120] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 770. It provides users with wireless broadband Internet access. Figure 4 A WiFi module 770 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0121] The processor 780 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 720, and calling data stored in the memory 720, it executes various functions of the mobile phone and processes data, thereby performing overall detection of the mobile phone. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 780.
[0122] The mobile phone also includes a power supply 790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.
[0123] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0124] In this embodiment, the processor 780 included in the terminal device also has the following functions:
[0125] Obtaining a business processing request, the business processing request is used to request processing of a target business, and the business processing request includes a target business identifier corresponding to the target business;
[0126] Determine, according to the target business identifier, a standard access path corresponding to the target business, wherein the standard access path is used to identify a program calling method and a data calling method required for the target business to be handled normally;
[0127] Handle the target business, and obtain an actual access path corresponding to the target business when handling the target business, wherein the actual access path is used to identify a program calling method and a data calling method corresponding to the target business when actually handling the target business;
[0128] The standard access path and the actual access path are compared to determine a detection result corresponding to the target business, where the detection result is used to identify whether an abnormality occurs in the handling of the target business.
[0129] The present application also provides a server. Figure 5 As shown, Figure 5 The structural diagram of the server 800 provided in the embodiment of the present application, the server 800 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 822 (for example, one or more processors) and a memory 832, and one or more storage media 830 (for example, one or more mass storage devices) storing application programs 842 or data 844. Among them, the memory 832 and the storage medium 830 can be temporary storage or permanent storage. The program stored in the storage medium 830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 822 can be configured to communicate with the storage medium 830 and execute a series of instruction operations in the storage medium 830 on the server 800.
[0130] The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and / or one or more operating systems 841, such as Windows Server 2000. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.
[0131] The steps performed by the server in the above embodiment can be based on Figure 5 The server structure shown.
[0132] The embodiment of the present application further provides a computer-readable storage medium for storing a computer program, wherein the computer program is used to execute any one of the implementation methods of the access path detection methods described in the aforementioned embodiments.
[0133] An embodiment of the present application further provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the access path detection method described in any one of the above embodiments.
[0134] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the above-mentioned storage medium can be at least one of the following media: read-only memory (English: read-only memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.
[0135] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0136] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An access path detection method, characterized in that: The method comprises: Obtaining a business processing request, the business processing request is used to request processing of a target business, and the business processing request includes a target business identifier corresponding to the target business; Determine, according to the target business identifier, a standard access path corresponding to the target business, wherein the standard access path is used to identify a program calling method and a data calling method required for the target business to be handled normally; Handle the target business, and obtain an actual access path corresponding to the target business when handling the target business, wherein the actual access path is used to identify a program calling method and a data calling method corresponding to the target business when actually handling the target business; The standard access path and the actual access path are compared to determine a detection result corresponding to the target business, where the detection result is used to identify whether an abnormality occurs in the handling of the target business.
2. The method according to claim 1, characterized in that Before obtaining the service handling request, the method further includes: Obtaining a target access path corresponding to when the target business is handled normally; The target access path is determined as a standard access path corresponding to the target service.
3. The method according to claim 2, characterized in that The method further comprises: Identify the system to be tested; A plurality of services supported by the system to be detected is obtained, wherein the target service is any one of the plurality of services.
4. The method according to claim 1, characterized in that: The comparing the standard access path with the actual access path to determine the detection result corresponding to the target service includes: In response to the standard access path being consistent with the actual access path, determining that no abnormality occurs in the handling of the target business; In response to the standard access path being inconsistent with the actual access path, it is determined that an abnormality occurs in the processing of the target service.
5. The method according to claim 4, characterized in that The program calling method includes calling a program and a program calling sequence, and the response that the standard access path is inconsistent with the actual access path determines that the handling of the target business is abnormal, including: In response to the inconsistency between the calling program identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business; In response to the inconsistency between the program call sequence identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business; In response to the data calling modes identified by the standard access path and the actual access path being inconsistent, it is determined that an abnormality occurs in the processing of the target business.
6. An access path detection device, characterized in that: The device comprises a first acquisition unit, a first determination unit, a second acquisition unit and a second determination unit: The first acquisition unit is used to acquire a service processing request, where the service processing request is used to request processing of a target service, and the service processing request includes a target service identifier corresponding to the target service; The first determining unit is used to determine a standard access path corresponding to the target service according to the target service identifier, wherein the standard access path is used to identify a program calling method and a data calling method required for the target service to be handled normally; The second acquisition unit is used to handle the target business and acquire an actual access path corresponding to the target business when the target business is handled, wherein the actual access path is used to identify a program calling method and a data calling method corresponding to the target business when the target business is actually handled; The second determination unit is used to compare the standard access path and the actual access path to determine a detection result corresponding to the target business, wherein the detection result is used to identify whether an abnormality occurs in the handling of the target business.
7. The device according to claim 6, characterized in that The device also includes a third obtaining unit and a third determining unit: The third acquisition unit is used to acquire the target access path corresponding to the target service when it is handled normally; The third determining unit is configured to determine the target access path as a standard access path corresponding to the target service.
8. The device according to claim 7, characterized in that The device further includes a fourth determining unit and a fourth acquiring unit: The fourth determining unit is used to determine the system to be detected; The fourth acquisition unit is used to acquire multiple services supported by the system to be detected, and the target service is any one of the multiple services.
9. The device according to claim 6, characterized in that The second determining unit is specifically configured to: In response to the standard access path being consistent with the actual access path, determining that no abnormality occurs in the handling of the target business; In response to the standard access path being inconsistent with the actual access path, it is determined that an abnormality occurs in the processing of the target service.
10. The method according to claim 9, characterized in that The program calling mode includes calling a program and a program calling sequence, and the second determining unit is specifically used for: In response to the inconsistency between the calling program identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business; In response to the inconsistency between the program call sequence identified by the standard access path and the actual access path, determining that an abnormality occurs in the handling of the target business; In response to the data calling modes identified by the standard access path and the actual access path being inconsistent, it is determined that an abnormality occurs in the processing of the target business.
11. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is used to execute the access path detection method according to any one of claims 1 to 5 according to the instructions in the computer program.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the access path detection method according to any one of claims 1 to 5.
13. A computer program product comprising a computer program, which, when executed on a computer device, enables the computer device to execute the access path detection method according to any one of claims 1 to 5.
