Information display method and device, equipment and medium

By introducing a plug-in into the browser of the test device to obtain and display the browser storage information of the requesting device, the application error problem caused by the confusion of browser storage information is solved, and the efficiency and accuracy of test analysis are improved.

CN120669883APending Publication Date: 2025-09-19KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510772643.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-10
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

In web pages developed based on HTML5 technology, the cookie information stored in the browser is easily confused, resulting in inaccurate information carried during application requests, causing application errors, and existing debugging tools are unable to effectively locate the problem.

Method used

A plug-in is introduced into the browser of the test device. By adding the target parameter in the resource address to display the target-shaped plug-in icon, all the storage information of the browser of the requesting device is obtained and displayed, including the requesting device identification, request time, request header information and return body data, which is used to analyze the request operation of the test application.

Benefits of technology

It improves the efficiency and effectiveness of test analysis, can accurately analyze the request operations of the test application, and reduces the possibility of application errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120669883A_ABST
    Figure CN120669883A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to an information display method and device, equipment and a medium, and the method is applied to test equipment, and comprises the steps: receiving a resource address which comprises a target parameter and corresponds to a test application based on a browser of the test equipment, obtaining all storage information of a browser of a request device corresponding to the test application based on the resource address, and displaying a target shape plug-in icon; in response to an operation request for the target shape plug-in icon, displaying all storage information of a browser of the request equipment in the target shape plug-in; wherein all the storage information is used for indicating to analyze the request operation of the test application. By adopting the technical scheme, the target parameter is added in the resource address to display the plug-in icon in the target shape, and all storage information of the browser of the request equipment can be checked based on the operation on the plug-in icon in the target shape, so that the request operation of the test application can be effectively analyzed, and the test efficiency is improved. And the efficiency and effect of test analysis are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to an information display method, device, equipment and medium. Background Art

[0002] Currently, there are many web applications developed based on HTML5 technology, and browsers store a lot of information. Among them, the storage data of cookies (data stored on the user's local terminal) is even more chaotic. Cookies can store keys with the same name, resulting in inaccurate cookie information or information that developers do not want to carry when applications make requests. This situation can also cause applications to fail and not run normally. In addition, the debugging tools currently used on the front end basically do not have the ability to provide all stored information at the same time, which brings great inconvenience to the online troubleshooting and location of application request errors. Summary of the Invention

[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides an information display method, device, equipment and medium.

[0004] An embodiment of the present disclosure provides an information display method, which is applied to a test device, wherein the browser of the test device has a corresponding plug-in. The method comprises: receiving a resource address including target parameters corresponding to a test application based on the browser of the test device; obtaining all storage information of the browser of a requesting device corresponding to the test application based on the resource address and displaying a target shape plug-in icon; and displaying all storage information of the browser of the requesting device in the target shape plug-in in response to an operation request for the target shape plug-in icon; wherein the all storage information is used to indicate an analysis of the request operation of the test application.

[0005] Optionally, obtaining all storage information of the test application in the browser of the requesting device based on the resource address includes: accessing the browser of the requesting device corresponding to the test application based on the resource address, and obtaining the requesting device identifier; obtaining the request time, request header information and return body data of the test application in the browser of the requesting device; and using the requesting device identifier, the request time, the request header information and the return body data as the complete storage information of the browser of the requesting device.

[0006] Optionally, the target shape plug-in displays all storage information of the browser of the requesting device, including: obtaining each request key identifier and the attribute value corresponding to each request key identifier based on the request header information; displaying each request key identifier, the attribute value corresponding to each request key identifier, and the return body data as the entire storage information in the target shape plug-in according to the requesting device identifier and the request time.

[0007] Optionally, the method further includes: displaying all stored information of the browser of the requesting device in a preset display format.

[0008] Optionally, the method further includes: receiving, based on the browser of the test device, a resource address corresponding to the test application that does not include a target parameter, and closing the target shape plug-in icon.

[0009] Optionally, the method further includes: acquiring update icon parameters in response to an adjustment instruction for the target shape plug-in icon; and displaying an update shape plug-in icon corresponding to the update icon parameters.

[0010] Optionally, the method further includes: obtaining a plug-in test function and a plug-in test device in response to a plug-in test request; performing a test based on preset test parameters, the plug-in test function and the plug-in test device, and generating a plug-in test result.

[0011] An embodiment of the present disclosure also provides an information display device, which is applied to a test device, and the browser of the test device has a corresponding plug-in. The device includes: a receiving module, which is used to receive a resource address including target parameters corresponding to a test application based on the browser of the test device; an acquisition and display module, which is used to obtain all storage information of the browser of a requesting device corresponding to the test application based on the resource address and display a target shape plug-in icon; a response display module, which is used to display all storage information of the browser of the requesting device in the target shape plug-in in response to an operation request for the target shape plug-in icon; wherein, all storage information is used to indicate an analysis of the request operation of the test application.

[0012] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing instructions executable by the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the information display method provided by the embodiment of the present disclosure.

[0013] An embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the information display method provided by the embodiment of the present disclosure.

[0014] The embodiments of the present disclosure further provide a computer program product, including a computer program, wherein the computer program is executed by a processor as the information display method provided in the embodiments of the present application.

[0015] The technical solution provided by the embodiment of the present disclosure has the following advantages over the prior art: the information display solution provided by the embodiment of the present disclosure is applied to a test device, and the browser of the test device has a corresponding plug-in, including: receiving a resource address including a target parameter corresponding to a test application based on the browser of the test device, obtaining all storage information of the browser of the requesting device corresponding to the test application based on the resource address and displaying a target shape plug-in icon; in response to an operation request for the target shape plug-in icon, displaying all storage information of the browser of the requesting device in the target shape plug-in; wherein all storage information is used to indicate an analysis of the request operation of the test application. By adopting the above technical solution, by adding a target parameter to the resource address to display the target shape plug-in icon, and based on the operation of the target shape plug-in icon, all storage information of the browser of the requesting device can be viewed, thereby effectively analyzing the request operation of the test application, and improving the efficiency and effect of the test analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.

[0017] Figure 1 A flowchart of an information display method provided in an embodiment of the present disclosure;

[0018] Figure 2 A flowchart of another information display method provided by an embodiment of the present disclosure;

[0019] Figure 3 A schematic diagram of information display provided in an embodiment of the present disclosure;

[0020] Figure 4 A schematic diagram of another information display provided in an embodiment of the present disclosure;

[0021] Figure 5 A schematic structural diagram of an information display device provided in an embodiment of the present disclosure;

[0022] Figure 6 A schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0023] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0024] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0025] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

[0026] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0027] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0028] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0029] Based on the above background technology description, when an application sends a request in a web page developed by a browser based on HTML5 technology, the browser will carry the data (cookie) stored in the requesting device to send a request to the back-end server. However, all the stored information can store keys with the same name, which will cause the application to carry inaccurate stored information when making a request or not the information the developer wants to carry. For example, user A has permissions X1 and X2, and user B has permissions X1 and X3. Since user A and user B store keys with the same name, user A carries permissions X1, X2 and X3 when requesting the application, which will cause the application to fail and fail to run normally.

[0030] In addition, existing front-end debugging tools basically do not have the ability to provide all stored information at the same time. Because they cannot perform normal analysis on the above errors, online troubleshooting and location of application request errors bring great inconvenience.

[0031] In response to the above problems, the present disclosure proposes an information display solution, which is applied to a test device, wherein the browser of the test device has a corresponding plug-in, including: receiving a resource address including a target parameter corresponding to a test application based on the browser of the test device, obtaining all storage information of the browser of the requesting device corresponding to the test application based on the resource address and displaying a target shape plug-in icon; in response to an operation request for the target shape plug-in icon, displaying all storage information of the browser of the requesting device in the target shape plug-in; wherein all storage information is used to indicate an analysis of the request operation of the test application. By adopting the above technical solution, by adding a target parameter to the resource address to display the target shape plug-in icon, and based on the operation of the target shape plug-in icon, all storage information of the browser of the requesting device can be viewed, thereby effectively analyzing the request operation of the test application, and improving the efficiency and effect of the test analysis.

[0032] Figure 1 This is a flow chart of an information display method provided by an embodiment of the present disclosure. The information display method can be executed by an information display device, wherein the information display device can be implemented using software and / or hardware and can generally be integrated into an electronic device. Figure 1 As shown, the information display method is applied to a test device, and the browser of the test device has a corresponding plug-in, including:

[0033] Step 101: A browser of a test device receives a resource address including target parameters corresponding to a test application.

[0034] Step 102: Obtain all storage information of the browser of the requesting device corresponding to the test application based on the resource address and display the target shape plug-in icon.

[0035] In the embodiment of the present disclosure, the browser of the test device has a corresponding plug-in. Specifically, the plug-in is developed using JavaScript (a lightweight, interpreted or just-in-time compiled programming language), and the plug-in is ensured to be compatible with the browser of the test device.

[0036] Among them, the resource address refers to the URL (Uniform Resource Locator) address, including information such as the resource type, the host domain name where the resource is stored, and the resource file name; in the embodiment of the present disclosure, the resource address corresponding to the test application refers to the information storage address of the browser of the requesting device corresponding to the test application. Through this resource address, the browser of the requesting device can be accessed and all storage information of the browser of the requesting device corresponding to the test application can be obtained.

[0037] In the embodiment of the present disclosure, the target parameters can be set according to the actual application. The display and closing of the target shape plug-in icon can be controlled by setting the target parameters, and the target shape of the plug-in can be changed by modifying the specific value of the target parameters, such as bubble, square and circle, etc., so as to further meet the user's personalized usage needs.

[0038] Specifically, the browser input of the test device includes a resource address, and a target parameter (such as "?debug=true") is added to the resource address to activate the display of the target shape plug-in icon. In the process of displaying the target shape plug-in icon, all storage information of the browser of the requesting device corresponding to the test application is obtained based on the resource address.

[0039] In an embodiment of the present disclosure, there are many ways to obtain all the storage information of the test application in the browser of the requesting device based on the resource address. As an example, the browser of the requesting device corresponding to the test application is accessed based on the resource address, and the requesting device identifier is obtained, the request time, request header information and return body data of the test application in the browser of the requesting device are obtained, and the requesting device identifier, request time, request header information and return body data are used as the all storage information of the browser of the requesting device; as another example, the browser of the requesting device corresponding to the test application is accessed based on the resource address, and all the information stored in the browser of the requesting device is obtained as the all storage information of the browser of the requesting device; the above two methods are only examples, and the specific storage information of the browser of the requesting device is obtained according to the actual application.

[0040] Step 103: In response to the operation request for the target shape plug-in icon, all storage information of the browser of the requesting device is displayed in the target shape plug-in; wherein all storage information is used to indicate the analysis of the request operation of the test application.

[0041] The operation request refers to a specific operation performed on the displayed target shape plug-in icon. The form of the specific operation is not limited. For example, the operation request may be an operation of a user clicking on the target shape plug-in icon.

[0042] Specifically, when the user wants to view all the storage information of the browser of the requesting device corresponding to the test application, he can operate the target shape plug-in icon. The test device can receive the user's operation request and then display all the storage information of the browser of the requesting device in the target shape plug-in. The user can analyze the request operation of the test application based on all the storage information.

[0043] The information display scheme provided by the embodiment of the present disclosure is applied to a test device, and the browser of the test device has a corresponding plug-in, including: receiving a resource address including a target parameter corresponding to a test application based on the browser of the test device, obtaining all storage information of the browser of the requesting device corresponding to the test application based on the resource address and displaying a target shape plug-in icon; in response to an operation request for the target shape plug-in icon, displaying all storage information of the browser of the requesting device in the target shape plug-in; wherein all storage information is used to indicate an analysis of the request operation of the test application. By adopting the above technical scheme, by adding a target parameter to the resource address to display the target shape plug-in icon, and based on the operation of the target shape plug-in icon, all storage information of the browser of the requesting device can be viewed, thereby effectively analyzing the request operation of the test application, and improving the efficiency and effect of the test analysis.

[0044] In some embodiments, all storage information of the test application in the browser of the requesting device is obtained based on the resource address, including: accessing the browser of the requesting device corresponding to the test application based on the resource address, and obtaining the requesting device identifier; obtaining the request time, request header information and return body data of the test application in the browser of the requesting device; and using the requesting device identifier, request time, request header information and return body data as all storage information of the browser of the requesting device.

[0045] In some embodiments, the target shape plug-in displays all storage information of the browser of the requesting device, including: obtaining each request key identifier and the attribute value corresponding to each request key identifier based on the request header information; displaying each request key identifier, the attribute value corresponding to each request key identifier, and the returned body data as all storage information in the target shape plug-in according to the requesting device identifier and the request time.

[0046] Among them, the request device identifier can uniquely identify a requesting device, and the request header information includes all information stored in the browser, including storage information with the same name but different domains; the request key identifier can uniquely identify a request key, and each request key identifier has a corresponding attribute value to form a key-value pair.

[0047] The returned data is usually returned in a format such as JSON (JavaScript Object Notation) or XML (Extensible Markup Language), and includes the processing result of the request, the actual data returned according to the specific business logic of the request, and if the request processing fails, an error message will be included to explain the reason for the failure.

[0048] In the embodiment of the present disclosure, in order to ensure the comprehensiveness and effectiveness of subsequent test analysis, specific request data can be distinguished by requesting device, request time, etc., and the complete storage information of the browser of the requesting device can be used as the requesting device identifier, request time, request header information and return body data in a certain format.

[0049] Among them, the request header information includes all the information stored in the browser. In order to avoid the problem of inaccurate analysis caused by request key identifiers with the same name, each request key identifier and the attribute value corresponding to each request key identifier are obtained through the request header information, so that each request key identifier, the attribute value corresponding to each request key identifier, and the return body data are displayed in the target shape plug-in according to the request device identifier and request time as all the stored information, thereby further improving the accuracy of subsequent test analysis.

[0050] In the above scheme, while displaying all the storage information of the browser of the requesting device in the target shape plug-in, the display effectiveness is further improved by dividing it according to identifiers such as the requesting device and the requesting time, thereby further improving the effect of information display and thus improving the user experience; and the format of all the storage information is displayed according to each request key identifier, the attribute value corresponding to each request key identifier, and the returned body data to improve the efficiency and effect of subsequent test analysis.

[0051] In some embodiments, the information display method may further include: displaying all stored information of the browser of the requesting device according to a preset display format.

[0052] In the embodiment of the present disclosure, all storage information can be displayed in a preset display format. Specifically, the setting can be selected according to actual application needs, such as text, table and other formats, so that each request key identifier, the attribute value corresponding to each request key identifier, and the return body data are displayed in a one-to-one correspondence according to the preset display format, thereby realizing the display of all storage information of the browser of the requesting device in the preset display format, further improving the flexibility of the display, so that the user can quickly understand all storage information of the test application in each browser of each requesting device, and thus can quickly analyze the request test of the test request, thereby improving the effectiveness of the web page request, and ultimately satisfying the user's web application usage experience and user usage needs.

[0053] Optionally, the information display method may further include: receiving a resource address that does not include a target parameter and corresponds to the test application based on a browser of the test device, and closing a target shape plug-in icon.

[0054] Specifically, the target shape plug-in icon can be closed by inputting a resource address that does not include target parameters corresponding to the test application, thereby further improving the satisfaction of user display requirements.

[0055] In some embodiments, the information display method may further include: obtaining update icon parameters in response to an adjustment instruction for the target shape plug-in icon; and displaying the update shape plug-in icon corresponding to the update icon parameters.

[0056] In the disclosed embodiment, the icon parameters in the target parameters can be modified according to the user's personalized needs, thereby obtaining updated icon parameters and displaying the updated plug-in icon corresponding to the updated icon parameters; for example, changing the bubble-shaped plug-in icon to a square plug-in highlight, etc., further meeting the user's usage needs and improving the user experience.

[0057] In some embodiments, the method further includes: in response to a plug-in test request, obtaining a plug-in test function and a plug-in test device, performing a test based on preset test parameters, the plug-in test function and the plug-in test device, and generating a plug-in test result.

[0058] In the embodiment of the present disclosure, in order to ensure the stability of the plug-in, the plug-in can be tested, that is, the plug-in test function is targeted and the test is installed on different plug-in test devices, the plug-in test function and the plug-in test device are tested using pre-set test parameters, and plug-in test results are generated. The plug-in is then continuously adjusted based on the comparison between the test results and the pre-marked results, thereby improving the reliability of the plug-in.

[0059] Specifically, plug-ins are developed using JavaScript to ensure compatibility with web applications. During the plug-in development process, comprehensive testing is performed, including testing whether the plug-in functions cover all application scenarios and compatibility testing (for example, whether the plug-in can be used on mobile phones, computers, and other devices) to ensure the plug-in functions properly.

[0060] It should be noted that detailed development documentation and usage examples can also be provided to help users quickly get started with the plug-in and further improve the efficiency and effectiveness of plug-in use.

[0061] Figure 2 This is a flow chart of another information display method provided by an embodiment of the present disclosure. Based on the above embodiment, this embodiment further optimizes the above information display method.

[0062] like Figure 2 As shown, the method includes:

[0063] Step 201: The browser of the test device receives a resource address including target parameters corresponding to the test application and displays a target shape plug-in icon.

[0064] For example, Figure 3 A schematic diagram of information display is provided for an embodiment of the present disclosure. The figure shows a schematic diagram of a browser page of a test device. The browser page of the test device includes a plug-in icon 11, and the plug-in icon 11 is set in the form of a bubble. When the user triggers the plug-in icon 11, the test device can receive the information display trigger operation and test all the storage information of the browser of the requesting device corresponding to the application.

[0065] Step 202: Access the browser of the requesting device corresponding to the test application based on the resource address, obtain the requesting device identifier, obtain the request time, request header information and return body data of the test application in the browser of the requesting device, and use the requesting device identifier, request time, request header information and return body data as all the storage information of the browser of the requesting device.

[0066] Step 203: Based on the request header information, obtain each request key identifier and the attribute value corresponding to each request key identifier, and display the request device identifier, request time, each request key identifier, the attribute value corresponding to each request key identifier, and the returned volume data in the target shape plug-in according to a preset display format.

[0067] The size of the target shape plug-in is smaller than the size of the browser page of the test device.

[0068] In an embodiment of the present disclosure, after receiving the resource address, the browser of the requesting device corresponding to the test application is accessed through the resource address to obtain the request time, request header information and return body data of the test application; wherein the request header information includes all the storage information of the browser; the requesting device identification, request time, request header information and return body data are used as the complete storage information of the browser of the requesting device in a certain format.

[0069] In the embodiment of the present disclosure, in order to enable users to quickly understand all the storage information of the browser, it can be displayed in the form of key-value pairs. Specifically, each request key identifier and the attribute value corresponding to each request key identifier are obtained, and the target shape plug-in displays the request device identifier, request time, each request key identifier, and the attribute value corresponding to each request key identifier according to the preset display format, thereby further improving the information display effect and effect.

[0070] In the embodiment of the present disclosure, a plug-in is developed and a switch is configured on the resource address to decide whether to display the plug-in icon. By clicking the plug-in icon, the user can directly view all the information stored in the browser (including different domains with the same name) and the header information requested by the requesting device and the request return body data.

[0071] In the embodiment of the present disclosure, the plug-in should be able to collect all relevant storage information in the browser of the test device, including but not limited to cookies (including cookies with the same name but different domains), header information, and request return body data; so that users can fully understand the storage and communication status of web applications in the browser; and ensure that the collected information is accurate to avoid users obtaining inaccurate data due to technical limitations or errors; the plug-in should be able to collect and display information in real time so that users can discover and solve problems in a timely manner.

[0072] Step 204: In response to the operation request for the target shape plug-in icon, all storage information of the browser of the requesting device is displayed in the target shape plug-in; wherein all storage information is used to indicate the analysis of the request operation of the test application.

[0073] In the disclosed embodiments, the user interface of the plug-in should be concise and easy to operate; users can activate the plug-in through simple clicks and other operations and quickly view the required information; and by configuring target parameters on the resource address URL, whether to display the plug-in icon can be determined, providing users with flexible usage methods; in addition, the collected information is displayed in the plug-in in a clear and easy-to-read format, making it convenient for users to quickly locate and analyze problems.

[0074] In the embodiments of the present disclosure, different functions of the plug-in (such as information collection, display, etc.) can be decomposed into independent modules to improve the maintainability and scalability of the code; ensure that the plug-in has good compatibility on various browsers and can work normally; avoid the plug-in from having a negative impact on the performance of the web application and ensure its efficient operation; considering that all information stored by the browser may contain sensitive data, the plug-in should ensure that no information is leaked during the collection and display process.

[0075] After step 204, step 205 and / or step 206 may be executed. The specific execution order is Figure 2 This is just an example.

[0076] For example, Figure 4 A schematic diagram of another information display provided in an embodiment of the present disclosure, Figure 4 Shown in Figure 3 After the plug-in icon 11 in is triggered, the target shape plug-in 12 is as follows Figure 4 As shown, the target shape plug-in 12 is smaller than the browser page of the test device, and the target shape plug-in 12 displays all the storage information of the browser of the requesting device. Figure 4 As shown in the figure, the request device identifier R1, the request time R2, each request key identifier R3, the attribute value R4 corresponding to each request key identifier, and the returned body data R5 are displayed.

[0077] Step 205: The browser of the test device receives the resource address corresponding to the test application that does not include the target parameter, and closes the target shape plug-in icon.

[0078] Step 206 : In response to the adjustment instruction for the target shape plug-in icon, obtain update icon parameters, and display the update shape plug-in icon corresponding to the update icon parameters.

[0079] In the embodiment of the present disclosure, the target shape plug-in icon can also be closed in real time according to usage requirements. Specifically, the browser of the test device receives the resource address corresponding to the test application that does not include the target parameter, and closes the target shape plug-in icon.

[0080] In the disclosed embodiment, the icon parameters in the target parameters can be changed according to the user's personalized needs, thereby obtaining updated icon parameters and displaying the updated shape plug-in icon corresponding to the updated icon parameters; for example, changing the bubble-shaped plug-in icon to a square plug-in highlight, etc., further meeting the user's usage needs and improving the user experience.

[0081] As an example of an application scenario, the plug-in is displayed in the form of a bubble. The plug-in is developed using JavaScript to ensure that the plug-in is compatible with the browser of the test device; the display of the plug-in bubble is activated by adding target parameters (such as "?debug=true") in the URL; all information stored in the browser of the requesting device is collected, including storage information with the same name but different domains; the header information requested by the requesting device is collected; the return body data of the request is collected; the above information is displayed in the plug-in bubble in a pre-set format for user viewing.

[0082] The information display scheme provided by the embodiment of the present disclosure receives a resource address including target parameters corresponding to a test application based on a browser of a test device, displays a target shape plug-in icon, accesses the browser of a requesting device corresponding to the test application based on the resource address, obtains a requesting device identifier, obtains the request time, request header information and return body data of the test application in the browser of the requesting device, uses the requesting device identifier, request time, request header information and return body data as all storage information of the browser of the requesting device, obtains each request key identifier and the attribute value corresponding to each request key identifier based on the request header information, displays the requesting device identifier, request time, each request key identifier, the attribute value corresponding to each request key identifier, and return body data in a target shape plug-in according to a preset display format, and displays all storage information of the browser of the requesting device in the target shape plug-in in response to an operation request for the target shape plug-in icon; wherein all storage information is used to indicate an analysis of the request operation of the test application, receives a resource address including target parameters corresponding to the test application based on the browser of the test device, closes the target shape plug-in icon, responds to an adjustment instruction for the target shape plug-in icon, obtains update icon parameters, and displays an update shape plug-in icon corresponding to the update icon parameters. Therefore, by adding the target parameter in the resource address to display the target shape plug-in icon, and based on the operation of the target shape plug-in icon, all the storage information of the browser of the requesting device can be viewed, so that the request operation of the test application can be effectively analyzed, thereby improving the efficiency and effect of the test analysis.

[0083] Figure 5 This is a schematic diagram of the structure of an information display device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 5 As shown, the device includes:

[0084] Receiving module 501, configured to receive a resource address including target parameters corresponding to a test application based on a browser of the test device;

[0085] An acquisition and display module 502 is configured to acquire all storage information of a browser of a requesting device corresponding to the test application based on the resource address and display a target shape plug-in icon;

[0086] The response display module 503 is used to respond to the operation request for the target shape plug-in icon and display all the storage information of the browser of the requesting device in the target shape plug-in; wherein, the all the storage information is used to indicate the analysis of the request operation of the test application.

[0087] Optionally, the acquisition and display module 502 is specifically used to: access the browser of the requesting device corresponding to the test application based on the resource address, and obtain the requesting device identifier; obtain the request time, request header information and return body data of the test application in the browser of the requesting device; use the requesting device identifier, the request time, the request header information and the return body data as all the storage information of the browser of the requesting device and display the target shape plug-in icon.

[0088] Optionally, the response display module 503 is specifically used to: in response to an operation request for the target shape plug-in icon, obtain each request key identifier and the attribute value corresponding to each request key identifier based on the request header information; display each request key identifier, the attribute value corresponding to each request key identifier, and the return body data in the target shape plug-in as the entire stored information displayed in the target shape plug-in according to the request device identifier and the request time.

[0089] Optionally, the apparatus further includes: a display module, configured to display all stored information of the browser of the requesting device in a preset display format.

[0090] Optionally, the apparatus further includes: a closing module configured to receive, based on the browser of the test device, a resource address corresponding to the test application that does not include target parameters, and close the target shape plug-in icon.

[0091] Optionally, the device further includes: a response update module, configured to respond to an adjustment instruction for the target shape plug-in icon and obtain update icon parameters; and display an update shape plug-in icon corresponding to the update icon parameters.

[0092] Optionally, the device further includes: a response test module, configured to respond to a plug-in test request, obtain a plug-in test function and a plug-in test device, perform a test based on preset test parameters, the plug-in test function and the plug-in test device, and generate a plug-in test result.

[0093] The information display device provided in the embodiments of the present disclosure can execute the information display method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0094] The embodiments of the present disclosure further provide a computer program product, including a computer program / instruction, which implements the information display method provided by any embodiment of the present disclosure when executed by a processor.

[0095] Figure 6 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 6 , which shows a schematic structural diagram of an electronic device 600 suitable for implementing the embodiments of the present disclosure. The electronic device 600 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0096] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0097] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.

[0098] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program carried on a non-transitory computer-readable medium, the computer program including program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the information display method of the embodiment of the present disclosure are performed.

[0099] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0100] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0101] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0102] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives the resource address including target parameters corresponding to the test application based on the browser of the test device, obtains all storage information of the browser of the requesting device corresponding to the test application based on the resource address and displays the target shape plug-in icon; in response to the operation request for the target shape plug-in icon, displays all storage information of the browser of the requesting device in the target shape plug-in; wherein all storage information is used to indicate the analysis of the request operation of the test application.

[0103] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0104] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0105] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.

[0106] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0107] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0108] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:

[0109] processor;

[0110] a memory for storing instructions executable by the processor;

[0111] The processor is configured to read the executable instructions from the memory and execute the instructions to implement any of the information display methods provided in the present disclosure.

[0112] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute any information presentation method provided by the present disclosure.

[0113] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0114] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0115] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. An information display method, characterized in that: Applied to a test device, wherein the browser of the test device has a corresponding plug-in, the method includes: Receiving, based on the browser of the test device, a resource address including target parameters corresponding to the test application; Acquire all storage information of the browser of the requesting device corresponding to the test application based on the resource address and display a target shape plug-in icon; In response to an operation request for the target shape plug-in icon, all storage information of the browser of the requesting device is displayed on the target shape plug-in; wherein the all storage information is used to instruct analysis of the request operation of the test application.

2. The method according to claim 1, characterized in that The acquiring, based on the resource address, all storage information of the test application in the browser of the requesting device includes: Accessing a browser of a requesting device corresponding to the test application based on the resource address and obtaining a requesting device identifier; Obtaining the request time, request header information, and response body data of the test application in the browser of the requesting device; The requesting device identifier, the request time, the request header information and the returned body data are used as the entire storage information of the browser of the requesting device.

3. The method according to claim 2, characterized in that The target shape plug-in displays all stored information of the browser of the requesting device, including: Acquire each request key identifier and an attribute value corresponding to each request key identifier based on the request header information; According to the requesting device identifier and the requesting time, each request key identifier, the attribute value corresponding to each request key identifier, and the returned body data are displayed in the target shape plug-in as the entire storage information.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: All storage information of the browser of the requesting device is displayed according to a preset display format.

5. The method according to claim 1, wherein The method further comprises: The browser of the test device receives a resource address corresponding to the test application that does not include a target parameter, and closes the target shape plug-in icon.

6. The method according to claim 1, characterized in that The method further comprises: In response to an adjustment instruction for the target shape plug-in icon, obtaining updated icon parameters; Displays an updated shape plug-in icon corresponding to the updated icon parameter.

7. The method according to claim 1, characterized in that The method further comprises: Responding to a plug-in test request, obtaining a plug-in test function and a plug-in test device; The test is performed based on the preset test parameters, the plug-in test function and the plug-in test device to generate a plug-in test result.

8. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 1 to 7.

10. A computer program product, characterized in that The method comprises a computer program, wherein the computer program is executed by a processor to perform the information display method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Information processing method and device and computer readable storage medium

    CN113765731A

  • Webpage testing tool

    US9811248B1