Information processing method, device, electronic device, and computer-readable storage medium

By using a headless browser to generate real-time page screenshots and comparing them with the benchmark diagram, the problem of low detection efficiency of business systems is solved, and efficient end-to-end detection and quick feedback on problems is achieved.

CN114265642BActive Publication Date: 2025-08-22BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111544832.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2025-08-22
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

In the prior art, business system detection efficiency is low, especially in the complex semantic detection of front-end pages, which leads to long time to troubleshoot problems and low efficiency.

Method used

The end-to-end web-end page detection scheme based on headless tools is adopted. By opening a headless browser on the server to access the business system, real-time page screenshots are generated, similarity algorithm calculations are performed with the benchmark diagram, detection results are obtained, and sent to the front-end device for display in real time.

Benefits of technology

It improves the efficiency of business system detection, ensures that the page is displayed normally at different time nodes and regional nodes, reduces the detection time, and improves the efficiency of determining user problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114265642B_ABST
    Figure CN114265642B_ABST
Patent Text Reader

Abstract

The present application discloses an information processing method, apparatus, electronic device and computer-readable storage medium, including: obtaining authorization information for a target object, the authorization information being received from a target device and determined by the target device based on user operation information; detecting the target object using the authorization information and configuration information corresponding to the target object to obtain detection information; analyzing the detection information and a reference map corresponding to the target object to obtain a detection result corresponding to the target object; sending the detection result to the target device so that the target device displays the detection result; and improving the detection efficiency of the business system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of Internet technology, and in particular relates to an information processing method, device, electronic device and computer-readable storage medium. Background Art

[0002] In the existing technology, the detection of business systems generally relies on the server's detection of its internal services and interface stability. When the server detects an abnormality in the internal services and interface stability, it requires troubleshooting personnel to spend a lot of time on troubleshooting and detection. Testing the business system in this way makes the process of determining the problem consume a lot of time, and the detection efficiency of the business system tested by this method is low. Summary of the Invention

[0003] The embodiments of the present application provide an implementation solution that is different from the prior art to solve the technical problem of low detection efficiency of the detection system in the prior art.

[0004] In the first aspect, the present application provides an information processing method, including: obtaining authorization information for a target object, the authorization information is received from a target device and is determined by the target device based on user operation information; using the authorization information and configuration information corresponding to the target object to detect the target object and obtain detection information; analyzing the detection information and the reference map corresponding to the target object to obtain the detection result corresponding to the target object; sending the detection result to the target device so that the target device displays the detection result.

[0005] In the second aspect, the present application provides an information processing method, including: determining authorization information and configuration information for a target object based on user operation information, and sending the authorization information and the configuration information to a server device; receiving a detection result determined by the server device using the authorization information and the configuration information, wherein the detection result is obtained by the server device detecting the target object and obtaining detection information; and analyzing the detection information and a reference map corresponding to the target object; and displaying the detection result.

[0006] In the third aspect, the present application provides an information processing device, including: an acquisition module, used to obtain authorization information for a target object, the authorization information is received from a target device and is determined by the target device based on user operation information; a detection module, used to detect the target object using the authorization information and configuration information corresponding to the target object to obtain detection information; an analysis module, used to analyze the detection information and a reference map corresponding to the target object to obtain a detection result corresponding to the target object; a sending module, used to send the detection result to the target device so that the target device displays the detection result.

[0007] In a fourth aspect, the present application provides an electronic device, comprising:

[0008] processor; and

[0009] a memory for storing executable instructions for the processor;

[0010] The processor is configured to execute any method in the first aspect, the second aspect, the possible implementations of the first aspect, or the possible implementations of the second aspect by executing executable instructions.

[0011] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements the first aspect, the second aspect, the possible implementation methods of the first aspect, or any method in the possible implementation methods of the second aspect.

[0012] In a sixth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements any method in the first aspect, the second aspect, the possible implementation methods of the first aspect, or the possible implementation methods of the second aspect.

[0013] This application obtains authorization information for the target object, and the authorization information is received from the target device and determined by the target device based on the user's operation information; uses the authorization information and the configuration information corresponding to the target object to detect the target object and obtain detection information; analyzes the reference map corresponding to the detection information and the target object to obtain the detection result corresponding to the target object; sends the detection result to the target device so that the target device can display the detection result. By configuring authorization, the user's authorization information is saved. Under this authorization information, the page of the online environment of the business system corresponding to the authorization information can be automatically detected, and the detection result can be sent to the front-end device in real time for the user to observe, thereby improving the efficiency of the user in determining the problem based on the detection result, and the detection efficiency is also correspondingly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0015] Figure 1 A schematic diagram of the structure of a detection system provided in one embodiment of the present application;

[0016] Figure 2aA flowchart of an information processing method provided in one embodiment of the present application;

[0017] Figure 2b A scenario diagram of the information processing method provided in one embodiment of the present application combined with the functional modules of the server;

[0018] Figure 3 A scenario diagram of an information processing method provided in one embodiment of the present application;

[0019] Figure 4 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application;

[0020] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and intended to be used to explain the present application, but should not be understood as limiting the present application.

[0022] The terms "first" and "second" in the specification, claims and drawings of the embodiments of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the embodiments of the present application described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] First, some of the terms used in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.

[0024] Puppeteer: provides an API for manipulating the browser.

[0025] MySQL: a relational database management system;

[0026] Redis cache: It is an open source log-type, key-value database written in ANSI C, supports networking, can be memory-based or persistent, and provides APIs in multiple languages.

[0027] File server: also known as file server, refers to a file storage device accessible to all users in a computer network environment;

[0028] RocketMQ: is a distributed, queue-based message middleware.

[0029] CAS: Central Authentication Service, an independent open instruction protocol designed to provide a reliable single sign-on method for Web application systems.

[0030] SSO: SingleSignOn, single sign-on, that is, logging in through a one-time authentication of the user; after the user logs in once on the identity authentication server, he or she can obtain the permission to access other related systems and application software in the single sign-on system. At the same time, this implementation does not require the administrator to modify the user's login status or other information. In multiple application systems, the user only needs to log in once to access all mutually trusted application systems.

[0031] After research, the inventor found that most of the current detection systems focus on the detection of resources and interface stability on the service side of the business system, and lack complex semantic detection for the front-end pages. In the context of changing business requirements and accelerating iteration speed, how to ensure that the core pages of the system can be accessed normally after each launch, and that the pages can be displayed normally at different time nodes or regional nodes (domestic / overseas), the present application proposes an end-to-end headless tool-based Web-side page detection solution, which opens a headless browser on the server side, accesses the business system, generates a real-time page screenshot, and compares it with the benchmark graph, uses the image similarity algorithm to calculate the similarity between the real-time operation graph and the benchmark graph to obtain the detection result, and sends the detection result to the front-end device for display, which can effectively improve the detection efficiency. Moreover, in a business system that requires authentication, based on the solution of the present application, the headless browser can continuously access the business system and no longer jump to the scan code login page, further improving the detection efficiency.

[0032] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0033] Figure 1 This is a schematic diagram of a detection system provided by an exemplary embodiment of the present application, the structure comprising: a target device 11 and a server device 12; wherein:

[0034] The target device 11 is used to determine the authorization information and configuration information for the target object based on the user's operation information, and send the authorization information and configuration information to the server device 12;

[0035] The server device 12 is used to receive authorization information and configuration information, and use the authorization information and the configuration information corresponding to the target object to detect the target object to obtain detection information; analyze the detection information and the reference map corresponding to the target object to obtain the detection result corresponding to the target object; and send the detection result to the target device so that the target device 11 can display the detection result.

[0036] The execution principles and interaction processes of the specific programs in the various components of the system embodiment, such as the target device 11 and the server device 12, can be found in the descriptions of the following method embodiments.

[0037] Figure 2a This is a flowchart of an information processing method provided by an exemplary embodiment of the present application. The execution subject of the method may be a server device, and the method may include at least the following steps:

[0038] S201. Obtain authorization information for a target object, where the authorization information is received from a target device and determined by the target device based on user operation information.

[0039] S202: Detect the target object using the authorization information and configuration information corresponding to the target object to obtain detection information;

[0040] S203, analyzing the detection information and the reference image corresponding to the target object to obtain a detection result corresponding to the target object;

[0041] S204: Send the detection result to the target device so that the target device displays the detection result.

[0042] Specifically, the target object is the webpage content of the destination address set by the user. The authorization information can be the login information or cookie information of the user logging into the webpage or the business system corresponding to the login webpage. The login information may include account number and password information. The target device is a device with a display function, such as a PC or mobile device, which allows the user to access the corresponding detection platform and obtain user operation information. The user operation information can be determined based on the user's operation on the control on the display screen of the target device, such as authorization information, detection address, destination address, configuration information, etc.

[0043] Optionally, the aforementioned configuration information can be input by the user through a display page of the target device. Specifically, the configuration information may include one or more information of detection frequency, detection start time, detection end time, and detection duration; further, the configuration information may also include a corresponding authorization name, etc., which can be used to distinguish the target object or authorization information.

[0044] Further, see Figure 2b As shown, Figure 2b A scenario diagram of the information processing method provided in one embodiment of the present application combined with the functional modules of the server. Figure 2b The detection management platform 20 is used to provide an interactive interface for users. The interactive interface can provide users with an operation entry so that the target device can obtain the user's operation information. It can also be used to display the detection results and the alarm information corresponding to the detection results. The detection management platform 20 can also provide the server device with a communication interface with the target device.

[0045] The aforementioned detection information may be an operation diagram obtained by taking a screenshot of the target object; the aforementioned reference diagram is a reference image corresponding to the detection image determined according to the destination address input by the user through the detection management platform 20 and / or the user's confirmation instruction.

[0046] Furthermore, in the aforementioned step S202, the target object is detected using the authorization information and the configuration information corresponding to the target object, and the detection information obtained includes:

[0047] The authorization information and the configuration information are used to obtain image information of the target object based on the first browser as the detection information; specifically, the operation diagram is the same as the detection information.

[0048] The first browser may be a headless browser, and the image information of the target object obtained by the first browser may be screenshot information obtained by taking a screenshot of the target object by the first browser.

[0049] The detection result may specifically include a comparison between the detection information and the reference image. This comparison result may include both identical and different information between the operating image and the reference image. The comparison result may be an image or text, and this application does not limit this. Furthermore, the detection result may also include a similarity value between the operating image and the reference image. Accordingly, the above method further includes: when the detection result meets an alarm condition, sending corresponding alarm information to the target device, causing the target device to display the alarm information. For example, when the similarity value is lower than a preset value, sending corresponding alarm information to the target device.

[0050] Furthermore, with respect to the specific method for obtaining the aforementioned authorization information, the above method further includes:

[0051] S001. Upon receiving an authorization start request sent by a target device upon detecting an authorization start instruction from a user, start a second browser;

[0052] S002. Obtaining login service information corresponding to the authorization start request based on the second browser;

[0053] S003. Generate preset code information using login service information;

[0054] S004. Send the preset code information to the target device, so that the target device displays a corresponding login code based on the preset code information for the user to scan to determine the authorization information.

[0055] Specifically, the authorization initiation request may include a test address entered or selected by the user. This test address may be a representative address of the business system corresponding to the destination address. A test address may correspond to one or more destination addresses, and the authorization information determined based on the test address is valid for the one or more destination addresses corresponding to the test address. The correspondence between the test address and its corresponding destination address can be set by relevant personnel.

[0056] Optionally, the detection address may be the first address of the aforementioned business system, the destination address may be the first address of the business system or another address, and the detection address may be the same as or different from the destination address, which is not limited in this application. Optionally, the second browser may be a headless browser.

[0057] Furthermore, different business systems may rely on different authentication methods. Based on this, the login service information corresponding to the aforementioned authorization start request can be the login service information corresponding to the detection address. The login service information corresponds to the authentication method, which can be CAS or SSO, etc.

[0058] Furthermore, the aforementioned preset code information can be a QR code generated text, the aforementioned login code can be a QR code, and the target device can generate and display a QR code based on the aforementioned QR code generated text.

[0059] Further, see Figure 2b As shown, the front-end detection module 21, the instance operation module 22, and the comparison service module 23 are services included in the server device side; the interaction between the aforementioned front-end detection module 21, the instance operation module 22 and the target device can be implemented based on the aforementioned detection management platform 20.

[0060] Specifically, the front-end detection module 21 can execute the initialization process when receiving the authorization start request sent by the target device after detecting the user's authorization start instruction through the authorization management unit it contains. Specifically, it can generate an authorization code and open a page in the form of a headless browser (i.e., a second browser), detect requests for multiple login methods, intercept different login interfaces, obtain the QR code generation text, and feed the QR code generation text back to the target device, while saving the current page status (QR code scanning status) to redis. After detecting that the user has successfully scanned the QR code, the corresponding cookie information and authorization code are written to mysql and set to the draft state, and the corresponding page status in redis is set to colosed to indicate that the user has successfully scanned the code. Further, when the front-end detection module 21 detects that the user clicks to save the information corresponding to the QR code, the cookie in Mysql is set to the save effective state.

[0061] Optionally, the front-end detection module 21 specifically detects through its authorization management unit that after the user successfully scans the QR code on the target device, it jumps to the business system page to be authorized, and saves the cookie corresponding to the business system page to be authorized to Mysql to the draft state, and can also store the instance ID corresponding to the authorization code into the database.

[0062] Furthermore, the front-end detection module 21 can detect the scanning status of the QR code and save the detected scanning status of the QR code to Redis, wherein the scanning status of the QR code includes: waiting to be scanned, expired, scan successful, and scan failed.

[0063] Furthermore, after the target device detects that the user has completed scanning the QR code, a prompt message indicating that the user has successfully logged in can be further displayed. The QR code display page can also be controlled to close, and the destination address for the target object entered by the user can be further obtained. Accordingly, the above method also includes:

[0064] S01. Upon receiving a destination address for a target object sent by a target device, determining reference information corresponding to the target object according to the destination address;

[0065] S02. Sending the reference information to the target device so that the target device displays the corresponding image to be confirmed according to the reference information;

[0066] S03: If confirmation information for the image to be confirmed is received from the target device, a reference image is determined based on the reference information.

[0067] The reference information may be image information of a reference image corresponding to the destination address for the target device to display, or may be link information; specifically, the link information may be generated by a file server.

[0068] Specifically, the front-end detection module 21 can directly determine the image to be confirmed based on the authorization information and the target address, and store the image to be confirmed on the file server. The file server then generates link information based on the image to be confirmed and feeds it back to the front-end detection module 21, which then transmits it to the target device. The target device can further obtain the image to be confirmed from the server device based on the link information and display it. Furthermore, the aforementioned confirmation information can be transmitted to the server device after the target device detects the user's confirmation instruction for the image to be confirmed.

[0069] When the front-end detection module 21 receives the confirmation information for the image to be confirmed sent by the target device, it determines the image to be confirmed as the reference image, saves the link information corresponding to the image to be confirmed as the link address of the reference image (first link information) to the database, and further stores the destination address and the aforementioned configuration information set by the user for the reference image in the database.

[0070] Furthermore, the detection generator in the aforementioned front-end detection module 21 can periodically query the database. When a target object that needs to be detected is detected, the authorization code, destination address, first link information, and configuration information corresponding to the target object are generated into a message queue, which can be consumed by the instance running module 22 through the message middleware RocketMQ.

[0071] Furthermore, when the instance execution module 22 actually performs the detection task, it can use Puppeteer to open a headless browser (the first browser) and obtain the corresponding cookie from the database based on the authorization code in the message queue. After querying the cookie, it configures the cookie for the headless browser and opens the detection page corresponding to the destination address in the message queue. After loading the detection page, it takes a screenshot of the detection page, generates a real-time operation diagram, and stores the operation diagram in the file server. The file server can store the operation diagram and generate second link information corresponding to the operation diagram.

[0072] Furthermore, the instance operation module 22 further obtains second link information corresponding to the operation diagram from the file server and sends the first link information and the second link information to the comparison service module 23. The comparison service module 23 obtains the reference diagram and the operation diagram based on the first link information and the second link information, and obtains a comparison result based on a preset comparison algorithm, and feeds the comparison result back to the instance operation module 22. The comparison algorithm can be a similarity algorithm or a histogram similarity algorithm. The specific algorithm can be referred to in the prior art and will not be described in detail here.

[0073] Optionally, the instance running module 22 may also send the network request log and console log during the aforementioned detection page loading process together with the detection result to the target device.

[0074] Specifically, the instance operation module 22 can send the network request log, console log, and detection results in the aforementioned detection page loading process to the file server, and the file server will generate the URL corresponding to the network request log, the URL corresponding to the console log, and the URL corresponding to the detection result respectively; then the instance operation module 22 sends the URL corresponding to the network request log, the URL corresponding to the console log, and the URL corresponding to the detection result to the target device, so that the target device can obtain the corresponding content from the file server for display according to the user's operation on any one or more of the URLs among the URL corresponding to the network request log, the URL corresponding to the console log, and the URL corresponding to the detection result.

[0075] Accordingly, in the aforementioned step S204, the detection information and the reference image corresponding to the target object are analyzed to obtain the detection result corresponding to the target object, including:

[0076] S2041. Compare the detection information with the reference image to determine the difference between the detection information and the reference image;

[0077] S2042: Determine the detection result using the difference information. Specifically, the comparison service module 23 may be used to execute S204.

[0078] Furthermore, the method further comprises:

[0079] The detection distance determines whether the transmission time of the preset code information to the target device exceeds the preset time. If so, the preset code information is resent to the target device.

[0080] Furthermore, since the front-end detection module 21 can be deployed on multiple servers, including multiple instances, when it is detected that the sending time of the preset code information corresponding to the known authorization code to the target device exceeds the preset time, or when it is detected that the user refreshes the QR code, the QR code scanning status corresponding to the QR code stored in Redis can be set to expire, and the QR code generated text can be re-sent to the target device based on another instance.

[0081] Optionally, each instance can correspond to a scheduled task responsible for cleaning up pages with expired QR codes or pages that have been successfully scanned, controlling the closing of the corresponding browser page, and deleting the Rediskey to avoid memory leaks.

[0082] Furthermore, the target device side can display the detection result item information corresponding to each time point, wherein the detection result item information may include the URL corresponding to the comparison result, the similarity value, the URL corresponding to the resource request log, etc.

[0083] Furthermore, the detection generator in the front-end detection module 21 can also determine the update cycle of the corresponding cookie based on the configuration information corresponding to the target object, and determine an indicator based on the update cycle. The indicator can be included in the aforementioned message sequence. When the instance execution module 22 determines that the cookie corresponding to the target object needs to be updated based on the message sequence, it updates the cookie in the database accordingly and re-saves the corresponding cookie into the database. Optionally, the front-end detection module 21 can also update the cookie information once a day.

[0084] This application obtains authorization information for the target object, and the authorization information is received from the target device and determined by the target device based on the user's operation information; uses the authorization information and the configuration information corresponding to the target object to detect the target object and obtain detection information; analyzes the reference map corresponding to the detection information and the target object to obtain the detection result corresponding to the target object; sends the detection result to the target device so that the target device can display the detection result. By configuring authorization, the user's authorization information is saved. Under this authorization information, the page of the online environment of the business system corresponding to the authorization information can be automatically detected, and the detection result can be sent to the front-end device in real time for the user to observe, thereby improving the efficiency of the user in determining the problem based on the detection result, and the detection efficiency is also correspondingly improved.

[0085] This solution can save user login information by configuring authorization. Under this authorization information, relevant pages are configured to perform static page detection in the online environment, achieving end-to-end detection and ensuring the online stability of the system. It also supports online automated testing on the server side and specifically combines the function of artificial intelligence image similarity calculation to detect the stability of the business system in real time. It can provide timely feedback on online problems that users can perceive at the front-end, network link layer, back-end service, and underlying service nodes, further improving the detection efficiency of the business system.

[0086] The following further explains this solution based on specific scenarios:

[0087] Scenario 1:

[0088] See also Figure 3As shown, the user clicks the authorization management button on a page of the detection management platform, and the first setting box pops up on the page. The user fills in the detection address and custom authorization name in the first setting box, and clicks to obtain the authorization QR code. The PC generates an authorization start instruction and sends an authorization start request to the server. After receiving the authorization start request, the server starts a headless browser (the first browser), intercepts the corresponding login service information, and uses the login service information to generate a preset code information, and feeds it back to the PC; the PC displays the QR code for the user to scan.

[0089] Scenario 2

[0090] See also Figure 3 As shown, the user clicks the Detection Management button on a page of the Detection Management Platform, and a second setting box pops up on the page. The user enters the target address in the second setting box, selects the target authorization name from the set authorization names, and clicks the Get Baseline Map button. The PC sends a reference map acquisition request to the server; after receiving the reference map acquisition request, the server determines the reference map information according to the target address in the reference map acquisition request; sends the reference map information to the PC, so that the PC displays the reference map for the user to confirm. After the user sets the detection frequency based on the reference map, the user can further receive the link information corresponding to the detection result corresponding to the detection frequency sent by the server, and the alarm information corresponding to the link information; the user can obtain the corresponding detection result by clicking the link information to observe the details of the detection result.

[0091] Scenario 3

[0092] The front-end detection module in the server device can perform the aforementioned initialization and the QR code expiration refresh program based on the Create Authorization API. It can also query the latest key status in Redis based on the authorization code based on the periodic polling code scanning status API. It can also set the MySQL cookie to the saved status based on the authorization code through the Save Authorization API. It can also use the Get Baseline Image API to open a browser page, query the cookie from MySQL, set the browser cookie, open the page, generate the baseline image, and close the browser. It can also detect the QR code status polling API of the authentication service and save the QR code status of the page to Redis.

[0093] Furthermore, the present application also provides an information processing method, which can be applied to the aforementioned target device. Specifically, the method includes: determining the authorization information and configuration information for the target object based on the user's operation information, and sending the authorization information and configuration information to the server device; receiving the detection result determined by the server device using the authorization information and configuration information, wherein the detection result is that the server device detects the target object and obtains the detection information; and analyzing the detection information and the reference map corresponding to the target object; and displaying the detection result.

[0094] Among them, the specific implementation methods corresponding to this embodiment can be found in the above content and will not be repeated here.

[0095] Figure 4 This is a schematic diagram of the structure of an information processing device provided by an exemplary embodiment of the present application. The device can be applied to a server device and can specifically include: an acquisition module 41, a detection module 42, an analysis module 43, and a sending module 44; wherein:

[0096] An acquisition module 41 is configured to acquire authorization information for a target object, the authorization information being received from a target device and determined by the target device based on user operation information;

[0097] A detection module 42 is configured to detect the target object using the authorization information and configuration information corresponding to the target object to obtain detection information;

[0098] An analysis module 43 is used to analyze the detection information and the reference image corresponding to the target object to obtain a detection result corresponding to the target object;

[0099] The sending module 44 is configured to send the detection result to the target device so that the target device can display the detection result.

[0100] Optionally, when the aforementioned apparatus is used to detect the target object using the authorization information and configuration information corresponding to the target object to obtain detection information, it is specifically used to:

[0101] The authorization information and the configuration information are used to obtain image information of the target object based on the first browser as the detection information.

[0102] Optionally, the above device is further used for:

[0103] Upon receiving the destination address for the target object sent by the target device, determining the reference information corresponding to the target object according to the destination address;

[0104] Sending the benchmark information to the target device so that the target device displays the corresponding image to be confirmed according to the benchmark information;

[0105] If confirmation information for the image to be confirmed is received from the target device, a reference image is determined based on the reference information.

[0106] Optionally, when the above-mentioned device is used to analyze the detection information and the reference image corresponding to the target object to obtain the detection result corresponding to the target object, it is specifically used to:

[0107] Comparing the detection information with the reference image to determine the difference between the detection information and the reference image;

[0108] The discriminative information is used to determine the test result.

[0109] Optionally, the above device is further used for:

[0110] upon receiving an authorization start request sent by the target device upon detecting an authorization start instruction from the user, starting the second browser;

[0111] Obtaining login service information corresponding to the authorization start request based on the second browser;

[0112] Generate preset code information using login service information;

[0113] The preset code information is sent to the target device, so that the target device displays a corresponding login code based on the preset code information for the user to scan to determine the authorization information.

[0114] Optionally, the above device is further used for:

[0115] Detect the distance to send the preset code information to the target device to see if it takes longer than the preset time. If so,

[0116] Resend the preset code information to the target device.

[0117] Optionally, the above device is further used for:

[0118] When the detection result meets the alarm condition, the corresponding alarm information is sent to the target device so that the target device can display the alarm information.

[0119] It should be understood that the device embodiments and the method embodiments may correspond to each other, and similar descriptions may refer to the method embodiments. To avoid repetition, they will not be described in detail here. Specifically, the device can perform the above-mentioned method embodiments, and the aforementioned and other operations and / or functions of each module in the device are the corresponding processes in each method in the above-mentioned method embodiments, which will not be described in detail here for the sake of brevity.

[0120] The apparatus of the embodiment of the present application is described above from the perspective of functional modules in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, or can be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. Optionally, the software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps in the above method embodiment in conjunction with its hardware.

[0121] Figure 5 : is a schematic block diagram of an electronic device provided in an embodiment of the present application, and the electronic device may include:

[0122] The memory 501 and the processor 502 are configured to store computer programs and transmit the program code to the processor 502. In other words, the processor 502 can call and run the computer program from the memory 501 to implement the method in the embodiment of the present application.

[0123] For example, the processor 502 may be configured to execute the above method embodiments according to instructions in the computer program.

[0124] In some embodiments of the present application, the processor 502 may include but is not limited to:

[0125] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.

[0126] In some embodiments of the present application, the memory 501 includes but is not limited to:

[0127] Volatile memory and / or non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DRRAM).

[0128] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 501 and executed by the processor 502 to implement the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.

[0129] like Figure 5 As shown, the electronic device may further include:

[0130] The transceiver 503 may be connected to the processor 502 or the memory 501 .

[0131] The processor 502 may control the transceiver 503 to communicate with other devices. Specifically, the processor 502 may send information or data to other devices or receive information or data sent by other devices. The transceiver 503 may include a transmitter and a receiver. The transceiver 503 may further include one or more antennas.

[0132] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0133] The present application also provides a computer storage medium having a computer program stored thereon, which, when executed by a computer, enables the computer to perform the method of the above-mentioned method embodiment. In other words, the present application also provides a computer program product containing instructions, which, when executed by a computer, enables the computer to perform the method of the above-mentioned method embodiment.

[0134] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid state drive (SSD)).

[0135] According to one or more embodiments of the present application, an information processing method is provided, including: obtaining authorization information for a target object, the authorization information being received from a target device and determined by the target device based on user operation information; detecting the target object using the authorization information and configuration information corresponding to the target object to obtain detection information; analyzing the detection information and a reference map corresponding to the target object to obtain a detection result corresponding to the target object; and sending the detection result to the target device so that the target device displays the detection result.

[0136] According to one or more embodiments of the present application, the target object is detected using the authorization information and the configuration information corresponding to the target object, and the detection information obtained includes:

[0137] The authorization information and the configuration information are used to obtain image information of the target object based on the first browser as the detection information.

[0138] According to one or more embodiments of the present application, the method further includes:

[0139] Upon receiving the destination address for the target object sent by the target device, determining the reference information corresponding to the target object according to the destination address;

[0140] Sending the benchmark information to the target device so that the target device displays the corresponding image to be confirmed according to the benchmark information;

[0141] If confirmation information for the image to be confirmed is received from the target device, a reference image is determined based on the reference information.

[0142] According to one or more embodiments of the present application, analyzing the detection information and the reference image corresponding to the target object to obtain the detection result corresponding to the target object includes:

[0143] Comparing the detection information with the reference image to determine the difference between the detection information and the reference image;

[0144] The discriminative information is used to determine the test result.

[0145] According to one or more embodiments of the present application, the method further includes:

[0146] upon receiving an authorization start request sent by the target device upon detecting an authorization start instruction from the user, starting the second browser;

[0147] Obtaining login service information corresponding to the authorization start request based on the second browser;

[0148] Generate preset code information using login service information;

[0149] The preset code information is sent to the target device, so that the target device displays a corresponding login code based on the preset code information for the user to scan to determine the authorization information.

[0150] According to one or more embodiments of the present application, the method further includes:

[0151] Detect the distance to send the preset code information to the target device to see if it takes longer than the preset time. If so,

[0152] Resend the preset code information to the target device.

[0153] According to one or more embodiments of the present application, the method further includes: when the detection result meets the alarm condition, sending corresponding alarm information to the target device, so that the target device displays the alarm information.

[0154] According to one or more embodiments of the present application, an information processing method is provided, including: determining authorization information and configuration information for a target object based on user operation information, and sending the authorization information and configuration information to a server-side device; receiving a detection result determined by the server-side device using the authorization information and configuration information, wherein the detection result is detection information obtained by the server-side device detecting the target object; and analyzing the detection information and a reference map corresponding to the target object; and displaying the detection result.

[0155] According to one or more embodiments of the present application, an information processing device is provided, including: an acquisition module for acquiring authorization information for a target object, the authorization information being received from a target device and determined by the target device based on user operation information; a detection module for detecting the target object using the authorization information and configuration information corresponding to the target object to obtain detection information; an analysis module for analyzing the detection information and a reference image corresponding to the target object to obtain a detection result corresponding to the target object; and a sending module for sending the detection result to the target device so that the target device displays the detection result.

[0156] According to one or more embodiments of the present application, when the aforementioned apparatus is used to detect a target object using authorization information and configuration information corresponding to the target object to obtain detection information, it is specifically used to:

[0157] The authorization information and the configuration information are used to obtain image information of the target object based on the first browser as the detection information.

[0158] According to one or more embodiments of the present application, the above device is further used for:

[0159] Upon receiving the destination address for the target object sent by the target device, determining the reference information corresponding to the target object according to the destination address;

[0160] Sending the benchmark information to the target device so that the target device displays the corresponding image to be confirmed according to the benchmark information;

[0161] If confirmation information for the image to be confirmed is received from the target device, a reference image is determined based on the reference information.

[0162] According to one or more embodiments of the present application, when the above-mentioned apparatus is used to analyze the detection information and the reference image corresponding to the target object to obtain the detection result corresponding to the target object, it is specifically used to:

[0163] Comparing the detection information with the reference image to determine the difference between the detection information and the reference image;

[0164] The discriminative information is used to determine the test result.

[0165] According to one or more embodiments of the present application, the above device is further used for:

[0166] upon receiving an authorization start request sent by the target device upon detecting an authorization start instruction from the user, starting the second browser;

[0167] Obtaining login service information corresponding to the authorization start request based on the second browser;

[0168] Generate preset code information using login service information;

[0169] The preset code information is sent to the target device, so that the target device displays a corresponding login code based on the preset code information for the user to scan to determine the authorization information.

[0170] According to one or more embodiments of the present application, the above device is further used for:

[0171] The detection distance determines whether the transmission time of the preset code information to the target device exceeds the preset time. If so, the preset code information is resent to the target device.

[0172] According to one or more embodiments of the present application, the apparatus is further configured to: when the detection result satisfies an alarm condition, send corresponding alarm information to the target device, so that the target device displays the alarm information.

[0173] According to one or more embodiments of the present application, an electronic device is provided, including:

[0174] processor; and

[0175] a memory for storing executable instructions for the processor;

[0176] The processor is configured to perform the above methods by executing executable instructions.

[0177] According to one or more embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that the computer program implements the above methods when executed by a processor.

[0178] Those skilled in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0179] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0180] Modules described as separate components may or may not be physically separate, and components displayed as modules may or may not be physical modules, i.e., they may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected based on actual needs to achieve the purpose of the present embodiment. For example, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module.

[0181] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. An information processing method, characterized in that: include: Obtaining authorization information for a target object, the authorization information being received from a target device and determined by the target device based on user operation information; Detecting the target object using the authorization information and configuration information corresponding to the target object to obtain detection information; Analyzing the detection information and a reference image corresponding to the target object to obtain a detection result corresponding to the target object, wherein the detection result includes identical information and different information between the detection information and the reference image; Sending the detection result to the target device so that the target device displays the detection result; Detecting the target object using the authorization information and configuration information corresponding to the target object to obtain detection information, including: Using the authorization information and the configuration information, based on the first browser, obtain image information of the target object as the detection information; The authorization information at least includes the login information or cookie information of the user's login webpage or the business system corresponding to the login webpage, and the login information may include account number and password information; The configuration information includes at least one or more of the following information: detection frequency, detection start time, detection end time, detection duration, and an authorization name.

2. The method according to claim 1, characterized in that The method further comprises: Upon receiving the destination address for the target object sent by the target device, determining the reference information corresponding to the target object according to the destination address; Sending the reference information to the target device so that the target device displays the corresponding image to be confirmed according to the reference information; If confirmation information for the image to be confirmed is received from the target device, the reference image is determined based on the reference information.

3. The method according to claim 1, characterized in that The method further comprises: Upon receiving the authorization start request sent by the target device when detecting the user's authorization start instruction, starting the second browser; Obtaining login service information corresponding to the authorization start request based on the second browser; generating preset code information using the login service information; The preset code information is sent to the target device, so that the target device displays a corresponding login code based on the preset code information for the user to scan to determine the authorization information.

4. The method according to claim 3, characterized in that The method further comprises: Detect whether the time it takes to send the preset code information to the target device exceeds the preset time. If so, The preset code information is resent to the target device.

5. The method according to claim 1, wherein The method further comprises: When the detection result meets the alarm condition, corresponding alarm information is sent to the target device, so that the target device displays the alarm information.

6. An information processing method, characterized in that: include: Determine authorization information and configuration information for the target object based on the user's operation information, and send the authorization information and configuration information to the server device; wherein the authorization information at least includes the user's login information or cookie information of the business system corresponding to the login webpage or the login webpage, and the login information may include account number and password information; the configuration information at least includes one or more of the following information: detection frequency, detection start time, detection end time, detection duration, and the authorization name; receiving a detection result determined by the server device using the authorization information and the configuration information, wherein the detection result includes information similar to and different from the detection information and a reference image, wherein the detection result is obtained by the server device detecting the target object and analyzing the detection information and the reference image corresponding to the target object; The detection results are displayed.

7. An information processing device, characterized in that include: an acquisition module, configured to acquire authorization information for a target object, the authorization information being received from a target device and determined by the target device based on user operation information; a detection module, configured to detect the target object using the authorization information and configuration information corresponding to the target object to obtain detection information; an analysis module, configured to analyze the detection information and a reference image corresponding to the target object to obtain a detection result corresponding to the target object, wherein the detection result includes information that is the same as and information that is different between the detection information and the reference image; A sending module, configured to send the detection result to the target device so that the target device displays the detection result; The detection module is used to detect the target object using the authorization information and the configuration information corresponding to the target object to obtain detection information, specifically for: Using the authorization information and the configuration information, based on the first browser, obtain image information of the target object as the detection information; The authorization information at least includes the login information or cookie information of the user's login webpage or the business system corresponding to the login webpage, and the login information may include account number and password information; The configuration information includes at least one or more of the following information: detection frequency, detection start time, detection end time, detection duration, and an authorization name.

8. An electronic device, characterized in that: include: processor; and a memory for storing executable instructions for the processor; The processor is configured to perform the method of any one of claims 1 to 5 or claim 6 by executing the executable instructions.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 or claim 6 is implemented.

Citation Information

Patent Citations

  • Page exception monitoring method, system and device, electronic equipment and computer readable medium

    CN110704772A

  • Method and device for monitoring webpage

    CN112306793A

  • Page acquisition method, related equipment and medium

    CN113190322A