CN111680251A - Browser element measuring method and device, electronic equipment and storage medium - Google Patents

Browser element measuring method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111680251A
CN111680251A CN202010469570.0A CN202010469570A CN111680251A CN 111680251 A CN111680251 A CN 111680251A CN 202010469570 A CN202010469570 A CN 202010469570A CN 111680251 A CN111680251 A CN 111680251A
Authority
CN
China
Prior art keywords
browser
determining
tested
cursor
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010469570.0A
Other languages
Chinese (zh)
Inventor
高林龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202010469570.0A priority Critical patent/CN111680251A/en
Publication of CN111680251A publication Critical patent/CN111680251A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to the technical field of artificial intelligence and development, and provides a browser element measuring method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: determining a browser to be tested from the element measurement instruction; accessing a browser to be tested based on an H5 plug-in, and reading page parameters of the browser to be tested by using a document object to determine the initial position of a cursor when the browser to be tested meets a measurement condition; acquiring a UI (user interface) of the browser to be tested, and initializing the UI; after initialization is completed, when the cursor is detected to be far away from the initial position, capturing movement information of the cursor based on WebView; determining a starting point and an end point which need to be measured according to the movement information; and calculating the distance between the starting point and the end point. The invention also relates to a blockchain technique, the calculated distances being storable in the blockchain. The invention can realize the automatic and accurate measurement of the browser elements, can use screen display as the measurement basis and simultaneously solves the compatibility problem.

Description

Browser element measuring method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of artificial intelligence and development, in particular to a browser element measuring method and device, electronic equipment and a storage medium.
Background
Currently, since there is no tool dedicated to browser-specific measurement in the industry, browser developer tools are usually used to obtain the size of browser elements, but the above method has the following disadvantages:
(1) accurate measurement cannot be achieved.
The measurements of the browser developer tool are based on the measurements of the DOM elements, but cannot be supported if the length that needs to be measured is inside the DOM to outside the DOM.
(2) Application scenarios are limited.
In the measurement of the front-end page, the user types are various, and if the browser does not have elements (such as pictures, pdf and other elements) switched to html tags, the measurement cannot be performed.
In addition, each browser has customized development assistance, some browsers may not have development or debugging functions, and tools of the browsers cannot be shared with each other.
Disclosure of Invention
In view of the above, it is necessary to provide a browser element measurement method, an apparatus, an electronic device, and a storage medium, which can utilize H5 cross-platform feature development based on artificial intelligence, and simultaneously support multi-browser and multi-device element measurement, thereby solving the compatibility problem, and by using WebView, the measurement of internal and external measurement targets of a DOM element can be realized by using screen display as a measurement basis, and the limitation that only the internal or external measurement targets of the DOM element must be targeted in the prior art is broken through for the measurement target in the browser, and meanwhile, automatic adsorption is realized for the measurement process in the browser, so that a user can find a start point and a stop point to be measured more accurately, the user friendliness is further enhanced, and the automatic and accurate measurement of the browser element is realized.
A browser element measurement method, the browser element measurement method comprising:
when an element measurement instruction is received, determining a browser to be tested from the element measurement instruction;
accessing the browser to be tested based on an H5 plug-in, and detecting whether the browser to be tested meets the measurement condition;
when detecting that the browser to be tested meets the measurement condition, reading a page parameter of the browser to be tested by using a document object, and determining an initial position of a cursor according to the page parameter;
acquiring a UI (user interface) of the browser to be tested, and initializing the UI;
after initialization is completed, when the cursor is detected to be far away from the initial position, capturing movement information of the cursor based on WebView;
determining a starting point and an end point which need to be measured according to the movement information;
and calculating the distance between the starting point and the end point.
According to a preferred embodiment of the present invention, the detecting whether the browser to be tested satisfies the measurement condition includes:
reading the attribute information of the browser to be tested by using a window object;
verifying the validity of the attribute information;
and when the attribute information is effective, determining that the browser to be measured meets the measurement condition.
According to a preferred embodiment of the present invention, said initializing said UI interface comprises:
and loading a measuring frame and a mouse style, and initializing the UI layout of the UI interface.
According to a preferred embodiment of the present invention, the determining the starting point and the ending point to be measured according to the movement information comprises:
capturing pixel values of the cursor in real time;
when the pixel value of the cursor changes, acquiring the current coordinate of the cursor as a first coordinate;
determining the starting point according to the first coordinate;
continuing to capture pixel values of the cursor;
when the fact that the staying time of the cursor at any position is larger than or equal to the preset time length and the pixel value of the cursor changes is detected, the current coordinate of the cursor is obtained and used as a second coordinate;
and determining the end point according to the second coordinate.
According to a preferred embodiment of the present invention, said determining said starting point from said first coordinate comprises:
acquiring the background color of the current interface of the browser to be tested from the page parameters;
determining pixel values of the background color;
detecting whether the first coordinates include other coordinates of pixel values different from the background color within a surrounding preset range to obtain a detection result;
and determining the starting point according to the detection result.
According to a preferred embodiment of the present invention, the determining the starting point according to the detection result comprises:
determining the first coordinate as the starting point when detecting that the first coordinate does not have other coordinates of pixel values different from the background color within a surrounding preset range; or
When a coordinate in which the first coordinate has other pixel values different from the background color within a surrounding preset range is detected, a coordinate closest to the first coordinate is acquired from the detected coordinates as the starting point.
According to a preferred embodiment of the present invention, the calculating the distance between the starting point and the ending point comprises:
acquiring a first circle center coordinate of a circle where the starting point is located and acquiring a second circle center coordinate of a circle where the terminal point is located;
determining a first radius of a circle where the starting point is located and determining a second radius of a circle where the end point is located;
determining a first included angle of the starting point relative to the first circle center and a second included angle of the end point relative to the second circle center;
calculating the sum of the product of the cosine values of the first radius and the first included angle and the abscissa of the first circle center as the first abscissa, and calculating the sum of the product of the sine values of the first radius and the first included angle and the ordinate of the first circle center as the first ordinate;
calculating the sum of the product of the cosine values of the second radius and the second included angle and the abscissa of the second circle center as the second abscissa, and calculating the sum of the product of the sine values of the second radius and the second included angle and the ordinate of the second circle center as the second ordinate;
calculating a first difference between the first abscissa and the second abscissa;
calculating a second difference between the first ordinate and the second ordinate;
calculating a sum of squares of the first difference and the second difference;
determining a square root of the sum of squares as a distance between the start point and the end point.
A browser element measuring device, the browser element measuring device comprising:
the system comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining a browser to be tested from an element measuring instruction when the element measuring instruction is received;
the detection unit is used for accessing the browser to be detected based on an H5 plug-in and detecting whether the browser to be detected meets the measurement condition;
the reading unit is used for reading the page parameters of the browser to be tested by using the document object when the browser to be tested is detected to meet the measurement conditions, and determining the initial position of the cursor according to the page parameters;
the initialization unit is used for acquiring the UI interface of the browser to be tested and initializing the UI interface;
the capturing unit is used for capturing the movement information of the cursor based on WebView when the cursor is detected to be far away from the initial position after initialization is completed;
the determining unit is further configured to determine a starting point and an ending point to be measured according to the movement information;
and the calculating unit is used for calculating the distance between the starting point and the end point.
According to a preferred embodiment of the present invention, the detecting unit detecting whether the browser to be tested satisfies the measurement condition includes:
reading the attribute information of the browser to be tested by using a window object;
verifying the validity of the attribute information;
and when the attribute information is effective, determining that the browser to be measured meets the measurement condition.
According to a preferred embodiment of the present invention, the initialization unit is specifically configured to:
and loading a measuring frame and a mouse style, and initializing the UI layout of the UI interface.
According to a preferred embodiment of the present invention, the determining unit determining the start point and the end point to be measured according to the movement information comprises:
capturing pixel values of the cursor in real time;
when the pixel value of the cursor changes, acquiring the current coordinate of the cursor as a first coordinate;
determining the starting point according to the first coordinate;
continuing to capture pixel values of the cursor;
when the fact that the staying time of the cursor at any position is larger than or equal to the preset time length and the pixel value of the cursor changes is detected, the current coordinate of the cursor is obtained and used as a second coordinate;
and determining the end point according to the second coordinate.
According to a preferred embodiment of the present invention, the determining of the start point according to the first coordinate by the determining unit includes:
acquiring the background color of the current interface of the browser to be tested from the page parameters;
determining pixel values of the background color;
detecting whether the first coordinates include other coordinates of pixel values different from the background color within a surrounding preset range to obtain a detection result;
and determining the starting point according to the detection result.
According to a preferred embodiment of the present invention, the determining unit determining the starting point according to the detection result includes:
determining the first coordinate as the starting point when detecting that the first coordinate does not have other coordinates of pixel values different from the background color within a surrounding preset range; or
When a coordinate in which the first coordinate has other pixel values different from the background color within a surrounding preset range is detected, a coordinate closest to the first coordinate is acquired from the detected coordinates as the starting point.
According to a preferred embodiment of the present invention, the computing unit is specifically configured to:
acquiring a first circle center coordinate of a circle where the starting point is located and acquiring a second circle center coordinate of a circle where the terminal point is located;
determining a first radius of a circle where the starting point is located and determining a second radius of a circle where the end point is located;
determining a first included angle of the starting point relative to the first circle center and a second included angle of the end point relative to the second circle center;
calculating the sum of the product of the cosine values of the first radius and the first included angle and the abscissa of the first circle center as the first abscissa, and calculating the sum of the product of the sine values of the first radius and the first included angle and the ordinate of the first circle center as the first ordinate;
calculating the sum of the product of the cosine values of the second radius and the second included angle and the abscissa of the second circle center as the second abscissa, and calculating the sum of the product of the sine values of the second radius and the second included angle and the ordinate of the second circle center as the second ordinate;
calculating a first difference between the first abscissa and the second abscissa;
calculating a second difference between the first ordinate and the second ordinate;
calculating a sum of squares of the first difference and the second difference;
determining a square root of the sum of squares as a distance between the start point and the end point.
An electronic device, the electronic device comprising:
a memory storing at least one instruction; and
a processor executing instructions stored in the memory to implement the browser element measurement method.
A computer-readable storage medium having at least one instruction stored therein, the at least one instruction being executable by a processor in an electronic device to implement the browser element measurement method.
The technical scheme shows that the method can access a browser to be measured based on an H5 plug-in, detect whether the browser to be measured meets a measurement condition, further utilize the characteristic development of an H5 cross-platform, support multiple browsers and multiple devices, and further solve the compatibility problem, when the browser to be measured meets the measurement condition, utilize a document object to read the page parameter of the browser to be measured, determine the initial position of a cursor according to the page parameter, obtain the UI interface of the browser to be measured, initialize the UI interface to facilitate marking the cursor position of a page in the browser to be measured, capture the movement information of the cursor based on WebView when detecting that the cursor is far away from the initial position after the initialization is completed, can support the measurement of the page under multiple file formats by utilizing the attribute of the WebView, further determine the starting point and the end point which need to be measured according to the movement information, and calculating the distance between the starting point and the end point, and further realizing automatic adsorption on the measuring process in the browser, so that a user can find the starting point and the end point needing to be measured more accurately, and the accurate measurement of the page element distance in the browser is realized.
Drawings
FIG. 1 is a flow chart of a browser element measurement method according to a preferred embodiment of the present invention.
FIG. 2 is a functional block diagram of a preferred embodiment of the browser element measuring device of the present invention.
FIG. 3 is a schematic structural diagram of an electronic device implementing a browser element measurement method according to a preferred embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flow chart of a browser element measurement method according to a preferred embodiment of the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
The browser element measuring method is applied to one or more electronic devices, wherein the electronic devices are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and hardware of the electronic devices includes but is not limited to a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The electronic device may be any electronic product capable of performing human-computer interaction with a user, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an interactive Internet Protocol Television (IPTV), an intelligent wearable device, and the like.
The electronic device may also include a network device and/or a user device. The network device includes, but is not limited to, a single network server, a server group consisting of a plurality of network servers, or a cloud computing (cloud computing) based cloud consisting of a large number of hosts or network servers.
The Network where the electronic device is located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
And S10, when the element measurement instruction is received, determining the browser to be tested from the element measurement instruction.
Wherein the element measurement instruction may be triggered by a user.
The electronic device may obtain information matching with a preset identifier from the element measurement instruction according to the preset identifier to determine the browser to be tested.
For example: and if the information corresponding to the name acquired from the element measurement instruction by the electronic equipment by using the name as the preset identifier is Internet Explorer, the electronic equipment uses the Internet Explorer as the browser to be tested.
S11, accessing the browser to be tested based on an H5(HTML5) plug-in, and detecting whether the browser to be tested meets the measurement condition.
In the prior art, each browser has a dedicated customized development auxiliary tool, and the browsers cannot be shared with each other, so that the method cannot be simultaneously applied to element measurement of multiple browsers, and by accessing the to-be-measured browser through an H5 plug-in, the H5 cross-platform characteristic development can be utilized, so that the realized element measurement method can simultaneously support multiple browsers and multiple devices, and further solve the compatibility problem.
In at least one embodiment of the present invention, the detecting whether the browser under test satisfies the measurement condition includes:
reading the attribute information of the browser to be tested by using a window object;
verifying the validity of the attribute information;
and when the attribute information is effective, determining that the browser to be measured meets the measurement condition.
Specifically, the electronic device may determine attribute information of the browser to be tested by using javascript, and further, the electronic device may determine, from the attribute information, whether the browser to be tested is a browser of a type such as IE7, IE8, IE9, or Chrome, if a browser supporting IE8 is defined in advance, IE7 belongs to an invalid browser, the electronic device determines that the browser to be tested does not satisfy the measurement condition, and IE9 belongs to an active browser, and the electronic device determines that the browser to be tested satisfies the measurement condition.
Through the implementation mode, whether the browser to be tested can be compatible or not is further judged, so that subsequent measurement can be conveniently carried out.
In at least one embodiment of the invention, when the browser to be tested is determined not to meet the measurement condition, prompt information is sent out so as to be used for timely feedback.
And S12, when the browser to be detected meets the measurement condition, reading the page parameter of the browser to be detected by using the document object, and determining the initial position of the cursor according to the page parameter.
The page parameters may include < head > element, Scale scaling, and other parameters.
Further, the electronic device may directly obtain the starting position of the cursor from the page parameter.
S13, acquiring a UI (User Interface) Interface of the browser to be tested, and initializing the UI Interface.
In at least one embodiment of the present invention, the initializing the UI interface includes:
and loading a measuring frame and a mouse style, and initializing the UI layout of the UI interface.
By the implementation mode, the cursor position of the page in the browser to be tested can be conveniently marked.
S14, after the initialization is completed, when the cursor is detected to be far away from the initial position, capturing the movement information of the cursor based on WebView.
The WebView can load and display a webpage and is mainly used for displaying the content after the network request, namely displaying the content of the network address request in the WebView webpage.
For example: in the self-defined APP, if the user wants to access the network X, the user only needs to display the network X in the APP without using a browser of the user, and at the moment, the user can use WebView.
In the measurement of the browser front-end page, the types of the users of the presentation are diversified, and if the presentation in the browser is not switched to elements of html tags, such as pictures, pdf, and the like, it cannot be measured at present, because in the prior art solution, the element measurements for the browser are based on the measurements of the DOM elements, and, if the length to be measured spans from within the DOM element to outside the DOM element, the measurement cannot be completed, and the embodiment can support the measurement of pages in various file formats, such as html, img, pddf and other scenes needing to be opened by a browser, that is, the embodiment can use screen display as the measuring basis by adopting WebView to realize the measurement of the measuring targets inside and outside the DOM element, the target of measurement in the browser breaks the limitation of the prior art that the target must be measured only in or out of the DOM element.
And S15, determining a starting point and an end point which need to be measured according to the movement information.
In at least one embodiment of the present invention, the determining the starting point and the ending point required to be measured according to the movement information comprises:
capturing pixel values of the cursor in real time;
when the pixel value of the cursor changes, acquiring the current coordinate of the cursor as a first coordinate;
determining the starting point according to the first coordinate;
continuing to capture pixel values of the cursor;
when the fact that the staying time of the cursor at any position is larger than or equal to the preset time length and the pixel value of the cursor changes is detected, the current coordinate of the cursor is obtained and used as a second coordinate;
and determining the end point according to the second coordinate.
According to the embodiment, the starting point and the end point which need to be measured can be automatically captured in the process of moving the cursor.
Specifically, the determining the starting point according to the first coordinate includes:
acquiring the background color of the current interface of the browser to be tested from the page parameters;
determining pixel values of the background color;
detecting whether the first coordinates include other coordinates of pixel values different from the background color within a surrounding preset range to obtain a detection result;
and determining the starting point according to the detection result.
Further, the determining the starting point according to the detection result comprises:
determining the first coordinate as the starting point when detecting that the first coordinate does not have other coordinates of pixel values different from the background color within a surrounding preset range; or
When a coordinate in which the first coordinate has other pixel values different from the background color within a surrounding preset range is detected, a coordinate closest to the first coordinate is acquired from the detected coordinates as the starting point.
It should be noted that the determination manner of the end point is similar to that of the start point, and will not be described herein again.
Through above-mentioned embodiment, can increase the automatic adsorption function among the element measurement process on prior art's basis, confirm promptly to the condition automation of difference the starting point, and then realize automatic absorption to the measuring tape process in the browser, convenience of customers more accurate finds the starting point that needs the measurement, has further strengthened the friendship to the user.
And S16, calculating the distance between the starting point and the end point.
In the scheme, screen display is used as a measuring basis, a measuring target can be measured inside and outside an element, and the measuring target is not limited in a browser.
In at least one embodiment of the present invention, the calculating the distance between the starting point and the ending point comprises:
acquiring a first circle center coordinate of a circle where the starting point is located and acquiring a second circle center coordinate of a circle where the terminal point is located;
determining a first radius of a circle where the starting point is located and determining a second radius of a circle where the end point is located;
determining a first included angle of the starting point relative to the first circle center and a second included angle of the end point relative to the second circle center;
calculating the sum of the product of the cosine values of the first radius and the first included angle and the abscissa of the first circle center as the first abscissa, and calculating the sum of the product of the sine values of the first radius and the first included angle and the ordinate of the first circle center as the first ordinate;
calculating the sum of the product of the cosine values of the second radius and the second included angle and the abscissa of the second circle center as the second abscissa, and calculating the sum of the product of the sine values of the second radius and the second included angle and the ordinate of the second circle center as the second ordinate;
calculating a first difference between the first abscissa and the second abscissa;
calculating a second difference between the first ordinate and the second ordinate;
calculating a sum of squares of the first difference and the second difference;
determining a square root of the sum of squares as a distance between the start point and the end point.
Through the embodiment, the accurate measurement of the page element distance in the browser can be realized.
It is emphasized that the distance may also be stored in a node of a block chain in order to further ensure privacy and security of the calculated distance.
The technical scheme shows that the method can access a browser to be measured based on an H5 plug-in, detect whether the browser to be measured meets a measurement condition, further utilize the characteristic development of an H5 cross-platform, support multiple browsers and multiple devices, and further solve the compatibility problem, when the browser to be measured meets the measurement condition, utilize a document object to read the page parameter of the browser to be measured, determine the initial position of a cursor according to the page parameter, obtain the UI interface of the browser to be measured, initialize the UI interface to facilitate marking the cursor position of a page in the browser to be measured, capture the movement information of the cursor based on WebView when detecting that the cursor is far away from the initial position after the initialization is completed, can support the measurement of the page under multiple file formats by utilizing the attribute of the WebView, further determine the starting point and the end point which need to be measured according to the movement information, and calculating the distance between the starting point and the end point, and further realizing automatic adsorption on the measuring process in the browser, so that a user can find the starting point and the end point needing to be measured more accurately, and the accurate measurement of the page element distance in the browser is realized.
FIG. 2 is a functional block diagram of a browser element measuring device according to a preferred embodiment of the present invention. The browser element measuring device 11 includes a determination unit 110, a detection unit 111, a reading unit 112, an initialization unit 113, a capture unit 114, and a calculation unit 115. The module/unit referred to in the present invention refers to a series of computer program segments that can be executed by the processor 13 and that can perform a fixed function, and that are stored in the memory 12. In the present embodiment, the functions of the modules/units will be described in detail in the following embodiments.
When an element measurement instruction is received, the determination unit 110 determines a browser to be tested from the element measurement instruction.
Wherein the element measurement instruction may be triggered by a user.
The determining unit 110 may obtain information matching with a preset identifier from the element measurement instruction according to the preset identifier to determine the browser to be tested.
For example: if the determining unit 110 obtains information corresponding to the name from the element measurement instruction by using the name as the preset identifier, the determining unit 110 uses Internet Explorer as the browser to be tested.
The detection unit 111 accesses the browser to be tested based on an H5(HTML5) plug-in, and detects whether the browser to be tested satisfies a measurement condition.
In the prior art, each browser has a dedicated customized development auxiliary tool, and the browsers cannot be shared with each other, so that the method cannot be simultaneously applied to element measurement of multiple browsers, and by accessing the to-be-measured browser through an H5 plug-in, the H5 cross-platform characteristic development can be utilized, so that the realized element measurement method can simultaneously support multiple browsers and multiple devices, and further solve the compatibility problem.
In at least one embodiment of the present invention, the detecting unit 111 detects whether the browser under test satisfies the measurement condition, including:
reading the attribute information of the browser to be tested by using a window object;
verifying the validity of the attribute information;
and when the attribute information is effective, determining that the browser to be measured meets the measurement condition.
Specifically, the detecting unit 111 may determine attribute information of the browser to be tested by using javascript, and further, the detecting unit 111 may determine, from the attribute information, whether the browser to be tested is a browser of a type of IE7, IE8, IE9, Chrome, or the like, if a browser supporting IE8 or more is predefined, IE7 belongs to an invalid browser, the detecting unit 111 may determine that the browser to be tested does not satisfy the measurement condition, and IE9 belongs to an active browser, and the detecting unit 111 may determine that the browser to be tested satisfies the measurement condition.
Through the implementation mode, whether the browser to be tested can be compatible or not is further judged, so that subsequent measurement can be conveniently carried out.
In at least one embodiment of the invention, when the browser to be tested is determined not to meet the measurement condition, prompt information is sent out so as to be used for timely feedback.
When detecting that the browser to be tested meets the measurement condition, the reading unit 112 reads the page parameter of the browser to be tested by using the document object, and determines the initial position of the cursor according to the page parameter.
The page parameters may include < head > element, Scale scaling, and other parameters.
Further, the reading unit 112 may directly obtain the starting position of the cursor from the page parameter.
The initialization unit 113 obtains a UI (User Interface) Interface of the browser to be tested, and initializes the UI Interface.
In at least one embodiment of the present invention, the initializing unit 113 initializes the UI interface, including:
and loading a measuring frame and a mouse style, and initializing the UI layout of the UI interface.
By the implementation mode, the cursor position of the page in the browser to be tested can be conveniently marked.
After the initialization is completed, when it is detected that the cursor is away from the home position, the capturing unit 114 captures movement information of the cursor based on WebView.
The WebView can load and display a webpage and is mainly used for displaying the content after the network request, namely displaying the content of the network address request in the WebView webpage.
For example: in the self-defined APP, if the user wants to access the network X, the user only needs to display the network X in the APP without using a browser of the user, and at the moment, the user can use WebView.
In the measurement of the browser front-end page, the types of the users of the presentation are diversified, and if the presentation in the browser is not switched to elements of html tags, such as pictures, pdf, and the like, it cannot be measured at present, because in the prior art solution, the element measurements for the browser are based on the measurements of the DOM elements, and, if the length to be measured spans from within the DOM element to outside the DOM element, the measurement cannot be completed, and the embodiment can support the measurement of pages in various file formats, such as html, img, pddf and other scenes needing to be opened by a browser, that is, the embodiment can use screen display as the measuring basis by adopting WebView to realize the measurement of the measuring targets inside and outside the DOM element, the target of measurement in the browser breaks the limitation of the prior art that the target must be measured only in or out of the DOM element.
The determining unit 110 determines a start point and an end point to be measured according to the movement information.
In at least one embodiment of the present invention, the determining unit 110 determines the starting point and the ending point to be measured according to the movement information, including:
capturing pixel values of the cursor in real time;
when the pixel value of the cursor changes, acquiring the current coordinate of the cursor as a first coordinate;
determining the starting point according to the first coordinate;
continuing to capture pixel values of the cursor;
when the fact that the staying time of the cursor at any position is larger than or equal to the preset time length and the pixel value of the cursor changes is detected, the current coordinate of the cursor is obtained and used as a second coordinate;
and determining the end point according to the second coordinate.
According to the embodiment, the starting point and the end point which need to be measured can be automatically captured in the process of moving the cursor.
Specifically, the determining unit 110 determines the starting point according to the first coordinate includes:
acquiring the background color of the current interface of the browser to be tested from the page parameters;
determining pixel values of the background color;
detecting whether the first coordinates include other coordinates of pixel values different from the background color within a surrounding preset range to obtain a detection result;
and determining the starting point according to the detection result.
Further, the determining unit 110 determining the starting point according to the detection result includes:
determining the first coordinate as the starting point when detecting that the first coordinate does not have other coordinates of pixel values different from the background color within a surrounding preset range; or
When a coordinate in which the first coordinate has other pixel values different from the background color within a surrounding preset range is detected, a coordinate closest to the first coordinate is acquired from the detected coordinates as the starting point.
It should be noted that the determination manner of the end point is similar to that of the start point, and will not be described herein again.
Through above-mentioned embodiment, can increase the automatic adsorption function among the element measurement process on prior art's basis, confirm promptly to the condition automation of difference the starting point, and then realize automatic absorption to the measuring tape process in the browser, convenience of customers more accurate finds the starting point that needs the measurement, has further strengthened the friendship to the user.
The calculation unit 115 calculates the distance between the start point and the end point.
In the scheme, screen display is used as a measuring basis, a measuring target can be measured inside and outside an element, and the measuring target is not limited in a browser.
In at least one embodiment of the present invention, the calculating unit 115 calculates the distance between the starting point and the ending point includes:
acquiring a first circle center coordinate of a circle where the starting point is located and acquiring a second circle center coordinate of a circle where the terminal point is located;
determining a first radius of a circle where the starting point is located and determining a second radius of a circle where the end point is located;
determining a first included angle of the starting point relative to the first circle center and a second included angle of the end point relative to the second circle center;
calculating the sum of the product of the cosine values of the first radius and the first included angle and the abscissa of the first circle center as the first abscissa, and calculating the sum of the product of the sine values of the first radius and the first included angle and the ordinate of the first circle center as the first ordinate;
calculating the sum of the product of the cosine values of the second radius and the second included angle and the abscissa of the second circle center as the second abscissa, and calculating the sum of the product of the sine values of the second radius and the second included angle and the ordinate of the second circle center as the second ordinate;
calculating a first difference between the first abscissa and the second abscissa;
calculating a second difference between the first ordinate and the second ordinate;
calculating a sum of squares of the first difference and the second difference;
determining a square root of the sum of squares as a distance between the start point and the end point.
Through the embodiment, the accurate measurement of the page element distance in the browser can be realized.
It is emphasized that the distance may also be stored in a node of a block chain in order to further ensure privacy and security of the calculated distance.
The technical scheme shows that the method can access a browser to be measured based on an H5 plug-in, detect whether the browser to be measured meets a measurement condition, further utilize the characteristic development of an H5 cross-platform, support multiple browsers and multiple devices, and further solve the compatibility problem, when the browser to be measured meets the measurement condition, utilize a document object to read the page parameter of the browser to be measured, determine the initial position of a cursor according to the page parameter, obtain the UI interface of the browser to be measured, initialize the UI interface to facilitate marking the cursor position of a page in the browser to be measured, capture the movement information of the cursor based on WebView when detecting that the cursor is far away from the initial position after the initialization is completed, can support the measurement of the page under multiple file formats by utilizing the attribute of the WebView, further determine the starting point and the end point which need to be measured according to the movement information, and calculating the distance between the starting point and the end point, and further realizing automatic adsorption on the measuring process in the browser, so that a user can find the starting point and the end point needing to be measured more accurately, and the accurate measurement of the page element distance in the browser is realized.
Fig. 3 is a schematic structural diagram of an electronic device implementing a browser element measurement method according to a preferred embodiment of the present invention.
The electronic device 1 may comprise a memory 12, a processor 13 and a bus, and may further comprise a computer program, such as a browser element measurement program, stored in the memory 12 and executable on the processor 13.
It will be understood by those skilled in the art that the schematic diagram is merely an example of the electronic device 1, and does not constitute a limitation to the electronic device 1, the electronic device 1 may have a bus-type structure or a star-type structure, the electronic device 1 may further include more or less hardware or software than those shown in the figures, or different component arrangements, for example, the electronic device 1 may further include an input and output device, a network access device, and the like.
It should be noted that the electronic device 1 is only an example, and other existing or future electronic products, such as those that can be adapted to the present invention, should also be included in the scope of the present invention, and are included herein by reference.
The memory 12 includes at least one type of readable storage medium, which includes flash memory, removable hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory 12 may in some embodiments be an internal storage unit of the electronic device 1, for example a removable hard disk of the electronic device 1. The memory 12 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the electronic device 1. Further, the memory 12 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 12 can be used not only for storing application software installed in the electronic device 1 and various types of data such as codes of browser element measurement programs and the like, but also for temporarily storing data that has been output or is to be output.
The processor 13 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 13 is a Control Unit (Control Unit) of the electronic device 1, connects various components of the electronic device 1 by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (for example, executing a browser element measurement program and the like) stored in the memory 12 and calling data stored in the memory 12.
The processor 13 executes an operating system of the electronic device 1 and various installed application programs. The processor 13 executes the application program to implement the steps in the above-described respective browser element measuring method embodiments, such as steps S10, S11, S12, S13, S14, S15, S16 shown in fig. 1.
Alternatively, the processor 13, when executing the computer program, implements the functions of the modules/units in the above device embodiments, for example:
when an element measurement instruction is received, determining a browser to be tested from the element measurement instruction;
accessing the browser to be tested based on an H5 plug-in, and detecting whether the browser to be tested meets the measurement condition;
when detecting that the browser to be tested meets the measurement condition, reading a page parameter of the browser to be tested by using a document object, and determining an initial position of a cursor according to the page parameter;
acquiring a UI (user interface) of the browser to be tested, and initializing the UI;
after initialization is completed, when the cursor is detected to be far away from the initial position, capturing movement information of the cursor based on WebView;
determining a starting point and an end point which need to be measured according to the movement information;
and calculating the distance between the starting point and the end point.
Illustratively, the computer program may be divided into one or more modules/units, which are stored in the memory 12 and executed by the processor 13 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the electronic device 1. For example, the computer program may be divided into a determination unit 110, a detection unit 111, a reading unit 112, an initialization unit 113, a capturing unit 114, a calculation unit 115.
The integrated unit implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a computer device, or a network device) or a processor (processor) to execute parts of the browser element measurement method according to the embodiments of the present invention.
The integrated modules/units of the electronic device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented.
Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
Further, the computer-usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one arrow is shown in FIG. 3, but this does not indicate only one bus or one type of bus. The bus is arranged to enable connection communication between the memory 12 and at least one processor 13 or the like.
Although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 13 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
Fig. 3 only shows the electronic device 1 with components 12-13, and it will be understood by a person skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
With reference to fig. 1, the memory 12 in the electronic device 1 stores a plurality of instructions to implement a browser element measurement method, and the processor 13 can execute the plurality of instructions to implement:
when an element measurement instruction is received, determining a browser to be tested from the element measurement instruction;
accessing the browser to be tested based on an H5 plug-in, and detecting whether the browser to be tested meets the measurement condition;
when detecting that the browser to be tested meets the measurement condition, reading a page parameter of the browser to be tested by using a document object, and determining an initial position of a cursor according to the page parameter;
acquiring a UI (user interface) of the browser to be tested, and initializing the UI;
after initialization is completed, when the cursor is detected to be far away from the initial position, capturing movement information of the cursor based on WebView;
determining a starting point and an end point which need to be measured according to the movement information;
and calculating the distance between the starting point and the end point.
Specifically, the processor 13 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the instruction, which is not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A browser element measurement method, characterized by comprising:
when an element measurement instruction is received, determining a browser to be tested from the element measurement instruction;
accessing the browser to be tested based on an H5 plug-in, and detecting whether the browser to be tested meets the measurement condition;
when detecting that the browser to be tested meets the measurement condition, reading a page parameter of the browser to be tested by using a document object, and determining an initial position of a cursor according to the page parameter;
acquiring a UI (user interface) of the browser to be tested, and initializing the UI;
after initialization is completed, when the cursor is detected to be far away from the initial position, capturing movement information of the cursor based on WebView;
determining a starting point and an end point which need to be measured according to the movement information;
and calculating the distance between the starting point and the end point.
2. The browser element measurement method according to claim 1, wherein the detecting whether the browser under test satisfies a measurement condition includes:
reading the attribute information of the browser to be tested by using a window object;
verifying the validity of the attribute information;
and when the attribute information is effective, determining that the browser to be measured meets the measurement condition.
3. The browser element measurement method of claim 1, wherein the initializing the UI interface comprises:
and loading a measuring frame and a mouse style, and initializing the UI layout of the UI interface.
4. The browser element measurement method according to claim 1, wherein the determining a start point and an end point to be measured according to the movement information comprises:
capturing pixel values of the cursor in real time;
when the pixel value of the cursor changes, acquiring the current coordinate of the cursor as a first coordinate;
determining the starting point according to the first coordinate;
continuing to capture pixel values of the cursor;
when the fact that the staying time of the cursor at any position is larger than or equal to the preset time length and the pixel value of the cursor changes is detected, the current coordinate of the cursor is obtained and used as a second coordinate;
and determining the end point according to the second coordinate.
5. The browser element measurement method of claim 4, wherein said determining the starting point from the first coordinate comprises:
acquiring the background color of the current interface of the browser to be tested from the page parameters;
determining pixel values of the background color;
detecting whether the first coordinates include other coordinates of pixel values different from the background color within a surrounding preset range to obtain a detection result;
and determining the starting point according to the detection result.
6. The browser element measurement method of claim 5, wherein said determining the starting point according to the detection result comprises:
determining the first coordinate as the starting point when detecting that the first coordinate does not have other coordinates of pixel values different from the background color within a surrounding preset range; or
When a coordinate in which the first coordinate has other pixel values different from the background color within a surrounding preset range is detected, a coordinate closest to the first coordinate is acquired from the detected coordinates as the starting point.
7. The browser element measurement method of claim 1, wherein said calculating the distance between the starting point and the ending point comprises:
acquiring a first circle center coordinate of a circle where the starting point is located and acquiring a second circle center coordinate of a circle where the terminal point is located;
determining a first radius of a circle where the starting point is located and determining a second radius of a circle where the end point is located;
determining a first included angle of the starting point relative to the first circle center and a second included angle of the end point relative to the second circle center;
calculating the sum of the product of the cosine values of the first radius and the first included angle and the abscissa of the first circle center as the first abscissa, and calculating the sum of the product of the sine values of the first radius and the first included angle and the ordinate of the first circle center as the first ordinate;
calculating the sum of the product of the cosine values of the second radius and the second included angle and the abscissa of the second circle center as the second abscissa, and calculating the sum of the product of the sine values of the second radius and the second included angle and the ordinate of the second circle center as the second ordinate;
calculating a first difference between the first abscissa and the second abscissa;
calculating a second difference between the first ordinate and the second ordinate;
calculating a sum of squares of the first difference and the second difference;
determining a square root of the sum of squares as a distance between the start point and the end point.
8. A browser element measuring apparatus, characterized by comprising:
the system comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining a browser to be tested from an element measuring instruction when the element measuring instruction is received;
the detection unit is used for accessing the browser to be detected based on an H5 plug-in and detecting whether the browser to be detected meets the measurement condition;
the reading unit is used for reading the page parameters of the browser to be tested by using the document object when the browser to be tested is detected to meet the measurement conditions, and determining the initial position of the cursor according to the page parameters;
the initialization unit is used for acquiring the UI interface of the browser to be tested and initializing the UI interface;
the capturing unit is used for capturing the movement information of the cursor based on WebView when the cursor is detected to be far away from the initial position after initialization is completed;
the determining unit is further configured to determine a starting point and an ending point to be measured according to the movement information;
and the calculating unit is used for calculating the distance between the starting point and the end point.
9. An electronic device, characterized in that the electronic device comprises:
a memory storing at least one instruction; and
a processor executing instructions stored in the memory to implement the browser element measurement method of any one of claims 1 to 7.
10. A computer-readable storage medium characterized by: the computer-readable storage medium has stored therein at least one instruction that is executable by a processor in an electronic device to implement a browser element measurement method of any one of claims 1 to 7.
CN202010469570.0A 2020-05-28 2020-05-28 Browser element measuring method and device, electronic equipment and storage medium Pending CN111680251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010469570.0A CN111680251A (en) 2020-05-28 2020-05-28 Browser element measuring method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010469570.0A CN111680251A (en) 2020-05-28 2020-05-28 Browser element measuring method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111680251A true CN111680251A (en) 2020-09-18

Family

ID=72453299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010469570.0A Pending CN111680251A (en) 2020-05-28 2020-05-28 Browser element measuring method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111680251A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307408A (en) * 2020-11-24 2021-02-02 微医云(杭州)控股有限公司 Method and device for determining element information in page, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009061059A1 (en) * 2007-11-09 2009-05-14 Thinkware Systems Corporation Method for calibrating terrestrial magnetism sensor and apparatus thereof
CN102147698A (en) * 2010-07-15 2011-08-10 优视科技有限公司 Method and device for duplicating browser of mobile communication equipment terminal
CN108304119A (en) * 2018-01-19 2018-07-20 腾讯科技(深圳)有限公司 object measuring method, intelligent terminal and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009061059A1 (en) * 2007-11-09 2009-05-14 Thinkware Systems Corporation Method for calibrating terrestrial magnetism sensor and apparatus thereof
CN102147698A (en) * 2010-07-15 2011-08-10 优视科技有限公司 Method and device for duplicating browser of mobile communication equipment terminal
CN108304119A (en) * 2018-01-19 2018-07-20 腾讯科技(深圳)有限公司 object measuring method, intelligent terminal and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
开发者插件: "网页屏幕测量标尺-MeasureIt 图文介绍", pages 1 - 5, Retrieved from the Internet <URL:https://www.cnplugins.com/devtool/measureit/detail.html> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307408A (en) * 2020-11-24 2021-02-02 微医云(杭州)控股有限公司 Method and device for determining element information in page, electronic equipment and storage medium
CN112307408B (en) * 2020-11-24 2022-08-05 微医云(杭州)控股有限公司 Method and device for determining element information in page, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112231586A (en) Course recommendation method, device, equipment and medium based on transfer learning
CN112965645B (en) Page dragging method and device, computer equipment and storage medium
CN112596932A (en) Service registration and interception method and device, electronic equipment and readable storage medium
CN113343154A (en) Page loading method and device, electronic equipment and storage medium
CN113506045A (en) Risk user identification method, device, equipment and medium based on mobile equipment
CN112817831A (en) Application performance monitoring method, device, computer system and readable storage medium
CN114185776A (en) Big data point burying method, device, equipment and medium for application program
CN113706249B (en) Data recommendation method and device, electronic equipment and storage medium
CN114491646A (en) Data desensitization method and device, electronic equipment and storage medium
CN111680251A (en) Browser element measuring method and device, electronic equipment and storage medium
CN114006885A (en) Data acquisition method and device based on intelligent equipment and electronic equipment
CN112637341B (en) File uploading method and device, electronic equipment and storage medium
CN111985194A (en) Data storage method and device, electronic equipment and storage medium
CN112052409A (en) Address resolution method, device, equipment and medium
CN114268559B (en) Directional network detection method, device, equipment and medium based on TF-IDF algorithm
CN113766312A (en) Method, device, equipment and storage medium for calculating response delay between equipment
CN112003837B (en) Intelligent equipment adaptation method and device based on Modbus protocol and storage medium
CN112966671A (en) Contract detection method and device, electronic equipment and storage medium
CN113051171A (en) Interface test method, device, equipment and storage medium
CN110727639A (en) Fragment data reading method, electronic device, system and medium
CN112527282B (en) Front-end page verification method and device, electronic equipment and storage medium
CN114818656B (en) Binary file analysis method, device, equipment and medium based on gray scale upgrading
CN116414699B (en) Operation and maintenance testing method, device, equipment and medium
CN117316359B (en) Blood detection process tracking method, device, equipment and medium
CN115758013B (en) Intelligent visual office method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination