CN105975415A - Peripheral device management control apparatus, method and system - Google Patents

Peripheral device management control apparatus, method and system Download PDF

Info

Publication number
CN105975415A
CN105975415A CN 201610270041 CN201610270041A CN105975415A CN 105975415 A CN105975415 A CN 105975415A CN 201610270041 CN201610270041 CN 201610270041 CN 201610270041 A CN201610270041 A CN 201610270041A CN 105975415 A CN105975415 A CN 105975415A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
peripheral device
operation
peripheral
information
operation instruction
Prior art date
Application number
CN 201610270041
Other languages
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

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling

Abstract

The present invention provides a peripheral device management control apparatus, method and system, and relates to the field of peripheral devices. Embodiments of the present invention provide a peripheral device management control apparatus, method and system. The apparatus can receive an operation request and operation file information that are sent by an intelligent terminal, transcodes the received operation file information after receiving the operation request, generates an operation instruction that can be executed by a peripheral device after transcoding the received operation file information, sends the operation instruction to the peripheral device, and executes a corresponding operation after the peripheral device receives the operation instruction. According to the peripheral device management control apparatus, method and system, cross-platform difference and interface difference are encapsulated in local implementation of each platform, a unified link ability is provided to realize platform transplantation, and therefore, the difficulty that a peripheral device control method can not be applied on different operation platforms is solved, and development costs are reduced, and development efficiency is improved.

Description

外围设备管理控制装置、方法及系统 Peripheral management control apparatus, method and system

技术领域 FIELD

[0001]本发明涉及外围设备领域,具体而言,涉及一种外围设备管理控制装置、方法及系统。 [0001] The present invention relates to the field of peripheral devices, particularly, to a peripheral device management control apparatus, method and system.

背景技术 Background technique

[0002] 使用HTML5技术的应用越来越成为主流,采用HTML5开发的应用可以在不同主流平台运行,这得益于HTML5跨平台的标准化技术。 [0002] applications using HTML5 technology has increasingly become mainstream, application development using HTML5 can run on different platforms mainstream, thanks to cross-platform HTML5 technology standardization. 但是对于硬件设备的支持,因为硬件指令集的差异,目前仍然需要依赖个各个系统平台的实现,例如打印机在Windows系统、Android系统、1S系统的驱动是不一样的。 However, support for hardware devices, because of differences in hardware instruction set, still need to rely on each system to achieve a platform, such as a printer driver in Windows system, Android system, 1S system is not the same. 另外,不同硬件接口形式其实现方式是不同的,例如Windows系统的硬件大多支持USB端口/RS232端口/网络端口/蓝牙端口,而1S系统的硬件大部分只支持蓝牙/网络端口,Android系统除了支持蓝牙端口/网络端口也支持USB端口(0TG方式hHTMUS的应用无法直接调用跟平台相关的外围设备。基于上述,跨平台的应用要支持不同平台、不同接口的外围设备是很困难的。 In addition, different hardware interfaces in the form of its implementation is different, for example, most of the hardware Windows systems support USB port / RS232 port / network port / Bluetooth port, while the majority of system hardware 1S only supports Bluetooth / network port, Android system in addition to supporting Bluetooth port / network port also supports USB port (0TG way hHTMUS application can not be called directly related peripheral devices with platforms based on application of the above, cross-platform to support different platforms, different peripheral interfaces is very difficult.

发明内容 SUMMARY

[0003]有鉴于此,本发明实施例的目的在于提供一种外围设备管理控制装置、方法及系统。 [0003] In view of this, an object of embodiments of the present invention to provide a peripheral device management control apparatus, method and system.

[0004]第一方面,本发明实施例提供了一种外围设备管理控制装置,包括: [0004] In a first aspect, the present invention provides a peripheral device management control apparatus comprising:

[0005]信息接收单元,用于接收一智能终端发送的操作请求以及操作文件信息; [0005] The information receiving unit for receiving a smart operation request sent by the terminal and operation information of the file;

[0006]转码单元,用于在接收到操作请求后将接收到的操作文件信息转码; [0006] The transcoding unit, is operable to transcode the received document information operation request received after;

[0007]操作指令生成单元,用于在将接收到的操作文件信息转码后生成一外围设备可执行的操作指令; [0007] The operation command generation means for generating a peripheral device may perform an operation instruction received in the operation file transcoding information;

[0008]操作指令发送单元,用于将所述操作指令发送至所述外围设备。 [0008] The operation command transmitting unit for transmitting the operation command to the peripheral device.

[0009]第二方面,本发明实施例还一种外围设备管理控制方法,包括: [0009] In a second aspect, the present invention further embodiment A peripheral device management control method, comprising:

[0010]接收一智能终端发送的操作请求以及操作文件信息; [0010] intelligent terminal receives a file operation request and the operation information transmitted;

[0011 ]在接收到操作请求后将接收到的操作文件信息转码; [0011] after receiving the operation request received file information to the transcoding operation;

[0012]在将接收到的操作文件信息转码后生成一外围设备可执行的操作指令; [0012] generating a peripheral device may perform an operation instruction received in the operation file transcoding information;

[0013]将所述操作指令发送至所述外围设备。 [0013] The operation instruction is transmitted to the peripheral device.

[0014]第三方面,本发明实施例还提供了一种外围设备管理控制系统,所述智能终端用于发送操作请求以及操作文件信息至所述外围设备管理控制装置; [0014] In a third aspect, embodiments of the present invention further provides a peripheral device management control system, the intelligent terminal and the operation for transmitting the document information operation request to the peripheral device management control apparatus;

[0015]所述外围设备管理控制装置包括信息接收单元,用于接收所述智能终端发送的操作请求以及操作文件信息;转码单元,用于在接收到操作请求后将接收到的操作文件信息转码;操作指令生成单元,用于在将接收到的操作文件信息转码后生成一外围设备可执行的操作指令;操作指令发送单元,用于将所述操作指令发送至所述外围设备; [0015] The control apparatus includes a peripheral device management information receiving unit for receiving a file operation request and the operation information transmitted from the intelligent terminal; transcoding unit for operating the file after receiving the operation request information received transcoding; operation instruction generating means for generating a peripheral device may perform an operation instruction received in the operation information file transcoding; operation instruction sending unit, configured to send the operation instruction to the peripheral device;

[0016]所述外围设备用于接收所述操作指令发送单元发送的操作指令,并在接收到操作指令后执行相应的操作。 [0016] The peripheral device for operating a transmission instruction transmitting unit receives the operation, and performs a corresponding operation upon receiving the operation instruction.

[0017]相对于现有技术,本发明实施例具有以下有益效果:本发明实施例提供的一种外围设备管理控制装置、方法及系统,该装置可接收一智能终端发送的操作请求以及操作文件信息,在接收到操作请求后将接收到的操作文件信息转码,在将接收到的操作文件信息转码后生成一外围设备可执行的操作指令,将所述操作指令发送至所述外围设备,在外围设备接收到操作指令后即可执行相应的操作。 [0017] with respect to the prior art, embodiments of the present invention has the following advantages: A peripheral device management control apparatus, method and system according to an embodiment of the present invention, the apparatus may receive a smart operation request sent by the terminal and an operation file information, after receiving the operation request received transcoded document information operation, upon receiving the operation information of the file to generate a transcoded peripheral device may perform an operation instruction, and transmits the operation instruction to the peripheral device to perform the corresponding operation, the peripheral device receiving the operation instruction. 该外围设备管理控制装置、方法及系统通过外围设备通讯地址访问标准外围设备接口,将跨平台的差异性和接口的差异性封装在每个平台的本地实现中,对外提供了统一链接的能力实现平台移植,从而解决了外围设备的控制方法不能应用于在不同操作平台上的难题,并且降低了开发成本,提升了开发效率。 The peripheral device management control device, method and system peripherals mailing address access through standard peripheral interfaces, the cross-platform differences in packaging and interface differences in the local implementation of each platform, provides a unified link outside of the ability to achieve porting, thereby solving the peripheral device control method can not be applied on various operating platforms problems, and reduce development costs, improve development efficiency.

[0018]为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。 [0018] For the above-described objects, features and advantages of the present invention can be more fully understood by reading the following preferred embodiments, and accompanied with figures are described in detail below.

附图说明 BRIEF DESCRIPTION

[0019]为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。 [0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings are briefly introduced as required for use in the embodiments describing the embodiments, it should be understood that the appended drawings illustrate only certain embodiments of the present invention. therefore not to be considered as limiting the scope of those of ordinary skill in the art is concerned, without creative efforts may still obtain other drawings according to these drawings.

[0020]图1为本发明较佳实施例提供的服务器与外围设备进行交互的示意图。 Servers and peripheral devices [0020] FIG 1 preferred embodiment of the present invention to provide a schematic diagram of the interaction.

[0021]图2为本发明较佳实施例提供的外围设备管理控制装置的方框示意图。 [0021] FIG. 2 is a block schematic diagram of a peripheral device management control apparatus preferred embodiment of the present invention provides.

[0022]图3是本发明提供的外围设备管理控制装置的功能单元示意图。 [0022] FIG. 3 is a schematic view of a peripheral device management function unit of the control apparatus of the present invention is provided.

[0023]图4本发明较佳实施例提供的外围设备管理控制的方法的流程图。 [0023] Figure 4 flowchart of a method of the present invention the preferred embodiment provides a peripheral device management control embodiment.

[0024]主要元件符号说明:外围设备管理控制装置100,服务器101,外围设备102,存储器103,存储控制器104,外设接口105,处理器106,USB端口107,智能终端108。 [0024] Description of Symbols principal elements: a peripheral device management control device 100, a server 101, peripheral devices 102, a memory 103, storage controller 104, peripheral interface 105, a processor 106, USB port 107, the intelligent terminal 108.

具体实施方式 Detailed ways

[0025]下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0025] below in conjunction with the present invention illustrated in the drawings embodiments, the technical solutions in the embodiments will be apparent to the present invention, completely described, obviously, the described embodiments are merely part of embodiments of the present invention rather than all embodiments . 通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。 Components of an embodiment of the present invention is generally described herein and illustrated in the drawings can be arranged and designed in a variety of different configurations. 因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。 Accordingly, the following detailed description of the invention provided in the drawings embodiments is not intended to limit the scope of the invention claimed, but is merely representative of selected embodiments of the present invention. 基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of the present art in the art without creative efforts shall fall within the scope of the present invention.

[0026]应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。 [0026] It should be noted: like reference numerals and letters refer to similar items in the following figures, and thus once an item is defined in one figure, then it need not be in the following figures further defined and interpretation. 同时,在本发明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。 Meanwhile, in the description of the present invention, the terms "first", "second," etc. are used merely to distinguish description, and not intended to indicate or imply relative importance.

[0027]如图1所示,是本发明较佳实施例提供的服务器101与外围设备102的进行交互的示意图。 [0027] As shown in FIG 1, it is a schematic diagram provided by the server 101 to interact with a peripheral device 102 of the preferred embodiment of the present invention. 所述服务器101可通过串口、USB端口、蓝牙、网络等与一个或多个外围设备102或智能终端108进行通信连接,以进行数据通信或交互,图1为服务器101与外围设备102的通过USB端口107进行交互的示意图。 The server 101 may be via the serial port 108, USB port, Bluetooth, network or the like with one or more peripheral devices 102 intelligent terminal communication connection, for data communication or interaction, the server 101 of FIG. 1 and 102 of the USB peripheral device via 107 schematic interact port. 所述服务器101可以是网络服务器、数据库服务器等。 The server 101 may be a web server, database server.

[0028]如图2所示,是所述服务器101的方框示意图。 [0028] As shown in FIG 2, it is a block diagram of the server 101. 所述服务器101包括外围设备管理控制装置100、存储器103、存储控制器104、处理器106、外设接口105。 The server 101 includes a peripheral device management control device 100, a memory 103, storage controller 104, a processor 106, peripheral interface 105.

[0029] 所述存储器103、存储控制器104、处理器106、外设接口105各元件相互之间直接或间接地电性连接,以实现数据的传输或交互。 [0029] The memory 103, storage controller 104, a processor 106, peripheral interface 105 elements directly or indirectly electrically connected with each other, or to achieve transmit interactive data. 例如,这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。 For example, these elements can be achieved electrically connected via one or more communication buses or signal lines with each other. 所述外围设备管理控制装置100包括至少一个可以软件或固件(firmware)的形式存储于所述存储器103中或固化在所述服务器101的操作系统(operating system,0S)中的软件功能模块。 The peripheral device management control device 100 may comprise at least one software or firmware (Firmware) is stored in the memory 103 or curable functional module in the operating system software (operating system, 0S) in the server 101. 所述处理器106用于执行存储器103中存储的可执行模块,例如所述外围设备管理控制装置100包括的软件功能模块或计算机程序。 The processor 106 for executing the executable module stored in memory 103, for example, the peripheral device management software function module 100 comprises a program means or computer control. [°03°] 其中,存储器103可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,R0M),可编程只读存储器(Programmable Read-OnlyMemory,PR0M),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPR0M)等。 [° 03 °] wherein, the memory 103 may be, but is not limited to, a random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, R0M), programmable read-only memories (Programmable Read-OnlyMemory, PR0M), EEPROM (erasable Programmable Read-Only memory, EPROM), electrically erasable programmable read only memory (electric erasable Programmable Read-Only memory, EEPR0M) and the like. 其中,存储器103用于存储程序,所述处理器106在接收到操作指令后,执行所述程序,前述本发明实施例任一实施例揭示的流过程定义的服务器101所执行的方法可以应用于处理器106中,或者由处理器106实现。 Wherein, the memory 103 for storing a program, the processor 106 after receiving the operation instruction, executes the program, the present embodiment of the invention, the method according to any embodiment disclosed embodiment a process flow of the embodiment defined in the server 101 may be applied to perform processor 106 or implemented by the processor 106.

[0031] 处理器106可能是一种集成电路芯片,具有信号的处理能力。 [0031] The processor 106 may be an integrated circuit chip having signal processing capability. 上述的处理器106可以是通用处理器106,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。 Above 106 processor 106 may be a general purpose processor, including a central processor (Central Processing Unit, referred to as the CPU), a network processor (Network Processor, referred to as NP) and the like; may also be a digital signal processor (DSP), application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. 可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。 It may implement or execute the methods disclosed embodiment, the steps and logic diagram of the present embodiment of the invention. 通用处理器106可以是微处理器或者该处理器也可以是任何常规的处理器等。 A general purpose processor may be a microprocessor 106 or the processor may be any conventional processor or the like.

[0032] 所述外设接口105将各种输入/输入装置耦合至处理器106以及存储器103。 [0032] The peripheral interface 105 to various input / output devices coupled to the processor 106 and a memory 103. 在一些实施例中,外设接口105,处理器106以及存储控制器104可以在单个芯片中实现。 In some embodiments, the peripherals interface 105, a processor 106 and a memory controller 104 may be implemented in a single chip. 在其他一些实例中,他们可以分别由独立的芯片实现。 In some other instances, they may be implemented by separate chips, respectively.

[0033]请参阅图3,是本发明较佳实施例提供的外围设备管理控制装置100的功能单元示意图。 [0033] Please refer to FIG. 3, it is a schematic view of a peripheral device management function control apparatus 100 provided by the preferred embodiment of the present invention the unit. 所述外围设备管理控制装置100包括信息接收单元301、转码单元302、操作指令生成单元303,操作指令发送单元304。 The peripheral device control apparatus 100 includes a management information receiving unit 301, a transcoding unit 302, an operation instruction generation unit 303, an operation instruction transmission unit 304.

[0034]所述信息接收单元301用于接收一智能终端发送的操作请求以及操作文件信息。 [0034] The information receiving unit 301 for receiving an operation request sent by the intelligent terminal and the operation file information.

[0035]所述操作请求为基于HTTP协议的标准请求,所述操作文件信息包括:外围设备类型、外围设备通讯地址以及一用于传输所述操作指令的通讯端口的端口类型。 [0035] The operation request is a request based on standard HTTP protocol, the action file information comprises: types of peripheral devices, peripheral device port type and a communication address for transmission of the operation instruction communication port.

[0036]其中,外围设备包括打印机、扫描枪、IC卡读卡器、ID卡读卡器、NFC感应器、RFID感应器以及显示器。 [0036] wherein the peripheral device comprises a printer, scanner, IC cards reader, ID cards reader, the NFC sensor, the RFID sensors, and displays. 本实施例中,以外围设备为打印机为例。 In this embodiment, the peripheral device is a printer, for example to.

[0037]其中,外围设备通讯地址是指一个完整的外围设备控制链接,即是说,外围设备通讯地址为标准的URL地址或外围设备的唯一标识符。 [0037] wherein the peripheral device refers to a complete mailing address of the peripheral device control link, that is, the unique identifier of peripheral devices mailing address for the standard URL address or peripheral device. 如,外围设备通讯地址可以为u1calhost: 9685/printer/print,,,其中,u1calhost: 9685/printer/print,,的前半部分“http://192.2.2.2:9685”为服务器的IP地址,后半部分“printer/print”为打印接P。 The peripheral device may be a communication address u1calhost: 9685 / printer / print ,,, wherein, u1calhost: 9685 / printer / print ,, the first half of "http://192.2.2.2:9685" for the IP address of the server, after half of the "printer / print" contact print P.

[0038]所述转码单元302用于在接收到操作请求后将接收到的操作文件信息转码。 [0038] The transcoding unit 302 is operable to transcode the received document information operation request received after.

[0039]可通过HTTP协议访问外围设备通讯地址,在将需要被打印的http文件渲染出后,转码单元302可将http文件中的打印数据和内容转码。 [0039] access to the peripheral device address via HTTP communication protocol, http file after rendering will need to be printed out, the transcoding unit 302 may print the data file, and content transcoding http.

[0040]所述操作指令生成单元303,用于在将接收到的操作文件信息转码后生成一外围设备可执行的操作指令。 [0040] The operation command generation unit 303 for generating a peripheral device may perform an operation instruction received in the operation information file transcoding.

[0041]本实施例中,该操作指令为打印机可直接执行的打印指令。 [0041] In this embodiment, the print instruction operation instruction is directly executable by the printer.

[0042]服务器依据 “localhost: 9685/printer/print” 解析出“printer/print” 即可找到打印接口。 [0042] Server based on "localhost: 9685 / printer / print" parse "printer / print" to find printer port. 另外通讯端口的端口类型为预先设定的,在访问到打印接口后即可查找到与该预设定的端口类型参数对应的通讯端口。 Further communication port type port is set in advance, after the access to the printer interface to find the set of parameters corresponding to the type of pre-port communication port. 例如,在获得的外围设备通讯地址后,由于HTTP协议的header包含有devicelnfo参数,可定义外围设备的通讯端口的端口类型。 For example, after the peripheral device communication address obtained, since the header HTTP protocol with the communication port type port devicelnfo parameters define the peripheral device. 例如,通讯端口是USB端口,USB端口的端口参数为“USB1” ;如果通讯端口为RS232端口,RS232端口的参数为“C0M1”,通过查找通讯端口类型即可找到与查找到的端口类型对应的通讯端口。 For example, the communications port is a USB port, a USB port to port parameters "USB1"; If the communication port RS232 port, RS232 port parameters for "C0M1", by looking to find the type of communication port and find the corresponding port type communication port. 另外,通讯端口可以为USB端口或RS232端口或网络端口或蓝牙端口等等设备接口,在此并不多做限制。 In addition, the communication port may be a USB port or RS232 port or network port or Bluetooth device interface port, etc., do not do this limitation.

[0043]操作指令发送单元304用于将所述操作指令发送至所述外围设备。 [0043] The operation command transmitting section 304 for transmitting the operation command to the peripheral device.

[0044]操作指令为外围设备102实际执行操作的操作指令。 [0044] The operation instruction 102 to the peripheral device to perform operations actual operation command. 例如,当外围设备102为打印机时,操作指令为打印指令,当外围设备102为扫描仪时,操作指令为扫描指令。 For example, when the peripheral device is a printer 102, a print operation instruction command, when the peripheral device 102 is a scanner, the scanning operation instruction command.

[0045]上述的原理可解释为,本发明实施例提供了一种标准外围设备接口,标准外围设备接口是指根据每个操作平台的差异性,例如,Windows系统、Android系统、1S系统等操作平台之间的差异性和各个外围设备接口的差异性统一的封装后得到的标准外围设备接口。 [0045] The principles described above can be interpreted as, an embodiment provides a standard interface to the peripheral device, the peripheral device interface is a standard means the difference for each platform, for example, Windows system, Android system, 1S system of the present invention and other operations differences and differences in the respective peripheral device interface into a single package after the platform between the obtained standard peripheral interfaces. 例如,一个使用H5web技术开发的应用,使用同样的代码能够在windows系统和1S系统上通过该外围设备管理控制装置100实现外围设备102的控制,由于标准外围设备接口的跨平台特性,1S系统应用也可以利用windows的外围设备管理控制装置100的对外围设备102进行控制。 For example, one application H5web technology development used, using the same code can be realized peripheral device through the peripheral device management control device 100 in the windows system and the 1S system control 102, since the cross-platform standard peripheral interfaces, 1S System peripheral device 102 may be controlled by the windows 100 the peripheral device management control apparatus.

[0046]在此以外围设备102为打印机为例,信息接收单元301接收一智能终端发送的打印请求以及打印文件信息;转码单元302在接收到打印请求后将接收到的打印文件信息转码;操作指令生成单元303,在将接收到的打印文件信息转码后生成一外围设备可执行的打印指令;操作指令发送单元304,用于将所述打印指令发送至所述打印机。 [0046] In this printer, for example peripheral device 102, the information receiving unit 301 receives a print request sent by a terminal intelligent and printing document information; transcoding after receiving the print request received print file information transcoding unit 302 ; operation instruction generation unit 303 generates a print instruction peripheral device may perform after received the print file transcoding information; operation instruction sending unit 304, configured to send the print instruction to the printer.

[0047]请参阅图4,是本发明较佳实施例提供的方外围设备管理控制法的流程图。 [0047] Please refer to FIG. 4 is a flowchart of the control side peripheral management method provided in the present preferred embodiment of the invention. 需要说明的是,本实施例所提供的外围设备管理控制方法,其基本原理及产生的技术效果和上述实施例相同,为简要描述,本实施例部分未提及之处,可参考上述的实施例中相应内容。 Incidentally, a peripheral device management control method of the present embodiment provided by the embodiment, the basic principles and technical effects generated and the previous embodiment, is a brief description, the Examples section of the present embodiment is not mentioned, the reference to the above embodiments Examples respective content. 下面将对图4所示的具体流程进行详细阐述。 Specific processes shown in the following will be explained in greater detail in FIG. 下面将对图4所示的具体流程进行详细阐述。 Specific processes shown in the following will be explained in greater detail in FIG.

[0048]步骤S401:接收一智能终端发送的操作请求以及操作文件信息。 [0048] Step S401: receiving a smart operation request sent by the terminal and operation information file.

[0049]具体地,所述操作请求为基于HTTP协议的标准请求,所述操作文件信息包括:外围设备类型、外围设备通讯地址以及一用于传输所述操作指令的通讯端口的端口类型。 [0049] Specifically, the operation request is a request based on standard HTTP protocol, the action file information comprises: types of peripheral devices, peripheral device port type and a communication address for transmission of the operation instruction communication port. 所述外围设备通讯地址为标准的URL地址或外围设备的唯一标识符。 Unique identifier for the peripheral device communication address or the URL standard peripheral device. 所述通讯端口为USB端口或RS232端口或网络端口或蓝牙端口。 The communication port is a USB port or RS232 port or network port or Bluetooth port. 所述外围设备包括打印机、扫描枪、IC卡读卡器、ID卡读卡器、NFC感应器、RFID感应器以及显示器。 The peripheral device comprises a printer, scanner, IC cards reader, ID cards reader, the NFC sensor, the RFID sensors, and displays.

[0050]步骤S402:在接收到操作请求后将接收到的操作文件信息转码。 [0050] Step S402: after receiving the operation request received file information to the transcoding operation.

[0051]步骤S403:在将接收到的操作文件信息转码后生成一外围设备可执行的操作指令。 [0051] Step S403: generating a peripheral device may perform an operation instruction received in the operation information file transcoding.

[0052]步骤S404:将所述操作指令发送至所述外围设备。 [0052] Step S404: the operation instruction is transmitted to the peripheral device.

[0053]如图1所示,是本发明较佳实施例提供的外围设备管理控制系统的服务器101与外围设备102以及智能终端108的进行交互的示意图。 [0053] As shown in FIG 1, it is a schematic diagram of a server interacting peripheral management control system 101 provided in the peripheral device 102 and the intelligent terminal 108 in the preferred embodiment of the present invention. 需要说明的是,本实施例所提供的外围设备管理控制系统,其基本原理及产生的技术效果和上述实施例相同,为简要描述,本实施例部分未提及之处,可参考上述的实施例中相应内容。 Incidentally, a peripheral device management control system provided in the present embodiment, the basic principles and technical effects generated by the above-described embodiments and the same, as a brief description, the Examples section of the present embodiment is not mentioned, the reference to the above embodiments Examples respective content. 该外围设备管理控制系统包括外围设备102与外围设备管理控制装置100,外围设备102和智能终端108分别与外围设备管理控制装置100建立通信连接。 The peripheral device management control system includes a peripheral device 102 and peripheral device management control device 100, intelligent peripheral 102 and the terminal 108 are connected to establish communication with a peripheral device management control unit 100.

[0054]如图3所示,所述智能终端108用于发送操作请求以及操作文件信息至所述外围设备管理控制装置100; [0054] As shown in FIG. 3, the intelligent terminal 108 and the operation for transmitting the document information operation request to the peripheral device management control device 100;

[0055]所述外围设备管理控制装置100包括信息接收单元301,用于接收所述智能终端108发送的操作请求以及操作文件信息;转码单元302,用于在接收到操作请求后将接收到的操作文件信息转码;操作指令生成单元303,用于在将接收到的操作文件信息转码后生成所述外围设备102可执行的操作指令;操作指令发送单元304用于将所述操作指令发送至所述外围设备102; [0055] The peripheral device control apparatus 100 includes a management information receiving unit 301, an operation 108 sends a request to receive the intelligent terminal and the user profile information; transcoding unit 302, after receiving the operation for receiving the request transcoding operation file information; operation instruction generation unit 303, an operation instruction is then received transcoded document information operation of the peripheral device 102 generates executable; operation instruction unit 304 for transmitting the operation instruction 102 is transmitted to the peripheral device;

[0056]所述外围设备用于接收所述操作指令发送单元发送的操作指令,并在接收到操作指令后执行相应的操作。 [0056] The peripheral device for operating a transmission instruction transmitting unit receives the operation, and performs a corresponding operation upon receiving the operation instruction.

[0057]综上,本发明实施例提供的一种外围设备管理控制装置、方法及系统,该装置可接收一智能终端发送的操作请求以及操作文件信息,在接收到操作请求后将接收到的操作文件信息转码,在将接收到的操作文件信息转码后生成一外围设备可执行的操作指令,将所述操作指令发送至所述外围设备,在外围设备接收到操作指令后即可执行相应的操作。 [0057] In summary, A peripheral device management according to an embodiment of the present invention, a control apparatus, method and system, the apparatus may receive the operation request sent by the intelligent terminal and a file operation information, upon receiving the operation request received to perform the transcoding operation information file in the received information file transcoding operation generates a peripheral device may perform an operation instruction, and transmits the operation instruction to the peripheral device, the peripheral device receives an operation instruction corresponding operation. 该外围设备管理控制装置、方法及系统通过外围设备通讯地址访问标准外围设备接口,将跨平台的差异性和接口的差异性封装在每个平台的本地实现中,对外提供了统一链接的能力实现平台移植,从而解决了外围设备的控制方法不能应用于在不同操作平台上的难题,并且降低了开发成本,提升了开发效率。 The peripheral device management control device, method and system peripherals mailing address access through standard peripheral interfaces, the cross-platform differences in packaging and interface differences in the local implementation of each platform, provides a unified link outside of the ability to achieve porting, thereby solving the peripheral device control method can not be applied on various operating platforms problems, and reduce development costs, improve development efficiency.

[0058]在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。 [0058] In several embodiments provided herein present embodiment, it should be understood that the disclosed apparatus and methods may be implemented in other ways. 以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。 Means the above-described embodiments are merely illustrative, e.g., flowchart and block diagrams in the Figures illustrate the architecture according to the present invention, a plurality of embodiments of the apparatus, methods and computer program products may implement the functions and operating. 在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。 In this regard, the flowchart or block diagrams may represent a portion of each block in a module, segment, or portion of code, a module, segment, or portion of code that comprises one or more devices for implementing the specified logical function executable instructions. 也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。 It should also be noted that, as an alternative, in some implementations, the functions noted in the block may be different from the order noted in the figures occur. 例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。 For example, two consecutive blocks may in fact be executed substantially concurrently, they may sometimes be executed in the reverse order, depending upon the functionality involved may be. 也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。 Also it is noted that each block of the flowchart in block diagram, as well as combinations and / or block diagrams and / or flowchart block may perform the specified functions or acts dedicated hardware-based systems implemented with , or may be special purpose hardware and computer instructions to implement.

[0059]另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。 [0059] Further, examples of the functional modules in the various embodiments of the present invention may be integrated together to form a separate section, the individual modules may be present alone, may be two or more modules are integrated to form a separate part.

[0060]所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。 [0060] If the function is implemented as a separate product sold or used in the form of functional software modules may be stored in a computer-readable storage medium. 基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 Based on such understanding, the technical solutions of the present invention per se or contributing to the prior art or part of the technical solutions may be embodied in a software product, which computer software product is stored in a storage medium, comprising several instructions that enable a computer device (may be a personal computer, a server, or network device) to perform all or part of the steps of the methods of the various embodiments of the present invention. 而前述的存储介质包括:U盘、移动硬盘、只读存储器(R0M,Read-0nly Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。 The storage medium includes: U disk, mobile hard disk, a read-only memory (R0M, Read-0nly Memory), a random access various memories (RAM, Random Access Memory), a magnetic disk, or an optical medium can store program codes . 需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。 Incidentally, herein, relational terms such as first and second and the like are only used to distinguish one entity or operation from another entity or operation separate, without necessarily requiring or implying these entities or operations of between the presence of any such actual relationship or order. 而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。 Further, the term "comprising", "containing" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, article, or apparatus not include only those elements but not expressly listed further comprising the other elements, or further comprising such process, method, article, or apparatus inherent elements. 在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。 Without more constraints, by the wording "include a ......" defined does not exclude the existence of additional identical elements in the element comprising a process, method, article, or apparatus.

[0061]以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 [0061] The above description is only preferred embodiments of the present invention, it is not intended to limit the invention to those skilled in the art, the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention. 应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。 It should be noted: like reference numerals and letters refer to similar items in the following figures, and thus once an item is defined in one figure, then the following figures need not be further defined and explained.

[0062]以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。 [0062] The above are only specific embodiments of the present invention, but the scope of the present invention is not limited thereto, any skilled in the art in the art within the technical scope of the present invention is disclosed, variations may readily occur or Alternatively, it shall fall within the protection scope of the present invention. 因此,本发明的保护范围应所述以权利要求的保护范围为准。 Accordingly, the scope of the present invention should be in the scope of the claims and their equivalents.

Claims (10)

  1. 1.一种外围设备管理控制装置,其特征在于,包括: 信息接收单元,用于接收一智能终端发送的操作请求以及操作文件信息; 转码单元,用于在接收到操作请求后将接收到的操作文件信息转码; 操作指令生成单元,用于在将接收到的操作文件信息转码后生成一外围设备可执行的操作指令; 操作指令发送单元,用于将所述操作指令发送至所述外围设备。 1. A peripheral device management control apparatus, characterized by comprising: an information receiving unit for receiving a smart document operation request and the operation information sent from a terminal; transcoding unit, after receiving the request is operable to receive the transcoding operation file information; operation instruction generating means for generating a peripheral device may perform an operation instruction received in the operation file transcoding information; operation instruction sending unit, configured to send the operation instruction to the said peripheral device.
  2. 2.根据权利要求1所述的外围设备管理控制装置,其特征在于,所述操作请求为基于HTTP协议的标准请求,所述操作文件信息包括:外围设备类型、外围设备通讯地址以及一用于传输所述操作指令的通讯端口的端口类型。 The peripheral device management control apparatus according to claim 1, wherein said operation request is a request based on HTTP protocol standards, the action file information comprises: types of peripheral devices, peripheral devices, and a mailing address for the port type transmission operation instruction communication port.
  3. 3.根据权利要求2所述的外围设备管理控制装置,其特征在于,所述外围设备通讯地址为标准的URL地址或外围设备的唯一标识符。 The peripheral device management control apparatus according to claim 2, wherein the unique identifier address of the peripheral device communication standard URL address or peripheral device.
  4. 4.根据权利要求2所述的外围设备管理控制装置,其特征在于,所述通讯端口为USB端口或RS232端口或网络端口或蓝牙端口。 The peripheral device management control apparatus according to claim 2, wherein said communication port is a USB port or network port or RS232 port or Bluetooth.
  5. 5.根据权利要求1所述的外围设备管理控制装置,其特征在于,所述外围设备包括打印机、扫描枪、IC卡读卡器、ID卡读卡器、NFC感应器、RFID感应器以及显示器。 The peripheral device management control apparatus according to claim 1, wherein the peripheral device comprises a printer, scanner, IC cards reader, ID cards reader, the NFC sensors, sensors, and displays the RFID .
  6. 6.一种外围设备管理控制方法,其特征在于,所述方法包括: 接收一智能终端发送的操作请求以及操作文件信息; 在接收到操作请求后将接收到的操作文件信息转码; 在将接收到的操作文件信息转码后生成一外围设备可执行的操作指令; 将所述操作指令发送至所述外围设备。 A method for controlling a peripheral device management, wherein the method comprises: receiving a smart document operation request and the operation information sent from a terminal; file operation upon receiving the operation request information received transcoding; in the the received operation instruction file generating operating a peripheral device may perform transcoding of the information; transmitting the operation command to the peripheral device.
  7. 7.根据权利要求6所述的外围设备管理控制方法,其特征在于,所述操作请求为基于HTTP协议的标准请求,所述操作文件信息包括:外围设备类型、外围设备通讯地址以及一用于传输所述操作指令的通讯端口的端口类型。 The peripheral management apparatus control method according to claim 6, wherein said operation request is a request based on HTTP protocol standards, the action file information comprises: types of peripheral devices, peripheral devices, and a mailing address for the port type transmission operation instruction communication port.
  8. 8.根据权利要求7所述的外围设备管理控制方法,其特征在于,所述外围设备通讯地址为标准的URL地址或外围设备的唯一标识符。 8. The method of controlling a peripheral management apparatus according to claim 7, wherein the unique identifier address of the peripheral device communication standard URL address or peripheral device.
  9. 9.根据权利要求6所述的外围设备管理控制方法,其特征在于,所述外围设备包括打印机、扫描枪、IC卡读卡器、ID卡读卡器、NFC感应器、RFID感应器以及显示器。 9. The method of controlling a peripheral management apparatus according to claim 6, wherein the peripheral device comprises a printer, scanner, IC cards reader, ID cards reader, the NFC sensors, sensors, and displays the RFID .
  10. 10.—种外围设备管理控制系统,其特征在于,包括智能终端、外围设备管理控制装置以及外围设备,所述智能终端用于发送操作请求以及操作文件信息至所述外围设备管理控制装置;所述外围设备管理控制装置包括信息接收单元,用于接收所述智能终端发送的操作请求以及操作文件信息;转码单元,用于在接收到操作请求后将接收到的操作文件信息转码;操作指令生成单元,用于在将接收到的操作文件信息转码后生成所述外围设备可执行的操作指令;操作指令发送单元,用于将所述操作指令发送至所述外围设备; 所述外围设备用于接收所述操作指令发送单元发送的操作指令,并在接收到操作指令后执行相应的操作。 10.- kinds of peripheral device management control system, comprising intelligent terminal, the peripheral device management control device and a peripheral device, said intelligent terminals and the operation for transmitting the document information operation request to the peripheral device management control means; the said peripheral device control means includes a management information receiving unit for receiving a file operation request and the operation information transmitted from the intelligent terminal; transcoding unit, for receiving the operation of the file operation request information received after transcoding; operation instruction generating unit, an operation instruction received in the operation file transcoding information generating executable by the peripheral device; operation instruction sending unit, configured to send the operation instruction to the peripheral device; the peripheral apparatus for receiving the operation instruction sending unit sends an operation instruction and performs the corresponding operations after receiving the operation instruction.
CN 201610270041 2016-04-27 2016-04-27 Peripheral device management control apparatus, method and system CN105975415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201610270041 CN105975415A (en) 2016-04-27 2016-04-27 Peripheral device management control apparatus, method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201610270041 CN105975415A (en) 2016-04-27 2016-04-27 Peripheral device management control apparatus, method and system

Publications (1)

Publication Number Publication Date
CN105975415A true true CN105975415A (en) 2016-09-28

Family

ID=56994828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201610270041 CN105975415A (en) 2016-04-27 2016-04-27 Peripheral device management control apparatus, method and system

Country Status (1)

Country Link
CN (1) CN105975415A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1428034A (en) * 2000-12-13 2003-07-02 皇家菲利浦电子有限公司 UPNP architecture for heterogeneous networks of slave devices
US7148986B2 (en) * 2002-10-18 2006-12-12 Hewlett-Packard Development Company, L.P. System and method for tracking print system utilization
US20100088292A1 (en) * 2008-10-03 2010-04-08 General Instrument Corporation Collaborative Transcoding
CN103412730A (en) * 2013-05-22 2013-11-27 成都国腾实业集团有限公司 Intelligent terminal printing system based on cloud computing technology
CN104238969A (en) * 2013-06-12 2014-12-24 三星电子株式会社 Pull printing method, apparatus and system
CN104572042A (en) * 2013-10-15 2015-04-29 航天信息股份有限公司 Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment
CN104680667A (en) * 2015-03-20 2015-06-03 重庆理工大学 Cloud print self-service platform and realizing method thereof
US20150186759A1 (en) * 2013-12-31 2015-07-02 Csr Imaging Us, Lp Direct printing of office documents

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1428034A (en) * 2000-12-13 2003-07-02 皇家菲利浦电子有限公司 UPNP architecture for heterogeneous networks of slave devices
US7148986B2 (en) * 2002-10-18 2006-12-12 Hewlett-Packard Development Company, L.P. System and method for tracking print system utilization
US20100088292A1 (en) * 2008-10-03 2010-04-08 General Instrument Corporation Collaborative Transcoding
CN103412730A (en) * 2013-05-22 2013-11-27 成都国腾实业集团有限公司 Intelligent terminal printing system based on cloud computing technology
CN104238969A (en) * 2013-06-12 2014-12-24 三星电子株式会社 Pull printing method, apparatus and system
CN104572042A (en) * 2013-10-15 2015-04-29 航天信息股份有限公司 Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment
US20150186759A1 (en) * 2013-12-31 2015-07-02 Csr Imaging Us, Lp Direct printing of office documents
CN104680667A (en) * 2015-03-20 2015-06-03 重庆理工大学 Cloud print self-service platform and realizing method thereof

Similar Documents

Publication Publication Date Title
US8820630B2 (en) Hand held bar code readers or mobile computers with cloud computing services
US20020083142A1 (en) Generic communication filters for distributed applications
US20150026477A1 (en) System and method for delivering application content
US20020120704A1 (en) Computer language for defining business conversations
US20030009572A1 (en) System, method & Apparatus of providing process data to a client
US6675219B1 (en) Technique for improving throughput of a gateway interface
US6769622B1 (en) System and method for simulating universal serial bus smart card device connected to USB host
US20090210637A1 (en) Providing device parameters
US20030137689A1 (en) Remote printer driver server
EP1626349A1 (en) User interface for smart card applications
US20090172217A1 (en) Distributed storage service systems and architecture
CN102857579A (en) Information processing method, device, terminal and server
US20110161465A1 (en) Method and System to Automatically Adapt Web Services from One Protocol/Idiom to Another Protocol/Idiom
US20080133758A1 (en) Peer-to-peer proxy server and communication method thereof
JP2009015750A (en) Network system and program
US20060224691A1 (en) Transparent rendering of media to remote client
US20130142444A1 (en) Hand held bar code readers or mobile computers with cloud computing services
JP2009515250A (en) The short-range communication host controller interface
WO2008021032A2 (en) Web format-based wireless communications
US9037735B1 (en) Establishing websocket protocol extensions
US20080197974A1 (en) Radio Frequency Identification Data Processing System
JP2012216196A (en) Program for terminal device, terminal device and control method for terminal device
JP2005033295A (en) Protocol conversion apparatus, protocol conversion method, and protocol conversion program
CN103942225A (en) Method and system for invoking resources of Hybrid App client and client
Alkar et al. IP based home automation system

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
TA01