WO2015109939A1 - Imaging device, secure imaging method thereof and imaging system - Google Patents

Imaging device, secure imaging method thereof and imaging system Download PDF

Info

Publication number
WO2015109939A1
WO2015109939A1 PCT/CN2015/070127 CN2015070127W WO2015109939A1 WO 2015109939 A1 WO2015109939 A1 WO 2015109939A1 CN 2015070127 W CN2015070127 W CN 2015070127W WO 2015109939 A1 WO2015109939 A1 WO 2015109939A1
Authority
WO
WIPO (PCT)
Prior art keywords
password
user
imaging device
random number
printed
Prior art date
Application number
PCT/CN2015/070127
Other languages
French (fr)
Chinese (zh)
Inventor
尹爱国
彭继兵
余成柱
Original Assignee
珠海赛纳打印科技股份有限公司
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 珠海赛纳打印科技股份有限公司 filed Critical 珠海赛纳打印科技股份有限公司
Publication of WO2015109939A1 publication Critical patent/WO2015109939A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes
    • G06F21/608Secure printing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

An imaging device, a secure imaging method thereof and an imaging system. The method comprises: generating a password based on an event triggered by a user and presenting the password to the user; receiving a first random number and an encrypted to-be-printed file sent by a computing device connected to the imaging device; based on the password and the first random number, using a first specified algorithm to generate a key; using the key to decrypt the encrypted to-be-printed file based on a second specified algorithm to obtain a decrypted to-be-printed file; and printing out the decrypted to-be-printed file. Not only does a printed file become more secure in a transmission process but also a manufacturing cost of an imaging apparatus is reduced to an extent.

Description

一种成像设备及其安全成像方法、成像系统Imaging device and safety imaging method thereof, imaging system
相关申请的交叉引用Cross-reference to related applications
本申请要求享有于2014年1月27日提交的名称为“一种成像设备及其安全成像方法、成像系统”的中国专利申请CN201410041089.6的优先权,该份申请的全部内容通过引用并入本文中。The present application claims priority to Chinese Patent Application No. CN201410041089.6, filed on Jan. 27,,,,,,,,,,,,,,, In this article.
技术领域Technical field
本发明涉及一种成像领域,尤其涉及一种成像设备及其安全成像方法、成像系统。The present invention relates to the field of imaging, and in particular to an imaging device, a security imaging method thereof, and an imaging system.
背景技术Background technique
近年来,网络打印机的出现使更多的计算机能够实现共享打印,优化了办公需求。但在计算机和打印机之间通过网络明文传输打印数据时,监听者可以通过截获网络数据包,从而很容易就获知打印内容。这样,很可能会造成商业机密或个人信息泄露。In recent years, the advent of network printers has enabled more computers to share prints and optimize office needs. However, when the print data is transmitted between the computer and the printer through the network in plain text, the listener can easily obtain the printed content by intercepting the network data packet. In this way, it is likely to cause trade secrets or personal information to be leaked.
为了解决这个问题,有一种安全打印系统,由打印机和安装有打印驱动的计算机组成,计算机能够把待打印文档数据加密后再传输给打印机进行打印。具体安全成像方法流程见图1,计算机上的打印驱动在用户选择待打印文档后,产生一个随机数c,并采用算法M生成密钥D。接着,打印驱动利用密钥D结合算法N加密待打印文档数据,然后将加密后的待打印文档数据以及随机数c下发给打印机。打印机基于接收到的随机数c结合算法M生成密钥D,然后利用密钥D采用算法M解密出打印文档数据,完成打印操作。在上述安全打印系统下,打印数据虽然是加密后再传输,但由于用于生成密钥的信息均由计算机产生且需经网络传输给打印机,所以监听者通过截获随机数和加密后的打印数据,还是能通过尝试采用多种算法运算后,解密出打印数据,获知打印内容。In order to solve this problem, there is a secure printing system consisting of a printer and a computer equipped with a print driver, which can encrypt the data of the document to be printed and then transfer it to the printer for printing. The specific security imaging method flow is shown in FIG. 1. The print driver on the computer generates a random number c after the user selects the document to be printed, and generates the key D by using the algorithm M. Next, the print driver encrypts the document data to be printed by using the key D in conjunction with the algorithm N, and then issues the encrypted document data to be printed and the random number c to the printer. The printer generates a key D based on the received random number c in combination with the algorithm M, and then uses the algorithm D to decrypt the printed document data by using the algorithm M to complete the printing operation. In the above secure printing system, although the print data is encrypted and then transmitted, since the information for generating the key is generated by the computer and transmitted to the printer via the network, the listener intercepts the random number and the encrypted print data. It is still possible to decrypt the print data and obtain the print content by trying to use a variety of algorithms.
为了进一步提高打印数据的保密性,现有技术里有如下安全成像方法,具体流程见图2。在用户选择待打印文档后,计算机上的打印驱动会通知用户输入打印密码。当用户输入打印密码e,计算机上的打印驱动基于打印密 码采用算法P运算出密钥F,并基于密钥F采用算法Q加密待打印文档数据,然后下发给打印机。打印机在接收到待打印文档数据后,通过显示屏提醒用户输入打印密码。当用户输入打印密码e后,打印机就利用用户输入的打印密码e采用算法P计算出密钥F,然后基于密钥F采用算法Q解密打印数据,并将解密后的打印数据完成打印。由于此种安全成像方法中和密钥相关的数据没有通过线路传输,监听者无法截获,加密安全,但需要打印机带有显示屏和大量按键,用于提醒通知以及打印密码输入,增加了打印机的体积及成本。In order to further improve the confidentiality of the print data, the following security imaging methods are available in the prior art, and the specific process is shown in FIG. 2. After the user selects the document to be printed, the print driver on the computer notifies the user to enter the print password. When the user enters the print password e, the print driver on the computer is based on the print password. The code uses the algorithm P to calculate the key F, and based on the key F, the algorithm Q is used to encrypt the document data to be printed, and then sent to the printer. After receiving the document data to be printed, the printer reminds the user to input the print password through the display screen. After the user inputs the print password e, the printer uses the algorithm P to calculate the key F by using the print password e input by the user, and then uses the algorithm Q to decrypt the print data based on the key F, and completes the printing of the decrypted print data. Because the key-related data in this security imaging method is not transmitted through the line, the listener cannot intercept, the encryption is secure, but the printer is required to have a display screen and a large number of buttons for reminding notifications and printing password input, which increases the printer's Volume and cost.
发明内容Summary of the invention
本发明所要解决的技术问题之一是需要提供一种既能使得打印文件在传输过程中更加安全又能一定程度上节约成像装置制造成本的成像设备及其安全成像方法、成像系统。One of the technical problems to be solved by the present invention is to provide an imaging device, a security imaging method, and an imaging system that can make the printing file more secure in the transmission process and can save the manufacturing cost of the imaging device to a certain extent.
为了解决上述技术问题,本发明提供了一种成像设备的安全成像方法。该方法包括:根据用户触发事件生成密码并向用户呈现所述密码;接收从与所述成像设备连接的计算设备发来的第一随机数;接收从与所述成像设备连接的计算设备发来的进行了加密的待打印文件;基于所述密码和所述第一随机数利用第一设定算法生成密钥;利用所述密钥基于第二设定算法对所述进行了加密的待打印文件进行解密,得到解密后的待打印文件;打印输出所述解密后的待打印文件。In order to solve the above technical problems, the present invention provides a security imaging method of an imaging apparatus. The method includes generating a password according to a user triggering event and presenting the password to a user, receiving a first random number sent from a computing device connected to the imaging device, and receiving from a computing device connected to the imaging device Encrypted file to be printed; generating a key based on the password and the first random number using a first setting algorithm; using the key to encrypt the to-be-printed based on a second setting algorithm The file is decrypted to obtain a decrypted file to be printed; and the decrypted file to be printed is printed out.
此外,所述用户触发事件可进一步包括用户从所述成像设备输入触发指示或者用户通过与所述成像设备连接的计算设备向所述成像设备发送触发指示。Moreover, the user triggering event can further include the user inputting a trigger indication from the imaging device or the user transmitting a trigger indication to the imaging device via a computing device coupled to the imaging device.
此外,所述根据用户触发事件生成密码的步骤可进一步包括根据如下信息至少之一生成所述密码:作为用户触发事件的用户对所述成像设备按键操作的属性;发生所述用户触发事件时所述成像设备的状态;发生所述用户触发事件时所述成像设备所处环境属性。In addition, the step of generating a password according to the user triggering event may further comprise: generating the password according to at least one of the following information: an attribute of a user operating as a user triggering event to the imaging device; and when the user triggering event occurs The state of the imaging device; the environmental property of the imaging device when the user trigger event occurs.
此外,所述用户对所述成像设备按键操作的属性可进一步包括两次按键的时间间隔、按键时长和/或按键时刻。In addition, the attribute of the user operating the button of the imaging device may further include a time interval of two buttons, a button duration, and/or a button moment.
进一步,该方法还可包括:在接收到从所述成像设备或与所述成像设备连接的计算设备输入的密码生成锁定信号时,所述成像设备设置为密码锁定状态;在接收到从所述成像设备或与所述成像设备连接的计算设备输入的密码生成解锁信号时,所述成像设备设置为密码解锁状态。Further, the method may further include: upon receiving a password generation lock signal input from the imaging device or a computing device connected to the imaging device, the imaging device is set to a password lock state; upon receiving from the The image forming device is set to a password unlock state when a password input by the imaging device or the computing device connected to the imaging device generates an unlock signal.
进一步,该方法还可包括:在发生了用户触发事件时,判断所述成像设 备是否处于所述密码锁定状态;仅在判断结果为否时才根据用户触发事件生成密码并向用户呈现所述密码。Further, the method may further include: determining the imaging device when a user trigger event occurs Whether the device is in the password lock state; only when the judgment result is no, the password is generated according to the user trigger event and the password is presented to the user.
此外,所述向用户呈现所述密码的步骤可进一步包括打印输出所述密码或在所述成像设备的显示器上显示所述密码。Moreover, the step of presenting the password to a user can further include printing the password or displaying the password on a display of the imaging device.
此外,根据用户触发事件生成密码的步骤可进一步包括,基于根据所述用户触发事件生成第二随机数,将所述第二随机数作为密码,或者对所述第二随机数进行一次或一次以上的运算以生成所述密码。In addition, the step of generating a password according to the user triggering event may further include: generating the second random number according to the user triggering event, using the second random number as a password, or performing the second random number one or more times The operation to generate the password.
根据本发明又一方面,还提供了一种成像设备。该设备包括:第一密码产生单元,根据用户触发事件生成密码并向用户呈现所述密码;第一接口单元,接收从与所述成像设备连接的计算设备发来的第一随机数和进行了加密的待打印文件;打印数据解密单元,基于所述密码和所述第一随机数利用第一设定算法生成密钥,利用所述密钥基于第二设定算法对所述进行了加密的待打印文件进行解密,得到解密后的待打印文件;成像单元,打印输出所述解密后的待打印文件。According to still another aspect of the present invention, an image forming apparatus is also provided. The device includes: a first password generating unit, generating a password according to a user triggering event and presenting the password to a user; the first interface unit receiving the first random number sent from the computing device connected to the imaging device and performing An encrypted file to be printed; a print data decryption unit that generates a key based on the password and the first random number using a first setting algorithm, and encrypts the key based on a second setting algorithm using the key The file to be printed is decrypted to obtain a decrypted file to be printed; and the image forming unit prints out the decrypted file to be printed.
此外,所述密码产生单元可进一步用于根据作为用户触发事件的用户从所述成像设备输入触发指示或者用户通过与所述成像设备连接的计算设备向所述成像设备发送触发指示来生成密码。Further, the password generation unit may be further configured to generate a password according to a user input as a user trigger event inputting a trigger indication from the imaging device or a user transmitting a trigger indication to the imaging device through a computing device connected to the imaging device.
此外,所述密码产生单元可进一步用于根据如下信息至少之一生成所述密码:作为用户触发事件的用户对所述成像设备按键操作的属性;发生用户触发事件时所述成像设备的状态;发生用户触发事件时所述成像设备所处环境属性,其中,所述用户对所述成像设备按键操作的属性进一步包括各个按键的时间间隔、按键时长和/或按键时刻。In addition, the password generating unit may be further configured to generate the password according to at least one of the following information: an attribute of a user operating as a user triggering event to the imaging device; and a state of the imaging device when a user triggering event occurs; The environment attribute of the imaging device when the user triggers an event, wherein the attribute of the user operating the button of the imaging device further includes a time interval of each button, a button duration, and/or a button moment.
此外,所述密码产生单元可进一步用于,在接收到从所述成像设备输入的或从与所述成像设备连接的计算设备接收的密码生成锁定信号时,所述成像设备设置为密码锁定状态;在接收到从所述成像设备输入的或从与所述成像设备连接的计算设备接收的密码生成解锁信号时,所述成像设备设置为密码解锁状态;以及,在发生了用户触发事件时,判断所述成像设备是否处于所述密码锁定状态,仅在判断结果为否时才根据用户触发事件生成密码并向用户呈现所述密码。Furthermore, the password generating unit may be further configured to set the image forming device to a password lock state upon receiving a password generation lock signal input from the image forming device or received from a computing device connected to the image forming device The imaging device is set to a password unlock state upon receiving a password input from the imaging device or received from a computing device connected to the imaging device; and, when a user triggering event occurs, Determining whether the imaging device is in the password lock state, and generating a password according to the user trigger event and presenting the password to the user only when the determination result is negative.
此外,所述设备还可包括密码生成按钮,其中,在用户按压所述密码生成按钮时,发生所述用户触发事件。Additionally, the device can also include a password generation button, wherein the user trigger event occurs when the user presses the password generation button.
此外,所述密码产生单元可进一步包括作为硬件或软件实现的随机数发生器,所述随机数发生器根据所述用户触发事件生成第二随机数,并将所述 第二随机数作为密码、或者对所述第二随机数进行一次或一次以上的运算以生成所述密码。Furthermore, the password generating unit may further include a random number generator implemented as hardware or software, the random number generator generating a second random number according to the user trigger event, and The second random number is used as a password, or one or more operations are performed on the second random number to generate the password.
此外,所述打印数据解密单元可进一步用于,在所述成像设备保存有之前生成的密钥时,利用所保存的密钥基于所述第二设定算法对所述进行了加密的待打印文件进行解密,得到解密后的待打印文件。Furthermore, the print data decryption unit may be further configured to: when the image forming device saves the previously generated key, use the saved key to encrypt the to-be-printed based on the second setting algorithm The file is decrypted to obtain the decrypted file to be printed.
根据本发明又一方面,还提供了一种成像系统。该系统包括前述技术方案的成像设备和与所述成像设备连接的计算设备,其中,所述计算设备包括第二密码产生单元、打印数据加密单元和第二接口单元:所述第二密码产生单元用于生成所述第一随机数,基于所述第一随机数和用户输入的由所述成像设备的所述密码产生单元生成的密码、利用所述第一设定算法来生成密钥;所述打印数据加密单元用于利用所述密钥基于与所述第二设定算法对应的加密算法来对待打印文件进行加密;所述第二接口单元用于将所述第一随机数和加密后的待打印文件传输至所述成像设备。According to yet another aspect of the present invention, an imaging system is also provided. The system includes an imaging device of the foregoing technical solution and a computing device connected to the imaging device, wherein the computing device includes a second password generating unit, a print data encryption unit, and a second interface unit: the second password generating unit Generating the first random number, generating a key by using the first setting algorithm based on the first random number and a password input by the user input by the password generating unit of the imaging device; The print data encryption unit is configured to encrypt the file to be printed based on the encryption algorithm corresponding to the second setting algorithm by using the key; the second interface unit is configured to encrypt the first random number and The file to be printed is transferred to the imaging device.
此外,所述第二密码产生单元可进一步用于,在基于所述第一随机数和用户输入的由所述成像设备的所述密码产生单元生成的密码、利用所述第一设定算法来生成密钥时:若所述计算设备保存有用户之前输入的由所述成像设备的所述密码产生单元生成的密码,则基于所述第一随机数和用户之前输入的由所述成像设备的所述密码产生单元生成的密码、利用所述第一设定算法来生成密钥。Furthermore, the second password generating unit may be further configured to use the first setting algorithm based on the first random number and a password input by the user input by the password generating unit of the imaging device. When the key is generated: if the computing device holds a password generated by the password generating unit of the imaging device previously input by the user, based on the first random number and previously input by the user by the imaging device The password generated by the password generating unit generates a key by using the first setting algorithm.
与现有技术相比,本发明的一个或多个实施例可以具有如下优点:在本发明中由于在打印机10侧生成密码且该不在网络中传输该密码,非法用户难以拦截网络或破解计算设备的密码生成算法来获取该密码,因此在大大增加了打印文件的安全性的同时无需在打印机侧设置复杂的用于输入密码的键盘。Compared with the prior art, one or more embodiments of the present invention may have the following advantages: in the present invention, since a password is generated on the printer 10 side and the password is not transmitted in the network, it is difficult for an illegal user to intercept the network or crack the computing device. The password generation algorithm acquires the password, so that the security of the print file is greatly increased without setting a complicated keyboard for inputting a password on the printer side.
本发明的其他优点、目标和特征在某种程度上将在随后的说明书中进行阐述,并且在某种程度上,基于对下文的考察研究对本领域技术人员而言将是显而易见的,或者可以从本发明的实践中得到教导。本发明的目标和其他优点可以通过下面的说明书,权利要求书,以及附图中所特别指出的结构来实现和获得。Other advantages, objects, and features of the invention will be set forth in part in the description which follows, and in the <RTIgt; The teachings of the present invention are taught. The objectives and other advantages of the invention may be realized and obtained in the <RTIgt;
附图说明DRAWINGS
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例共同用于解释本发明,并不构成对本发明的限制。在附图中: The drawings are intended to provide a further understanding of the invention, and are intended to be a part of the description of the invention. In the drawing:
图1为现有技术中一种安全成像方法的流程图;1 is a flow chart of a safety imaging method in the prior art;
图2为现有技术中另一种安全成像方法的流程图;2 is a flow chart of another safety imaging method in the prior art;
图3为根据本发明实施例的成像系统的模块结构示意图;3 is a block diagram showing the structure of an imaging system according to an embodiment of the present invention;
图4为根据本发明实施例的安全成像方法的流程图。4 is a flow chart of a secure imaging method in accordance with an embodiment of the present invention.
具体实施方式detailed description
以下将结合附图及实施例来详细说明本发明的实施方式,借此对本发明如何应用技术手段来解决技术问题,并达成技术效果的实现过程能充分理解并据以实施。需要说明的是,只要不构成冲突,本发明中的各个实施例以及各实施例中的各个特征可以相互结合,所形成的技术方案均在本发明的保护范围之内。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and embodiments, in which the present invention can be applied to the technical problems, and the implementation of the technical effects can be fully understood and implemented. It should be noted that the various embodiments of the present invention and the various features of the various embodiments may be combined with each other, and the technical solutions formed are all within the scope of the present invention.
另外,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。Additionally, the steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions, and although the logical order is illustrated in the flowchart, in some cases may be different The steps shown or described are performed in the order herein.
为了解决上述的安全打印问题,本发明提供一种安全打印系统,包括计算设备和成像设备,其中计算设备上安装有成像设备的驱动,用户可以通过计算设备挑选待打印文档或图片,并发送给成像设备打印输出。上述的计算设备指手机、PDA(Personal Digital Assistant,个人数字)、计算机、平板电脑、笔记本等设备。本发明的成像设备指打印机、扫描仪、复印机、传真机、或者集打印、复印、扫描、传真一身的多功能一体机(MFP)等。为了便于说明,以下以计算机作为计算设备的例子以及以打印机作为成像设备的例子来进行详细说明。In order to solve the above problem of security printing, the present invention provides a security printing system, including a computing device and an imaging device, wherein a driving device of the imaging device is mounted on the computing device, and the user can select a document or a picture to be printed through the computing device and send it to the The imaging device prints out. The above computing devices refer to mobile phones, PDAs (Personal Digital Assistants, personal digital), computers, tablets, notebooks and the like. The image forming apparatus of the present invention refers to a printer, a scanner, a copying machine, a facsimile machine, or a MFP which integrates printing, copying, scanning, and facsimile. For convenience of explanation, the following will be described in detail by taking a computer as an example of a computing device and a printer as an example of an image forming apparatus.
图3是安全成像系统的模块结构图。打印机10包括控制单元101、密码产生单元102(对应于第一密码产生单元)、打印数据解密单元103、检测单元104、输入单元105、接口单元106(对应于第一接口单元)、成像单元107。控制单元101用于控制打印机里各单元模块的工作。密码产生单元102用于根据用户触发事件生成密码并向用户呈现所述密码。接口单元106用于和计算设备20通信,接收计算设备20发送的打印信息。打印数据解密单元103用于基于密码产生单元102生成的密码和通过接口单元106从计算设备20接收到的第一随机数利用第一设定算法生成密钥,并利用所生成的密钥基于第二设定算法对通过接口单元106从计算设备20接收到的进行了加密的待打印文件进行解密,得到解密后的待打印文件。控制单元101、打印数据解密单元103和密码产生单元102可以通过共用的处理器结合存储器存储的相应软 件的方式实现,也可以各自采用各自单独芯片来实现。3 is a block diagram of a security imaging system. The printer 10 includes a control unit 101, a password generation unit 102 (corresponding to a first password generation unit), a print data decryption unit 103, a detection unit 104, an input unit 105, an interface unit 106 (corresponding to a first interface unit), and an imaging unit 107. . The control unit 101 is used to control the operation of each unit module in the printer. The password generation unit 102 is configured to generate a password according to a user trigger event and present the password to the user. The interface unit 106 is configured to communicate with the computing device 20 to receive print information transmitted by the computing device 20. The print data decryption unit 103 is configured to generate a key using the first setting algorithm based on the password generated by the password generation unit 102 and the first random number received from the computing device 20 through the interface unit 106, and based on the generated key. The second setting algorithm decrypts the encrypted file to be printed received from the computing device 20 through the interface unit 106, and obtains the decrypted file to be printed. The control unit 101, the print data decryption unit 103, and the password generation unit 102 can combine the corresponding soft memory storage by a shared processor. The implementation of the methods can also be implemented by using separate chips.
成像单元107用于打印输出解密后的待打印文件,以完成成像作业。The imaging unit 107 is configured to print out the decrypted file to be printed to complete an imaging job.
优选地,用户从打印机10的输入单元105输入触发指示。密码产生单元102将用户输入的触发指示作为用户触发事件,根据该触发指示来生成密码。在这种情况下,更优先地,检测单元104检测作为用户触发事件的例如用户对所述成像设备按键操作的属性、发生用户触发事件时所述成像设备的状态、发生用户触发事件时所述成像设备所处环境属性等中的一个或多个。对所述成像设备按键操作的属性可以包括各个按键的时间间隔(例如两次按下开始键的时间间隔)、按键时长和/或按键时刻等。成像设备的状态可包括成像设备的电源上电/掉电情况、成像设备所执行的作业数量等。所述成像设备所处环境属性可包括机箱内或机箱外的温度值、湿度值等环境因素等。检测单元104将检测结果发送给密码产生单元102。密码产生单元102根据用户触发事件及检测单元104的检测结果来生产密码。针对触发事件的不同检测结果,会生成不同的打印密码,如两次点击按键之间的时长为3秒时,生成24325156作为打印密码;当两次点击按键之间的时长为5秒时,生成43216789作为打印密码。简而言之,密码产生单元102在接收到用户触发事件后,基于检测单元104的检测结果生成密码,密码产生单元102可以是硬件模块,也可以是软件程序。Preferably, the user inputs a trigger indication from the input unit 105 of the printer 10. The password generation unit 102 uses the trigger indication input by the user as a user trigger event, and generates a password according to the trigger indication. In this case, more preferentially, the detecting unit 104 detects, as a user triggering event, for example, an attribute of a user's operation on the imaging device key, a state of the imaging device when a user triggering event occurs, and a user triggering event when the user triggers an event One or more of the environmental properties and the like in which the imaging device is located. The attributes of the button operation of the imaging device may include a time interval of each button (eg, a time interval in which the start button is pressed twice), a button duration, and/or a button moment, and the like. The state of the image forming apparatus may include a power-on/power-down condition of the image forming apparatus, a number of jobs performed by the image forming apparatus, and the like. The environmental attributes of the imaging device may include environmental factors such as temperature values, humidity values, etc. within or outside the chassis. The detecting unit 104 transmits the detection result to the password generating unit 102. The password generation unit 102 generates a password based on the user trigger event and the detection result of the detecting unit 104. Different printing passwords are generated for different detection results of the triggering event. For example, when the time between two clicks is 3 seconds, 24325156 is generated as the printing password; when the duration between the two clicks is 5 seconds, the generation is generated. 43216789 as the print password. In short, after receiving the user trigger event, the password generating unit 102 generates a password based on the detection result of the detecting unit 104. The password generating unit 102 may be a hardware module or a software program.
优选地,密码产生单元102包括一随机数发生器。随机数发生器根据所述用户触发事件生成第二随机数。密码产生单元102可直接将第二随机数作为密码,也可以对随机数发生器产生的第二随机数进行一次或一次以上的运算以生成所述密码。更具体地,上述密码可以是被打印机多次加密后得到,如密码产生单元102生成第二随机数,然后通过多次的算法运算,使得该随机数位数更长、内容更随机,更不易被他人解密。上述的算法最好是对称算法,加密简单,如SM2、SM3、SM4等符合国家商密规定的对称算法。Preferably, the password generation unit 102 includes a random number generator. The random number generator generates a second random number based on the user trigger event. The password generating unit 102 may directly use the second random number as a password, or may perform one or more operations on the second random number generated by the random number generator to generate the password. More specifically, the password may be obtained by being repeatedly encrypted by the printer. For example, the password generating unit 102 generates a second random number, and then performs a plurality of arithmetic operations, so that the random number of digits is longer, the content is more random, and the content is more difficult to be Decryption by others. The above algorithm is preferably a symmetric algorithm, and the encryption is simple, such as SM2, SM3, SM4, etc., which are in accordance with the strict rules of the state.
此外,前述的用户触发事件也可以是通过与打印机10连接的计算设备发来的触发指示。打印机10与计算设备间的连接可以是有线或无线的方式,有线可以是USB、网线、串口线、并口线等,无线可以是wifi、蓝牙、红外等。此外,该计算设备还可以为任意计算设备,亦即,不限于要给打印机10发送打印作业的计算设备20。Additionally, the aforementioned user triggering event may also be a triggering indication sent by a computing device connected to the printer 10. The connection between the printer 10 and the computing device may be wired or wireless. The wired connection may be USB, network cable, serial cable, parallel cable, etc., and the wireless may be wifi, Bluetooth, infrared, or the like. Moreover, the computing device can also be any computing device, that is, not limited to computing device 20 that is to send a print job to printer 10.
输入单元105是用户的指令输入接口,可以为按键。例如,输入单元105可包括密码生成按钮,在用户按压所述密码生成按钮时,发生所述用户触发事件。The input unit 105 is an instruction input interface of the user and can be a button. For example, the input unit 105 can include a password generation button that occurs when the user presses the password generation button.
计算设备20包括控制单元201、密码产生单元202(对应于第二密码产生 单元)、打印数据加密单元203、显示及输入单元204、接口单元205(对应于第二接口单元)。控制单元201用于控制计算设备里各单元模块的工作。密码产生单元202用于产生第一随机数,并基于该第一随机数和用户输入的由打印机10生成的密码、利用前述第一设定算法来生成密钥。打印数据加密单元203用于利用密码产生单元202生成的密钥基于前述第二设定算法对应的加密算法来对待打印文件进行加密。显示及输入单元204用于显示信息给用户,以及提供指令输入接口,可以为触摸屏、显示屏、键盘、鼠标、手写板等。接口单元205用于和打印机通信,发送第一随机数及加密后的待打印文件等打印信息。上述的密码产生单元202和打印数据加密单元203可以嵌入在打印驱动中,也可以是单独安装在计算设备20上的软件程序中。此时,计算机设备20的处理器与嵌入打印驱动或安装在计算设备硬盘中的相应的软件程序一起构成密码产生单元202和打印数据加密单元203。控制单元201、密码产生单元202和打印数据加密单元203可以共用同一处理器。The computing device 20 includes a control unit 201 and a password generating unit 202 (corresponding to the second password generation Unit), print data encryption unit 203, display and input unit 204, interface unit 205 (corresponding to the second interface unit). The control unit 201 is used to control the operation of each unit module in the computing device. The password generating unit 202 is configured to generate a first random number, and generate a key using the first setting algorithm based on the first random number and a password generated by the printer 10 input by the user. The print data encryption unit 203 is configured to encrypt the file to be printed based on the encryption algorithm corresponding to the second setting algorithm by using the key generated by the password generation unit 202. The display and input unit 204 is configured to display information to the user and provide an instruction input interface, which may be a touch screen, a display screen, a keyboard, a mouse, a tablet, or the like. The interface unit 205 is configured to communicate with the printer, and send the first random number and the encrypted print information such as the file to be printed. The above-described password generating unit 202 and print data encrypting unit 203 may be embedded in a print driver or may be separately installed in a software program on the computing device 20. At this time, the processor of the computer device 20 constitutes the password generating unit 202 and the print data encrypting unit 203 together with a corresponding software program embedded in the print driver or installed in the hard disk of the computing device. The control unit 201, the password generation unit 202, and the print data encryption unit 203 can share the same processor.
此外,为了进一步提高用户友好性,减少用户输入密码的次数,计算设备20可保存用户输入的密码以供下次打印作业使用。在这种情况下,密码产生单元202在基于第一随机数和用户输入的由所述成像设备的所述密码产生单元生成的密码、利用所述第一设定算法来生成密钥时,若计算设备20保存有用户之前输入的密码,则不再提示用户输入密码,而是直接基于其生成的第一随机数和用户之前输入的密码利用第一设定算法来生成密钥。Moreover, to further improve user friendliness, reducing the number of times a user enters a password, computing device 20 may save the password entered by the user for use in the next print job. In this case, the password generation unit 202 generates a key using the first setting algorithm based on the first random number and the password generated by the password generating unit of the imaging device input by the user. The computing device 20 saves the password previously input by the user, and then no longer prompts the user to input the password. Instead, the first setting algorithm is used to generate the key based on the first random number generated by the user and the password previously input by the user.
为了减少用户的误操作,以致不小心按到打印机侧的按键误改密码,用户可以利用打印驱动等向打印机10发送一个密码生成锁定信号,或者直接通过打印机10的输入单元105输入该密码生成锁定信号。打印机10的密码生成单元102在接收到从打印机10输入的或从与所述成像设备连接的计算设备20接收的密码生成锁定信号时,将打印机10设置为密码锁定状态,以禁止该打印机10的密码产生单元102根据用户触发事件生成新的密码。在这种情况下,当发生了用户触发事件时,打印机10的密码产生单元102先判断其是否处于所述密码锁定状态,仅在判断结果为否时才根据用户触发事件生成密码并向用户呈现密码。当需要生成新的打印密码时,用户可以先通过打印驱动或打印机10的输入单元105向打印机10发送一个解锁信号,在接收到从打印机10输入的或从与打印机10连接的计算设备20接收的密码生成解锁信号时,将打印机10设置为密码解锁状态。In order to reduce the user's erroneous operation, so that the password is erroneously changed by pressing the button on the printer side, the user can transmit a password generation lock signal to the printer 10 by using a print driver or the like, or directly input the password generation lock through the input unit 105 of the printer 10. signal. The password generation unit 102 of the printer 10 sets the printer 10 to a password lock state upon receiving a password generation lock signal input from the printer 10 or received from the computing device 20 connected to the imaging device to prohibit the printer 10 from being disabled. The password generation unit 102 generates a new password based on the user trigger event. In this case, when a user triggering event occurs, the password generating unit 102 of the printer 10 first determines whether it is in the password locked state, and generates a password according to the user triggering event and presents it to the user only when the determination result is negative. password. When a new print password needs to be generated, the user may first send an unlock signal to the printer 10 via the print driver or the input unit 105 of the printer 10, upon receiving the input from the printer 10 or from the computing device 20 connected to the printer 10. When the password generates an unlock signal, the printer 10 is set to the password unlock state.
虽然上面已经结合成像系统的模块结构阐述了成像方法,下面进一步结合图4的流程图来更加直观地进一步详细说明安全成像方法。前述的全部说明均可以结合于下面的方法中。 Although the imaging method has been described above in connection with the modular structure of the imaging system, the security imaging method will be further explained in further detail in more detail with reference to the flowchart of FIG. All of the foregoing descriptions can be incorporated in the following methods.
图4的左侧和右侧分别示出打印机10和计算设备20的处理流程。下面详细说明各步骤。The processing flow of the printer 10 and the computing device 20 is shown on the left and right sides of FIG. 4, respectively. Each step will be described in detail below.
步骤S110,打印机10的密码生成单元102根据用户触发事件生成密码a并向用户呈现密码a。当用户要执行打印任务时,会通过计算设备20向打印机20发送触发指示作为用户触发事件或者通过打印机20的输入单元105输入触发指示作为用户触发事件。上面关于密码生成单元102和检测单元104等的说明中详细描述了这个步骤中的处理,在此不再赘述。然后进入步骤S120。In step S110, the password generation unit 102 of the printer 10 generates a password a according to the user trigger event and presents the password a to the user. When the user wants to perform a print job, a trigger indication is sent to the printer 20 by the computing device 20 as a user trigger event or a trigger indication is input through the input unit 105 of the printer 20 as a user trigger event. The processing in this step is described in detail in the above description regarding the password generating unit 102 and the detecting unit 104, and the like, and will not be described again. Then it proceeds to step S120.
步骤S120,打印机10打印输出密码a或在其显示器上显示该密码a。这样,用户可以看到该密码a。In step S120, the printer 10 prints out the password a or displays the password a on its display. In this way, the user can see the password a.
另一方面,用户要打印文档时,用户会在计算设备20侧选择待打印的文件(例如,文档或图片等),从而触发进入步骤S210。On the other hand, when the user wants to print a document, the user selects a file to be printed (for example, a document or a picture, etc.) on the side of the computing device 20, thereby triggering the process proceeds to step S210.
步骤S210,计算设备20将用户选择的待打印文件确定为待打印文件。然后进入步骤S220。In step S210, the computing device 20 determines the file to be printed selected by the user as a file to be printed. Then it proceeds to step S220.
步骤S220,计算设备20生成随机数b。生成随机数的方式多种多样,在此不一一例举。然后进入步骤S230。In step S220, the computing device 20 generates a random number b. There are many ways to generate random numbers, but this is not an example. Then, the process proceeds to step S230.
步骤S230,计算设备20提示用户输入由打印机10在步骤S120中生成的密码a(亦即,打印机通过打印输出向用户显示的密码或利用其显示器向用户呈现的密码)。然后进入步骤S240。In step S230, the computing device 20 prompts the user to input the password a generated by the printer 10 in step S120 (i.e., the password displayed by the printer to the user by printout or the password presented to the user using its display). Then, the process proceeds to step S240.
优选的,可以在计算设备20首次利用打印机进行打印时才执行步骤230。换而言之,不需要求用户每次打印时均输入密码,可以将密码预先保存在计算设备20中。这样,用户在计算机侧首次使用计算机时输入的打印密码就一直储存在计算机里,直到有新的打印密码输入,覆盖原来的打印密码。新的打印密码是由用户重新按压打印机的按键生成的。上面关于计算设备20的密码生成单元202的说明中已经进行了详细描述,在此不再赘述。Preferably, step 230 may be performed when computing device 20 first uses the printer for printing. In other words, the password is not required to be entered each time the user prints, and the password can be pre-stored in the computing device 20. Thus, the print password entered by the user when using the computer for the first time on the computer side is stored in the computer until a new print password is entered, overwriting the original print password. The new print password is generated by the user pressing the button of the printer. The above description has been made in the description of the password generating unit 202 of the computing device 20, and details are not described herein again.
此外,计算设备20甚至可以允许用户在安装打印机驱动时或安装打印机驱动之后的任意时刻通过用户界面输入密码a,并保存用户输入的密码a。该用户界面可以作为驱动程序的一部分实现,也可以利用单独的程序实现。Further, the computing device 20 may even allow the user to enter the password a through the user interface at any time after installing the printer driver or after installing the printer driver, and save the password a entered by the user. This user interface can be implemented as part of the driver or as a separate program.
此外,计算设备20还可以在密码产生单元202生成密钥后,保存所生成的密钥。这样,密码产生单元202在生成密钥之前,可判断计算设备20是否保存有之前生成的密钥。若所述计算设备保存有之前生成的密钥,则直接获取所保存的密钥,而无需再次基于第一随机数b和密码a来生成密钥。而当打印机在基于用户触发事件生成新的密码时,则计算设备20的密码产生单 元202可根据在打印机的通知或用户的主动操作来提示用户输入新的密码,获取用户输入的新密码并生成新的随机数,然后基于该新密码和其该新的随机数来生成新的密钥并存储该新的密钥。实际上,用户可通过软件界面上设置的按钮等在任意时刻执行输入密码的操作,以触发计算设备20的密码生成单元202生成新的随机数和新密钥并存储之。每当密码生成单元202生成了新随机数后,会将该新随机数发送至成像设备10。Further, the computing device 20 may also save the generated key after the password generation unit 202 generates the key. Thus, the password generation unit 202 can determine whether the computing device 20 holds the previously generated key before generating the key. If the computing device saves the previously generated key, the saved key is directly acquired without generating the key based on the first random number b and the password a again. And when the printer generates a new password based on the user trigger event, then the password generation list of the computing device 20 The element 202 can prompt the user to input a new password according to the notification of the printer or the active operation of the user, acquire a new password input by the user and generate a new random number, and then generate a new one based on the new password and the new random number thereof. Key and store the new key. In fact, the user can perform an operation of inputting a password at any time through a button or the like set on the software interface to trigger the password generation unit 202 of the computing device 20 to generate and store a new random number and a new key. Each time the password generation unit 202 generates a new random number, the new random number is transmitted to the imaging device 10.
上述使得计算设备的密码产生单元202重新生成随机数的具体步骤可以为打印机发送信号通知计算设备重新生成随机数,或者用户通过选中计算设备上打印驱动的操作界面上的重置按钮清除计算设备里存储的密钥,或者用户通过选中计算设备上打印驱动的操作界面上的复位按钮使得计算设备重新生成随机数等等。The specific step of causing the password generating unit 202 of the computing device to regenerate the random number may send a signal to the computing device to notify the computing device to regenerate the random number, or the user clears the computing device by selecting a reset button on the operation interface of the print driver on the computing device. The stored key, or the user resets the random number by the computing device by selecting a reset button on the operator interface of the print driver on the computing device.
需要强调的是,本发明的密码a由打印机10生成,而非计算设备侧生成,且不通过网络在计算设备和打印机之间传输该密码,这样,即简化了打印机的设置(不要求打印机具备丰富的数字或字母等输入按钮)又提高了安全性。It should be emphasized that the password a of the present invention is generated by the printer 10, not generated by the computing device side, and is not transmitted between the computing device and the printer through the network, thus simplifying the setting of the printer (the printer is not required to have Rich input of numbers or letters, etc.) increases security.
步骤S240,计算机20基于密码a和第一随机数b,采用算法S生成密钥K。然后进入步骤S250。In step S240, the computer 20 generates the key K using the algorithm S based on the password a and the first random number b. Then it proceeds to step S250.
步骤S250,计算机20利用密钥K和算法H对待打印文件进行加密,得到加密后的待打印文件。然后进入步骤S260。In step S250, the computer 20 encrypts the print file by using the key K and the algorithm H to obtain the encrypted file to be printed. Then it proceeds to step S260.
步骤S260,计算机20将加密后的打印文件和第一随机数b等打印信息发送给打印机10。步骤S260将触发打印机执行步骤S130。In step S260, the computer 20 transmits the encrypted print file and the print information such as the first random number b to the printer 10. Step S260 will trigger the printer to perform step S130.
步骤S130,打印机10接收第一随机数b;Step S130, the printer 10 receives the first random number b;
步骤S135,打印机10接收进行了加密的待打印文件等打印信息。此外,打印信息还可以包括明文的打印指令等。In step S135, the printer 10 receives the print information such as the file to be printed which has been encrypted. In addition, the print information may also include plain text print instructions and the like.
步骤S140,打印机10基于密码a和第一随机数b利用算法S生成密钥K,其中密码a即由打印机10在步骤S110中生成的密码a。由于打印机侧与计算设备侧所采用的密码、随机数、和算法均一致,因此将生成与计算设备侧一致的密钥。由于密码在打印机10侧生成且不利用网络传输密码,非法用户难以拦截网络或破解计算设备的密码生成算法来获取该密码,因此大大增加了打印文件的安全性。然后进入步骤S150。In step S140, the printer 10 generates a key K using the algorithm S based on the password a and the first random number b, wherein the password a is the password a generated by the printer 10 in step S110. Since the password, random number, and algorithm used by the printer side and the computing device side are identical, a key that is consistent with the computing device side will be generated. Since the password is generated on the printer 10 side and the password is not transmitted by the network, it is difficult for the illegal user to intercept the network or crack the password generation algorithm of the computing device to acquire the password, thereby greatly increasing the security of the printed file. Then it proceeds to step S150.
步骤S150,打印机10利用密钥K基于与算法H对应的解密算法对进行了加密的待打印文件进行解密。然后进入步骤S160。In step S150, the printer 10 decrypts the encrypted file to be printed based on the decryption algorithm corresponding to the algorithm H using the key K. Then it proceeds to step S160.
步骤S160,打印机10打印输出解密后的待打印文件。 In step S160, the printer 10 prints out the decrypted file to be printed.
顺便一提的是,上述步骤S130和步骤S135可合并为同一步骤。亦即,计算设备20可将第一随机数b作为打印信息的一部分,与进行了加密的待打印文件一并发送打印机10,打印机10一并接收到计算设备20发来的第一随机数b和进行了加密的待打印文件。Incidentally, the above steps S130 and S135 can be combined into the same step. That is, the computing device 20 can transmit the first random number b as part of the print information to the printer 10 along with the encrypted file to be printed, and the printer 10 receives the first random number b sent by the computing device 20 And the encrypted file to be printed.
此外,计算设备20可以在执行打印任务之前的任何时间将第一随机数b传送给打印机10。亦即,上述步骤S130可以在步骤S140之前的任意时刻执行,例如,可以在步骤S110之前执行。打印机10在接收到加密的待打印文件时,可以基于在步骤S130之前从计算设备20接收到的第一随机数b和打印机10在步骤S110中生成的密码a来进行解密。Moreover, computing device 20 can communicate the first random number b to printer 10 at any time prior to executing the print job. That is, the above step S130 may be performed at any time before step S140, for example, may be performed before step S110. Upon receiving the encrypted file to be printed, the printer 10 may perform decryption based on the first random number b received from the computing device 20 before step S130 and the password a generated by the printer 10 in step S110.
此外,步骤S140也可以在步骤S135之前进行。在执行步骤S140之后,打印机10可以将S140中的密钥保存起来。在这种情况下,打印机10无需在每次接收到打印信息时均执行步骤S130和S140,而是在执行步骤S135之后,直接进入步骤S150以利用保存的之前生成的密钥基于与算法H对应的解密算法对进行了加密的待打印文件进行解密。换而言之,打印数据解密单元103在成像设备10保存有之前生成的密钥时,利用所保存的密钥基于所述第二设定算法对所述进行了加密的待打印文件进行解密,得到解密后的待打印文件。Further, step S140 may also be performed before step S135. After performing step S140, the printer 10 can save the key in S140. In this case, the printer 10 does not need to perform steps S130 and S140 each time the print information is received, but after performing step S135, directly proceeds to step S150 to utilize the previously generated key based on the saved algorithm. The decryption algorithm decrypts the encrypted file to be printed. In other words, when the imaging device 10 holds the previously generated key, the print data decryption unit 103 decrypts the encrypted file to be printed based on the second setting algorithm using the saved key. The decrypted file to be printed is obtained.
另外,关于密码a的存储可以采用后一次产生的密码覆盖前一次产生的密码,或者顺序存储到相应存储器里,每次都利用后存储的密码,当存储器满时,再全部擦除。In addition, regarding the storage of the password a, the password generated by the previous generation may be used to overwrite the previously generated password, or sequentially stored in the corresponding memory, and the password stored after each use is used, and when the memory is full, all are erased.
虽然本发明所揭露的实施方式如上,但所述的内容只是为了便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属技术领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式上及细节上作任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。 While the embodiments of the present invention have been described above, the described embodiments are merely illustrative of the embodiments of the invention, and are not intended to limit the invention. Any modification and variation of the form and details of the invention may be made by those skilled in the art without departing from the spirit and scope of the invention. It is still subject to the scope defined by the appended claims.

Claims (17)

  1. 一种成像设备的安全成像方法,其特征在于,包括:A security imaging method for an imaging device, comprising:
    根据用户触发事件生成密码并向用户呈现所述密码;Generating a password according to a user trigger event and presenting the password to the user;
    接收从与所述成像设备连接的计算设备发来的第一随机数;Receiving a first random number sent from a computing device connected to the imaging device;
    接收从与所述成像设备连接的计算设备发来的进行了加密的待打印文件;Receiving an encrypted file to be printed sent from a computing device connected to the imaging device;
    基于所述密码和所述第一随机数利用第一设定算法生成密钥;Generating a key using the first setting algorithm based on the password and the first random number;
    利用所述密钥基于第二设定算法对所述进行了加密的待打印文件进行解密,得到解密后的待打印文件;Decrypting the encrypted file to be printed based on the second setting algorithm by using the key to obtain a decrypted file to be printed;
    打印输出所述解密后的待打印文件。The decrypted file to be printed is printed out.
  2. 根据权利要求1所述的方法,其特征在于,所述用户触发事件进一步包括用户从所述成像设备输入触发指示或者用户通过与所述成像设备连接的计算设备向所述成像设备发送触发指示。The method of claim 1 wherein the user triggering event further comprises a user inputting a trigger indication from the imaging device or a user transmitting a trigger indication to the imaging device via a computing device coupled to the imaging device.
  3. 根据权利要求2所述的方法,其特征在于,所述根据用户触发事件生成密码的步骤进一步包括根据如下信息至少之一生成所述密码:The method of claim 2, wherein the step of generating a password based on the user triggering event further comprises generating the password according to at least one of the following information:
    作为用户触发事件的用户对所述成像设备按键操作的属性;An attribute of a user operating as a user triggering event to the imaging device;
    发生所述用户触发事件时所述成像设备的状态;The state of the imaging device when the user trigger event occurs;
    发生所述用户触发事件时所述成像设备所处环境属性。The environmental attributes of the imaging device when the user trigger event occurs.
  4. 根据权利要求3所述的方法,其特征在于,所述用户对所述成像设备按键操作的属性进一步包括两次按键的时间间隔、按键时长和/或按键时刻。The method according to claim 3, wherein the attribute of the user operating the button of the imaging device further comprises a time interval of two key presses, a button duration and/or a button moment.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 4, further comprising:
    在接收到从所述成像设备或与所述成像设备连接的计算设备输入的密码生成锁定信号时,所述成像设备设置为密码锁定状态;The imaging device is set to a password lock state upon receiving a password generation lock signal input from the imaging device or a computing device connected to the imaging device;
    在接收到从所述成像设备或与所述成像设备连接的计算设备输入的密码生成解锁信号时,所述成像设备设置为密码解锁状态。The imaging device is set to a password unlock state upon receiving a password generated unlock signal input from the imaging device or a computing device connected to the imaging device.
  6. 根据权利要求5所述的方法,其特征在于,还包括: The method of claim 5, further comprising:
    在发生了用户触发事件时,判断所述成像设备是否处于所述密码锁定状态;Determining whether the imaging device is in the password lock state when a user trigger event occurs;
    仅在判断结果为否时才根据用户触发事件生成密码并向用户呈现所述密码。The password is generated based on the user trigger event and presented to the user only if the determination is negative.
  7. 根据权利要求1至4中任一项所述的方法,其特征在于,所述向用户呈现所述密码的步骤进一步包括打印输出所述密码或在所述成像设备的显示器上显示所述密码。The method according to any one of claims 1 to 4, wherein the step of presenting the password to a user further comprises printing out the password or displaying the password on a display of the imaging device.
  8. 根据权利要求1至4中任一项所述的方法,其特征在于,根据用户触发事件生成密码的步骤进一步包括,基于根据所述用户触发事件生成第二随机数,将所述第二随机数作为密码,或者对所述第二随机数进行一次或一次以上的运算以生成所述密码。The method according to any one of claims 1 to 4, wherein the step of generating a password according to a user triggering event further comprises: based on generating a second random number according to the user triggering event, the second random number As the password, the second random number is subjected to one or more operations to generate the password.
  9. 一种成像设备,其特征在于,包括:An imaging device, comprising:
    第一密码产生单元,根据用户触发事件生成密码并向用户呈现所述密码;a first password generating unit, generating a password according to the user triggering event and presenting the password to the user;
    第一接口单元,接收从与所述成像设备连接的计算设备发来的第一随机数和进行了加密的待打印文件;a first interface unit, receiving a first random number sent from a computing device connected to the imaging device and the encrypted file to be printed;
    打印数据解密单元,基于所述密码和所述第一随机数利用第一设定算法生成密钥,利用所述密钥基于第二设定算法对所述进行了加密的待打印文件进行解密,得到解密后的待打印文件;a print data decryption unit, configured to generate a key by using a first setting algorithm based on the password and the first random number, and decrypting the encrypted file to be printed based on a second setting algorithm by using the key, Obtaining the decrypted file to be printed;
    成像单元,打印输出所述解密后的待打印文件。An image forming unit that prints out the decrypted file to be printed.
  10. 根据权利要求9所述的成像设备,其特征在于,所述密码产生单元进一步用于根据作为用户触发事件的用户从所述成像设备输入触发指示或者用户通过与所述成像设备连接的计算设备向所述成像设备发送触发指示来生成密码。The image forming apparatus according to claim 9, wherein the password generating unit is further configured to input a trigger indication from the imaging device according to a user as a user trigger event or the user inputs to a computing device connected to the imaging device The imaging device sends a trigger indication to generate a password.
  11. 根据权利要求10所述的成像设备,其特征在于,所述密码产生单元进一步用于根据如下信息至少之一生成所述密码:The image forming apparatus according to claim 10, wherein the password generating unit is further configured to generate the password according to at least one of the following information:
    作为用户触发事件的用户对所述成像设备按键操作的属性;An attribute of a user operating as a user triggering event to the imaging device;
    发生用户触发事件时所述成像设备的状态; The state of the imaging device when a user trigger event occurs;
    发生用户触发事件时所述成像设备所处环境属性,其中,The environment attribute of the imaging device when a user trigger event occurs, wherein
    所述用户对所述成像设备按键操作的属性进一步包括各个按键的时间间隔、按键时长和/或按键时刻。The attribute of the user operating the button of the imaging device further includes a time interval of each button, a button duration, and/or a button moment.
  12. 根据权利要求9所述的成像设备,其特征在于,所述密码产生单元进一步用于,The image forming apparatus according to claim 9, wherein said password generating unit is further configured to:
    在接收到从所述成像设备输入的或从与所述成像设备连接的计算设备接收的密码生成锁定信号时,所述成像设备设置为密码锁定状态;The imaging device is set to a password lock state upon receiving a password generation lock signal input from the imaging device or received from a computing device connected to the imaging device;
    在接收到从所述成像设备输入的或从与所述成像设备连接的计算设备接收的密码生成解锁信号时,所述成像设备设置为密码解锁状态;以及,Upon receiving an unlock signal generated from a password input by the imaging device or received from a computing device connected to the imaging device, the imaging device is set to a password unlock state;
    在发生了用户触发事件时,判断所述成像设备是否处于所述密码锁定状态,仅在判断结果为否时才根据用户触发事件生成密码并向用户呈现所述密码。When the user triggering event occurs, it is determined whether the imaging device is in the password lock state, and only when the determination result is no, the password is generated according to the user trigger event and the password is presented to the user.
  13. 根据权利要求9至12中任一项所述的成像设备,其特征在于,还包括密码生成按钮,其中,The image forming apparatus according to any one of claims 9 to 12, further comprising a password generation button, wherein
    在用户按压所述密码生成按钮时,发生所述用户触发事件。The user trigger event occurs when the user presses the password generation button.
  14. 根据权利要求9至12中任一项所述的成像设备,其特征在于,The image forming apparatus according to any one of claims 9 to 12, wherein
    所述密码产生单元进一步包括作为硬件或软件实现的随机数发生器,所述随机数发生器根据所述用户触发事件生成第二随机数,并将所述第二随机数作为密码、或者对所述第二随机数进行一次或一次以上的运算以生成所述密码。The password generating unit further includes a random number generator implemented as hardware or software, the random number generator generating a second random number according to the user trigger event, and using the second random number as a password or a pair The second random number is subjected to one or more operations to generate the password.
  15. 根据权利要求9至12中任一项所述的成像设备,其特征在于,所述打印数据解密单元进一步用于,在所述成像设备保存有之前生成的密钥时,利用所保存的密钥基于所述第二设定算法对所述进行了加密的待打印文件进行解密,得到解密后的待打印文件。The image forming apparatus according to any one of claims 9 to 12, wherein the print data decrypting unit is further configured to utilize the saved key when the image forming apparatus holds the previously generated key Decrypting the encrypted file to be printed based on the second setting algorithm to obtain a decrypted file to be printed.
  16. 一种成像系统,其特征在于,包括权利要求9-15的成像设备和与所述成像设备连接的计算设备,其中,所述计算设备包括第二密码产生单元、打印数据加密单元和第二接口单元:An imaging system comprising the imaging device of claims 9-15 and a computing device coupled to the imaging device, wherein the computing device comprises a second password generating unit, a print data encryption unit, and a second interface unit:
    所述第二密码产生单元用于生成所述第一随机数,基于所述第一随机数 和用户输入的由所述成像设备的所述密码产生单元生成的密码、利用所述第一设定算法来生成密钥;The second password generating unit is configured to generate the first random number, based on the first random number And generating, by the user, a password generated by the password generating unit of the imaging device, using the first setting algorithm to generate a key;
    所述打印数据加密单元用于利用所述密钥基于与所述第二设定算法对应的加密算法来对待打印文件进行加密;The print data encryption unit is configured to encrypt a file to be printed based on an encryption algorithm corresponding to the second setting algorithm by using the key;
    所述第二接口单元用于将所述第一随机数和加密后的待打印文件传输至所述成像设备。The second interface unit is configured to transmit the first random number and the encrypted file to be printed to the imaging device.
  17. 根据权利要求16的系统,其特征在于,所述第二密码产生单元进一步用于,在基于所述第一随机数和用户输入的由所述成像设备的所述密码产生单元生成的密码、利用所述第一设定算法来生成密钥时:The system according to claim 16, wherein said second password generating unit is further configured to: utilize a password generated by said password generating unit of said image forming apparatus based on said first random number and a user input When the first setting algorithm generates a key:
    若所述计算设备保存有用户之前输入的由所述成像设备的所述密码产生单元生成的密码,则基于所述第一随机数和用户之前输入的由所述成像设备的所述密码产生单元生成的密码、利用所述第一设定算法来生成密钥。 If the computing device stores a password generated by the password generating unit of the imaging device previously input by the user, based on the first random number and the password generating unit previously input by the user by the imaging device The generated password is generated using the first setting algorithm.
PCT/CN2015/070127 2014-01-27 2015-01-05 Imaging device, secure imaging method thereof and imaging system WO2015109939A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410041089.6 2014-01-27
CN201410041089.6A CN103777912B (en) 2014-01-27 2014-01-27 A kind of imaging device and its safe imaging method, imaging system

Publications (1)

Publication Number Publication Date
WO2015109939A1 true WO2015109939A1 (en) 2015-07-30

Family

ID=50570204

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/070127 WO2015109939A1 (en) 2014-01-27 2015-01-05 Imaging device, secure imaging method thereof and imaging system

Country Status (2)

Country Link
CN (1) CN103777912B (en)
WO (1) WO2015109939A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777912B (en) * 2014-01-27 2017-08-25 珠海赛纳打印科技股份有限公司 A kind of imaging device and its safe imaging method, imaging system
CN104200137A (en) * 2014-09-04 2014-12-10 成都卫士通信息产业股份有限公司 Method for guaranteeing self-security of JAVA program
CN105159626A (en) * 2015-08-21 2015-12-16 深圳马顿科技有限公司 3D printing method and system
FR3045188B1 (en) * 2015-12-14 2017-12-22 Sagemcom Broadband Sas METHOD OF SECURING A MULTIMEDIA CONTENT RECORDING IN A STORAGE MEDIUM
CN107315552B (en) * 2017-06-14 2020-12-29 宜春小马快印科技有限公司 Method and system for realizing digital copyright protection of printer
CN109426460A (en) * 2017-09-05 2019-03-05 北京立思辰计算机技术有限公司 A kind of encrypting and decrypting method for the transmission of network printing data
CN109634560B (en) * 2018-12-13 2020-09-22 泰康保险集团股份有限公司 Random number generation method, device and storage medium
CN110135176B (en) * 2019-04-26 2023-04-18 深圳市金城保密技术有限公司 Encryption method for printing data transmission
CN111959139B (en) * 2020-08-31 2022-05-13 湖南鼎一致远科技发展有限公司 Encryption system of thermal transfer printer
CN112671532B (en) * 2020-12-07 2023-03-28 华帝股份有限公司 Method for generating communication key and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184494A1 (en) * 2001-06-04 2002-12-05 Awadalla Emad M. Methods for using embedded printer description language as a security tool and printers and systems with whcih the method may be used
CN1632738A (en) * 2003-12-23 2005-06-29 联想(北京)有限公司 Print control method for ensuring data transmission security
CN101294463A (en) * 2008-06-18 2008-10-29 大连交通大学 Dynamically encrypting and unlock method based on electronic trick lock
CN101872402A (en) * 2010-05-26 2010-10-27 上海北大方正科技电脑系统有限公司 Safe printing method
CN103777912A (en) * 2014-01-27 2014-05-07 珠海赛纳打印科技股份有限公司 Imaging equipment as well as safe imaging method and imaging system thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5751060B2 (en) * 2011-07-22 2015-07-22 ブラザー工業株式会社 Printing apparatus and printing system
CN202455366U (en) * 2011-12-15 2012-09-26 王黎明 Dynamic password generation device and system comprising same
CN102799833A (en) * 2012-07-02 2012-11-28 人民搜索网络股份公司 Digital encryption and decryption method based on keying rhythm or keying force conversion

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184494A1 (en) * 2001-06-04 2002-12-05 Awadalla Emad M. Methods for using embedded printer description language as a security tool and printers and systems with whcih the method may be used
CN1632738A (en) * 2003-12-23 2005-06-29 联想(北京)有限公司 Print control method for ensuring data transmission security
CN101294463A (en) * 2008-06-18 2008-10-29 大连交通大学 Dynamically encrypting and unlock method based on electronic trick lock
CN101872402A (en) * 2010-05-26 2010-10-27 上海北大方正科技电脑系统有限公司 Safe printing method
CN103777912A (en) * 2014-01-27 2014-05-07 珠海赛纳打印科技股份有限公司 Imaging equipment as well as safe imaging method and imaging system thereof

Also Published As

Publication number Publication date
CN103777912A (en) 2014-05-07
CN103777912B (en) 2017-08-25

Similar Documents

Publication Publication Date Title
WO2015109939A1 (en) Imaging device, secure imaging method thereof and imaging system
TWI605383B (en) Secure printing between printer and print client device
US8010785B2 (en) Information processing apparatus
JP5642562B2 (en) Image forming apparatus, image forming processing method, and computer-readable recording medium on which program is recorded
US20080013727A1 (en) Image processing apparatus and image processing method
CN107683582B (en) Authentication stylus device
US8537395B2 (en) Image processing system, image processing apparatus, recording medium and data communication establishing method
JP2007140901A (en) Image processing system
US10658864B2 (en) Multifunctional wireless charging system and its data transmission method
US20180082067A1 (en) Information Sharing Server, Information Sharing System And Non-Transitory Recording Medium
JP2018078531A (en) Image formation system, print log management method
JP2009060384A (en) System and device for image communication
CN105933503B (en) Information processing method and electronic equipment
CN103853991A (en) Method and device for preventing computer device screen keyboard from being laterally recorded
US11409480B2 (en) Print method and print system for image forming device that prints re-encrypted and re-decrypted data
JP2005074772A (en) Printing device and method
KR101485968B1 (en) Method for accessing to encoded files
US11868457B2 (en) Device and method for authenticating user and obtaining user signature using user&#39;s biometrics
JP5779987B2 (en) Selection program, image processing apparatus, and computer
JP2008102851A (en) Printing system, printing method, and printing program
JP2014174920A (en) Portable terminal, image output system and program
JP2006318098A (en) Server device, system, and control method of server device
JP5575090B2 (en) Image forming apparatus
JP5575633B2 (en) Image forming system
CN205510074U (en) Hard copy control system with information security

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15740007

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15740007

Country of ref document: EP

Kind code of ref document: A1