Walkthrough method, device and storage medium
Through the overlay processing and report generation of walkthrough methods and devices, the problem of high communication costs and low efficiency between designers and front-end engineers is solved, the walkthrough efficiency is improved and communication costs are reduced, and an intuitive self-examination function is provided for front-end engineers. .
Patent Information
- Application Number
- CN202011040808.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-28
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-09-28
AI Technical Summary
During the walk-through process, due to inconsistent thinking and expression methods between designers and front-end engineers, communication costs are high and efficiency is low. The existing technology lacks a full-process product that can simultaneously realize image uploading, stacked image comparison, web page annotation, and generated walkthroughs. Check the report.
Provide a walkthrough method and device, which can perform overlay processing by obtaining the object to be walked through and the target object, obtain style difference information in response to the operation, and generate a walkthrough report based on this information, thereby reducing communication costs and improving efficiency. The method includes obtaining the object to be inspected, performing overlay processing, displaying the overlay, obtaining style difference information in response to the operation, and generating an inspection report, and is suitable for computer terminals, H5 pages, application pages, and mini-program pages.
It effectively improves the efficiency of walkthroughs. The content of the generated walkthrough reports is standardized, which reduces the communication cost between designers and front-end engineers, simplifies the walkthrough process for designers, provides front-end engineers with an intuitive self-check function, and solves the problem of The problem of front-end engineers being insensitive to visual restoration.
Smart Images

Figure CN113778429B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a walkthrough method, device and storage medium. Background Art
[0002] Walkthrough, also known as visual walkthrough, is an important part of the product development process. Designers conduct visual walkthroughs of the development pages of front-end engineers to ensure that the development pages are consistent with the design drafts, thereby ensuring the visual effects and user experience after the product goes online.
[0003] However, during the walkthrough phase, due to inconsistencies in thinking and expression between designers and front-end engineers, the communication costs between the two parties are high and the efficiency of the walkthrough is low. Summary of the invention
[0004] The present application provides a walkthrough method, device and storage medium to effectively reduce communication costs and improve the efficiency of the walkthrough.
[0005] In the first aspect, the present application provides a walkthrough method, including: obtaining an object to be walked through; overlaying the object to be walked through and the target object, and displaying the overlay; then, in response to the operation on the overlay, obtaining style difference information of the object to be walked through relative to the target object; finally, generating a walkthrough report of the object to be walked through based on the style difference information. The automated walkthrough solution provided by the present application can effectively improve the efficiency of the walkthrough; in addition, since the walkthrough report is generated by a machine, the content it contains is relatively standardized, thereby reducing the communication cost between designers and front-end engineers.
[0006] In a possible implementation, when the type of the object to be inspected is a computer-side page, obtaining the object to be inspected may include: loading the object to be inspected through a browser.
[0007] Alternatively, when the type of the object to be inspected is an H5 page, obtaining the object to be inspected may include: loading the object to be inspected through a browser; and starting a mobile phone simulator of the browser.
[0008] Alternatively, when the type of the object to be inspected is an application page or a mini-program page, obtaining the object to be inspected may include: in response to a selection operation on the first area, displaying a QR code so that the mobile terminal uploads the object to be inspected by scanning the QR code; and receiving the object to be inspected. The scene selection interface includes a first area, which is used to indicate an application or mini-program image to be inspected, and the scene selection interface is a startup interface of the inspection tool.
[0009] In a possible implementation manner, after receiving the object to be inspected, the method further includes: displaying the object to be inspected and an operation bar of the inspection tool.
[0010] In a possible implementation, the object to be inspected and the target object are overlaid to obtain the overlaid image, including: displaying the target object with a preset opacity above the object to be inspected to obtain the overlaid image.
[0011] In a possible implementation, in response to an operation on an overlay image, obtaining style difference information of the object to be inspected relative to the target object may include: in response to an operation on the overlay image, identifying the position where the operation is performed; in response to an operation on a first control, displaying an optional annotation type, the first control being included in an operation bar, the first control being used to add an annotation at the position; in response to the operation on the optional annotation type, obtaining style difference information of the object to be inspected relative to the target object.
[0012] In a possible implementation, after obtaining the style difference information of the object to be inspected relative to the target object, it also includes: displaying the style difference information and its corresponding deletion control; in response to an operation acting on the deletion control, prompting the user whether to confirm to delete the style difference information corresponding to the deletion control; and deleting or retaining the style difference information corresponding to the deletion control according to the user's input operation.
[0013] In a possible implementation, generating a walkthrough report of the object to be inspected according to the style difference information includes: generating a walkthrough report of the object to be inspected in response to an operation on a second control, wherein the walkthrough report includes the style difference information and the position of the style difference information in the object to be inspected, the second control is included in the operation bar, and the second control is used to generate a report.
[0014] In a possible implementation, the object to be inspected and the target object are overlaid, and before the overlay is obtained, the process also includes: responding to a click operation on a third control, calling a system folder, the system folder containing the target object, the third control being contained in an operation bar, and the third control being used to import the target object; responding to a selection operation on the target object in the system folder, loading the target object.
[0015] In a possible implementation, the walk-through method may further include: in response to an opening operation on the walk-through tool, displaying an operation bar.
[0016] Furthermore, in response to an opening operation on the walkthrough tool, displaying the operation bar may include: in response to an opening operation on the walkthrough tool, displaying a scene selection interface, the scene selection interface comprising a first area and a second area, the first area being used to indicate a walkthrough of an application or mini-program image, and the second area being used to indicate a walkthrough of an H5 or computer page; in response to a selection operation on the second area, displaying the operation bar.
[0017] In a possible implementation manner, after generating the inspection report of the object to be inspected according to the style difference information, the method further includes: saving the inspection report to a preset location.
[0018] In a second aspect, an embodiment of the present application provides a walk-through device, comprising:
[0019] The acquisition module is used to obtain the object to be inspected;
[0020] The processing module is used to perform overlay processing on the object to be inspected and the target object, trigger the display module to display the overlay; respond to the operation on the overlay, obtain the style difference information of the object to be inspected relative to the target object; and generate an inspection report of the object to be inspected according to the style difference information.
[0021] In a possible implementation manner, when the type of the object to be inspected is a computer-side page, the acquisition module is specifically configured to: load the object to be inspected through a browser.
[0022] Alternatively, when the type of the object to be inspected is an H5 page, the acquisition module is specifically used to: load the object to be inspected through a browser; and start a mobile phone simulator of the browser.
[0023] Alternatively, when the type of the object to be inspected is an application page or a mini-program page, the acquisition module is specifically used to: respond to the selection operation on the first area, trigger the display module to display a QR code, so that the mobile terminal uploads the object to be inspected by scanning the QR code; receive the object to be inspected. Among them, the scene selection interface includes a first area, and the first area is used to indicate the inspection application or mini-program picture, and the scene selection interface is the startup interface of the inspection tool.
[0024] In a possible implementation manner, the acquisition module is further used to: trigger the display module to display the object to be inspected and the operation bar of the inspection tool.
[0025] In a possible implementation, when the processing module performs overlay processing on the object to be inspected and the target object to obtain the overlay, the processing module is specifically configured to: display the target object with a preset opacity above the object to be inspected to obtain the overlay.
[0026] In a possible implementation, when the processing module obtains style difference information of the object to be inspected relative to the target object in response to an operation on the overlay image, the processing module is specifically used to: identify the position where the operation is applied in response to the operation on the overlay image; trigger the display module to display an optional annotation type in response to an operation on a first control, the first control being included in an operation bar, and the first control being used to add an annotation at the position; and obtain style difference information of the object to be inspected relative to the target object in response to the operation on the optional annotation type.
[0027] In a possible implementation, the processing module is further used to: after obtaining style difference information of the object to be inspected relative to the target object, trigger the display module to display the style difference information and its corresponding deletion control; in response to an operation acting on the deletion control, trigger the display module to prompt the user whether to confirm deletion of the style difference information corresponding to the deletion control; and delete or retain the style difference information corresponding to the deletion control according to the user's input operation.
[0028] In a possible implementation, when the processing module generates a walkthrough report of the object to be inspected according to the style difference information, it is specifically used to: generate a walkthrough report of the object to be inspected in response to an operation on the second control. The walkthrough report includes the style difference information and the position of the style difference information in the object to be inspected, the second control is included in the operation bar, and the second control is used to generate a report.
[0029] In a possible implementation, the processing module is also used for: before overlaying the object to be inspected and the target object to obtain the overlay, in response to a click operation on the third control, calling up a system folder, the system folder containing the target object, the third control contained in the operation bar, the third control being used to import the target object; in response to a selection operation on the target object in the system folder, loading the target object.
[0030] In a possible implementation, the processing module is further configured to: in response to an opening operation on the walk-through tool, trigger the display module to display an operation bar.
[0031] Furthermore, the processing module is also used to: respond to the opening operation of the inspection tool, trigger the display module to display the scene selection interface, the scene selection interface includes a first area and a second area, the first area is used to indicate the inspection of the application or mini-program picture, and the second area is used to indicate the inspection of the H5 or computer page; respond to the selection operation of the second area, trigger the display module to display the operation bar.
[0032] In a possible implementation manner, the processing module is further configured to: after generating a walkthrough report of the object to be walkedthrough according to the style difference information, save the walkthrough report to a preset location.
[0033] Based on any of the above possible implementations:
[0034] Optionally, the mobile terminal and the server achieve uploading of the object to be inspected by adopting a technology combining Websocket and HTTP request; or, the mobile terminal and the server achieve uploading of the object to be inspected by adopting a technology combining Websocket and HTTPS request; or, the mobile terminal and the server achieve uploading of the object to be inspected by only adopting HTTP or HTTPS request.
[0035] Optionally, the preset opacity can be set via an opacity control contained in the action bar.
[0036] Optionally, the operation bar further includes:
[0037] at least one of a control for hiding the target object and a control for displaying the target object;
[0038] At least one of a control for locking the target object and a control for unlocking the target object.
[0039] Optionally, the optional annotation type includes at least one of the following:
[0040] Inconsistent fonts, inconsistent colors, inconsistent spacing, blurred images, blurred icons and others, where the others are used to indicate that the user has entered customized content.
[0041] Optionally, the walk-through report is in the form of a picture or a web page.
[0042] In a third aspect, the present application provides an electronic device, including: a memory and a processor;
[0043] The memory is used to store instructions;
[0044] The processor is used to call instructions in the memory to execute the method as described in any one of the first aspects.
[0045] In a fourth aspect, the present application provides a readable storage medium having a computer program stored thereon; when the computer program is executed, the method as described in any one of the first aspects is implemented.
[0046] In a fifth aspect, the present application also provides a program product, which includes a computer program, the computer program is stored in a readable storage medium, a processor can read the computer program from the readable storage medium, and the processor executes the computer program to implement the method described in any one of the first aspects.
[0047] The present application provides a walkthrough method, device and storage medium, which includes: after obtaining the object to be walked through, overlaying the object to be walked through and the target object, and displaying the overlay; then, in response to the operation on the overlay, obtaining the style difference information of the object to be walked through relative to the target object; finally, generating a walkthrough report of the object to be walked through based on the style difference information. The automated walkthrough solution provided by the present application can effectively improve the efficiency of the walkthrough; in addition, since the walkthrough report is generated by a machine, the content it contains is relatively standardized, thereby reducing the communication cost between designers and front-end engineers. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1It is a schematic diagram of the download interface of the walkthrough tool provided by this application;
[0049] Figure 2 A flowchart of a walkthrough method provided in one embodiment of the present application;
[0050] Figure 3 A flowchart of a walkthrough method provided in another embodiment of the present application;
[0051] Figure 4 A schematic diagram of an interface of a walkthrough tool provided in an embodiment of the present application;
[0052] Figure 5 A schematic diagram of a scene selection interface provided in an embodiment of the present application;
[0053] Figure 6 A schematic diagram of an interface of another walkthrough tool provided in an embodiment of the present application;
[0054] Figure 7 A schematic diagram of an operation bar provided in an embodiment of the present application;
[0055] Figure 8 A schematic diagram of an interface of another walkthrough tool provided in an embodiment of the present application;
[0056] Figure 9a A schematic diagram of another operation bar provided in an embodiment of the present application;
[0057] Figure 9b A schematic diagram of another operation bar provided in an embodiment of the present application;
[0058] Fig.10 A schematic diagram of an interface of another walkthrough tool provided in an embodiment of the present application;
[0059] Fig.11 A schematic diagram of an interface of another walkthrough tool provided in an embodiment of the present application;
[0060] Fig.12 A schematic diagram of optional annotation types provided for an embodiment of the present application;
[0061] Fig.13 A schematic diagram of an interface of another walkthrough tool provided in an embodiment of the present application;
[0062] Fig.14 A schematic diagram of a walk-through report provided in an embodiment of the present application;
[0063] Fig.15 A flowchart of a walkthrough method provided in yet another embodiment of the present application;
[0064] Fig.16 A schematic diagram of an interface of another walkthrough tool provided in an embodiment of the present application;
[0065] Fig.17 A schematic diagram of a browser window provided in an embodiment of the present application;
[0066] Fig.18 A schematic diagram of a mobile phone interface provided in an embodiment of the present application;
[0067] Fig.19 Another mobile phone interface schematic diagram provided in an embodiment of the present application;
[0068] Fig. 20 A schematic diagram of another mobile phone interface provided in an embodiment of the present application;
[0069] Fig.21 A flowchart of a walkthrough method provided in yet another embodiment of the present application;
[0070] Fig. 22 A flowchart of a walkthrough method provided in yet another embodiment of the present application;
[0071] Fig.23 A schematic diagram of the structure of a walk-through device provided in one embodiment of the present application;
[0072] Fig.24 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0073] It should be understood that the "and / or" involved in the embodiments of the present application describes the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0074] First, some of the terms involved in this application are explained:
[0075] Canvas technology is used to generate images in real time on web pages and manipulate image content. Basically, it is a bitmap that can be manipulated with JavaScript.
[0076] Hypertext Transfer Protocol (HTTP) is a simple request-response protocol that usually runs on top of a single Transmission Control Protocol (TCP). It specifies what messages a client may send to a server and what responses it may get.
[0077] Hyper Text Transfer Protocol over Secure Socket Layer (HTTPS) is an HTTP channel with security as its goal. It ensures the security of the transmission process through transmission encryption and identity authentication based on HTTP.
[0078] WebSocket is a network transmission protocol that enables full-duplex communication over a single TCP connection and is located at the application layer of the Open System Interconnection (OSI) reference model.
[0079] Extensible Markup Language (XML), a subset of Standard Generalized Markup Language, is a markup language used to mark electronic files to make them structured.
[0080] HyperText Markup Language (HTML) is a standard markup language used to create web pages.
[0081] Cascading Style Sheets (CSS) is a computer language used to express the style of files such as HTML (an application of Standard Generalized Markup Language) or XML ().
[0082] DOM: It is a programming interface for HTML and XML documents, which connects web pages and scripts or programming languages.
[0083] ICON is an icon format used for system icons, software icons, etc. The extension of this icon is *.icon, *.ico. Common software or icons on the Windows desktop are generally in ICON format.
[0084] The following further explains the technical problems to be solved by the present application and its inventive concept based on the prior art.
[0085] The inventors found that during the walkthrough, the communication costs between designers and front-end engineers were very high due to the inconsistency in their thinking, expression and implementation methods. In addition, since front-end engineers were not sensitive to design styles and the page restoration degree was not high, the designers' walkthrough costs were further increased.
[0086] Specifically, in the existing walkthrough process, designers need to import screenshots of development pages into design software, such as PS or Sketch, compare them with the design draft, find the problem points and explain them, and finally output the walkthrough report and send it to the front-end engineer. In this process, designers use various methods to capture the development page to obtain screenshots of the development page. If the page screenshot is taken on the mobile terminal, the mobile terminal needs to transfer the screenshot of the development page to the computer terminal in various ways, because the design draft and design software are on the computer terminal. After comparing the screenshots of the development page with the design draft, the problem annotations and walkthrough reports output by each designer are also very different, which is very unfavorable for the front-end engineers to browse and read, and further increases the communication cost.
[0087] In the self-inspection process of front-end engineers, Chrome extensions can be installed. Using such tools, the design draft can be superimposed on the development page to compare and find the differences with the design draft, but it cannot mark or generate a walkthrough report. The existing technologies involved in the above scenario mainly include the following points:
[0088] (1) Chrome extensions: These are small programs that can modify or enhance the functionality of the Chrome browser. You can use various Web technologies, such as HyperText Markup Language (HTML), JavaScript, and Cascading Style Sheets (CSS), to write your own extensions. The extension integrates the files it needs into a single file and provides it to users for download and installation. This integration means that extensions are not like ordinary web applications. They do not need to rely on online content and have very little user interface, such as only a small icon on the Chrome browser toolbar, or no user interface at all.
[0089] (2) Jquery: A fast and concise JavaScript framework. It is another excellent JavaScript code library (or JavaScript framework) after the object-oriented mechanism (Prototype).
[0090] In summary, the current walkthrough has the following problems:
[0091] (1) Currently, there is no product that covers the entire inspection process, that is, no product fully includes functions such as uploading pictures, overlaying pictures for comparison, web page annotation, and generating inspection reports.
[0092] (2) In the existing Chrome extension, the style check tool only has the function of overlay comparison, which can move the images inserted on the page, change the transparency, etc., but cannot mark and generate a check report.
[0093] (3) In existing design software, annotations can only be made on images, and cannot be made directly on the actual web page that is opened.
[0094] The above problems will affect the efficiency of the walkthrough, so the present application provides a walkthrough method, device and storage medium to improve the efficiency of the walkthrough. Specifically, a walkthrough tool (or "walkthrough plug-in") is provided, which includes functions such as uploading pictures, overlaying pictures for comparison, web page annotation and generating reports.
[0095] It should be noted that before executing the walkthrough solution provided in this application, the walkthrough tool needs to be installed on the execution end (such as the computer end). Figure 1 As shown, click "Install Walkthrough Tool" and the browser will automatically download it. The walkthrough tool can be developed based on the Chrome browser plug-in and needs to be installed in the Chrome browser extension. The installation path can be specifically:
[0096] Installation path one is "Open the Chrome Web Store → Search for 'Same Design Walkthrough Tool' → After finding the Same Design Walkthrough Tool, click the 'Add to Chrome' button → Complete the installation.
[0097] The second installation path is "right-click the toolbar of the Chrome browser → click the 'Manage extensions' button in the floating layer → start the developer mode → click the 'Load unpacked extension' button in the floating layer → find the unpacked installation package of the Same design walkthrough tool in the system folder → complete the installation.
[0098] The technical solution of the present application is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0099] Figure 2 This is a flow chart of a walkthrough method provided in one embodiment of the present application. The method is explained using a computer (also known as a computer) as the execution subject. It should be understood that the execution subject of the walkthrough method provided in the present application is not limited to a computer, as long as the Chrome browser that can be used by the electronic device supports the installation of extension programs.
[0100] like Figure 2 As shown, the method comprises the following steps:
[0101] S201, obtaining an object to be inspected.
[0102] It can be understood that the object to be checked is the page or interface developed by the front-end engineer based on the design draft provided by the designer. According to different usage scenarios, the objects to be checked can include the following: H5 page, computer page (i.e. PC page), application (APPlication, referred to as APP) page and mini program page, etc. Among them, in different usage scenarios, the computer obtains the object to be checked in different ways, which will be described in detail through subsequent embodiments.
[0103] S202: Overlay the object to be inspected and the target object, and display the overlay.
[0104] The target object is the design draft provided by the designer, the expected development page. The object to be checked is superimposed on the target object to obtain an overlay image, so that the designer and / or front-end engineer can make a comparison.
[0105] S203 : In response to the operation on the overlay image, obtain style difference information of the object to be inspected relative to the target object.
[0106] In actual applications, designers and / or front-end engineers look for differences between the object to be checked and the target object on the overlay, and when they find the differences between the object to be checked and the target object, they act on the differences by clicking, double-clicking, long pressing, etc. Correspondingly, the computer responds to the operation and obtains style difference information corresponding to the differences.
[0107] S204: Generate an inspection report of the object to be inspected according to the style difference information.
[0108] Since the style difference information of the object to be inspected relative to the target object has been determined, and the position of the style difference information is known, the contents included in the inspection report are determined, and the inspection report is generated based on these contents.
[0109] The inspection method of the embodiment of the present application, after obtaining the object to be inspected, performs overlay processing on the object to be inspected and the target object, and displays the overlay; then, in response to the operation on the overlay, obtains the style difference information of the object to be inspected relative to the target object; finally, generates an inspection report of the object to be inspected based on the style difference information. The automated inspection solution provided by the present application can effectively improve the efficiency of the inspection; in addition, since the inspection report is generated by a machine, the content it contains is relatively standardized, thereby reducing the communication cost between designers and front-end engineers.
[0110] Based on the above, the following embodiments are described by differentiating usage scenarios.
[0111] In some embodiments, from the perspective of a designer, an H5 page is checked, that is, the type of the object to be checked is an H5 page. Figure 3The walkthrough method in this embodiment may include the following steps:
[0112] S301, loading the object to be inspected through a browser.
[0113] S302, start the mobile phone simulator of the browser.
[0114] Among them, S301 and S302 are when the type of the object to be checked is an H5 page, Figure 2 Further explanation of S201 in the illustrated embodiment.
[0115] For example, use the Chrome browser to open the development page link (i.e. the object to be checked), and then open the browser's mobile phone simulator, such as Figure 4 As shown. When the type of the object to be inspected is a PC page, obtaining the object to be inspected includes: loading the object to be inspected through a browser. That is, when the type of the object to be inspected is a PC page, the object to be inspected can be obtained through S301. Among them, the mobile phone simulator converts the PC page into an H5 page.
[0116] S303: In response to an opening operation on the walk-through tool, a scene selection interface is displayed.
[0117] Among them, the scene selection interface includes a first area and a second area. The first area is used to indicate the inspection of the application (APP) or small program picture, and the second area is used to indicate the inspection of the H5 or PC page.
[0118] For example, in the Chrome browser toolbar, click the icon of the walkthrough tool to start the walkthrough tool and display the scene selection interface. For example, the scene selection interface uses Jquery combined with CSS technology to implement the custom style and function of the popup panel, such as Figure 5 The position relationship between the scene selection interface and the object to be inspected can be as follows: Figure 6 The example shown.
[0119] S304: In response to the selection operation on the second area, display an operation bar.
[0120] Since the present embodiment is described by taking the H5 page as an example of the object to be inspected, the designer inputs a selection operation for the second area, specifically, using the mouse to point to the second area and clicking, double-clicking, or long pressing the mouse to select the second area, and so on.
[0121] Exemplarily, in response to the selection operation on the second area, the computer communicates with the browser webpage through the communication application programming interface (Application Programming Interface, referred to as API) developed by the Chrome extension program. When the listener in the content.js file listens to the message, the operation bar of the inspection tool is started, such as Figure 7 The position relationship between the operation bar and the object to be inspected can be as follows: Figure 8 The example shown.
[0122] refer to Figure 7 , the operation bar includes: controls for adding annotations, controls for generating reports, and controls for importing design drafts, which are respectively identified as: "Add Annotation", "Generate Report" and "Import Design Draft". For the convenience of description, the above controls are defined as: a first control, a second control, and a third control. It should be noted that this application does not limit the type and number of controls contained in the operation bar; and, when the controls contained in the operation bar are fixed, this application does not limit the relative positions of the controls, and they can be set according to actual needs.
[0123] Optionally, the walk-through tool may be designed to display an operation bar in response to an opening operation on the walk-through tool, that is, the step of scene selection is omitted.
[0124] S305: In response to a click operation on the third control, a system folder is retrieved.
[0125] The system folder contains the target object. The designer can find the target object in the system folder and select it. For example, after the designer clicks the "Import Design Draft" control in the operation bar, the computer calls the system folder through the file upload mode of the HTML input tag, finds the save location of the target object in the system folder, and selects the target object.
[0126] S306: In response to a selection operation on the target object in the system folder, load the target object.
[0127] For loading the target object, in one example, the target object can be converted to base64 format and inserted through the IMG tag. Currently, it supports uploading pictures in jpg, jpeg and png formats.
[0128] The target object is acquired through S305 and S306.
[0129] S307 , displaying the target object above the object to be inspected with a preset opacity to obtain an overlay image.
[0130] It can be understood that this step is Figure 2Further description of S202 in the illustrated embodiment.
[0131] Normally, preset opacity is displayed at 50% opacity by default.
[0132] During the overlay comparison process, in order to facilitate viewing of the object to be checked, the opacity of the target object can be customized by setting the CSS transparency attribute value, ranging from 0 to 100%, where 0% is equivalent to hiding everything and 100% is equivalent to showing everything.
[0133] Optionally, the preset opacity can be set via an opacity control contained in the action bar. Figure 9a and Figure 9b As shown, the operation bar may also include:
[0134] At least one of a control for hiding a target object and a control for displaying a target object, respectively identified as “hide overlay” and “display overlay”;
[0135] At least one of the control for locking the target object and the control for unlocking the target object is identified as “lock overlay” and “unlock overlay”, respectively.
[0136] The above logos are only examples and are not limited in this application. To facilitate distinction, after the control is clicked, it can be displayed differently from other controls, for example, by using attribute information such as color and size.
[0137] Click the "Hide Overlay" control to hide the target object, and click the "Show Overlay" control to show the target object again. At the same time, the target object can also be locked. This function is to avoid the mouse moving the target object by mistake, causing the designer to re-align with the object to be inspected. For example, this can be achieved by disabling the browser's drag event.
[0138] In addition, in the embodiment of the present application, the control for hiding the target object and the control for displaying the target object are displayed alternatively. That is, after the designer clicks the "hide overlay" control, the computer displays the control for displaying the target object, or, after the designer clicks the "show overlay" control, the computer displays the control for hiding the target object, and the other controls are unchanged by default. Similarly, the control for locking the target object and the control for unlocking the target object are also displayed alternatively.
[0139] Alternatively, refer to Figure 9a and Figure 9b Since the target object has been imported, the operation bar may no longer include a control for importing the target object, that is, the third control as described above.
[0140] Alternatively, all of the above-mentioned controls can be included in the action bar at the same time.
[0141] For example, after the position of the target object on the object to be inspected is adjusted and aligned, the overlay image can be as follows: Fig.10 After that, the designer compares each content on the overlay one by one to find out the styles that are not implemented according to the target object.
[0142] Optionally, Figure 2 S203 in the illustrated embodiment can be further subdivided into S308, S309 and S310. Among them:
[0143] S308: In response to the operation performed on the overlay, a location where the operation is performed is identified.
[0144] When a style that is not implemented in the target object is found in the object to be checked, click on the position to allow the computer to mark it, for example, use a box to mark the position, and mark it as "①", "②", "③", ... in the order found, such as Fig.11 The example shown.
[0145] S309: In response to the operation on the first control, display optional annotation types.
[0146] The first control is used to add a label at the position.
[0147] Furthermore, the optional annotation types may include at least one of the following:
[0148] Inconsistent fonts, inconsistent colors, inconsistent spacing, blurred images, blurred icons, and others, etc. Among them, the others are used to indicate that the user inputs customized content.
[0149] For example, the designer clicks the first control marked with "Add Annotation" in the operation bar. In response to this operation, the computer starts the annotation function of the inspection tool and inserts a canvas area in the object to be inspected through canvas technology. The height of the canvas area is consistent with the height of the object to be inspected. At this time, the designer uses the mouse to click or drag a box on the object to be inspected to insert a dynamic document object model (DOM) structure. The computer calculates the position of the inserted DOM structure and the width and height of the dragged box by obtaining the XY coordinates of the current click position, and generates a selection box of the annotation type.
[0150] S310 , in response to an operation acting on an optional annotation type, obtaining style difference information of the object to be inspected relative to the target object.
[0151] For example, refer to Fig.12, the designer clicks an option in the selection box, such as "Font Inconsistency", and then clicks the "OK" button to successfully add the annotation. If "Other" is clicked, the designer can enter custom content of, for example, 100 characters (the specific number can be adjusted according to actual needs). The computer stores each added annotation information in the front-end variable. If the designer clicks the serial number icon of an existing annotation, the display property of CSS is used to control the display of the annotated content.
[0152] In some embodiments, after S310, the inspection method may further include: displaying style difference information of the object to be inspected relative to the target object and its corresponding deletion control. Fig.11 , the added annotation type is "spacing inconsistency" style difference information, and the corresponding delete control is displayed behind it. If the designer inputs an operation to act on the delete control and clicks the delete control behind the style difference information, the computer responds to the operation and prompts the user whether to confirm to delete the style difference information corresponding to the delete control, for example Fig.13 As shown, a prompt "Are you sure you want to delete this annotation?" is displayed. After that, the computer deletes or retains the style difference information corresponding to the deleted control according to the user's subsequent input operation. For example, if the designer clicks "OK", the annotation is successfully deleted, and the corresponding entire dynamic DOM structure and data information are deleted; if the designer clicks "Cancel", the annotation is not deleted.
[0153] If all styles that are not implemented according to the target object are found in the object to be checked and marked, the check is completed, and the designer clicks the second control marked with "Generate Report" in the operation bar. Correspondingly, the computer responds and executes S311.
[0154] S311. In response to an operation on the second control, generate a walkthrough report of the object to be walkedthrough.
[0155] It can be understood that this step is Figure 2 Further description of S204 in the illustrated embodiment: The walkthrough report includes style difference information and the position of the style difference information in the object to be walkedthrough.
[0156] In one implementation, the computer can convert the object to be inspected and the annotation information into an image through HTML to image technology, and automatically generate an inspection report for the object to be inspected. In this implementation, the inspection report is in the form of an image, for example Fig.14 As shown. Fig.14 In the inspection report shown, the left part is the object to be inspected; the right part is the inspection annotation, that is, the style difference information.
[0157] In another implementation, the walkthrough report can be in the form of a web page, that is, a web page version is used to store the current annotation information for later synchronous editing and modification and data storage. The type of the walkthrough report can be set according to actual needs.
[0158] In some embodiments, the above walkthrough method may further include:
[0159] S312. Save the inspection report to a preset location.
[0160] For example, the walk-through report is saved in the download folder of the computer system by default so that designers, front-end engineers or other personnel can view it.
[0161] Through S301 to S312, the computer implements a walkthrough of the H5 page from the designer's perspective.
[0162] In some other embodiments, from the perspective of a designer, an APP or mini program page is checked, that is, the type of the object to be checked is an APP page or a mini program page. At this time, the format of the object to be checked can be PNG, JPG or JPEG, etc., and its size can be 10 megabytes (M) or other.
[0163] Specifically, refer to Fig.15 The walkthrough method in this embodiment may include the following steps:
[0164] S401 . In response to an opening operation on a walk-through tool, a scene selection interface is displayed.
[0165] The scene selection interface includes a first area and a second area, the first area is used to indicate the walkthrough of APP or mini-program images, and the second area is used to indicate the walkthrough of H5 or PC pages. The scene selection interface is the startup interface of the walkthrough tool.
[0166] For example, in the Chrome browser toolbar, click the icon of the walkthrough tool to start the walkthrough tool and display the scene selection interface. For example, the scene selection interface uses Jquery combined with CSS technology to implement the custom style and function of the popup panel, such as Figure 5 shown.
[0167] S402: In response to a selection operation on the first area, a QR code is displayed, so that the mobile terminal uploads the object to be inspected by scanning the QR code.
[0168] The QR code may be a dynamic QR code.
[0169] Since this embodiment is described by taking the object to be inspected as an application page or a mini-program page as an example, the designer inputs a selection operation for the first area, specifically, using the mouse to point to the first area and clicking or double-clicking or long pressing the mouse to select the first area, and so on.
[0170] Exemplarily, in response to the selection operation on the first area, the computer generates a QR code using JS from a Uniform Resource Locator (URL) and a dynamic image ID, displays the QR code, and prompts "Please use WeChat on your mobile phone to scan the QR code and upload the screenshot page", such as Fig.16 As shown in the figure, the URL is composed of a fixed path part and a dynamic image ID. The fixed part includes the domain name and the path name, and the dynamic image ID is a unique string generated randomly.
[0171] Optionally, the browser window displays a prompt such as "Waiting for upload" or similar. Fig.17 As shown in the figure, the computer notifies the corresponding listener in content.js through the communication API of the Chrome extension, sends a long link of WebsSocket, and uses the heartbeat reconnection mechanism to request the uploaded image information from the server.
[0172] Optionally, the mobile terminal and the server achieve uploading of the object to be inspected by adopting a technology combining Websocket and HTTP request; or, the mobile terminal and the server achieve uploading of the object to be inspected by adopting a technology combining Websocket and HTTPS request; or, the mobile terminal and the server achieve uploading of the object to be inspected by only adopting HTTP or HTTPS request.
[0173] After the designer scans the QR code using WeChat on his mobile phone, the following is displayed on the mobile phone: Fig.18 The page shown in the figure is displayed; then, the designer clicks the "Upload one-fold image (375px)" or "Upload two-fold image (750px)" button, retrieves photos from the mobile phone, selects a screenshot of the development page as the object to be checked, and uploads it to the server through HTTP or HTTPS request. During the upload process, the mobile phone prompts "Uploading". Fig.19 After the upload is successful, the phone prompts "Uploaded to the computer side inspection page", as shown in Fig. 20 shown.
[0174] S403: Receive the object to be inspected.
[0175] This embodiment acquires the target object through S401 and S403.
[0176] After the designer inputs the selection operation for the first area, a data transmission channel is established between the computer and the server through WebSocket; after the mobile terminal uploads the object to be inspected and the server receives the object to be inspected, the server transmits the received object to be inspected to the corresponding computer through the data transmission channel by matching the dynamic image ID. After the computer waits for the inspection object to be completely received successfully, the computer actively closes the data transmission channel. During this process, the computer can also use a timer to periodically poll the request image interface. When the object to be inspected is successfully received, the timer can be cleared.
[0177] S404, displaying the object to be inspected and the operation bar of the inspection tool.
[0178] After the computer receives the object to be inspected through the data transmission channel, the computer displays the object to be inspected.
[0179] The description of the operation bar is as described above, and will not be repeated here. In addition, S405 to S412 are respectively the same as S305 to S312, and will not be repeated in this embodiment.
[0180] Through S401 to S412, the computer implements a walkthrough of the application page or mini-program page from the designer's perspective.
[0181] The above Figure 3 and Fig.15 The embodiment shown is a walkthrough from the designer's perspective. Unlike designers, front-end engineers only need to find the differences between the object to be walked through and the target object. There is no need to mark and generate a walkthrough report. Therefore, front-end engineers only use the walkthrough tool to perform the overlay comparison function, as shown in the following figure. Figure 3 S301 to S307 in the embodiment shown, or as Fig.15 S401 to S407 in the illustrated embodiment.
[0182] Fig.21 A flowchart of a walkthrough method provided in another embodiment of the present application. This embodiment shows the designer's walkthrough process: Install the walkthrough tool -> Select whether to walkthrough H5 or PC pages, or walkthrough application or mini program pages:
[0183] If you want to check the H5 or PC page, you can further select whether to check the H5 page or the PC page:
[0184] If you want to check the H5 page, open the H5 page address->open the mobile phone simulator of the browser->
[0185] Start the walkthrough tool -> upload the design draft -> compare and mark -> generate a walkthrough report and send an email; if you want to walkthrough the PC page, open the PC page address -> start the walkthrough tool -> upload the design draft
[0186] ->Compare and mark->Generate a walkthrough report and send an email;
[0187] If you want to walkthrough an app or mini-program page, start the walkthrough tool -> scan the QR code -> upload a screenshot of the walkthrough page -> upload the design draft -> compare and annotate -> generate a walkthrough report and send it by email.
[0188] Fig. 22 A flowchart of a walkthrough method provided in another embodiment of the present application. This embodiment shows the walkthrough process of a front-end engineer: Install the walkthrough tool -> Select whether to walk through an H5 or PC page, or walk through an application or mini-program page:
[0189] If you want to check the H5 or PC page, you can further select whether to check the H5 page or the PC page:
[0190] If you want to check the H5 page, open the H5 page address->open the mobile phone simulator of the browser->
[0191] Start the walkthrough tool -> upload the design draft -> compare and self-check;
[0192] If you want to check the PC page, open the PC page address->Start the check tool->Upload the design draft
[0193] ->Compare and self-examination;
[0194] If you want to walk through an app or mini-program page, start the walkthrough tool -> scan the QR code -> upload a screenshot of the walkthrough page -> upload the design draft -> compare and self-check.
[0195] This application uses the Chrome extension mode to enable front-end development engineers to self-check the user interface (UI), and designers to automatically generate design walkthroughs, annotations, and walkthrough reports for H5 pages, PC pages, application pages, or mini-program pages. The walkthrough solution provided by this application has at least the following advantages:
[0196] (1) Simplify the repetitive and tedious operations in the designer's walkthrough process, quickly generate standard walkthrough documents, and improve work efficiency;
[0197] (2) Reduce the communication costs between front-end engineers and designers;
[0198] (3) Provide front-end engineers with an intuitive self-check function to solve the problem of front-end engineers' insensitivity to visual restoration.
[0199] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0200] Fig.23This is a schematic diagram of the structure of a walking inspection device provided in an embodiment of the present application. This embodiment of the present application provides a walking inspection device, which can be integrated in an electronic device such as a computer. Fig.23 As shown, the inspection device 50 includes: an acquisition module 51, a processing module 52 and a display module 53. Among them:
[0201] The acquisition module 51 is used to acquire the object to be inspected.
[0202] The processing module 52 is used to perform overlay processing on the object to be inspected and the target object, trigger the display module 53 to display the overlay; in response to the operation on the overlay, obtain the style difference information of the object to be inspected relative to the target object; and generate an inspection report of the object to be inspected based on the style difference information.
[0203] Optionally, when the type of the object to be inspected is a computer-side page, the acquisition module 51 is specifically used to: load the object to be inspected through a browser.
[0204] Alternatively, when the type of the object to be inspected is an H5 page, the acquisition module 51 is specifically used for: loading the object to be inspected through a browser; and starting a mobile phone simulator of the browser.
[0205] Alternatively, when the type of the object to be inspected is an application page or a mini-program page, the acquisition module 51 is specifically used to: respond to the selection operation on the first area, trigger the display module 53 to display a QR code, so that the mobile terminal uploads the object to be inspected by scanning the QR code; receive the object to be inspected. Among them, the scene selection interface includes a first area, and the first area is used to indicate the inspection application or mini-program picture, and the scene selection interface is the startup interface of the inspection tool.
[0206] Furthermore, the acquisition module 51 is further used to trigger the display module 53 to display the object to be inspected and the operation bar of the inspection tool.
[0207] In some embodiments, when the processing module 52 performs overlay processing on the object to be inspected and the target object to obtain the overlay, it can be specifically used to: display the target object above the object to be inspected with a preset opacity to obtain the overlay.
[0208] In some embodiments, when the processing module 52 obtains style difference information of the object to be inspected relative to the target object in response to an operation on the overlay image, it is specifically used to: identify the position where the operation is applied in response to the operation on the overlay image; trigger the display module 53 to display an optional annotation type in response to an operation on a first control, the first control being included in an operation bar, and the first control being used to add an annotation at the position; and obtain style difference information of the object to be inspected relative to the target object in response to the operation on the optional annotation type.
[0209] Optionally, the processing module 52 is also used to: after obtaining the style difference information of the object to be inspected relative to the target object, trigger the display module 53 to display the style difference information and its corresponding deletion control; in response to the operation acting on the deletion control, trigger the display module 53 to prompt the user whether to confirm to delete the style difference information corresponding to the deletion control; and delete or retain the style difference information corresponding to the deletion control according to the user's input operation.
[0210] When the processing module generates a walkthrough report of the object to be inspected according to the style difference information, it can be specifically used to: generate a walkthrough report of the object to be inspected in response to an operation on the second control. The walkthrough report includes the style difference information and the position of the style difference information in the object to be inspected, the second control is included in the operation bar, and the second control is used to generate a report.
[0211] Furthermore, the processing module 52 can also be used for: before overlaying the object to be inspected and the target object and obtaining the overlay, responding to a click operation on the third control, calling a system folder, the system folder containing the target object, the third control contained in the operation bar, the third control being used to import the target object; and responding to a selection operation on the target object in the system folder, loading the target object.
[0212] In some embodiments, the processing module 52 is further configured to: in response to an opening operation on the walk-through tool, trigger the display module 53 to display an operation bar.
[0213] Furthermore, the processing module 52 can also be used to: respond to the opening operation of the inspection tool, trigger the display module 53 to display the scene selection interface, the scene selection interface includes a first area and a second area, the first area is used to indicate the inspection of the application or mini-program picture, and the second area is used to indicate the inspection of the H5 or computer page; respond to the selection operation on the second area, trigger the display module 53 to display the operation bar.
[0214] Optionally, the processing module 52 is further configured to: after generating a walkthrough report of the object to be walkedthrough according to the style difference information, save the walkthrough report to a preset location.
[0215] In any embodiment of the present application:
[0216] Optionally, the mobile terminal and the server upload the object to be checked by using a combination of Websocket and HTTP request technology, or a combination of Websocket and HTTPS request technology; or, the mobile terminal and the server upload the object to be checked by only using HTTP or HTTPS request.
[0217] Optionally, the preset opacity can be set via an opacity control contained in the action bar.
[0218] Optionally, the operation bar further includes:
[0219] at least one of a control for hiding the target object and a control for displaying the target object;
[0220] At least one of a control for locking the target object and a control for unlocking the target object.
[0221] Optionally, the optional annotation type includes at least one of the following:
[0222] Inconsistent fonts, inconsistent colors, inconsistent spacing, blurred images, blurred icons and others, where the others are used to indicate that the user has entered customized content.
[0223] Optionally, the walk-through report is in the form of a picture or a web page.
[0224] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the processing module can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0225] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0226] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, 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 instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may 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 may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may 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 may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0227] Fig.24 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig.24As shown, the electronic device may include: a processor 61, a memory 62, a communication interface 63 and a system bus 64. The memory 62 and the communication interface 63 are connected to the processor 61 through the system bus 64 and communicate with each other. The memory 62 is used to store instructions, the communication interface 63 is used to communicate with other devices, and the processor 61 is used to call the instructions in the memory to execute the solution described in the above method embodiment.
[0228] Should Fig.24 The system bus mentioned in the specification may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize the communication between the database access device and other devices (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM), and may also include non-volatile memory, such as at least one disk storage.
[0229] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (NP for short), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0230] An embodiment of the present application further provides a readable storage medium, in which a computer program is stored. When the computer program is executed, the method described in the above method embodiment is implemented.
[0231] An embodiment of the present application also provides a chip for executing instructions, wherein the chip is used to execute the method described in the above method embodiment.
[0232] An embodiment of the present application also provides a program product, which includes a computer program stored in a readable storage medium. At least one processor can read the computer program from the readable storage medium, and when the at least one processor executes the computer program, the method described in the above method embodiment can be implemented.
[0233] In the present application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship; in the formula, the character " / " indicates that the previous and next associated objects are in a "division" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0234] It is to be understood that the various numerical numbers involved in the embodiments of the present application are only for the convenience of description and are not intended to limit the scope of the embodiments of the present application. In the embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0235] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A walkthrough method, characterized in that: include: Get the object to be inspected; Overlaying the object to be inspected and the target object, and displaying the overlay; In response to an operation performed on the overlay image, obtaining style difference information of the object to be inspected relative to the target object; Generating a walkthrough report of the object to be inspected according to the style difference information; The step of obtaining the style difference information of the object to be inspected relative to the target object in response to the operation on the overlay image includes: In response to an operation performed on the overlay, identifying a location where the operation is performed; In response to an operation on a first control, displaying selectable annotation types, the first control being included in an operation bar, the first control being used to add an annotation at the position; In response to the operation acting on the optional annotation type, obtaining style difference information of the object to be inspected relative to the target object; After obtaining the style difference information of the object to be inspected relative to the target object, the method further includes: Display the style difference information and its corresponding deletion control; In response to the operation on the deletion control, prompting the user whether to confirm to delete the style difference information corresponding to the deletion control; According to the user's input operation, the style difference information corresponding to the deletion control is deleted or retained.
2. The method according to claim 1, characterized in that When the type of the object to be checked is a computer-side page, obtaining the object to be checked includes: The object to be inspected is loaded through a browser.
3. The method according to claim 1, characterized in that When the type of the object to be inspected is an H5 page, obtaining the object to be inspected includes: Loading the object to be inspected through a browser; Launch the mobile phone emulator for the browser in question.
4. The method according to claim 1, characterized in that: When the type of the object to be checked is an application page or a mini-program page, obtaining the object to be checked includes: In response to a selection operation on the first area, a QR code is displayed, so that the mobile terminal uploads the object to be walked through by scanning the QR code, wherein the scene selection interface includes a first area, the first area is used to indicate a walkthrough application or mini-program image, and the scene selection interface is a startup interface of the walkthrough tool; The object to be inspected is received.
5. The method according to claim 4, characterized in that The mobile terminal and the server realize uploading the object to be inspected by adopting a technology combining Websocket and Hypertext Transfer Protocol HTTP request; or, the mobile terminal and the server realize uploading the object to be inspected by adopting a technology combining Websocket and Hypertext Transfer Protocol Security HTTPS request; or, the mobile terminal and the server realize uploading the object to be inspected by adopting HTTP or HTTPS request.
6. The method according to claim 4, characterized in that After receiving the object to be inspected, the method further includes: The object to be inspected is displayed.
7. The method according to claim 1, characterized in that The step of performing an overlay process on the object to be inspected and the target object to obtain an overlay image includes: The target object is displayed above the object to be inspected with a preset opacity to obtain an overlay image.
8. The method according to claim 7, characterized in that The preset opacity is set via an opacity control contained in the action bar.
9. The method according to claim 8, characterized in that The operation bar further includes: at least one of a control for hiding the target object and a control for displaying the target object; At least one of a control for locking the target object and a control for unlocking the target object.
10. The method according to claim 1, characterized in that The optional annotation types include at least one of the following: Inconsistent fonts, inconsistent colors, inconsistent spacing, blurred images, blurred icons and others, where the others are used to indicate that the user has entered customized content.
11. The method according to claim 1, characterized in that: Generating a walkthrough report of the object to be walked through according to the style difference information includes: In response to an operation on a second control, a walkthrough report of the object to be walked through is generated, the walkthrough report including the style difference information and the position of the style difference information in the object to be walked through, the second control being included in an operation bar, and the second control being used to generate a report.
12. The method according to any one of claims 1 to 11, characterized in that The inspection report is in the form of a picture or a web page.
13. The method according to any one of claims 1 to 11, characterized in that Before the overlay processing of the object to be inspected and the target object is performed to obtain the overlay image, the method further includes: In response to a click operation on the third control, a system folder is retrieved, the system folder contains the target object, the third control is contained in the operation bar, and the third control is used to import the target object; In response to a selection operation on the target object in the system folder, the target object is loaded.
14. The method according to claim 13, characterized in that Also includes: In response to an opening operation on the walk-through tool, the operation bar is displayed.
15. The method according to claim 14, characterized in that The step of displaying the operation bar in response to an opening operation of the walk-through tool includes: In response to the opening operation of the walkthrough tool, a scene selection interface is displayed, wherein the scene selection interface includes a first area and a second area, wherein the first area is used to indicate the walkthrough application or mini-program image, and the second area is used to indicate the walkthrough H5 or computer-side page; In response to a selection operation performed on the second area, the operation bar is displayed.
16. The method according to any one of claims 1 to 11, characterized in that After generating the inspection report of the object to be inspected according to the style difference information, the method further includes: The walk-through report is saved to a preset location.
17. A walk-through device, characterized in that: include: The acquisition module is used to obtain the object to be inspected; A processing module, configured to perform an overlay process on the object to be inspected and the target object, triggering the display module to display the overlay; in response to an operation on the overlay, obtaining style difference information of the object to be inspected relative to the target object; and generating an inspection report of the object to be inspected according to the style difference information; The processing module is further used to respond to an operation on the overlay image, identify the position where the operation is applied; respond to an operation on a first control, display an optional annotation type, the first control is included in an operation bar, and the first control is used to add an annotation at the position; respond to an operation on the optional annotation type, obtain style difference information of the object to be inspected relative to the target object; The processing module is further used to display the style difference information and its corresponding deletion control after obtaining the style difference information of the object to be inspected relative to the target object; in response to an operation on the deletion control, prompt the user whether to confirm to delete the style difference information corresponding to the deletion control; and delete or retain the style difference information corresponding to the deletion control according to the user's input operation.
18. An electronic device, characterized in that: include: Memory and processor; The memory is used to store instructions; The processor is configured to call instructions in the memory to execute the method according to any one of claims 1 to 16.
19. A readable storage medium, characterized in that: The readable storage medium stores a computer program; when the computer program is executed, the method according to any one of claims 1 to 16 is implemented.
Citation Information
Patent Citations
Page processing method and related apparatus
CN105740364A
Walking check method and device, electronic equipment and storage medium
CN111240786A
