CN112214181A - Printer WEB information extraction method and device, electronic equipment and storage medium - Google Patents

Printer WEB information extraction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112214181A
CN112214181A CN202010907219.5A CN202010907219A CN112214181A CN 112214181 A CN112214181 A CN 112214181A CN 202010907219 A CN202010907219 A CN 202010907219A CN 112214181 A CN112214181 A CN 112214181A
Authority
CN
China
Prior art keywords
printer
web
web information
xpath
value
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.)
Granted
Application number
CN202010907219.5A
Other languages
Chinese (zh)
Other versions
CN112214181B (en
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.)
Harbin Antian Science And Technology Group Co ltd
Original Assignee
Harbin Antian Science And Technology Group 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 Harbin Antian Science And Technology Group Co ltd filed Critical Harbin Antian Science And Technology Group Co ltd
Priority to CN202010907219.5A priority Critical patent/CN112214181B/en
Publication of CN112214181A publication Critical patent/CN112214181A/en
Application granted granted Critical
Publication of CN112214181B publication Critical patent/CN112214181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1287Remote printer device, e.g. being remote from client or server via internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides a printer WEB information extraction method, a printer WEB information extraction device, electronic equipment and a storage medium, which are used for solving the problems that the existing method for manually extracting data from the conversion of Web information into printer Web data baseline data information is inaccurate and reliable. The method comprises the following steps: collecting WEB information data packets of the newly accessed printer; displaying the existing configurable printing functions in a WEB base line library of the printer, and selecting one of the function items; inputting search keywords of the function items in the WEB information data packet, performing fuzzy search, and displaying a matching result; checking the data value corresponding to the function item in the matching result, and generating an XPath value of the position of the data value; and generating a new printer WEB base line library SQL script by the XPath value, and storing the new printer WEB base line library SQL script in the printer WEB base line library.

Description

Printer WEB information extraction method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of printer security, in particular to a printer WEB information extraction method and device, electronic equipment and a storage medium.
Background
With the wide application of internet technology, the printer security problem becomes more prominent when the printer Web access is exposed in the network. How to determine whether Web access provided by the printer itself currently in use is secure? How to compare the functional differences between the printer models easily and quickly? How can quick acquisition of print information and function setting be achieved? By establishing a printer Web baseline library, the above problems can be effectively solved. However, there are dozens of printer manufacturers in the market at present, and the number of printer models is thousands, so that the huge data amount and data difference cause great difficulty for the collection of the relevant information of the printer Web and the establishment of the baseline library. How to quickly and effectively establish a printer Web information baseline library and provide convenience for subsequent printer identification, information acquisition, function detection and function setting in a Web mode becomes the biggest challenge at present.
Disclosure of Invention
The embodiment of the invention provides a printer WEB information extraction method, a printer WEB information extraction device, electronic equipment and a storage medium, which are used for solving the problems that the existing method for manually extracting data from the conversion of Web information into printer Web data baseline data information is inaccurate and reliable.
Based on the above problem, the method for extracting the printer WEB information provided by the embodiment of the present invention includes:
collecting WEB information data packets of the newly accessed printer; displaying the existing configurable printing functions in a WEB base line library of the printer, and selecting one of the function items; inputting search keywords of the function items in the WEB information data packet, performing fuzzy search, and displaying a matching result; checking the data value corresponding to the function item in the matching result, and generating an XPath value of the position of the data value; and generating a new printer WEB base line library SQL script by the XPath value, and storing the new printer WEB base line library SQL script in the printer WEB base line library.
Further, inputting the search keyword of the function item in the WEB information data packet, performing fuzzy search, and displaying a matching result, specifically comprising: if the displayed matching result is empty, deleting the keywords, and manually searching in the WEB information data packet; and if the data value corresponding to the function item cannot be found through manual searching, the newly accessed printer does not contain the function item, other function items are selected, and fuzzy searching is continued.
Further, if the newly accessed printing contains a printer log downloading function, the downloading link is configured, including XPath related to the downloading link and the extension name of the downloaded log file.
Furthermore, after the data value corresponding to the function item is checked in the matching result and the XPath value of the position where the data value is located is generated, the method further includes an intelligent verification process, where the intelligent verification process includes: acquiring a data value from a specific page in the WEB information data packet according to the XPath value; if the data value cannot be acquired or the acquired data value is inconsistent with the data value corresponding to the function item, an error occurs in configuration, otherwise, the intelligent verification is passed, and the intelligent verification of the next function item is carried out; if the configuration is wrong, resetting the XPath value or replacing the XPath value with other pages in the WEB information data packet to reset the XPath value; until the intelligent verification of all the functional items passes.
The embodiment of the invention provides a printer WEB information extraction device, which comprises:
printer WEB information acquisition module: the system comprises a WEB information data packet used for collecting a newly accessed printer; a function item selection module: the system is used for displaying the existing configurable printing functions in the WEB base line library of the printer and selecting one of the function items; a fuzzy matching module: the search keywords are used for inputting the function items in the WEB information data packet, fuzzy search is carried out, and a matching result is displayed; an XPath value generation module: the data value corresponding to the function item is checked in the matching result, and an XPath value of the position of the data value is generated; the printer WEB base line library SQL script generation and storage module comprises: and the system is used for generating a new printer WEB base line library SQL script by the XPath value and storing the SQL script in the printer WEB base line library.
Further, the fuzzy matching module is specifically configured to: if the displayed matching result is empty, deleting the keywords, and manually searching in the WEB information data packet; and if the data value corresponding to the function item cannot be found through manual searching, the newly accessed printer does not contain the function item, other function items are selected, and fuzzy searching is continued.
Further, the log downloading module is also included: and the method is used for configuring the download link of the printer if the newly accessed print contains the printer log download function, wherein the download link comprises XPath related to the download link and a downloaded log file extension.
Further, still include intelligent check module: the system is used for acquiring a data value from a specific page in the WEB information data packet according to the XPath value; if the data value cannot be acquired or the acquired data value is inconsistent with the data value corresponding to the function item, an error occurs in configuration, otherwise, the intelligent verification is passed, and the intelligent verification of the next function item is carried out; if the configuration is wrong, resetting the XPath value or replacing the XPath value with other pages in the WEB information data packet to reset the XPath value; until the intelligent verification of all the functional items passes.
The embodiment of the invention also discloses an electronic device for extracting the WEB information of the printer, which comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing any one of the above-mentioned printer WEB information extraction methods.
The embodiment of the invention provides a computer-readable storage medium, wherein one or more programs are stored in the computer-readable storage medium, and the one or more programs can be executed by one or more processors to realize any one of the foregoing methods for extracting the printer WEB information.
Compared with the prior art, the method, the device, the electronic equipment and the storage medium for extracting the printer WEB information provided by the embodiment of the invention at least realize the following beneficial effects: the embodiment of the invention can extract the printer Web information of different brands and different models produced by different manufacturers, solves the problem of converting the Web information into the printer Web data baseline data, and is more real, accurate, detailed and reliable compared with the manual data extraction.
Drawings
FIG. 1 is a flowchart of a method for extracting printer WEB information according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for extracting printer WEB information according to the embodiment of the present invention;
fig. 3 is a structural diagram of a printer WEB information extraction device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
First, terms appearing in the present invention are explained:
web: the World Wide Web, also known as the World Wide Web, is a hypertext and HTTP based, global, dynamically interactive, cross-platform, distributed graphical information system. The network service is built on the Internet, provides a graphical and easily accessible visual interface for a browser to search and browse information on the Internet, and documents and hyperlinks organize information nodes on the Internet into a mutually-associated mesh structure.
Baseline: (Baseline), in computer terminology, a Baseline is a "snapshot" of each artifact version in the project repository over a particular period of time. It provides a formal standard upon which subsequent work is based and which can only be altered after authorization. After an initial baseline is established, each subsequent change to it will be recorded as a difference until the next baseline is established.
Baseline library: the term "baseline library" refers to a library composed of baselines of the same type.
URL: on the WWW, each information Resource has a Uniform and unique address on the network, called URL, which is a Uniform Resource Locator of the WWW and refers to a network address.
HTML: hypertext Markup Language (HTML) is a standard Markup Language for creating web pages.
XML: refers to the eXtensible Markup Language (eXtensible Markup Language).
XPath: namely, XML Path Language (XML Path Language), which is a Language for determining the location of a part in an XML document.
The following describes specific embodiments of a method, an apparatus, an electronic device, and a storage medium for extracting WEB information of a printer according to embodiments of the present invention with reference to the accompanying drawings.
The method for extracting the printer WEB information provided by the embodiment of the invention, as shown in fig. 1, specifically includes the following steps:
s101, collecting a WEB information data packet of a newly accessed printer;
after a WEB information data packet of a newly accessed printer is collected, the data packet is decrypted and decompressed, Web page data and URL information of the printer in the data packet are extracted, and setting information such as a brand, a model, a login mode, a default administrator login name and a password of the printer can be acquired.
S102, displaying the existing configurable printing functions in a WEB base line library of the printer, and selecting one of the function items;
s103, inputting search keywords of the function items in the WEB information data packet, performing fuzzy search, and displaying a matching result;
s104, checking the data value corresponding to the function item in the matching result, and generating an XPath value of the position of the data value;
for a data value in the form of a data table, the data row may be clicked first to generate an XPath of the data row, and then the data columns in the row may be clicked one by one to generate an XPath of the data columns until the xpaths of all the data columns are generated.
And S105, generating a new printer WEB base line library SQL script by the XPath value, and storing the SQL script in the printer WEB base line library.
For example, the method provided by the embodiment of the invention can acquire the print Web data packet from the user, retrieve, analyze and extract the valid data in the data packet, and add the remote printer data at the user to the printer Web baseline library.
The embodiment of the invention can extract the printer Web information of different brands and different models produced by different manufacturers, solves the problem of converting the Web information into the printer Web data baseline data, and is more real, accurate, detailed and reliable compared with the manual data extraction.
As shown in fig. 2, another method for extracting printer WEB information provided in an embodiment of the present invention specifically includes the following steps:
s201, collecting a WEB information data packet of a newly accessed printer;
s202, displaying the existing configurable printing functions in a WEB base line library of the printer, and selecting one of the function items;
s203, inputting the search keywords of the function items in the WEB information data packet, performing fuzzy search, and displaying a matching result;
if the displayed matching result is empty, deleting the keywords, and manually searching in the WEB information data packet; and if the data value corresponding to the function item cannot be found through manual searching, the newly accessed printer does not contain the function item, other function items are selected, and fuzzy searching is continued.
S204, checking the data value corresponding to the function item in the matching result, and generating an XPath value of the position of the data value;
executing S205 if the newly accessed print contains a printer log downloading function, otherwise executing S206;
s205, configuring the download link, including XPath related to the download link and extension name of the downloaded log file;
s206, acquiring a data value from a specific page in the WEB information data packet according to the XPath value;
if the data value cannot be acquired or the acquired data value is inconsistent with the data value corresponding to the function item, an error occurs in configuration, and step S207 is executed, otherwise step S208 is executed;
s207, resetting the XPath value or resetting the XPath value for other pages in the WEB information data packet;
s208, intelligently checking the next functional item after passing the intelligent checking;
s209, the intelligent verification of all the functional items is passed.
And S210, generating a new printer WEB base line library SQL script by the XPath value, and storing the SQL script in the printer WEB base line library.
The embodiment of the invention can rapidly analyze and extract the Web data packet information of the printer without any physical connection to the printer; and intelligently analyzing pages and acquiring data aiming at all printers supporting network connection, so that the expansion of a printer Web baseline library is facilitated. Meanwhile, through extracting and sorting the printer Web data, a data base line library of detailed information of printers of various brands and models is established, and basic data is accumulated for the development of relevant security application software and hardware of the next printer. With the increase of the collected printing brands and models, the recognition and support success degree of the printer detection and protection tool to the printing of each brand and model can be improved, and the data support can be provided for the rapid retrieval of functions and interfaces of the printer.
An embodiment of the present invention further provides a printer WEB information extracting apparatus, as shown in fig. 3, including:
printer WEB information acquisition module 301: the system comprises a WEB information data packet used for collecting a newly accessed printer;
the function item selection module 302: the system is used for displaying the existing configurable printing functions in the WEB base line library of the printer and selecting one of the function items;
the fuzzy matching module 303: the search keywords are used for inputting the function items in the WEB information data packet, fuzzy search is carried out, and a matching result is displayed;
the XPath value generation module 304: the data value corresponding to the function item is checked in the matching result, and an XPath value of the position of the data value is generated;
the printer WEB baseline library SQL script generation and storage module 305: and the system is used for generating a new printer WEB base line library SQL script by the XPath value and storing the SQL script in the printer WEB base line library.
Further, the fuzzy matching module is specifically configured to: if the displayed matching result is empty, deleting the keywords, and manually searching in the WEB information data packet; and if the data value corresponding to the function item cannot be found through manual searching, the newly accessed printer does not contain the function item, other function items are selected, and fuzzy searching is continued.
Further, a log downloading module 306 is included: and the method is used for configuring the download link of the printer if the newly accessed print contains the printer log download function, wherein the download link comprises XPath related to the download link and a downloaded log file extension.
Further, the intelligent checking module 307 is further included: the system is used for acquiring a data value from a specific page in the WEB information data packet according to the XPath value; if the data value cannot be acquired or the acquired data value is inconsistent with the data value corresponding to the function item, an error occurs in configuration, otherwise, the intelligent verification is passed, and the intelligent verification of the next function item is carried out; if the configuration is wrong, resetting the XPath value or replacing the XPath value with other pages in the WEB information data packet to reset the XPath value; until the intelligent verification of all the functional items passes.
The embodiment of the invention can extract the printer Web information of different brands and different models produced by different manufacturers, solves the problem of converting the Web information into the printer Web data baseline data, and is more real, accurate, detailed and reliable compared with the manual data extraction.
An embodiment of the present invention further provides an electronic device, fig. 4 is a schematic structural diagram of an embodiment of the electronic device of the present invention, and a flow of the embodiment shown in fig. 1-2 of the present invention can be implemented, as shown in fig. 4, where the electronic device may include: the device comprises a shell 41, a processor 42, a memory 43, a circuit board 44 and a power circuit 45, wherein the circuit board 44 is arranged inside a space enclosed by the shell 41, and the processor 42 and the memory 43 are arranged on the circuit board 44; a power supply circuit 45 for supplying power to each circuit or device of the electronic apparatus; the memory 43 is used for storing executable program code; the processor 42 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 43, for executing the method described in any of the foregoing embodiments.
The specific execution process of the above steps by the processor 42 and the steps further executed by the processor 42 by running the executable program code may refer to the description of the embodiment shown in fig. 1-2 of the present invention, and are not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
Embodiments of the present invention also provide a computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs, which are executable by one or more processors to implement the aforementioned method.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A printer WEB information extraction method is characterized by comprising the following steps:
collecting WEB information data packets of the newly accessed printer;
displaying the existing configurable printing functions in a WEB base line library of the printer, and selecting one of the function items;
inputting search keywords of the function items in the WEB information data packet, performing fuzzy search, and displaying a matching result;
checking the data value corresponding to the function item in the matching result, and generating an XPath value of the position of the data value;
and generating a new printer WEB base line library SQL script by the XPath value, and storing the new printer WEB base line library SQL script in the printer WEB base line library.
2. The method according to claim 1, wherein inputting the search keyword of the function item in the WEB information packet, performing fuzzy search, and displaying the matching result specifically comprises:
if the displayed matching result is empty, deleting the keywords, and manually searching in the WEB information data packet;
and if the data value corresponding to the function item cannot be found through manual searching, the newly accessed printer does not contain the function item, other function items are selected, and fuzzy searching is continued.
3. The method of claim 1, wherein if the newly accessed print contains a printer log download function, then configuring its download link, including the download link related XPath, the downloaded log file extension.
4. The method of claim 1, wherein after looking up the data value corresponding to the function item in the matching result and generating an XPath value of a location where the data value is located, the method further comprises an intelligent verification process, and the intelligent verification process comprises:
acquiring a data value from a specific page in the WEB information data packet according to the XPath value;
if the data value cannot be acquired or the acquired data value is inconsistent with the data value corresponding to the function item, an error occurs in configuration, otherwise, the intelligent verification is passed, and the intelligent verification of the next function item is carried out;
if the configuration is wrong, resetting the XPath value or replacing the XPath value with other pages in the WEB information data packet to reset the XPath value;
until the intelligent verification of all the functional items passes.
5. A printer WEB information extraction device is characterized by comprising:
printer WEB information acquisition module: the system comprises a WEB information data packet used for collecting a newly accessed printer;
a function item selection module: the system is used for displaying the existing configurable printing functions in the WEB base line library of the printer and selecting one of the function items;
a fuzzy matching module: the search keywords are used for inputting the function items in the WEB information data packet, fuzzy search is carried out, and a matching result is displayed;
an XPath value generation module: the data value corresponding to the function item is checked in the matching result, and an XPath value of the position of the data value is generated;
the printer WEB base line library SQL script generation and storage module comprises: and the system is used for generating a new printer WEB base line library SQL script by the XPath value and storing the SQL script in the printer WEB base line library.
6. The apparatus of claim 5, wherein the fuzzy matching module is specifically configured to:
if the displayed matching result is empty, deleting the keywords, and manually searching in the WEB information data packet;
and if the data value corresponding to the function item cannot be found through manual searching, the newly accessed printer does not contain the function item, other function items are selected, and fuzzy searching is continued.
7. The apparatus of claim 5, further comprising a log download module to: and the method is used for configuring the download link of the printer if the newly accessed print contains the printer log download function, wherein the download link comprises XPath related to the download link and a downloaded log file extension.
8. The apparatus of claim 5, further comprising an intelligent verification module: the system is used for acquiring a data value from a specific page in the WEB information data packet according to the XPath value; if the data value cannot be acquired or the acquired data value is inconsistent with the data value corresponding to the function item, an error occurs in configuration, otherwise, the intelligent verification is passed, and the intelligent verification of the next function item is carried out; if the configuration is wrong, resetting the XPath value or replacing the XPath value with other pages in the WEB information data packet to reset the XPath value; until the intelligent verification of all the functional items passes.
9. An electronic device, characterized in that the electronic device comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor reads the executable program code stored in the memory to run the program corresponding to the executable program code, and is used for executing the printer WEB information extraction method of any one of the preceding claims 1 to 4.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, which are executable by one or more processors to implement the printer WEB information extraction method of any one of the preceding claims 1 to 4.
CN202010907219.5A 2020-09-02 2020-09-02 Printer WEB information extraction method and device, electronic equipment and storage medium Active CN112214181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010907219.5A CN112214181B (en) 2020-09-02 2020-09-02 Printer WEB information extraction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010907219.5A CN112214181B (en) 2020-09-02 2020-09-02 Printer WEB information extraction method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112214181A true CN112214181A (en) 2021-01-12
CN112214181B CN112214181B (en) 2023-02-28

Family

ID=74048788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010907219.5A Active CN112214181B (en) 2020-09-02 2020-09-02 Printer WEB information extraction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112214181B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6018816A (en) * 1997-04-04 2000-01-25 Canon Kabushiki Kaisha Information processing system and method, image processing system and method, information processing apparatus and computer readable memory
JP2002010012A (en) * 2000-06-23 2002-01-11 Canon Inc Image forming system, image forming device, network device, image forming method and storage medium
JP2004086927A (en) * 2003-11-19 2004-03-18 Seiko Epson Corp Print system
JP2004145554A (en) * 2002-10-23 2004-05-20 Ricoh Co Ltd Printing management server, its program, and recording medium
US20040160636A1 (en) * 2003-02-19 2004-08-19 Brother Kogyo Kabushiki Kaisha Network printing system, web server, printing apparatus and program
JP2008262471A (en) * 2007-04-13 2008-10-30 Canon Inc Image output device
EP3489816A1 (en) * 2017-11-24 2019-05-29 Seiko Epson Corporation Information processing device, control method of information processing device, and storage medium
CN110166440A (en) * 2019-04-26 2019-08-23 中国人民解放军战略支援部队信息工程大学 Print protocol vulnerability analysis method and system
CN110764716A (en) * 2018-12-04 2020-02-07 哈尔滨安天科技集团股份有限公司 Network printer safety detection method and device based on flow and storage medium
CN110865774A (en) * 2018-12-28 2020-03-06 哈尔滨安天科技集团股份有限公司 Information security detection method and device for printing equipment
CN110866196A (en) * 2018-12-28 2020-03-06 哈尔滨安天科技集团股份有限公司 Printer network information acquisition method and device and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6018816A (en) * 1997-04-04 2000-01-25 Canon Kabushiki Kaisha Information processing system and method, image processing system and method, information processing apparatus and computer readable memory
JP2002010012A (en) * 2000-06-23 2002-01-11 Canon Inc Image forming system, image forming device, network device, image forming method and storage medium
JP2004145554A (en) * 2002-10-23 2004-05-20 Ricoh Co Ltd Printing management server, its program, and recording medium
US20040160636A1 (en) * 2003-02-19 2004-08-19 Brother Kogyo Kabushiki Kaisha Network printing system, web server, printing apparatus and program
JP2004086927A (en) * 2003-11-19 2004-03-18 Seiko Epson Corp Print system
JP2008262471A (en) * 2007-04-13 2008-10-30 Canon Inc Image output device
EP3489816A1 (en) * 2017-11-24 2019-05-29 Seiko Epson Corporation Information processing device, control method of information processing device, and storage medium
CN110764716A (en) * 2018-12-04 2020-02-07 哈尔滨安天科技集团股份有限公司 Network printer safety detection method and device based on flow and storage medium
CN110865774A (en) * 2018-12-28 2020-03-06 哈尔滨安天科技集团股份有限公司 Information security detection method and device for printing equipment
CN110866196A (en) * 2018-12-28 2020-03-06 哈尔滨安天科技集团股份有限公司 Printer network information acquisition method and device and electronic equipment
CN110166440A (en) * 2019-04-26 2019-08-23 中国人民解放军战略支援部队信息工程大学 Print protocol vulnerability analysis method and system

Also Published As

Publication number Publication date
CN112214181B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN102073726B (en) Structured data import method and device for search engine system
CN106844635B (en) Method and device for editing elements in webpage
CN109376291B (en) Website fingerprint information scanning method and device based on web crawler
CN107644100B (en) Information processing method, device and system and computer readable storage medium
CN102662703A (en) Method and device for loading application program plugins
CN104899220A (en) Application program recommendation method and system
CN103530339A (en) Mobile application information push method and device
CN102812456A (en) Method For Content Folding
CN104063401A (en) Webpage style address merging method and device
CN102323937A (en) Method and equipment for providing search result
CN103838862A (en) Video searching method, device and terminal
CN112231609A (en) Method, device and storage medium for rapidly rendering map based on WebGIS map
CN103577447A (en) Method and equipment used for determining page type information of target pages
CN101959178A (en) Method and equipment for identifying terminal attribute of wireless terminal
WO2015003664A1 (en) Method, device, server, and client device for download processing
CN113297086A (en) Test case generation method and device, electronic equipment and storage medium
CN103020179A (en) Method, device and equipment for extracting webpage contents
CN112214181B (en) Printer WEB information extraction method and device, electronic equipment and storage medium
CN109246069B (en) Webpage login method and device and readable storage medium
CN111597557A (en) Malicious application detection method, system, device, equipment and storage medium
US20120150899A1 (en) System and method for selectively generating tabular data from semi-structured content
CN110719344A (en) Domain name acquisition method and device, electronic equipment and storage medium
CN107622125B (en) Information crawling method and device and electronic equipment
CN110866196A (en) Printer network information acquisition method and device and electronic equipment
Nabuco et al. Inferring user interface patterns from execution traces of web applications

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 150028 building 7, innovation and entrepreneurship square, science and technology innovation city, Harbin high tech Industrial Development Zone, Heilongjiang Province (No. 838, Shikun Road)

Applicant after: Antan Technology Group Co.,Ltd.

Address before: 150028 building 7, innovation and entrepreneurship square, science and technology innovation city, Harbin high tech Industrial Development Zone, Harbin, Heilongjiang Province (No. 838, Shikun Road)

Applicant before: Harbin Antian Science and Technology Group Co.,Ltd.

GR01 Patent grant
GR01 Patent grant