Unlock instant, AI-driven research and patent intelligence for your innovation.

Element positioning method and device, electronic equipment and storage medium

A positioning method and element technology, applied in the Internet field, can solve problems such as increased workload, error-prone, time-consuming and labor-intensive problems, and achieve the effect of improving efficiency and improving experience

Active Publication Date: 2021-06-29
挂号网(杭州)科技有限公司
View PDF13 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But for R&D personnel, the workload is increased in the R&D, testing and debugging stages
[0003] When debugging a web page, it is necessary to debug each element on the web page against the corresponding element in the compiler. When there are a large number of various elements in the web page, manually select each element from the editor. The corresponding content in the element source file is time-consuming and labor-intensive, and is prone to errors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Element positioning method and device, electronic equipment and storage medium
  • Element positioning method and device, electronic equipment and storage medium
  • Element positioning method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 It is a schematic flowchart of an element positioning method provided by the embodiment of the present invention. This embodiment is applicable to the situation of determining the position information of the elements in the page in the source file during the page debugging stage. This method can be determined by the page's The positioning device is implemented, and the device may be implemented in the form of software and / or hardware.

[0030] Such as figure 1 As described above, the positioning method of the page in the embodiment of the present invention specifically includes the following steps:

[0031] S110. When a trigger operation is detected, determine a target element corresponding to the trigger operation.

[0032] Wherein, the trigger operation refers to a click operation on one or more elements on the detected page. The manner of detecting the trigger operation may be to detect the trigger operation of the enter function key, or to detect the tri...

Embodiment 2

[0049] figure 2 It is a schematic flowchart of an element positioning method provided by the embodiment of the present invention. The embodiment of the present invention is based on the optional solution of the above embodiment, and adds the preset element attribute information to the source file to be compiled. Step, the specific content of this step will be described in detail in the embodiment of the present invention. Wherein, technical terms that are the same as or similar to those in the foregoing embodiments will not be described in detail.

[0050] Such as figure 2 As described above, the positioning method of the page in the embodiment of the present invention specifically includes the following steps:

[0051] S210. When the compiler compiles each element to be compiled in the page, write the preset element attribute information of each element to be compiled into the source file to be compiled.

[0052] It should be noted that, in the application scenario in th...

Embodiment 3

[0071] image 3 It is a schematic diagram of an element positioning method provided by an embodiment of the present invention. The embodiment of the present invention is an optional embodiment of the above-mentioned embodiment. In the embodiment of the present invention, the page and the compiler of the browser of the webpage or mobile terminal are set in linkage, so that when an element is selected on the page, it can be quickly located The location of page elements in the source file improves the efficiency of debugging as a whole. Among them, the editor refers to a tool for writing software source files such as Vscode Webstorm Idea. The source file refers to the text content written in the editor. Elements refer to the tags used in the Vue framework, which is a superset of the tags provided by native browsers. Element attribute information refers to attribute information such as the row, column, and file absolute address of the current element in the editor. Browser / ope...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses an element positioning method and device, electronic equipment and a storage medium, and the method comprises the following steps:determining a target element corresponding to a trigger operation when the trigger operation is detected; determining element attribute information corresponding to the target element; and determining target position information of the target element in a target source file based on the element attribute information; wherein the target source file is a source file obtained by compiling a page to which each element belongs in a compiler. Through the technical scheme of the embodiment of the invention, after the target element is determined on the page, the target position information of the target element is automatically determined in the target source file based on the element attribute information of the target element, so that the source file corresponding to the target element can be quickly found; and the efficiency of operation such as modification on the source file corresponding to the target element is improved on the whole, and the user experience is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of the Internet, and in particular to an element positioning method, device, electronic equipment, and storage medium. Background technique [0002] The Internet is a system of interconnected computer networks linking a large number of devices using standard Internet protocol suite communication protocols. Most users access the Internet through web pages and websites. A website is a group of related web pages served from a single domain and hosted on at least one on the web server. Today's webpages are more and more diversified. For users, various webpages improve user experience. However, for R&D personnel, the workload is increased in the R&D, testing, and debugging stages. [0003] When debugging a web page, it is necessary to debug each element on the web page against the corresponding element in the compiler. When there are a large number of various elements in the web page, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/958G06F8/34G06F8/41
CPCG06F16/958G06F8/34G06F8/41Y02D10/00
Inventor 柴必青
Owner 挂号网(杭州)科技有限公司