CN112214182A - 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
CN112214182A
CN112214182A CN202010950984.5A CN202010950984A CN112214182A CN 112214182 A CN112214182 A CN 112214182A CN 202010950984 A CN202010950984 A CN 202010950984A CN 112214182 A CN112214182 A CN 112214182A
Authority
CN
China
Prior art keywords
printer
information
identification
unknown
web
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
CN202010950984.5A
Other languages
Chinese (zh)
Other versions
CN112214182B (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 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

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
    • 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 and device, electronic equipment and a storage medium, which are used for solving the problem of low support degree of the existing intelligent printer identification means. The method comprises the following steps: establishing a printer WEB information baseline library; identifying the newly accessed unknown printer based on the WEB information baseline library; the identification mode comprises the following steps: precise identification, serial identification, and fuzzy identification.

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 an apparatus for printer identification, an electronic device, 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 conveniently and quickly? How can quick acquisition of print information and function setting be achieved? The problems can be effectively solved by establishing the Web baseline library of the printer, and meanwhile, the aims of printer information acquisition, function setting, safety detection and the like can be fulfilled by the technical means of intelligent identification. At present, an accurate and reliable printer Web baseline library and an effective intelligent identification means are lacked to solve the problems.
Disclosure of Invention
The embodiment of the invention provides a printer identification method and device, electronic equipment and a storage medium, which are used for solving the problem of low support degree of the existing intelligent printer identification means.
Based on the above problem, an embodiment of the present invention provides a method for identifying a printer, including:
establishing a printer WEB information baseline library; identifying the newly accessed unknown printer based on the WEB information baseline library; the identification mode comprises the following steps: precise identification, serial identification, and fuzzy identification.
Further, establishing a printer WEB information baseline library, specifically: collecting WEB information of the printer; classifying and sorting the brand, series, model and equipment type of the printer; disassembling the model information of the printer; and establishing a printer WEB information baseline library.
Further, based on the WEB information baseline library, identifying a newly accessed unknown printer specifically comprises: sending a command to 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, carrying out accurate identification, and acquiring complete information and a function list of the printer; if the basic information part of the accessed unknown printer is the known information of the WEB information base line library, performing series identification to obtain complete information and a function list of the printer; if the basic information of the accessed unknown printer is unknown information, fuzzy recognition is carried out, and the complete information and the function list of the printer are estimated.
Further, if the basic information part of the accessed unknown printer is the known information of the WEB information baseline library, performing series identification to obtain complete information and a function list of the printer, specifically: if the brand and the model of the accessed unknown printer are the known information of the WEB information base line library, determining the series to which the printer belongs, and identifying and performing information adaptation on 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 printer identification device provided by the embodiment of the invention comprises:
a baseline library establishment module: the system is used for establishing a printer WEB information baseline library; an identification module: the system is used for identifying the newly accessed unknown printer based on the WEB information baseline library; the identification mode comprises the following steps: precise identification, serial identification, and fuzzy identification.
Further, the baseline library building module further comprises: an information collection module: the system is used for collecting WEB information of the printer; a sorting module: the printer is used for classifying and sorting brands, series, models and equipment types of the printer; disassembling the module: the printer model information is disassembled; a first baseline library establishing module: the method is used for establishing a printer WEB information baseline library.
Further, the identification module further comprises: an information acquisition module: the system comprises a network printing reply message, a server and a client, wherein the network printing reply message is used for sending a command to network printing and acquiring the basic information of newly accessed unknown printers from the network printing reply message; a searching module: the system is used for searching in the WEB information baseline library according to the basic information; an accurate identification module: if the basic information of the accessed unknown printer is the known information of the WEB information baseline library, carrying out accurate identification to obtain 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, performing series identification to acquire complete information and a function list of the printer; a fuzzy recognition module: if the basic information of the accessed unknown printer is unknown information, fuzzy recognition is carried out, and the complete information and the function list of the printer are presumed.
Further, the series identification module is specifically configured to: if the brand and the model of the accessed unknown printer are the known information of the WEB information base line library, determining the series to which the printer belongs, and identifying and performing information adaptation on 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 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, 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, the one or more programs being executable by one or more processors to implement any of the aforementioned methods of printer identification.
Compared with the prior art, the method, the device, the electronic equipment and the storage medium for printer identification provided by the embodiment of the invention at least realize the following beneficial effects: establishing a data base line database of detailed information of printers of various brands and models by collecting Web data of the printers, and accumulating basic data for the development of software and hardware of related safety application of the printers in the next step; along with the increase of the collected printing brands and models, the recognition and support success degree of printer detection and protection tools to printers of all brands and models 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 another 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 an apparatus for printer identification 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, 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.
CVE: general vulnerability discovery (Common Vulnerabilities & Exposuers). The CVE acts as a dictionary table giving a common name for widely recognized information security vulnerabilities or vulnerabilities that have been exposed.
MD 5: MD5Message Digest Algorithm (english-language full name: MD5Message-Digest Algorithm), a widely used cryptographic hash function, can generate a 128-bit (16-byte) hash value (hash value) to ensure the integrity and consistency of Message transmission.
The following describes specific embodiments of a method, an apparatus, an electronic device, and a storage medium for printer identification according to embodiments of the present invention 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 baseline library;
the method specifically comprises the following steps: collecting WEB information of the printer; classifying and sorting the brand, series, model and equipment type of the printer; disassembling the model information of the printer; and establishing a printer WEB information baseline library.
S102, identifying a newly accessed unknown printer based on the WEB information baseline library;
the method specifically comprises the following steps: sending a command to 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, carrying out accurate identification, and acquiring complete information and a function list of the printer; if the basic information part of the accessed unknown printer is the known information of the WEB information base line library, performing series identification to obtain complete information and a function list of the printer; if the basic information of the accessed unknown printer is unknown information, fuzzy recognition is carried out, and the complete information and the function list of the printer are estimated.
For example, a business company connects printers to a wide area network for business needs. For safety reasons, the set risk check needs to be performed on the Web printer, and the printer model can be identified according to the method in the embodiment and the Web base library of the printer. And constructing a rapid detection and setting tool according to the identified content, and performing rapid detection and one-key setting safety setting on the printer.
According to the embodiment of the invention, through the collection of 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 relevant safety application software and hardware of the next printer; along with the increase of the collected printing brands and models, the recognition and support success degree of printer detection and protection tools to printers of all brands and models can be improved.
As shown in fig. 2, another method for identifying a printer provided in an embodiment of the present invention specifically includes the following steps:
s201, establishing a printer WEB information baseline library;
s202, sending a command to network printing, and acquiring the equipment basic information of the newly accessed unknown printer from the network printing reply message;
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, carrying out accurate identification, and acquiring complete information and a 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 series identification to obtain complete information and a function list of the printer;
the method specifically comprises the following steps: if the brand and the model of the accessed unknown printer are known information of the WEB information base line library, determining the series to which the printer belongs, and identifying and performing information adaptation on 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;
for example, the determination may be made by serial identification of the printer or by printer model, such as: the series names such as DeskJet, Laser MFP, Laser jet and the like can be judged, and the judgment can also be carried out according to the type prefix, the prefix and the numerical value, for example: m, C, M203, etc.
S206, if the basic information of the accessed unknown printer is unknown information, carrying out fuzzy recognition, and inferring complete information and a function list of the printer;
for example, full baseline library comparison is performed by accessing unknown printer link addresses or page structures, data XPath, etc., and among the retrieved information, the printer brand and model are presumed, information of the most probable brand and model is given, and further possible information and function lists of the printer are given. According to the embodiment of the invention, through the collection of 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 relevant safety application software and hardware of the next printer; along with the increase of collected printing brands and models, the recognition and support success degree of printer detection and protection tools to printers of various brands and models can be improved; and the purposes of printer information acquisition, function setting, further safety detection and the like are achieved by intelligent identification technical means of accurate identification, series identification and fuzzy identification.
The method for establishing the printer WEB information baseline library provided by the embodiment of the invention, as shown in fig. 3, specifically comprises the following steps:
s301, collecting WEB information of the printer;
the information data source of the printer WEB base line library can be obtained by the following three ways: cooperating with a printer manufacturer to obtain WEB base line information of the printer; collecting and arranging printer WEB base line information on the network; the client feeds back WEB baseline information for its use with the relevant printer. The printer WEB baseline data collection mode can adopt the following two modes for collection: using a printer WEB data acquisition tool and a printer WEB data extraction tool to collect, arrange and store printer WEB information; or from manual work or collection. The process of information collection is updated periodically or aperiodically.
S302, classifying and sorting the brand, series, model and equipment type of the printer;
s303, disassembling the model information of the printer;
the printer model information is disassembled, and the information query and the information acquisition in the subsequent identification matching process are mainly facilitated.
S304, establishing a printer WEB information baseline library;
the printer WEB information baseline library can be divided into the following structures: a printer basic information table, the related fields including: recording a serial number, a brand, a model prefix, a model numerical value, a model suffix, a device type and the like; a printer profile table, the fields involved including: record number, printer information number, printer profile information, sequence number, and the like; a printer parameter information table, the related fields including: record number, printer information number, parameter type, parameter name, parameter value, sequence number, etc.; a printer driver information table, the related fields including: record number, printer information number, drive version, download address, language, file size (unit: Mb), distribution time, MD5, and the like; the printer picture information table, the related fields include: record number, printer information number, picture classification, picture number, sequence number, and the like; printer picture table, the fields involved include: recording numbers, picture paths, remarks and the like; a printer function item table, the related fields including: record number, function classification, function item name, function item description, sequence number, whether it is an information item, whether it is a setting item, a standard value, etc.; a printer link table, the fields involved including: record number, printer information number, link name, link address, parent link, depth, page content, text content, etc.; printer Cookie table, the fields involved include: recording a number, a printer information number, a Cookie name, a Cookie value, a Cookie path and the like; a printer login link table, the fields relating to which include: printer information number, login link address, logout link address, verification mode, user name XPath, password XPath, submit button XPath and the like; the printer initial login information table comprises the following related fields: record number, printer information number, user name, password, etc.; a printer download log table, the fields relating to comprising: record number, printer information number, URL address, log file extension, and the like; printer CVE vulnerability tables, the fields involved include: the method comprises the steps of recording a number, a printer information number, an equipment version, a CVE number, a CVE name, a CVE description, a vulnerability type, an attack path type, an attack method, a CVE score, an English website, a Chinese website, a solution link and the like.
For example, a "three high" (high value, high threat, high confrontation) customer needs to purchase a printer for a confidential use and support a particular function. The method can input conditions required by a client into a printer WEB base line library, can quickly search corresponding brands and models, and can evaluate the safety of the printer by combining subsequently developed detection and protection products to give an optimal scheme selected by the printer to the client.
The method for establishing the printer WEB information baseline library fills the blank of the field of the printer WEB baseline library, and lays a data foundation for subsequent security detection and setting of the printer.
An apparatus for identifying a printer according to an embodiment of the present invention is shown in fig. 4, and includes:
the baseline repository creation module 401: the system is used for establishing a printer WEB information baseline library; the identification module 402: the system is used for identifying the newly accessed unknown printer based on the WEB information baseline library; the identification mode comprises the following steps: precise identification, serial identification, and fuzzy identification.
Further, the baseline library building module further comprises: an information collection module: the system is used for collecting WEB information of the printer; a sorting module: the printer is used for classifying and sorting brands, series, models and equipment types of the printer; disassembling the module: the printer model information is disassembled; a first baseline library establishing module: the method is used for establishing a printer WEB information baseline library.
Further, the identification module further comprises: an information acquisition module: the system comprises a network printing reply message, a server and a client, wherein the network printing reply message is used for sending a command to network printing and acquiring the basic information of newly accessed unknown printers from the network printing reply message; a searching module: the system is used for searching in the WEB information baseline library according to the basic information; an accurate identification module: if the basic information of the accessed unknown printer is the known information of the WEB information baseline library, carrying out accurate identification to obtain 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, performing series identification to acquire complete information and a function list of the printer; a fuzzy recognition module: if the basic information of the accessed unknown printer is unknown information, fuzzy recognition is carried out, and the complete information and the function list of the printer are presumed.
Further, the series identification module is specifically configured to: if the brand and the model of the accessed unknown printer are the known information of the WEB information base line library, determining the series to which the printer belongs, and identifying and performing information adaptation on 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 the collection of 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 relevant safety application software and hardware of the next printer; along with the increase of the collected printing brands and models, the recognition and support success degree of printer detection and protection tools to printers of all brands and models 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 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. 5, where the electronic device may include: the device comprises a shell 51, a processor 52, a memory 53, a circuit board 54 and a power circuit 55, wherein the circuit board 54 is arranged inside a space enclosed by the shell 51, and the processor 52 and the memory 53 are arranged on the circuit board 54; a power supply circuit 55 for supplying power to each circuit or device of the electronic apparatus; the memory 53 is used to store 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 executing the method according to any of the foregoing embodiments.
The specific execution process of the above steps by the processor 52 and the steps further executed by the processor 52 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 method of printer identification, comprising:
establishing a printer WEB information baseline library;
identifying the newly accessed unknown printer based on the WEB information baseline library;
the identification mode comprises the following steps: precise identification, serial identification, and fuzzy identification.
2. The method of claim 1, wherein establishing a printer WEB information baseline library specifically comprises:
collecting WEB information of the printer;
classifying and sorting the brand, series, model and equipment type of the printer;
disassembling the model information of the printer;
and establishing a printer WEB information baseline library.
3. The method according to claim 2, wherein the identification of the newly accessed unknown printer is performed based on the WEB information baseline library, specifically:
sending a command to 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, carrying out accurate identification, and acquiring complete information and a function list of the printer;
if the basic information part of the accessed unknown printer is the known information of the WEB information base line library, performing series identification to obtain complete information and a function list of the printer;
if the basic information of the accessed unknown printer is unknown information, fuzzy recognition is carried out, and the complete information and the function list of the printer are estimated.
4. The method according to claim 3, wherein 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 function list of the printer, specifically:
if the brand and the model of the accessed unknown printer are the known information of the WEB information base line library, determining the series to which the printer belongs, and identifying and performing information adaptation on 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.
5. An apparatus for printer identification, comprising:
a baseline library establishment module: the system is used for establishing a printer WEB information baseline library;
an identification module: the system is used for identifying the newly accessed unknown printer based on the WEB information baseline library; the identification mode comprises the following steps: precise identification, serial identification, and fuzzy identification.
6. The apparatus of claim 5, wherein the baseline repository establishment module further comprises:
an information collection module: the system is used for collecting WEB information of the printer;
a sorting module: the printer is used for classifying and sorting brands, series, models and equipment types of the printer;
disassembling the module: the printer model information is disassembled;
a first baseline library establishing module: the method is used for establishing a printer WEB information baseline library.
7. The apparatus of claim 6, wherein the identification module further comprises:
an information acquisition module: the system comprises a network printing reply message, a server and a client, wherein the network printing reply message is used for sending a command to network printing and acquiring the basic information of newly accessed unknown printers from the network printing reply message;
a searching module: the system is used for searching in the WEB information baseline library according to the basic information;
an accurate identification module: if the basic information of the accessed unknown printer is the known information of the WEB information baseline library, carrying out accurate identification to obtain 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, performing series identification to acquire complete information and a function list of the printer;
a fuzzy recognition module: if the basic information of the accessed unknown printer is unknown information, fuzzy recognition is carried out, and the complete information and the function list of the printer are presumed.
8. The apparatus of claim 7, wherein the series identification module is specifically configured to: if the brand and the model of the accessed unknown printer are the known information of the WEB information base line library, determining the series to which the printer belongs, and identifying and performing information adaptation on 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.
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 executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the method of printer identification of any one of the preceding claims 1 to 4.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores 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 4.
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 true CN112214182A (en) 2021-01-12
CN112214182B 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 (11)

* 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
US20050179922A1 (en) * 2004-02-12 2005-08-18 Foster Ward S. Methods and apparatus for providing printer drivers to a user
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
US20130117644A1 (en) * 2007-03-17 2013-05-09 Anmol Dhawan Generating and printing target page numbers over links while printing documents or web pages
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
US20200174718A1 (en) * 2018-11-30 2020-06-04 Brother Kogyo Kabushiki Kaisha Printing method, information processing apparatus employing printing method, and non-transitory computer-readable recording medium storing instructions therefor

Patent Citations (11)

* 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
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
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
US20200174718A1 (en) * 2018-11-30 2020-06-04 Brother Kogyo Kabushiki Kaisha Printing method, information processing apparatus employing printing method, and non-transitory computer-readable recording medium storing instructions therefor
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
CN112214182B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
US20220070194A1 (en) Techniques for detecting domain threats
CN103365865B (en) Date storage method, data download method and its device
JP4470069B2 (en) Input assist device, input assist system, input assist method, and input assist program
US7860971B2 (en) Anti-spam tool for browser
CN107239701B (en) Method and device for identifying malicious website
US10324896B2 (en) Method and apparatus for acquiring resource
JP5567067B2 (en) Privilege grant system, privilege grant method, privilege grant device, privilege grant program, privilege related information display program, and privilege related information display method
US8631097B1 (en) Methods and systems for finding a mobile and non-mobile page pair
US8407766B1 (en) Method and apparatus for monitoring sensitive data on a computer network
CN104471582A (en) Defense against search engine tracking
US8788521B2 (en) Information processing device, information processing method, program for information processing device, and recording medium
CN101661490B (en) Search engine, client thereof and method for searching page
CN109657472B (en) SQL injection vulnerability detection method, device, equipment and readable storage medium
CN110866196A (en) Printer network information acquisition method and device and electronic equipment
CN112214182B (en) Printer identification method and device, electronic equipment and storage medium
CN115309968A (en) Method and device for generating webpage fingerprint rule based on resource search engine
CN111368231B (en) Method and device for testing heterogeneous redundancy architecture website
CN115001724B (en) Network threat intelligence management method, device, computing equipment and computer readable storage medium
CN109241537B (en) Information processing method and information processing apparatus
CN110825976A (en) Website page detection method and device, electronic equipment and medium
CN112214181B (en) Printer WEB information extraction method and device, electronic equipment and storage medium
CN115048533B (en) Knowledge graph construction method and device, electronic equipment and readable storage medium
CN114070819B (en) Malicious domain name detection method, device, electronic device and storage medium
CN110795616B (en) Data collection method and device
JP5063568B2 (en) Search control apparatus and index creation method for creating an index used for web page search for portable terminals

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