CN112214182B - Printer identification method and device, electronic equipment and storage medium - Google Patents

Printer identification method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112214182B
CN112214182B CN202010950984.5A CN202010950984A CN112214182B CN 112214182 B CN112214182 B CN 112214182B CN 202010950984 A CN202010950984 A CN 202010950984A CN 112214182 B CN112214182 B CN 112214182B
Authority
CN
China
Prior art keywords
printer
information
web
unknown
library
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.)
Active
Application number
CN202010950984.5A
Other languages
Chinese (zh)
Other versions
CN112214182A (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.)
Antiy Technology Group Co Ltd
Original Assignee
Antiy 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 Antiy Technology Group Co Ltd filed Critical Antiy Technology Group Co Ltd
Priority to CN202010950984.5A priority Critical patent/CN112214182B/en
Publication of CN112214182A publication Critical patent/CN112214182A/en
Application granted granted Critical
Publication of CN112214182B publication Critical patent/CN112214182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • H04L63/1416Event detection, e.g. attack signature detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • 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]
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The embodiment of the invention provides a printer identification method, a device, electronic equipment and a storage medium, which are used for solving the problem of low support degree of the existing printer intelligent identification means. The method comprises the following steps: establishing a printer WEB information base line library; identifying the newly accessed unknown printer based on the WEB information baseline library; the identification mode comprises the following steps: accurate recognition, serial recognition, and fuzzy recognition.

Description

Printer identification method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of network security technologies, and in particular, to a method and apparatus for identifying a printer, an electronic device, and a storage medium.
Background
With the widespread use of internet technology, printer Web access is exposed to the network, and printer security problems are becoming more prominent. How does it determine whether Web access provided by the printer itself currently in use is secure? How do the differences in functionality of printer models be compared conveniently and quickly? How do rapid acquisition of print information and functional settings be achieved? The problems can be effectively solved by establishing the Web base line library of the printer, and meanwhile, the purposes of obtaining information, setting functions, detecting safety and the like of the printer can be achieved by the intelligent identification technical means. And the accurate and reliable printer Web base line library and an effective intelligent recognition means are not available at present to solve the problems.
Disclosure of Invention
The embodiment of the invention provides a printer identification method, a device, electronic equipment and a storage medium, which are used for solving the problem of low support degree of the existing printer intelligent identification means.
Based on the above problems, the method for identifying a printer provided by the embodiment of the invention includes:
establishing a printer WEB information base line library; identifying the newly accessed unknown printer based on the WEB information baseline library; the identification mode comprises the following steps: accurate recognition, serial recognition, and fuzzy recognition.
Further, a printer WEB information base line library is established, specifically: collecting printer WEB information; sorting and sorting brands, series, models and equipment types of the printers; disassembling the printer model information; and establishing a printer WEB information base line library.
Further, based on the WEB information baseline library, identifying the newly accessed unknown printer, specifically: transmitting a command to the network printing, and acquiring the equipment basic information of the newly accessed unknown printer from the network printing reply message; searching in the WEB information baseline library according to the basic information; if the basic information of the accessed unknown printer is the known information of the WEB information baseline library, accurately identifying the unknown printer to obtain the complete information and the function list of the printer; if the basic information part of the accessed unknown printer is the known information of the WEB information baseline library, carrying out serial identification to obtain the complete information and the function list of the printer; and if the basic information of the accessed unknown printer is unknown information, carrying out fuzzy recognition, and presuming the complete information and the function list of the printer.
Further, if the basic information part of the accessed unknown printer is the known information of the WEB information baseline library, performing serial identification to obtain the complete information and the function list of the printer, wherein the method specifically comprises the following steps: if the brand and model of the accessed unknown printer are the known information of the WEB information baseline library, determining the series to which the printer belongs, and then identifying and information adapting the printer according to the general information of each model of the series and/or the special information of each model of the printer of the series to which the printer belongs to obtain the complete information and the function list of the printer.
The device for identifying the printer provided by the embodiment of the invention comprises the following components:
a base line library establishment module: the method is used for establishing a printer WEB information base line library; and an identification module: the method is used for identifying the newly accessed unknown printer based on the WEB information baseline library; the identification mode comprises the following steps: accurate recognition, serial recognition, and fuzzy recognition.
Further, the baseline library establishment module further includes: an information collection module: the printer WEB information collecting device is used for collecting printer WEB information; and (3) a finishing module: the printer is used for sorting and sorting brands, series, models and equipment types of printers; and (3) disassembling the module: the printer model information is used for disassembling printer model information; baseline library establishment module one: the method is used for establishing a printer WEB information base line library.
Further, the identification module further includes: an information acquisition module: the device is used for sending a command to the network printing and acquiring the device basic information of the newly accessed unknown printer from the network printing reply message; and (3) a searching module: the base information base database is used for searching the WEB information base database according to the basic information; and (3) an accurate identification module: the method comprises the steps of accurately identifying if the basic information of an accessed unknown printer is known information of the WEB information base line library, and obtaining complete information and a function list of the printer; a series identification module: if the basic information part of the accessed unknown printer is the known information of the WEB information baseline library, carrying out serial identification to obtain the complete information and the function list of the printer; and a fuzzy recognition module: and if the basic information of the accessed unknown printer is unknown information, carrying out fuzzy recognition and presuming the complete information and the function list of the printer.
Further, the serial identification module is specifically configured to: if the brand and model of the accessed unknown printer are the known information of the WEB information baseline library, determining the series to which the printer belongs, and then identifying and information adapting the printer according to the general information of each model of the series and/or the special information of each model of the printer of the series to which the printer belongs to obtain the complete information and the function list of the printer.
The embodiment of the invention also discloses an electronic device identified by 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 surrounded 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 for performing any of the aforementioned printer identification methods.
Embodiments of the present invention provide a computer-readable storage medium storing one or more programs executable by one or more processors to implement any of the aforementioned methods of printer identification.
Compared with the prior art, the printer identification method, device, electronic equipment and storage medium provided by the embodiment of the invention have the advantages that at least the following effects are realized: by collecting Web data of printers, a data base line library of detailed information of printers of various brands and models is established, and basic data is accumulated for development of related security application software and hardware of the printers in the next step; with the increase of collecting and printing brands and models, the recognition and support degree of the printer detection and protection tool on each brand and model printer can be improved.
Drawings
FIG. 1 is a flow chart of a method for printer identification according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for printer identification according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for establishing a printer WEB information baseline library according to an embodiment of the present invention;
FIG. 4 is a block diagram of a printer identification device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
First, the technical terms appearing in the present invention will be explained:
the Web: (English: world Wide Web), a worldwide Wide area network, also known as the World Wide Web, is a global, dynamic interactive, cross-platform, distributed graphical information system based on hypertext and HTTP. The network service is established on the Internet, a graphical and easily-accessible visual interface is provided 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 network structure.
Baseline: (English: baseline), in computer terminology, the Baseline is a "snapshot" of each artifact version in the item repository at a particular time period. It provides a formal standard on which subsequent work is based and which can only be altered after authorization. After an initial baseline is established, each subsequent change to it is recorded as a difference until the next baseline is established.
Baseline library: the baseline library is a library of similar baseline compositions.
URL: a uniform resource locator (english: uniform Resource Locator) is on the WWW, and each information resource has a uniform and unique address on the internet, which is called URL, which is a uniform resource locator of the WWW, that is, a network address.
HTML: the hypertext markup language (english full name: hyperText Markup Language, short for HTML) is a standard markup language for creating web pages.
XML: refers to extensible markup language (english full name: eXtensible Markup Language).
XPath: namely the XML path language (XML Path Language), which is a language used to determine the location of a portion of an XML document.
CVE: general vulnerability disclosure (English full name: common Vulnerabilities & Exposures). CVE appears as a dictionary table giving a common name for widely agreed information security vulnerabilities or vulnerabilities that have been exposed.
MD5: the MD5Message-Digest Algorithm (English full name: MD5Message-Digest Algorithm), a widely used cryptographic hash function, can generate a 128-bit (16-byte) hash value (hash value) to ensure that the Message transmissions are completely consistent.
Specific embodiments of a method, an apparatus, an electronic device, and a storage medium for identifying a printer according to embodiments of the present invention are described below with reference to the accompanying drawings.
The method for identifying the printer provided by the embodiment of the invention, as shown in fig. 1, specifically comprises the following steps:
s101, establishing a printer WEB information base line library;
the method comprises the following steps: collecting printer WEB information; sorting and sorting brands, series, models and equipment types of the printers; disassembling the printer model information; and establishing a printer WEB information base line library.
S102, identifying the newly accessed unknown printer based on the WEB information baseline library;
the method comprises the following steps: transmitting a command to the network printing, and acquiring the equipment basic information of the newly accessed unknown printer from the network printing reply message; searching in the WEB information baseline library according to the basic information; if the basic information of the accessed unknown printer is the known information of the WEB information baseline library, accurately identifying the unknown printer to obtain the complete information and the function list of the printer; if the basic information part of the accessed unknown printer is the known information of the WEB information baseline library, carrying out serial identification to obtain the complete information and the function list of the printer; and if the basic information of the accessed unknown printer is unknown information, carrying out fuzzy recognition, and presuming the complete information and the function list of the printer.
For example, a business company connects printers into a wide area network due to business needs. For security reasons, a risk-setting check needs to be performed on the Web printer, and the model printer may be identified according to the method in the embodiment according to the printer Web baseline library. And constructing a quick detection and setting tool according to the identified content, and carrying out quick detection and one-key setting safety setting on the printer.
According to the embodiment of the invention, through collecting the Web data of the printer, 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 related security application software and hardware of the printer in the next step; with the increase of collecting and printing brands and models, the recognition and support degree of the printer detection and protection tool on each brand and model printer can be improved.
The method for identifying the printer provided by the embodiment of the invention, as shown in fig. 2, specifically comprises the following steps:
s201, establishing a printer WEB information base line library;
s202, a command is sent to network printing, and equipment basic information of a newly accessed unknown printer is obtained from a message replied by the network printing;
s203, searching in the WEB information baseline library according to the basic information;
s204, if the basic information of the accessed unknown printer is the known information of the WEB information baseline library, accurately identifying the unknown printer to obtain the complete information and the function list of the printer;
s205, if the basic information part of the accessed unknown printer is the known information of the WEB information baseline library, performing serial identification to acquire the complete information and the function list of the printer;
the method comprises the following steps: if the brand and model of the accessed unknown printer are known information of the WEB information baseline library, determining a series to which the printer belongs, and then identifying and information adapting the printer according to general information of each model of the series and/or special information of each model of the printer of the series to which the printer belongs to obtain complete information and a function list of the printer;
for example, the determination may be made by a serial identification of the printer or a printer model, such as: the serial names such as DeskJet, laser MFP, laser jet, etc. can also be judged according to the model prefix, prefix+value, for example: m, C, M203, etc.
S206, if the basic information of the accessed unknown printer is unknown information, performing fuzzy recognition, and presuming complete information and a function list of the printer;
for example, the full base line library comparison is performed through the accessed unknown printer link address or page structure, data XPath and the like, the brand and model of the printer are presumed in the retrieved information, the most probable brand and model information for the presumption is given, and further the possible information and function list of the printer are given. According to the embodiment of the invention, through collecting the Web data of the printer, 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 related security application software and hardware of the printer in the next step; with the increase of the collection and printing brands and models, the recognition and support degree of the printer detection and protection tool on each brand and model printer can be improved; the purposes of acquiring information of the printer, setting functions, further carrying out safety detection and the like are achieved through intelligent recognition technology means of accurate recognition, serial recognition and fuzzy recognition.
The method for establishing the printer WEB information base line library provided by the embodiment of the invention, as shown in fig. 3, specifically comprises the following steps:
s301, collecting WEB information of a printer;
the information data sources of the printer WEB baseline library can be obtained by the following three ways: the method comprises the steps of cooperating with a printer manufacturer to obtain WEB baseline information of the printer; collecting and arranging printer WEB baseline information on the network; the customer feeds back the WEB baseline information that he uses the relevant printer. The WEB baseline data collection mode of the printer can adopt the following two modes for collection: collecting, arranging and warehousing printer WEB information by using a printer WEB data acquisition tool and a printer WEB data extraction tool; can also be derived from manual arrangement and collection. The process of information collection is updated periodically or aperiodically.
S302, sorting brands, series, models and equipment types of the printer;
s303, disassembling printer model information;
the printer model information is disassembled, so that information inquiry and information acquisition in a subsequent identification and matching process are mainly facilitated.
S304, establishing a printer WEB information base line library;
the printer WEB information baseline library may be divided into the following structures: the printer basic information table, the related fields include: recording a number, a brand, a model prefix, a model number, a model suffix, a device type and the like; the printer profile table, the related fields include: record number, printer information number, printer profile information, sequence number, etc.; the printer parameter information table, the related fields include: record number, printer information number, parameter type, parameter name, parameter value, sequence number, etc.; printer driver information table, involving fields including: record number, printer information number, drive version, download address, language, file size (unit: mb), issue time, MD5, etc.; printer picture information table, involving fields including: recording number, printer information number, picture classification, picture number, sequence number, etc.; printer picture sheet, involving fields including: record number, picture path, remarks, etc.; the printer function item table, the related fields include: record number, function classification, function item name, function item description, sequence number, whether it is an information item, whether it is a setting item, standard value, etc.; the printer link table, the related fields include: record number, printer information number, link name, link address, parent link, depth, page content, text content, etc.; printer Cookie table, involving fields including: record number, printer information number, cookie name, cookie value, cookie path, etc.; the printer login link table, the related fields include: printer information number, login link address, logout link address, authentication mode, user name XPath, password XPath, submit button XPath, etc.; the printer initial login information table, the related fields include: record number, printer information number, user name, password, etc.; the printer downloads a log table, involving fields including: record number, printer information number, URL address, log file extension, etc.; the printer CVE vulnerability table relates to fields including: record number, printer information number, device version, CVE number, CVE name, CVE description, vulnerability type, attack path type, attack method, CVE score, english website, chinese website, solution link, etc.
For example, a "three-high" (high value, high threat, high countermeasure) customer needs to purchase a printer that is used in a confidential manner and supports a particular function. The method can input the conditions required by the client into a printer WEB baseline library, can quickly search corresponding brands and models, and can evaluate the safety of the printer by combining with detection and protection products developed later, so as to provide the optimal scheme selected by the printer for the client.
The method for establishing the printer WEB information base line library fills the blank in the field of printer WEB base line libraries and lays a data foundation for the safety detection and setting of the follow-up printer.
The embodiment of the invention also provides a device for identifying the printer, as shown in fig. 4, which comprises:
the baseline library creation module 401: the method is used for establishing a printer WEB information base line library; the identification module 402: the method is used for identifying the newly accessed unknown printer based on the WEB information baseline library; the identification mode comprises the following steps: accurate recognition, serial recognition, and fuzzy recognition.
Further, the baseline library establishment module further includes: an information collection module: the printer WEB information collecting device is used for collecting printer WEB information; and (3) a finishing module: the printer is used for sorting and sorting brands, series, models and equipment types of printers; and (3) disassembling the module: the printer model information is used for disassembling printer model information; baseline library establishment module one: the method is used for establishing a printer WEB information base line library.
Further, the identification module further includes: an information acquisition module: the device is used for sending a command to the network printing and acquiring the device basic information of the newly accessed unknown printer from the network printing reply message; and (3) a searching module: the base information base database is used for searching the WEB information base database according to the basic information; and (3) an accurate identification module: the method comprises the steps of accurately identifying if the basic information of an accessed unknown printer is known information of the WEB information base line library, and obtaining complete information and a function list of the printer; a series identification module: if the basic information part of the accessed unknown printer is the known information of the WEB information baseline library, carrying out serial identification to obtain the complete information and the function list of the printer; and a fuzzy recognition module: and if the basic information of the accessed unknown printer is unknown information, carrying out fuzzy recognition and presuming the complete information and the function list of the printer.
Further, the serial identification module is specifically configured to: if the brand and model of the accessed unknown printer are the known information of the WEB information baseline library, determining the series to which the printer belongs, and then identifying and information adapting the printer according to the general information of each model of the series and/or the special information of each model of the printer of the series to which the printer belongs to obtain the complete information and the function list of the printer.
According to the embodiment of the invention, through collecting the Web data of the printer, 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 related security application software and hardware of the printer in the next step; with the increase of collecting and printing brands and models, the recognition and support degree of the printer detection and protection tool on each brand and model printer can be improved.
An embodiment of the present invention further provides an electronic device, fig. 5 is a schematic structural diagram of an embodiment of the electronic device, where the process of the embodiment shown in fig. 1-2 of the present invention may be implemented, and as shown in fig. 5, the electronic device may include: the processor 52 and the memory 53 are arranged on the circuit board 54, wherein the circuit board 54 is arranged in a space surrounded by the shell 51; a power supply circuit 55 for supplying power to the respective circuits or devices of the above-described electronic apparatus; the memory 53 is for storing executable program code; the processor 52 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 53 for performing the method described in any of the foregoing embodiments.
The specific implementation of the above steps by the processor 52 and the further implementation of the steps by the processor 52 by running executable program codes may be referred to in the description of the embodiment of fig. 1-2 of the present invention, and will not be described herein.
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 communication capabilities and are primarily aimed at providing voice, data communications. Such terminals include: smart phones (e.g., iPhone), multimedia phones, functional phones, and low-end phones, etc.
(2) Ultra mobile personal computer device: such devices are in the category of personal computers, having computing and processing functions, and generally also having mobile internet access characteristics. Such terminals include: PDA, MID, and UMPC devices, etc., such as iPad.
(3) Portable entertainment device: such devices may display and play multimedia content. The device comprises: audio, video players (e.g., iPod), palm game consoles, electronic books, and smart toys and portable car navigation devices.
(4) And (3) a server: the configuration of the server includes a processor, a hard disk, a memory, a system bus, and the like, and the server is similar to a general computer architecture, but is required to provide highly reliable services, and thus has high requirements in terms of processing capacity, stability, reliability, security, scalability, manageability, and the like.
(5) Other electronic devices with data interaction functions.
An embodiment of the present invention also provides a computer-readable storage medium storing one or more programs executable by one or more processors to implement the foregoing method.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments.
In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
For convenience of description, the above apparatus is described as being functionally divided into various units/modules, respectively. Of course, the functions of the various elements/modules may be implemented in the same piece or pieces of software and/or hardware when implementing the present invention.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps 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 (Random Access Memory, RAM), or the like.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (8)

1. A method of printer identification, comprising:
establishing a printer WEB information base line library; the WEB information baseline library comprises printer WEB information, and brands, series, models and equipment types of printers;
identifying the newly accessed unknown printer based on the WEB information baseline library;
the identification mode comprises the following steps: accurate recognition, serial recognition and fuzzy recognition;
wherein the series identification comprises: if the brand and model of the accessed unknown printer are known information of the WEB information baseline library, determining a series to which the printer belongs, and then identifying and information adapting the printer according to general information of each model of the series and/or special information of each model of the printer of the series to which the printer belongs to obtain complete information and a function list of the printer;
the fuzzy recognition includes: comparing the full base line library through the accessed unknown printer link address or page structure and data XPath, and in the retrieved information, predicting the brand and model of the printer, giving out the most probable brand and model information of the prediction, and giving out the most probable complete information and function list of the printer;
the printer WEB information baseline library comprises the following structures: the system comprises a printer basic information table, a printer profile table, a printer parameter information table, a printer driving information table, a printer picture table, a printer function item table, a printer link table, a printer Cookie table, a printer login link table, a printer initial login information table, a printer download log table and a printer CVE vulnerability table;
the printer link table, the related fields include: record number, printer information number, link name, link address, parent link, depth, page content, text content; the printer login link table, the related fields include: printer information number, login link address, logout link address, authentication mode, user name XPath, password XPath, submit button XPath.
2. The method according to claim 1, wherein a printer WEB information baseline library is established, specifically:
collecting printer WEB information;
sorting and sorting brands, series, models and equipment types of the printers;
disassembling the printer model information;
and establishing a printer WEB information base line library.
3. The method according to claim 2, wherein the identifying of the newly accessed unknown printer is based on the WEB information baseline library, in particular:
transmitting a command to the network printing, and acquiring the equipment basic information of the newly accessed unknown printer from the network printing reply message;
searching in the WEB information baseline library according to the basic information;
if the basic information of the accessed unknown printer is the known information of the WEB information baseline library, accurately identifying the unknown printer to obtain the complete information and the function list of the printer;
and if the basic information of the accessed unknown printer is unknown information, carrying out fuzzy recognition, and presuming the complete information and the function list of the printer.
4. An apparatus for printer identification, comprising:
a base line library establishment module: the method is used for establishing a printer WEB information base line library; the WEB information baseline library comprises printer WEB information, and brands, series, models and equipment types of printers;
and an identification module: the method is used for identifying the newly accessed unknown printer based on the WEB information baseline library; the identification mode comprises the following steps: accurate recognition, serial recognition and fuzzy recognition;
wherein the identification module comprises a series identification module for: if the brand and model of the accessed unknown printer are known information of the WEB information baseline library, determining a series to which the printer belongs, and then identifying and information adapting the printer according to general information of each model of the series and/or special information of each model of the printer of the series to which the printer belongs to obtain complete information and a function list of the printer;
the fuzzy recognition includes: comparing the full base line library through the accessed unknown printer link address or page structure and data XPath, and in the retrieved information, predicting the brand and model of the printer, giving out the most probable brand and model information of the prediction, and giving out the most probable complete information and function list of the printer;
the printer WEB information baseline library comprises the following structures: the system comprises a printer basic information table, a printer profile table, a printer parameter information table, a printer driving information table, a printer picture table, a printer function item table, a printer link table, a printer Cookie table, a printer login link table, a printer initial login information table, a printer download log table and a printer CVE vulnerability table;
the printer link table, the related fields include: record number, printer information number, link name, link address, parent link, depth, page content, text content; the printer login link table, the related fields include: printer information number, login link address, logout link address, authentication mode, user name XPath, password XPath, submit button XPath.
5. The apparatus of claim 4, wherein the baseline library creation module further comprises:
an information collection module: the printer WEB information collecting device is used for collecting printer WEB information;
and (3) a finishing module: the printer is used for sorting and sorting brands, series, models and equipment types of printers;
and (3) disassembling the module: the printer model information is used for disassembling printer model information;
baseline library establishment module one: the method is used for establishing a printer WEB information base line library.
6. The apparatus of claim 4, wherein the identification module further comprises:
an information acquisition module: the device is used for sending a command to the network printing and acquiring the device basic information of the newly accessed unknown printer from the network printing reply message;
and (3) a searching module: the base information base database is used for searching the WEB information base database according to the basic information;
and (3) an accurate identification module: the method comprises the steps of accurately identifying if the basic information of an accessed unknown printer is known information of the WEB information base line library, and obtaining complete information and a function list of the printer;
and a fuzzy recognition module: and if the basic information of the accessed unknown printer is unknown information, carrying out fuzzy recognition and presuming the complete information and the function list of the printer.
7. An electronic device, the electronic device comprising: 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 surrounded 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; a processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the printer identification method of any one of the preceding claims 1 to 3.
8. A computer readable storage medium storing one or more programs executable by one or more processors to implement the method of printer identification of any of the preceding claims 1 to 3.
CN202010950984.5A 2020-09-11 2020-09-11 Printer identification method and device, electronic equipment and storage medium Active CN112214182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010950984.5A CN112214182B (en) 2020-09-11 2020-09-11 Printer identification method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010950984.5A CN112214182B (en) 2020-09-11 2020-09-11 Printer identification method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112214182A CN112214182A (en) 2021-01-12
CN112214182B true CN112214182B (en) 2023-09-05

Family

ID=74049360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010950984.5A Active CN112214182B (en) 2020-09-11 2020-09-11 Printer identification method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112214182B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1271302A2 (en) * 2001-06-28 2003-01-02 Canon Development Americas, Inc. Print queue manager
US7401113B1 (en) * 1999-12-09 2008-07-15 Microsoft Corporations Printer driver identification for a remote printer
CN102640424A (en) * 2010-02-11 2012-08-15 惠普发展公司,有限责任合伙企业 Indentifying printers
JP2014063421A (en) * 2012-09-24 2014-04-10 Kyocera Document Solutions Inc Printer server and printing control program
CN104714765A (en) * 2013-12-16 2015-06-17 佳能株式会社 Information processing apparatus, information processing method, and computer program
CN109101250A (en) * 2018-08-31 2018-12-28 深圳丰速科技有限公司 Printer driver installation method, device, computer equipment and storage medium
CN110851149A (en) * 2019-10-11 2020-02-28 杭州珐珞斯科技有限公司 Method and system for installing cloud printing driver and computer equipment
CN110866196A (en) * 2018-12-28 2020-03-06 哈尔滨安天科技集团股份有限公司 Printer network information acquisition method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050179922A1 (en) * 2004-02-12 2005-08-18 Foster Ward S. Methods and apparatus for providing printer drivers to a user
US20130117644A1 (en) * 2007-03-17 2013-05-09 Anmol Dhawan Generating and printing target page numbers over links while printing documents or web pages
JP7230467B2 (en) * 2018-11-30 2023-03-01 ブラザー工業株式会社 Support program, information processing device, and printing method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7401113B1 (en) * 1999-12-09 2008-07-15 Microsoft Corporations Printer driver identification for a remote printer
EP1271302A2 (en) * 2001-06-28 2003-01-02 Canon Development Americas, Inc. Print queue manager
CN102640424A (en) * 2010-02-11 2012-08-15 惠普发展公司,有限责任合伙企业 Indentifying printers
JP2014063421A (en) * 2012-09-24 2014-04-10 Kyocera Document Solutions Inc Printer server and printing control program
CN104714765A (en) * 2013-12-16 2015-06-17 佳能株式会社 Information processing apparatus, information processing method, and computer program
CN109101250A (en) * 2018-08-31 2018-12-28 深圳丰速科技有限公司 Printer driver installation method, device, computer equipment and storage medium
CN110866196A (en) * 2018-12-28 2020-03-06 哈尔滨安天科技集团股份有限公司 Printer network information acquisition method and device and electronic equipment
CN110851149A (en) * 2019-10-11 2020-02-28 杭州珐珞斯科技有限公司 Method and system for installing cloud printing driver and computer equipment

Also Published As

Publication number Publication date
CN112214182A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
US11343269B2 (en) Techniques for detecting domain threats
US7512569B2 (en) User defined components for content syndication
US8385589B2 (en) Web-based content detection in images, extraction and recognition
JP4470069B2 (en) Input assist device, input assist system, input assist method, and input assist program
US10212179B2 (en) Method and system for checking security of URL for mobile terminal
RU2637477C1 (en) System and method for detecting phishing web pages
CN116432247A (en) Infringement evidence method and device based on blockchain
CN107040518B (en) Private cloud server login method and system
US8407766B1 (en) Method and apparatus for monitoring sensitive data on a computer network
CN106534268B (en) Data sharing method and device
WO2016188029A1 (en) Method and device for parsing two-dimensional code, computer readable storage medium, computer program product and terminal device
CN102917049A (en) Method for showing information of visited website, browser and system
KR101619979B1 (en) Methods and apparatus for progressive pattern matching in a mobile environment
CN107239701B (en) Method and device for identifying malicious website
CN111597490A (en) Web fingerprint identification method, device, equipment and computer storage medium
CN116055067B (en) Weak password detection method, device, electronic equipment and medium
CN112214182B (en) Printer identification method and device, electronic equipment and storage medium
CN109657472B (en) SQL injection vulnerability detection method, device, equipment and readable storage medium
JP5197681B2 (en) Login seal management system and management server
CN109246069B (en) Webpage login method and device and readable storage medium
CN110866196A (en) Printer network information acquisition method and device and electronic equipment
CN111368231B (en) Method and device for testing heterogeneous redundancy architecture website
CN115309968A (en) Method and device for generating webpage fingerprint rule based on resource search engine
EP2103084B1 (en) An intelligent system of unified content posting
CN113992390A (en) Phishing website detection method and device and storage medium

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant