CN100557550C - Computer code controlling connector - Google Patents

Computer code controlling connector Download PDF

Info

Publication number
CN100557550C
CN100557550C CN 02139176 CN02139176A CN100557550C CN 100557550 C CN100557550 C CN 100557550C CN 02139176 CN02139176 CN 02139176 CN 02139176 A CN02139176 A CN 02139176A CN 100557550 C CN100557550 C CN 100557550C
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
computer
code
controlling
connector
computer code
Prior art date
Application number
CN 02139176
Other languages
Chinese (zh)
Other versions
CN1490700A (en )
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
Grant date

Links

Abstract

一个利用计算机的并口的输入、输出控制信号和MODEM接口的拨号信号,通过通道代码处理方法去实施计算机、网络和电子器件三方自动关联和自由应用,使接入的电子器件自动获得智能化和信息化功能的通用平台装置;包括31路输入接口(51),255路输出接口(111),计算机并口接口(101);包括输入输出通道代码处理工作系统:并口和MODEM口的输入代码获取模块(16),API函数表征通道代码的方法,功能定义模块(17)的输出动作设置的一种程序控制的构件的方法,遥控器按键定义的模式文件方法,基本动作模块(19)集中了系统将要操作的相关功能动作的控件、函数,包括鼠标、动作、拔号、输出接口、外部程序执行等动作,代码输出执行模块(18)。 A parallel port of the computer using the input, output and control signal interface MODEM dialing signal processing method by the code channels to implement computer, electronics and tripartite network and automatically associate the freedom and the electronic device automatically access information and intelligence common platform device capabilities; a comprises 31 input interface (51), 255 output interface (111), the computer parallel port interface (101); comprises an input output channel codes processing system: input codes parallel and a MODEM port acquisition module ( 16) a method means a program control API functions characterizing channel code method, a function definition module (17) outputs an operation set, the remote control key definition schema file method, the basic operation of the module (19) focused on the system will be related functions controls operation of the operation, function, including a mouse, operation dial, an output interface, external program execution operation, outputting the code execution module (18).

Description

计算机通用关联应用处理器一, A general purpose computer processor associated application,

技术领域 FIELD

本发明涉及一种计算机接口装置,具体说,涉及到为解决任意电子器件和计算机连接后,自动获得智能化和信息化功能,实现计算机、网络和电子器件三方的自动关联和自由应用的目的,采用一种通道代码方式的对计算机并口和MODEM接口的利用和对其输入输出控制信号的运作的处理装置。 The present invention relates to a computer interface device, particularly, relates to any electronic device to solve the connection and computer, automatically receive information and intelligence capabilities, to achieve the purpose of the computer, electronics and associated network automatically and free constituents applications, It uses a channel code means for using a computer and MODEM parallel interface and its operation processing means outputs a control signal input.

二,背景技术随着计算机技术的发展,市场销售价格的下降,社会普及量的增加,计算机已经开始成为社会生活中的一种时尚用品,成为人们工作、生活、学习和娱乐不可缺少的部份。 II. With the development of computer technology, the decline in market price, the amount of increase in the popularity of society, computers have started to become a fashion social life of supplies, as people work, live, learn and play an indispensable part .

计算机提供了许多接口,如C0M接口、并行接口、 RS-486接口和USB接口等, 其目的是留给人们根据需要去开发接口产品,满足社会生活丰富多彩的需要,使计算机提供的技术资源得到充分利用。 The computer provides a number of interfaces, such as C0M interface, a parallel interface, RS-486 interface and a USB interface, its purpose is left to the people needed to develop an interface products to meet a variety of social needs, the computer provides technical resources to get Take advantage of. 但是目前计算机的接口开发利用还远远作得不够。 But now the use of computer interface development is far from enough to make. 计算机虽说在被使用,而且不断推新,但从接口技术上的进一步参入和利用实在太少了。 Although the computer is in use, and continue to push new, but from further participation in and using the interface technology is too small. 现在每一套电器设备、自动控制设备或系统工程设备,欲想和计算机连接利用计算机的控制体系或技术资源工作,或者令其拥有信息的功能,它们必须做到:1,在设备中必须将发控或受控的部分之前增加一套连接计算机的适配平台装置,这套装置有的采用了单片机和数字处理方面的元器件;2,必须配备相关的驱动程序。 Now every set of electrical equipment, automatic control equipment or systems engineering equipment, wishing to use a computer and the computer control system or technical resources, or to make it function have the information they need to do: 1, must be in the device increasing a connection to the computer platform means adapted before launch control portion or controlled, this device uses some components of the microcontroller and digital processing; 2, must be equipped with the relevant driver. 每一样设备涉及到设备本身制作之外,还要定身制作各自的的计算机接口适配构件和驱动程序,开发的难度很大,例如: 一种防盗报警器,欲实现警情发生时的110报警功能,必在该装置中加装电话拨号功能的机顶盒和相关的驱动程序, 一种普通的家用电热水器,没有自动断电功能, 欲增加此功能,必须加装定时器,等等。 Each difficulty relates to the same device outside the production apparatus itself, but also making the respective fixed body computer interface adapter and the driver member, a great development, for example: an anti-theft alarm, to be achieved when the alarm occurs 110 alarm function, telephone dial function will be installed in the apparatus set-top box and associated drivers, a common household electric heater, there is no automatic power-off function, to increase this feature, the timer must be installed, and the like. 现在公开的虽然有很多计算机连接控制装置, 但是它只是单片机系列为主计算机控制为辅的装置,只能完成一种功能,没有充分利用到计算机的控制系统和技术资源工作,而且稳定性较差,并且采用的单片机、数字处理一类的元器件,造价相对过高,也没有即插即用的功能,也没有提供编程控制的工作环境等,其实用性受到很大限制,还处在一种试验性的阶段,这些都说明了该项目的开发技术现状在硬件、软件上通用性的基础薄弱,实用性不足,资金、人力和材料上的重复消耗。 There are now disclosed, although many computers connected to the control means, but it is only supplemented by computer-controlled apparatus main microcontroller family, only one function is completed, the computer does not take full advantage of the control system and technical resources, and less stable , and the SCM, a class of digital processing components, the cost is relatively high, there is no plug and play function, nor does it provide programmed control of the working environment, its usefulness is greatly limited, it is still in a pilot phase species, these show the current status of the project to develop technical weakness in hardware, software, based on the universal nature of the lack of practical, financial, repeated consumption on the human and material.

5 5

三,发明内容本发明是以一种计算机接口的输入输出控制信号的通道代码运作的工作方式来实现计算机和电器设备之间的连接控制,解决在计算机接口上的设备自动获得智能化信息化功能,能够将计算机、网络和外接电子器件三方自动关联和自由应用的通用装置;它为电器设备的输入接口提供了发控的通道代码,又为电器设备的输出口提供了受控的通道代码,这些代码都为计算机所共识,参与计算机控制体系,利用计算机的技术资源工作, 以开关脉冲电平产生、MODEM 口以电话拨号信号的产生作为连接信息,进行接口的发控和受控,实现计算机对电器设备的连接控制,或连接的输入端对电器设备的控制。 Third, the present invention is based on the code channel signal input and output control of the operation of a computer interface works to implement the connection control between the computer and electrical equipment, to solve the interface device on the computer to automatically obtain information about the intelligent features can be a general-purpose computer device, an electronic device and an external network associated with the automatic and free constituents applications; it provides a launch control interface to a channel code input electrical device, and provides a channel code for the controlled output of the electrical equipment, these codes are computer consensus participating computer control system, the use of technical resources of the computer, generating a switching pulse level, MODEM port to generate a signal as a dial-up connection information, and controlled launch control interface, and computer control connection of the electrical control device, or an input terminal connected to the electrical equipment.

本装置的通道代码的运作方式,其代码是一种在Windows98\Windows2000\winNT操作平台下的API形式的函数,因此这种代码为用此平台工作的计算机所共识,同时其发控的或受控的开关电平也是一切电器设备的控制通道所通用的电信息,这种代码、电平的工作方式,既为计算机共识,也为电器设备的控制通道相通,因此本装置适用于一切包括家用电器、计算机外设和自动控制设备的控制部分的连接控制,它是一种通用的连接控制平台装置,接入后无须编程即可工作。 The code channel mode of operation of the present apparatus, in which a code is Windows98 \ Windows2000 \ API in the form of a platform winNT function, so this work using this code for the computer platform consensus controlled while it is made or by switching levels are all controlled electrical device control passage common to electrical information, such code, the level of work, both for the common computer, but also as a communication control channel of the electrical equipment, thus the present apparatus is applicable to all household comprises electrical connection control part, computer peripheral equipment and automatic control, which is a universal connection means control platform, without the access to the programming work.

具体来说,本装置的功能和作用:1,提供了1〜31路输入、1〜255路输出供电器设备、 计算机外设或一个自控工程的控制部分进行连接控制;2,不同用途的电器设备或不同功能的通道可以同时连接;3,连接后的电器可以单机组网,连接后的一个自动控制工程可以自成工作体系,参与计算机的控制系统,利用计算机的技术资源工作;4,连接后的单机网络或工程工作体系可以作为一个终端挂入局域网络,并可以实行信息控制; 5,即插即用,接入后利用该装置的自带软件,无须编程立即可以工作;6, 一机多用,本装置插入计算机后,除了利用本装置实现电器设备的连接控制功能外,还可以同时作学习、办公、游戏和上网等等其它的用途。 Specifically, the function and effect of the present apparatus: 1, provided 1~31 inputs, 1~255 power output apparatus, or a computer peripheral control section of the automatic control engineering control connection; 2, different uses of electrical appliances devices or channels of different functions can be connected; 3, the collector may be a stand-alone network connection, an automatic control engineering can be connected from the system to work, participate in the control system of the computer, the use of technical resources of the computer; 4, connector after stand-alone networks or works as a work system linked into local area network terminal, and control information can be implemented; 5, plug and play, with which the device comes with the access software can work immediately without programming; 6, a machine, the present device is inserted into the computer, in addition to the use of the present apparatus to achieve electrical connection control apparatus, it may also be used for other purposes study, office, games and the Internet and so on simultaneously. 从根本上来说,本发明是一种利用代码运作的方式将电器设备的输入、输出控制通道和计算机连接起来,参与计算机的控制系统, 利用计算机的技术资源工作,解决在计算机接口上的设备自动获得智能化信息化功能, 能够将计算机、网络和外接电器设备三方自动关联和自由应用的一种连接控制装置。 Fundamentally, the present invention is a way of operation of the code by connecting the input electrical equipment, computers and output control channels, involved in the control system of the computer, the use of technical resources of the computer, on the computer to resolve the interface device automatically intelligent information obtaining function, a computer, an external network and automatically associate tripartite electrical equipment applications and can be freely connected to the control device.

本装置由连接端口、电信号处理电路和软件组成。 This device consists of a connection port, an electrical signal processing circuits and software. 连接端口有3个:输入连接端口、 输出连接端口和主机连接端口;电信号处理电路有4个部分:开关电路部分、编码电路部分、保护电路部分和电源电路部分。 It has three ports: an input port, an output port and host ports; electronic signal processing circuit has four parts: a switch circuit section, the ciphering circuit section, the power supply protection circuit portion and the circuit portion.

输入连接端口提供了31路并行接入通道,1〜31路逐一工作的方式,也可以1~5路并行工作和15〜0路逐一工作的方式,供各类输入通道接入使用,其输入的触发信号由本装置的输入连接端口5l的通道接入,送至开关电路6,产生编码器的控制电压;编码电路采用74HC245做编码器,用主机并行端口的低电平对编码器B端进行预骗码;当有输入工作电平发生时,开关电路产生了控制电压,编码器的预编码由B向A流出,进入主机,加到主机并行端口的状态线组15l;再由软件获取信号进行解码16,使其成为计算机Windows系统下一切应用的可识的通道代码,以API函数的形式表示,可以再编程调用。 Providing an input port 31 connected to the access path parallel channels, one by one embodiment 1~31 road work, the road can be 1-5 and parallel work paths 15~0 work individually, using the access channel for all kinds of input, the input the access channel by a trigger signal input ports 5l of the present apparatus, to the switch circuit 6, the encoder generates a control voltage; encoding circuit uses 74HC245 do encoder, a parallel port of host computer B to the low end of the encoder pre cheat codes; when there occurs an input operating level, the control circuit generates the switching voltage, the pre-coding unit B to the outflow a, enter the host, the host is added to the parallel port status line groups 15L; reacquisition signal by software decoding 16, making it recognizable all channel application code in a Windows computer, it expressed in the form of API functions, reprogrammable call. 经用户交互方式的功能定义17设置,通道代码立即可以获得:键盘动作、 鼠标动作、输出接插口动作、电话拔号动作、外部程序执行动作、多媒体动作和计数动作等的功能,采用即插即用的工作模式,经驱动18即可立即产生相应的控制动作输出。 Defined by user interaction function 17 is provided, the channel code can be obtained immediately: action function keyboard, mouse operation, the output operation of modular jack, telephone dialing operation, an external program to perform actions, multimedia operation and counting operation or the like, using Plug with the operating mode, the driver 18 generates a corresponding control action can immediately output. 由输入通道送入的触发信号,在解码过程中获取时,釆用高电平维持期采样处理法, 每个通道釆用不同的方法解码时赋予不同的代码。 Fed by the trigger input signal path, is acquired in the decoding process, preclude the use of the sampling process to maintain a high level method, each imparting a different code channel preclude decoding by different methods. 高电平维持期采样处理法包括:1, 信号采集的定时器可以调节,2,高电平维持期内首位采样代码生成法,3,高电平维持期内多位采样重复代码生成法,4,高电平维持期内编组代码生成法;5,高电平维持期内全位计数法;6,高电平维持期内首位采样信号累计计数法等,其中l是一种时间设置,其余5条是具体作法。 Method of maintaining high sampling process comprising: 1, the timer can adjust the signal acquisition, 2, to maintain a high level code generation method of the first sampling period, 3, a number of high level is maintained during the sampling process is repeated code generation, 4, the high level is maintained during marshalling code generation method; 5, to maintain the high level during the whole counting bits; 6, to maintain a high level period of the first sampling signal accumulated count method or the like, where l is a set time, the remaining five are specific practices. 由用户依具体情况选定,31个输入通道可以用不同的采样处理法,其结果以代码形式表示。 Selected by the user depending on the circumstances, the input channels 31 can be different sampling approach, the results are shown in code.

保护电路主要是对主机并行端口的数据组信号进行隔离保护,因本装置采用并行端口的数据组线端作为输出通道的控制接口,在取出端口控制电平吋为保护主机免受输出通道电源进入损坏。 The main protective circuit is a parallel set of signals to the host data port isolation protection, because the present apparatus uses the parallel port data set as the end of line control interface output channel, port control level extracted from the output channel power inches to protect the host from entering damage. 并口数据线组8个基本的数据通道可以在器外编码生成255个受控的输出通道。 Parallel data line group of eight basic data channel code generator 255 can be controlled outside the device output channel. 软件赋予了255个受控通道的代码,也用API函数表示,使其亦为计算机可识,立即参与控制体系受控。 Gives the managed software 255 code channels, said API function, so the computer can also know, immediately participate controlled control system.

本装置所指的电器设备包括四个方面的范围:1,计算机常规外设,即专为连接计算机工作的一些设备,如显示器、打印机、音箱、扫描仪等等;2,定制外设,即按本装置约定接口参数制作的一类计算机专用设备;3,家用电器,即现在广为存在于社会的家用电器,4,自动控制设备,即是一些为工农业生产的机械工作开发的自动控制装置、 环境监测控制系统装置、家居电器设备组网的演示控制系统等。 Electrical apparatus according to the present apparatus comprises a range within the meaning of the four aspects: 1, a conventional computer peripherals, i.e. a computer designed for a number of devices connected to the work, such as monitors, printers, speakers, scanners, etc.; 2, customized peripherals, i.e. according to the convention device interface parameters produced a type of computer equipment; 3, household appliances, which is now widely present in the community household appliances, 4, automatic control equipment, that is, the automatic control of a number of industrial and agricultural production of mechanical work developed devices, environmental monitoring control system devices, home networking demonstration of electrical equipment control systems.

任何电器设备包括主体工作部分和动作控制部份两个内容,如针式打印机,打印头的24根针交互出针打字这是打印机的主体工作内容,电源开关、进纸、退纸、字车左右移动、单行打印....等,它们是保证打印机打字这一主体工作正常进行的各种控制动作内容。 Any electrical equipment comprises a body portion and a working operation control part two elements, such as dot matrix printer, the needle 24 interaction needle printing head which is the main work content type of the printer, the power switch, feed, back paper, the carriage move around, one-line printing .... etc., which is to ensure that the main work of various printer typing normal control action content. 又如单制空调,由压縮机蒸发器构成的制冷系统工作这是空调的主体工作内容, Another example is the single air-conditioning system, consisting of a compressor refrigeration system evaporator, which is the main work of the air conditioner work content,

行的各种动作控制内容。 Various lines of action to control the content. 就是普通的电灯,也由照明这一主体工作内容和开、关这一动作控制部分。 It is an ordinary lamp, and also by the illumination of the body work opening and the contents, this action off control section. 本说明所述计算机对电器设备的控制,主要指作用在这些电器设备上动作控制部分通道的控制。 This description of the computer control of electrical equipment, mainly refers to acting on the electrical equipment controlled by the controller portion of the channel.

本装置所指的通道,对本装置而言,就是指提供的端口线路,每一个通道可供电器设备一个控制项目连接,输入通道可供电器设备的发控项目发控或信息采集,输出通道可供电器设备受控的端口连接受控;电器设备的控制线路也是它自已的通道概念。 Passage means within the meaning of this, for the present apparatus, a port is provided in line, each channel for connecting electrical equipment a control program, input channels for launch and control items of electrical equipment or send control information collection, output channels may controlled power supply apparatus controlled port; electrical control circuit device is its own channel concept.

本装置把一切家用电器均作为电器设备看待,在我国现今,家用电器是一种技术比较成熟的产品,社会拥有量很大。 This means all the household appliances are viewed as electrical equipment, in our country today, household appliances is a relatively mature technology products, a large community ownership. 把现有家电的电源开关部分、遥控器的各控制钮部分直接接入本装置的输出通道受控,无须加装或折卸改装即可实现本装置对它的代码控制连接。 Each section controls the power switching portion existing appliances, remote access to the device is directly controlled output channels, without installation or removal can be achieved according to the present modification code control apparatus connected to it.

本装置对计算机常规外设的控制,除了本装置的输出口接插口供常规外设的电源接入受控外,如果常规外设有遥控器,亦可按家用电器摇控器的办法控制,把遥控器的按钮部分按入本装置的输出通道,由本装置的输出通道执行。 This conventional control of the computer peripheral device, in addition to the output port of the device connector peripheral statement conventional power controlled access, the peripheral if conventional remote control, remote control of household appliances also according to control measures, the portion of the remote control button pressed into the output channel of the apparatus, executed by the output channel of the present device.

本装置自带5V电源供电,采用众知的变压、整流、滤波和稳压电路。 This device comes 5V supply and is well known in the transformer, rectifier, filter and regulator circuit. 本发明的样机,体积是长16.5*20*7。 Prototype, the present invention is a volume of 16.5 * 20 * 7 long. ^4的长方体,如采用大批量的生产,可将其中电路集成化,自带的5V电源可以省去,那时可以将本装置装在主机箱内,成为计算机随机的外设。 ^ 4 of a rectangular parallelepiped, such as the use of mass production, which may be an integrated circuit, built-in power supply 5V omitted, then the unit may be mounted on the mainframe, the computer becomes random peripheral.

四,附图说明附图l:计算机代码控制连接方框图附图2: —个通道开关、解码电路图附图3:输入通道代码运作过程示意图附图4:软件部分组成结构图附图5:程序工作流程图五,具体实施方式下面分别说明本装置实施方式。 Fourth, the accompanying drawings L: computer code for connecting a control block diagram of Figure 2: - switch channels, the decoding circuit diagram of Figure 3: Schematic diagram of the operation of the input channel codes Figure 4: parts software configuration diagram of Figure 5: Work Program flowchart V. DETAILED DESCRIPTION The following embodiments illustrate the present apparatus. 由于本装置的作用和功能的实现是在本装置的硬件 Due to this function and achieve the effect of a hardware device present in the apparatus

基础上,由一些具体的方法和装入计算机内的一系列程序的共同支持来完成的,因此在说明实施方式时,在一定的范围内将要专门说明一些具体的方法和程序:(一) ,采用计算机并行端口和IEEE 1284标准。 Based on a common support in a series of programs and some specific methods into the computer to complete, and therefore when the description of the embodiments, in a certain range will be specifically described some specific methods and procedures :( a), using computer parallel port and IEEE 1284 standards. 本装置为实现输入和输出同时接插, 采用具有输入和输出功能可以人机交互工作的并行端口作为和计算机的连接通道,用1994年3月IEEE (国际电子电气工程师组织)发布的IEEE1284标准对端口的定义, 取状态组5根状态线作为连接输入的基本通道,取用8根数据线作为连接受控的输出的基本通道,取用和1根nAUTOFEED控制线作为输出通道编码时锁存控制用。 This device is simultaneously input and output patch, can be employed as a parallel port and a connecting channel interactive computer work having input and output functions, in March 1994 by the IEEE (International Electrical and Electronics Engineers) standard published by IEEE1284 definition of the port, the state of the group taken as a status line 5 connected to the base channel input, access to data lines 8 connected to the base channel as a controlled output, and an access control line nAUTOFEED channel coding an output latch control use. 为了连接更多的输入设备,在本装置中设置了31个输入连接通道的端口用编码的方法和并口5根状态线对接。 To connect more input devices, the input port 31 is provided with a connecting channel coding method and five parallel status lines present in the docking device. 输出设备也可在8根基本线的基础上编码产生255路输出通道连接端口,由用户根据用途和取用通道多少自行在机外进行编码、锁存和电平的适配,做成输出接插器13。 Output devices may also be coded on the basis of eight substantially on the line 255 to generate output channels connecting port, many self-encoded, and the level latched in the adaptation by the user outside of the machine according to the use and access channels, to obtain an output connected interpolator 13.

(二) ,主机连接端口。 (B), the host port. 主机连接端口是一个15针的'D'形插件,连接了主机并行端口的状态线组的32、 10、 11、 12和13脚,作为输入通道编码信号的入口;连接了主机并行端口的数据线组的2, 3, 4, 5, 6, 7, 8禾n9展卩,作为输出通道的基本控制端口;引入14脚nAUTOFEED控制线作为输出通道编码时锁存控制用',并引入了主机并行端口的2t脚低电平,作为对编码器的预编码的加载电平。 Host connection port is a 15-pin of the 'D' shaped plug connector 32, 10, 11, 12 and 13 feet host parallel port status line group, as the inlet for the channel encoded signal; connecting the data host parallel port 2, line group 3, 4, 5, 6, 7, 8 Wo Jie show n9, as the basic control port output channel; nAUTOFEED foot control line 14 is introduced as the latch output channel coding control ', and the introduction of the host 2t low pin parallel port, a loading level of the precoder of the encoder.

(三) ,输入通道连接端口工作方式。 (C), the input port channel mode of operation. 开关电路6的输入通道连接端口5i提供了31路输入通道并行接入,机盒上开设了4个外设连接端口,供不同用途的输入同时接插使用, 采用1~31路逐一工作的方式,也可以1〜8路并行工作和15〜0路逐一工作的方式,实施统一标准的接入参数。 Input channel switching circuit 6 is connected to port 5i provides parallel access to 31 input channels, defines four peripheral ports top box, while the input for different applications using patch, by way of path 31 one by one from 1 to work , work in parallel and may be individually work 1~8 15~0 passage way, uniform standards of access parameters. 这个接入参数标准是:1HZ〜20KZH的开关电平脉冲信号,不工作时为低电平(OV),工作时为高电平(+5V)。 This access parameter criteria are: switch the level of the pulse signal 1HZ~20KZH, it does not work at a low level (OV), when the work is high (+ 5V). 输入通道接入必须根据这一标准,首先将发射信号进行机外解调或电平适配,做成输入接插器,从32有线接入51。 Access must input channel, the first demodulating transmitted signals outside the machine level or adapted according to this standard, the input patch made, a cable 32 from the access 51. 电器设备1最好是采用遥控发射的方法发控或信息采集,信号从2i遥控发射的方法,将发射信号交与31。 Electrical apparatus 1 is preferably made using the method of transmitting a remote control or control information collection process signals transmitted from a remote control 2i, 31 and cross-transmission signal.

关于逐一工作方式和并行工作方式, 一般来说输入通道逐一工作的方式适合于把输入作为发控装置时采用,如遥控手柄等,输入通道并行工作方式适合于信息实时监测采集的场合使用,它使用的是状态线组的基本线通道来获取信息。 About the work one by one and parallel work, working in general manner by one input channel adapted to send control input as a means used, such as remote controller, etc., input channel adapted to parallel work occasions to monitor real-time information acquisition, it using the basic wire line group of channel status information to obtain.

输入通道一般用于驱动或设备本身的一个传感器装置的信息的采集、处理,存在着发射信号的频率和采集的方法的各种具体情况和要求,如①因电器设备输入端工作发射频率差异而造成采样的误差的避开办法;②提高相同的代码重复出现的速度;③输入9 General input channels for collecting information of a device driver or a sensor device itself, the process, there are various circumstances and requirements of the specific method of frequency acquisition and transmission signal, as an input terminal ① In Appliances working transmission frequency differences Measures to avoid the resulting error samples; ② increase the speed of the same code is repeated; ③ input 9

端作为遥控发射器时,31个通道少了,要求增加控制按键的数目等等。 When the end of a remote control transmitter, less channel 31, requires increasing the number of control buttons or the like. 本装置为适应这些需要,对输入发射的工作信号的方式和处理方法提出了一种高电平维持期采样处理法,内容如下:(1) ,信号采集的定时器可以调节。 In order to meet these needs the present apparatus, the working mode of an input signal and transmitting the processing method proposed to maintain a high level of sampling processing method, as follows: (1), a timer may be adjusted signal acquisition. 即采样周期或软件获取代码的频率可以调节。 I.e., obtain the frequency of the sampling period or software codes may be adjusted. 输入设备的触发信号是由操作者有目的的按击,或由外接传感设备随机产生的结果,各种设备其触发信号产生的开关电平的高电平维持期(即'开'动作维持时间)是不周的,操作者手动按击发生的开关电平正常高电平维持期一般为300毫秒左右,如果是采用传感器触头发生的开关脉冲的高电平维持期那将比人工操作发生的开关电平维持期小得多, 为了在输入通道上根据不同的情况准确获取触发信号,对于采样的定时器采用可选的办法,本装置采用了O. 1—100毫秒内任选定时器采样的定时办法(见附表l)。 Trigger signal input device by an operator is hitting a purpose, the results from the external sensing device or randomly generated, the switching level of the various devices which trigger signal generating sustain period of a high level (i.e., 'on' action to maintain time) is ill, the press operator manually switching level high hit occurs normal sustain period is generally about 300 milliseconds, if the sensor chip is the use of a switching pulse occurs than that of maintaining a high level of manual operations switching levels occurring sustain period is much smaller, in order to obtain accurate channel input trigger signal depending on the circumstances, the sampling timer using an alternative approach, the present device employs the timing O. 1-100 milliseconds optionally the timing of the sampling approach (see Table l).

(2) ,高电平维持期内首位采样代码生成法。 (2), to maintain a high level code generation method of the first sampling period. 某些代码驱动的内容如果只需要动作发生后l次代码驱动动作,只需要执行一次,例如鼠标左击、右击按下去仅发生一次,应采用高电平维持期内首位采样代码生成的方法。 Some code-driven content action occurs only if the code l times the driving operation need only be performed once, for example, left mouse click, right click press down occurs only once, the first method of maintaining a high level code generation sampling period should . 又如输入设备为手柄按钮一类的操作,作一次触发,产生一次驱动动作,均为首位采样代码生成的方法(见附表l)。 Another example is the input device is a button-like operating handle, a trigger for generating a driving operation, both code generation method of the first sample (see Table l).

(3) ,高电平维持期内多位采样代码生成法。 (3), a number of high level is maintained during the sampling code generation method. 由于某些动作在按键按下后需要重复出现某一驱动内容,例如发多个字符到屏幕上去,鼠标移动动作等,如果采用(2)首位采样的方法,触发一次产生一个动作就慢了,因此必须采用高电平维持期内全位代码生成采样的方法,按键按下去后,每一个'I'位就是一个重复动作。 Since some action requires a repeated driving content after the button is pressed, for example, send a plurality of characters up to the screen, mouse movement operation or the like, if (2) The method of the first sampling, generating a single action trigger a slow, the method must therefore remain fully high bit code generated sampling period, press down the button after each 'I' bit is a repetition. 本方法依据位获取不同具体实施也不同:A,多位采样代码生成的起步位后隔位法(见附表l)。 The method according to the present embodiment DETAILED get different bit different: A, a number of sampling start code generation method posterior compartments (see Table l). B,多位采样代码生成的起步位后阻尼位法(见附表l)。 B, a number of samples after the start bit of the code generation method damping position (see Table l).

(4) ,高电平维持期内编组代码生成法。 (4), a high level is maintained during the marshalling code generation method. 这是本装置发明的一个全新的方法。 This is a new method of the present invention apparatus. 由于本装置提供了实现'由键盘去编程,用遥控器来操作'的操作环境,让厂家开发的计算机遥控操作器像电视机的遥控操作器一样方便,某些大的应用程序遥控操作用31个通道代码定义是不够的,做的遥控手柄的体积也不能加大,按键太多反而使用不便,不易操作, 因此本发明提出了高电平维持期内全位编组代码生成的方法,采用这个方法可以使每个按键无须其它按键配合,如计算机键盘上的't SHIFT'或'CAPS LOCK'健,就可当2 个或3个使用,31个通道代码可衍生为62个或93个代码。 Since the present apparatus provides an operating environment to realize 'to program from a keyboard, a remote control to operate', so that the remote computer manufacturers to develop an operator like a television remote operator as convenient, some large applications with remote control 31 code defines channels is not enough to make the volume of the remote controller can not be increased, but too inconvenient to use the keys difficult to operate, the present invention thus proposes a method of marshalling all bit code generation to maintain a high level during the period, using the the method can be made without other keys with each key, such as 't SHIFT' on the computer keyboard or a 'CAPS LOCK' health, can be used when using two or three, channels 31 to 62 derived from code or codes 93 . 高电平维持期内全位编组的确定方法,首先要对采样设备触发工作可能发生最多的全位数进行编组,按'1' 出现的顺序,确定每组含'l'多少个,并给予每组的代码, 一般第一组为原通道代码,10 The method of grouping all bit determining high sustain period, first to the whole number of bits of the most likely trigger a workflow sampling device grouping, in order of appearance of '1', each containing determined 'l' number, and to give the code of each group, the first group is generally for the original channel codes, 10

第二组为分支代码,代码号为原通道代码加'ioo',第三组亦为分支代码,代码号为原通道代码加'200',如此等等。 A second set of branch code, the code number for the original channel code plus 'IOO', also a third set of branch code, the code number for the primary channel plus the code '200', and so on. 然后在实用中按每次动作的位出现次数,在那个组,'对号入座',即获得那个组的代码。 In practice then the number of bits appear in each operation, in that group, 'condemnation', i.e. get the code of that group.

操作者在实施遥控手柄设备高电平维持期内定时器计数的方法的操作时,如采用100 毫秒的定时周期采样,要得到第一组代码(原通道的代码)必须采用轻触法,即轻按键子,保持O. 1-0.4秒的触发时间;要得到第二组代码应采用重触法,即重按键子,保持0. 5-0. 8秒的触发时间(见附表1)。 The method of operation of operator when the timer count period is maintained embodiment high remote controller device, such as a 100 msec sampling timing cycle, to obtain a first set of codes (the original channel code) must touch method, i.e., light subset of keys, retention time to trigger O. 1-0.4 seconds; to obtain a second set of codes should be used to re-contact method, i.e. heavy subset of keys, trigger holding time 0. 5-08 seconds (see Table 1).

(5),高电平维持期内全位计数法。 (5), a high level is maintained during all bit notation. 在高电平维持期内按定时器重复采集的信号个数进行计数,某一通道发生高电平期内定时信号多表示触发动作'开'的时间长,反之, 定时信号少表示触发动作(开'的时间短。全位计数法与输入通道、采样周期(即定时信号)和高电平维持期长短有关,因此这个计数通道代码具有扩展代码的潜能,在同一通道上扩展输入代码的信息量,实现在一个通道上产生开关电平维持的多个脉冲信息代码。这些扩展的脉冲信息代码是由输入触发手段在某一通道上'开'的时间维持长短(高电平维持期的长短),发生'l'的多少而产生的。另外,此法对于采集屏幕图标闪烁信号计数,开发计算机遥控屏幕目标点击器也是非常有用的。 In maintaining a high level timer signal period according to the number of count acquisition is repeated, the high level period of the timing signal indicates a multi-channel long-triggering action occurs 'on' time, on the contrary, the timing signal is represented by at least a trigger action ( short on 'time. all bit counting the input channel, the sampling period (i.e. timing signals) and related to the length of the high level is maintained, so that the code has the potential to count channel spreading code, spreading code information entered on the same channel amount, multiple pulses to achieve an information code switching level is maintained at a passage of these pulses spread code information maintained by means of the input trigger 'on' time on a channel length (the length of high level is maintained ), generated by the occurrence number 'l' in addition, this method for signal acquisition screen icon scintillation counting, the development computer screen remote control clickthrough also useful.

(6),高电平维持期内首位采样信号累计计数法。 (6), to maintain a high level during the first sampling signal accumulated count method. 对于以信息量为采集目的的一类输入设备,为了不断的得到传感器实时信息的目的,可以在各通道的设备开始工作之前, 确定相对的起始量,然后采用高电平维持期内首位计数法,对其代码出现次数进行累计计数,以计数多少表征该代码所发生的实时信息量;进一步以累计计数和发生的时间两项信息记录,进行相关分析还可以作为二维实时信息处理(见附表l)。 For the purpose to collect information as a type of input device, for the purpose of real-time information continuously obtain a sensor, the device may start working before each channel, to determine the relative amounts of starting, and then takes the high level is maintained during the first count method, the number of its code appears accumulating counts, real-time information to characterize the count of how many codes occurring; further records the time of occurrence and cumulative count two information, correlation information may also be two-dimensional real-time processing (see Schedule l).

高电平维持期采样处理法包括六个方面的内容,即信号采集的定时器可以调节, 高电平维持期内首位采样代码生成法,高电平维持期内多位采样代码生成法,包括多位釆样重复代码生成的起步位后隔位法和多位采样代码生成的起步位后阻尼位法,高电平维持期内编组代码生成法,高电平维持期内全位计数法,高电平维持期内首位采样信号累计计数法等,其中l条是一种时间设置,其余5条是具体作法。 High sampling processing method comprises maintaining the contents of the six aspects, i.e., signal acquisition timer may be adjusted to maintain a high level code generation method of the first sampling period, the high level is maintained during a number of sampling code generation method, comprising Many preclude the like after the start bit position damping method is repeated after the start bit of the code generation method and number of sample compartments code generation, a high level is maintained during marshalling code generation method, the high level is maintained all bit counting period, a high level signal to maintain a cumulative count of the first sampling period method, where l is a bar setting time, the remaining five are specific practices. 本装置釆用的并行通道和开关电路的接入方式,为这一方案的实施提供了稳定可靠的枝术支持,保证了各个通道根据实际要求选取不同的输入信号获取方法,使高电平维持期釆样处理法巧妙的灵活的运作,在同一工作环境中各显其能,保证最快最准确的执行驱动或最精确的采集数据,同时可以控制输入触发的高电平维持期以扩展输入代码的信息量。 This means preclude access channel parallel manner and a switching circuit to provide a stable and reliable support for the sticks implementation of the program to ensure that the respective channels obtained according to the different requirements of the actual method of selecting the input signal, so that the high level is maintained Bian period clever and flexible operation of the sample processing method, display their work in the same environment can ensure the fastest and most accurate drive or perform the most accurate data collection, while maintaining a high level of control input trigger period to extend the input information code. 上述1~6的实施可作到每一个通道上,均以不同的API代码的形式表示,在动作中心程序中设置,也可以在用户编程中选择。 Examples 1 to 6 described above may be done on each channel, are different forms of API code representation, provided on the center of the action program, the user can also select programming.

在制作计算机程序遥控手柄时,如果觉得输入31个通道的按键不够用,可以选择(4)高电平维持期内全位编组代码生成法,用来增加输入通道功能,在不增加硬件的情下将31路衍生为62路或93路,避免了普通键盘采用'SHIFT'或'C邻slock,键来扩展键盘功能;如果需要按键的连续动作,如鼠标动作的左右上下移动等,宜采用多位采样重复代码生成法;如果输入通道用于传感器的信息采集,可以选择5高电平维持期内全位计数法或6高电平维持期内首位采样信号累计计数法,对传感器的触发信号进行计数处理,可以在同一通道上扩展输入代码的信息量,实现在一个通道上产生开关电平维持的脉冲信息代码。 When the computer program making remote controller, the input key 31 if that is not enough channels, can be selected (4) high all bit sustain period marshalling code generation method for increasing the input channel function, without increasing the hardware case under the 31 path derivatized 62-way or 93-way, avoiding the ordinary keyboard using 'SHIFT' or 'C o SLOCK, key to expand the keyboard function; If continuous operation keys, such as up and down movement of a mouse operation or the like, should be used sampling is repeated a number of code generation method; channels for information collection if the input sensor 5 can be selected to maintain a high level during counting all bit 6 or sampling signal is maintained high during the first cumulative count method, the sensor is triggered counting the signal processing, the input code may extend the amount of information on the same channel, to achieve an information code a pulse generating switch level is maintained on one channel. 这些保证了输入的控制范围和信息量采集的精度,提供给开者去开发创新更符合社会需要的计算机接口产品。 These ensure the accuracy and control of the amount of information collected input, available to those who open to developing innovative products more in line with the computer interface needs of the community.

应该说明,本装置是以通道的方式提供给电器设备的控制线路连接,每一控制线路需要占用本装置一个通道,例如一件电器设备如果有3路输入发控线路,那么本装置提供的31路可以接入10台该电器设备,另剩l个通道未用。 It should be explained, the present embodiment the channel means is provided to control line connection of electrical equipment, each control circuit of the present apparatus needs to occupy a channel, for example, if there is an electrical equipment control circuit 3 inputs made, then this means 31 provides the passage 10 may access the electrical equipment, the other left unused channel l. 为了得更多的输入控制或采样通道, 一方面可以采用高电平维持期内全位计数法,获取同一通道上扩展输入代码的信息量,实现在一个通道上产生开关电平维持的多个脉冲信息代码。 In order to obtain more control or input sampling channels, a plurality of high aspect may be employed to maintain all bit counting period, obtaining extended input information on the same channel code, generating a switching level is maintained to achieve in a channel pulse information code.

(四),输出通道连接端口工作方式。 (D), an output port channel mode of operation. 保护电路8提供了8个输出基本通道,通过输出通道连接端口lli,给电器设备14,像输入类型通道一样,规定了统一标准的接入参数,这个接入参数标准是:+5¥电平接入,8路逐一受理的驱动的工作方式。 The protection circuit 8 provides eight base channel outputs, through the output port lli channel, to the electrical device 14, the same type of channel as input, provides unified access parameter, the access parameter criteria: + 5 ¥ level access, receives 8 individually driven work. 因此, 为了输出通道的工作电压和接入标准电压匹配,也为了增加输出的通道数,用户在使用时,根据需要量的多少将8个基本输出通道进行扩展后使用,应首先在器外对8基本通道作编码处理生成1-255个通道,同时进行电压的适配和受控通道的锁存,做成输出接插器13的装置,再由13i与111相接连。 Thus, access to the operating voltage and the standard voltage matching output channels, but also to increase the number of output channels, the user during use, depending on how many of the eight basic requirements of output channels after extended use, outside the filter should first 8 as the base channel coding processing unit 13 generates channel 1-255, while the latches and the voltage controlled channel is adapted to obtain an output connector, a further series of phase 111 and 13i. 1~255个输出受控通道,均以代码的方式表示, 其形式是API函数,每一受控端口提供了2个代码,即受控开始代码和受控结束代码, 开发者在器外编码锁存的电路上用nAUTOFEED控制线作为锁存输出电平'1,或'0'。 1 to 255 output channels controlled way are code representation, in the form of API functions, each controlled port provides two codes, i.e., controlled and controlled start code end code, the developer is outside the encoder nAUTOFEED the latch circuit as a latch control line output level '1, or' 0 '. 还提供了全部受控通道全关的代码。 Also it provides the code for all channels controlled fully closed.

作为一个电器设备单机组网的模式方案,输入通道代对输出255个众多的受控通道实施逐一控制,使操作直观,本装置的所开发的程序提供了受控输出通道'255路监控板',在显示器屏幕上面出现255个图标,由鼠标一一选取点击,对受控输出通道开启、持续时间、关闭和受控代码的设置和控制项目进行选定。 As a mode of embodiment of the electrical equipment stand-alone network, the output of the input channel 255 on behalf of a large number of individually controlled embodiment of the control channel, so that intuitive operation, the development program of the present apparatus provides a controlled output channel 'channel monitoring plate 255' , an icon appears on the display screen 255 above, by the mouse click to select eleven to open the controlled output channel, duration, closing and managed code settings and control projects selected. 它是一个输出通道总控的12 It is a total control of the output channel 12

中心,监控中心。 Center, the monitoring center. 当然,有些应用程序的特殊需要, 一些常用或特殊用途的受控输出通道或项目同时应由无线通讯设备或输入遥控器装置控制,这一切由动作中心的用户交互方式的代码定义来完成。 Of course, some special needs of the application, some common or special-purpose project or controlled output channels should be simultaneously input apparatus radios or remote control, to complete the code defines all user interaction by an operation center.

(五),开关电路。 (E), the switching circuit. 开关电路6有32个开关管,l个开关管用于遥控开关控制,31个开关管用于编码。 The switch circuit 6 switch 32, l a switch for remotely controlling the switch, the switch 31 for encoding. 开关管为C卯13,按32路采用众知的工作方式设计,见说明书附图2: l个通道开关、解码电路图。 C d is a switch 13, 32 by use of well known design work, See figure 2: l switches channels, the decoding circuit diagram. 32个开关管控制32个通道的工作状态,采用逐一运行的工作方式。 32 switch the working state of the control channel 32, using the work one by one run. 输入设备工作时,其某一并行通道上送来的开关脉冲的电平从32经输入通道连接端口5i加在开关管C9013的B极62,输入设备某一通道在不工作时,开关电平一直是关断状态,5i—直是低电平0V,相应的C9013截止,C极6i保持高电平5V; 如果输入设备某一通道工作时,5V高电平由输入接插器32经输入通道连接端口51加在开关管C9013的B极62,对C9013进行触发,C极6i立即导通、饱和,翻转为低电平0V。 When the input device is working, the level sent on the parallel channel switching pulse which is a connection from the port 32 via the input channel switch 5i is applied to the B C9013 electrode 62, a channel input device when not working, switching level has been oFF state, 5i- linear low is 0V, the respective cutoff C9013, C electrode 6i 5V remains high; If a channel operation input device, 5V by a high input via the input connector 32 channel 51 is applied to port B of the switch pole 62 C9013, C9013 of the trigger, C electrode 6i is turned on immediately, saturated, toggles low 0V. 6i连接在下一级编码器74HC245的7i脚,7i脚是74HC245R的19脚使能控制和1脚方向控制,使74HC245获得了触发工作的OV电平。 6i connected to the next stage of the encoder 74HC245 pin 7i, 7i feet 19 feet 74HC245R enable control and direction control pin 1, so obtaining a 74HC245 OV level trigger work.

(六) ,编码电路。 (VI), encoding circuit. 5条状态线,实现31个代码端口的接入必须采用编码,因此采用8总线收发器74HC245作为编码器,编码器的工作方式为:(l)低电平(L)使能(Q) +低电平(L)方向控制(DIR); (2)编码由B数据端输入从A数据端输出。 5 status line, and the code of the access port 31 must be coded, so a bus transceiver 74HC245 8 as an encoder, the encoder works as: (l) a low level (L) is enabled (Q) + low (L) direction control (DIR); (2) from the encoded data B output from the A terminal input data terminal. 编码形成的办法采用低电平加载的预编码待候技术,和采用各通道的开关管C9013的C极导通时的触发动作,对编码器的使能和方向控制脚进行触发,这一办法的实施过程,不受环境干扰,相当稳定可靠。 Encoding approach using a low loading is formed to be candidate precoding technology, and the use of the respective switch C9013 C electrode guide passage through which the trigger operation when, for enabling the control and direction of the encoder trigger pin, this approach implementation process, from environmental interference, is quite stable and reliable.

编码电路的具体工作情况:开机后由计算机并行端口15l引入低电平脉冲通过101, 对编码器74HC245的B数据线端72的18、 17、 16、 15和14等5个线脚作预编码待候; 74HC245的使能(19脚)和方向控制(1脚)电平是由开关管C9013的C极6l提供的, 一旦开关管C9013受输入设备的通道的开电平5V的触发,其C极发生了电平由高一低的变化,74HC245马上获得使能和方向控制的低电平,B数据线的预编码的低电平信号由原来的待候状态立即发生流动,从A总线2、 3、 4、 5和6脚输出,经输出通道连接端口的10i加到计算机的并行端口151,发生了端口状态线组的电平变化,经程序获取信号,解码处理,还原相应的通道代编。 The specific operation of the coding circuit: When turned by a computer parallel port 101 through the low pulse 15l is introduced, the data line B of the encoder terminal 72 74HC245 18, 17, 16, etc., 15 and 14 feet in line 5 to be precoded syndrome; enabled (19 feet) 74HC245 and a direction control (1 foot) level is determined by C switch C9013 pole 6l provided on level receiving channel input device 5V trigger once the switch C9013, which C a very high level occurs a change in the low, low level enable 74HC245 obtained immediately and direction control, B precoded data line low level signal from the original to be waiting state flow occurs immediately, from the a bus 2 , 3, 4, 5 and 6 feet output, via the output connection port passage 10i is added to the computer's parallel port 151, a level change occurred port status line group, acquire signal, the decoding processing by the program, reducing the corresponding channel substituting ed.

(七) ,软件部分。 (G) the software part. 软件部分负责获取并行端口5条状态线的电平信号,解码还原为通道代码;对电话拔号信号亦赋予通道代码;采用主机屏幕提示的交互方式,由用户对通道代码进行鼠标动作、键盘动作、拔号动作、输出接插口动作、外部程序执行动作、 Software part responsible for obtaining the signal level of status line of parallel port 5, is reduced to decode the code channels; telephone dialing signal is also given channel codes; host screen prompts using the interactive mode, the code channel operation of a mouse by the user, the keyboard action , dialing operation, an operation output interface connector, an external program to perform an action,

多媒体动作和计数动作等的定义,产生动作代码;驱动和执行预先设置好的输出动作, 控制电器设备或应用程序。 Display definitions and counting operation and the like of the operation, the operation of generating the code; and a driving operation performed pre-set output, the control electrical devices or applications. 同时负责获取并行端口数据线组的8条线脚的电平信号和nAUTOFEED控制线的信号,产生受控的输出接口的开始受控和结束受控的代码。 It is also responsible for acquiring the signal level of the signal line 8 and a pin parallel port control lines nAUTOFEED data line group, to produce a controlled output interface controlled start and end of a controlled code. 全部由代码获取,代码激发动作设置,代码输出动作设置,基本动作和代码输出动作执行五个模块组成,如附图4。 All acquired by the code, the code excitation operation is provided, an operation code output settings, basic operation and action execution code output five modules as in Figure 4.

代码获取模块得到并口状态组有关脚号电平或电话接入(调制解调器)信号,它是解码16的内容。 State acquiring module to obtain the code group for the parallel pin number or level of access to a telephone (modem) signal, which is the content decoding 16. 进行还原得到输入状态信号一通道代码;或电话拔号信号一通道代码, 这些代码均以API函数表征。 Reduction to obtain a channel state signal input codes; telephone dialing signal or a channel code, which functions are characterized API. 应该说明电话拔号的通道代码设置,是一个大于31的虚拟代码,电话拔通后实行代码控制,还可选1#、 2#至9#等的具体控制内容。 Description Channel codes should dialing telephone set is greater than a virtual codes 31, code-controlled telephone after pull through further alternative # 1, # 2 to # 9 and the like to control the specific content.

代码激发动作设置模块和代码输出动作设置模块对代码或信号定义工作内容,它是功能定义模块17的两个子模块,使其成为有工作目的的动作代码:通道代码一功能代码。 Codes and code excitation action setting module setting module outputs an operation code signal or the defined job content, which is a functional sub-module 17 defines two modules, making working action code purpose: a function code channel codes. 这一功能定义包括对一切计算机确识的外设的控制内容,也包括接入本装置的受控电器设备。 This definition includes the function of all the computer determines the control content identification peripherals, the present apparatus also comprises an access controlled electrical equipment. 定义的方法是用户在屏幕弹出的面板上,用鼠标点击菜单。 The method is user-defined on-screen pop-up panel, use the mouse to click on the menu. 定义通道代码的内容的目的,是为了使装置达到即插即用的效果。 SUMMARY defined channel code, in order to achieve plug and play of the device.

代码输出动作执行模块执行驱动代码,由附图4程序模块(18)根据(17)和(19) 的定义和设置内容驱动。 Action execution module executes code output driver code, program modules, driven by the reference 4 (18) (17) and the definition (19) and the setting contents.

基本动作模块为基本动作单元,可以扩充叠加,现已开发四个基本动作模块:鼠标动作模块、键盘动作模块、拔号动作模块和输出接插口动作模块等,拨号动作模块是通过MODEM对外任意电话拨号,基本动作构成代码输出动作。 The basic operation is the basic operation of module units, can be expanded superposition, four basic operation of the module has been developed: the mouse operation module, the operation of the keyboard module, and an output module connected to the operation dial jacks operation module, the operation dial any MODEM module by the external telephone dialing codes constituting the basic operation of an output operation. 即插即用的驱动软件的运行过程见附图5 。 Driver software process running PnP see Figure 5. (八),计算机接口输入输出通道代码处理工作方式。 (H), the interface computer code for processing input and output channels mode. 本设备的工作方式是通道代码运作的工作方式,由硬件和软件共同完成,包括代码产生、获取和处理,过程见附图3。 Mode of operation of this equipment is the code into the operating passage work, done by the hardware and software together, including code generation, acquisition and processing, see FIG. 3 process.

这一过程的各项,输入信号由1〜31的之一的通道工作时送入的5V高电平脉冲信号32,经62作用开关电路进行触发,产生输出端6i电平由5V—0的变化,这一电平为通道控制信号,也是通道代码的初始信号;7i是编码器的使能控制和方向控制极,当它获得了OV控制电平后,72的预编码信号立即从73输出,成了通道的编码信号,输出到连接到计算机并口151,这是并口的5根状态线,此时的通道的触发信号已经以编码信号的形式进入了主机;16获取状线上的电平信号解码,由本装置的自带的已安装驻入主机的驱动程序进行,通过解码使其成为通道代码,以API函数形式表示。 Of this process, 5V high-level pulse signal when the input signal is fed by one of the working channel 32 of 1~31, the trigger circuit 62 functions as a switch, is generated from the output terminal 6i level of 5V-0 changes, the signal level of the control channel, the channel code is the original signal; 7i encoders enable control and direction control electrode, when it is obtained OV control level precoded signal output from the immediately 72 73 , become the channel encoded signal is output to the parallel port 151 connected to the computer, which is parallel to the line state 5, the trigger signal at this time into the main channel has the form of a coded signal; 16 acquires shape level lines signal decoding performed by the driver installed in the host carrying the device, making it a channel by decoding the code, expressed in the form of API functions. 此时的通道代码是计算机内一种可识别的代码,获得了和计算机交互的能力;进而由功能定义17对通道代码赋予功能内容,图4的程序(17)和(19)模块提供了由用户定义或设置的交互功能,由'动作中心'驱动程序来完成。 At this time, the channel code in the computer an identification code, and gain the ability to interact with the computer; Content imparted with a pair of channels 17 defined function code, a program in FIG. 4 (17) and provided by a (19) module or a user-defined set of interactive features, the 'action-centric' to complete the driver. 对通道代码功能定义的内容相当丰富,以解决'即插即用'和操作计算机应用程序为目的,每一款动作内容可以按时序向下定义多项, 成为一种程序控制的构件。 The contents of the channel defined function code is very rich, to address a program-controlled member of 'plug and play' application and operating the computer for the purpose of each operation content may be a timing defined by a number of downwardly become. 定义的方法由用户在屏幕面板上弹出'动作中心'面板栏目提示交互设定,即定即用。 The method defined pop 'action-centric' interaction column prompted the panel set on the screen panel by the user, i.e. with that set.

由于执行程序不同,又由于计算机一机多用的目的,每一输入通道代码的功能不是固定不变的,通道代码的功能此一时程序是鼠标动作,在彼一时程序另一用途,可能又是输出接插口动作,为了不进行通道代码的功能定义频繁的设置,提供了输入操作遥控器定义模式文件方法, 一个应用程序配一个遥控器按键定义的模式文件,使用户在一种用途中设置完后以一个特定的文件保存,以后直接可以调用。 Due to the different execution program, and because a computer machine with multiple purposes, each input channel function code is not fixed, the function of this channel code is one o'clock mouse operation procedure, the procedure that was then further use, and may be output socket contact operation is not performed to the channel function code frequently defined set, an input operation method of the remote file definition mode, an application mode with a remote control key definition file so that the user after one use provided to save a particular file, you can call directly after. 本装置关于信息处理的电话拔号动作,利用了MODEM驱动,在运作过程中,亦将电话拔号动作转换为通道代码来执行驱动,即拔号代码的方式,保证驱动动作到位。 Telephone dialing apparatus of the present information processing operation by the driver MODEM, during operation, the telephone dialing operation will also convert the channel code to perform driving, i.e. code dialing mode, the drive to ensure operation in place.

(九),实施效果。 (IX), the effect of embodiment. 根据本发明的功能和特征,如果本发明得到推广,将会给IT业界带来如下情况:(1) ,单机组网将成为一种模式。 The functions and features of the present invention, if the present invention is popularized, a case will bring the IT industry: (1), will be a stand-alone networking mode. 用本装置实现'网络家电'、'电化教室'、'会堂展示'、'弱电自控系统,....等单机网络,这一新的实用模式把众多的模拟、数字电器设备一网接入为一个互连互控的工作体系。 The present apparatus achieve 'network appliances',' Dianhuajiaoshi 'with' hall display ',' weak automatic control system, and the like .... single network, this new utility model the many analog, digital network access Appliances each control interconnection of a working system. 现在这些家电无须内部改动,安置什么机顶盒、 连接盒类的东西,也不要网络家电就可工作,并充分地利用计算机的控制手段、提供的技术资源和电器设备本身的技术资源,实现预期工作目的;输出的众多设备既可即时受控于输入动作代码,又可实行程序控制; 一台主机管理一切输入、出设备,还可实行无线接入,又可通过MODEM与外界相连,实行移动通讯设备的信息控制。 Now these appliances without internal changes, what set-top boxes, connected box things like placement, network appliances can also do not work, and make full use of the means of control of the computer, technical resources and technical resources to provide the electrical equipment itself, to achieve the intended purpose of the work ; many devices can instantly output the input operation is controlled by the code, but also to implement a control program; a host managing all the input, the device can also implement wireless access, but also connected with the outside world via MODEM, implementation of mobile communication devices the information control.

(2) ,使自动控制的接口开发技术变得非常简单。 (2), the automatic control interface development technology has become very simple. 开发人员想解决什么问题,只需作好硬件,按输入+5V、输出+5¥的电平参数,按并行的方式或并串混合的方式接入端口, 无需编程就可获得动作代码或端口代码,就可直接使用计算机提供的技术资源,和计算机交互工作,实现目的。 Developers want to solve the problem, only make the hardware, according to the input + 5V, the output level of the parameter. 5 ¥ + a, a parallel-serial mode or manner of access ports mixed, to obtain operation codes without programming port or the code can be used directly to provide technical resources of a computer, computer interaction and work to achieve the purpose. 也可用提供的API代码函数,由Windows下的流行软件VB、 VC、 Authoware和课件大师等轾松的调用,那时,单片机的市场份额将会受到威胁,受到来自在计算机通用关联应用处理器的平台的简便、实用性能的威胁! API code function can also be provided, VB by the popular software under Windows, VC, Authoware and master courseware loose any kind of call, time, SCM's market share will be threatened by the associated applications from general purpose processors in the computer platform is simple, practical performance of threat! 特别是提供的输入高电平采样的多种方法,使计算机通用关联应用处理器可以得到数字信息处理的条件, 可以由开发者去创新开发实用产品。 In particular a variety of methods to provide the high level of input samples, so that general-purpose computer processor may obtain application associated digital information processing condition can be developed by a developer to be innovative and practical products.

(3) ,将会迎来计算机遥控操作器走进千家万户的时代。 (3), will usher in the era of computer remote operator into the millions of households. 本装置为计算机程序遥控器提15 This device is a remote control computer program 15 provide

供了丰富的操作内容和操作界面,开发厂家可以充分吸取本装置提供的方法、手段以及软件的丰富内容,尽情地发挥制作各种形式的计算机程序操作器、电脑游戏操作器。 For a rich user interface and operation content, the manufacturers can sufficiently absorb the development process of the present apparatus is provided, as well as means for the contents of the software, making enjoy to play various forms of computer program operation, a computer game operator. 这种制作的产品,将是一种功能齐全,稳定不受干扰,成本不大,方便之至,会受到千万户的欢迎的产品。 This production of products, will be a full-featured, stable and undisturbed, not cost, easy matter, will be ten million of the popular products. 这样好的产品一旦注入社会,将会形成一种'以键盘来编写程序,用遥控手柄来操作'的计算机使用格局。 Once such a good product into the community, will form a 'to the keyboard programming, with the remote controller to operate the' computer use patterns. 计算机通用关联应用处理器的31个逐一执行的通道代码和面对计算机一切应用程序操作的S力作中心'系统,均可自定义完整的快捷菜单、热区操作和批处理的程式,按键的高电平维持期采样外理法,稳定不受干扰的环境为计算机新的使用格局提供了坚实的技术基础,那时,计算机程序的操作不但可以由非键盘来实现,而且操作者远离屏幕,姿态自由可变,可多人同时操作,得益非小,妙不可言! General-purpose computer processor associated with the application code is executed one passage 31 and force the central plane S of all computer applications operating 'system, can be customized menu shortcut complete, the hot zone and batch operation programs, high key level sampling of maintaining outer hair cut, stable environment without interference pattern using a new computer to provide a solid technical foundation, then, not only the operation of the computer program can be implemented by non-keyboard, and the operator away from the screen, free attitude variable, can operate over the same time, non-small benefit, fantastic! 现在市场上已有计算机类型的遥控操作器,在功能、方便、稳定性和造价上不会优于采用本装置进行加工的产品。 The computer now has the type of the remote operator on the market, in function, convenience, cost, and the stability is better than not using the present apparatus for processing products.

(4) ,电脑游戏为之面目一新。 (4), computer games worth a new look. 本装置为电脑游戏开发行业提供了极好的软、硬件环境, 包括①提供了输入、输出同时接入的友好通道,极易实现实物的场景的模拟;②提供了输入、输出各类API函数,便于构筑程序;③提供了遥控发控和受控的手段,可多人同时操作竞技;④提供了目标点击的方式,射击可多人同时对奕;⑤提供了屏幕取图的环境,大有用武之地;⑥多台电脑连接连网后,利用本装置的输入、输出功能开发电脑网络游戏等,这一切用之于开发的电脑游戏将是一种输入输出多方式参预的电玩类游戏, 摸拟实物和场面景做在机外,而又出现在机内的屏幕上,混然一体,抽象于真实物景, 如临其中,尽兴发挥电脑和它的I/0神奇,类似街机胜于街机,乐似网络游戏味又别具风格,更具有变幻莫测、斗智斗勇、如临其中和竟技健身的特点,使历来玩家端坐机旁执鼠弄键的 This device is a computer game development industry provides an excellent hardware and software environment, including ① provides input and output channels simultaneously access a friendly, easy to implement analog kind of scene; ② provide input and output of various types of API functions easy to build a program; ③ provides remote control and launch control means controlled, competitive multiplayer simultaneous operation; ④ provides a way to target clicks, people can shoot at the same time Duiyi; ⑤ provides an environment to take screen map, a large have its uses; ⑥ after connecting multiple computers networked by means of this input and output functions to develop computer network games, which all benefit of the development of the computer game is a multi-way input and output of the video game participate, simulation and physical landscape scenes do outside the machine, but appears on the screen inside the machine, mixed natural one, abstract objects in real scene, where standing on the edge, and it's fun to play computer I / 0 fantastic, better than similar arcade arcade, online games like music taste and style, more unpredictable, wits, standing on the edge of which has technical and fitness features, the machine has always been the player sitting next to get the keys to perform mouse 脑游戏家族,增加了新的兄弟,别开生面! Brain Games family, adds new brothers, spectacular! (5) ,蓝牙产品将会人丁兴旺。 (5), Bluetooth products will have a flourishing population. 蓝牙的理念就是无线网络技术,涉及到计算机一电话的连络,本装置能够完成电话一动作代码和动作代码一电话的相互关连的功能,本装置提供的输入、输出和拔号动作的功能,做成信息遥控系列产品,凭此,可在电脑上做成一种以数字信息传播、存储、加工和处理为目的的实用产品,这将会是一个广有前途的产业,为'蓝牙'产品添丁。 Bluetooth is the wireless networking technology concept relates to a computer telephone contact, the device can complete a phone action code and an action code of a telephone interrelated functions, the present device provides an input, an output, and an operation dial function, information made remote control products that enable, can be made into a kind of digital information dissemination, storage, processing and handling for the purpose of practical products on the computer, this will be a promising industry wide for the 'Bluetooth' products childbirth.

(6) ,计算机、网络和电子器件三方自动关联和和自由应用,这是一种基本不对设备进行加装或改造的一种应用,'三方,各有所长,都有特殊的应用功能各有其利,并无可穷尽的开发新的功能做成新的设备,本装置在无须加装或改造情况下对'三方,各取所长,物尽其用,把所喜的方面关联在一起做成一种新的应用,满足人们新的需要。 (6), computers, networks, and associated electronics and tripartite automatic and free application, which is a basic installation of the equipment is not an application or engineered, 'tripartite, strengths, each has a special application function under has its benefits, can not exhaustive development of new features make the new device, this device no need to install or retrofit situation of 'tripartite their respective merits, the best use, related to the terms of hi together to make a new application to meet the new needs of people.

16 16

附表l :髙电平维持期采样处理法说明表(1) ,关于定时器的概念序列示意图-定时器: -H |— l'0、 100或200毫秒自定定时信息: 001111001111110001110 0~开关电平'关',即低电平l一开关电平'开',即高电平,l个l为l个定时'位'。 Table L: Gao level is maintained of sampling processing method described in Table (1), a schematic view of the sequence on the concept timer - Timer: -H | - l'0, 100, or 200 ms from the timing information given: 0 ~ switch 001111001111110001110 level 'off', i.e., a low switching level l 'open', i.e. a high level, a l l l timings of 'bits'.

011110~为一开关电平发生的高电平维持期信号,即由低电平o开始(认可信号),又由低电平o结束,两个o之间的1111为高电平维持期.每一个1为一个位,位和位之间每发生一次的时间均由采样定时器确定,如果确定采样时间为100毫秒,即定时器100毫秒,那么位和位之间的间隔为100毫秒,上述信号出现4个1 (4个位段),即高电平维持期为4*100=400毫秒;4个1之前的0为'开'电平产生的认可信号,4个1之后的第一个0是这一次动作的终止信号。 011110 ~ a switching level for the occurrence of a high level signal is maintained, i.e. from the start low o (acknowledgment signal), and a low level by the end of o, o 1111 between two of the high level is maintained. each bit is 1, a time between each bit and the bit is determined by sampling a timer, it determines if the sampling time is 100 ms, i.e. 100 ms timer, then the spacing between the bit and the bit is 100 milliseconds, 1 and the signal occurs four (4-bit segment), i.e., to maintain a high level of 4 * 100 = 400 ms; 0 to 1 before the four 'on' recognition signal level generated after the first four 1 0 this is a time of operation termination signal. 在上述400毫秒高电平维持期内,如果采用的定时器不是100毫秒,而是50毫秒,那么序列示意图上就会出现8个'1'、 8个位,(2) ,首位采样代码生成的方法序列示意图-定时器: —I卜IOO毫秒定时信息: 001111001111110001110有效位段:. 00 + ***00+*****000 + **0 本例产生三个触发动作序列,均以<p>(3) ,离电,持Wl^多位采样代码生成法:A,采用起步位+隔位的方法,序列示意图如下,定时器定时信息位段说明屏幕内容(字符'H'); In the high level is maintained during 400 milliseconds, if the timer is not used 100 msec, 50 msec instead, then there will be eight '1' sequence schematic, 8 bits, (2), the first sampling code generation . a schematic process sequence - timer: -I Bu IOO msec timing information: 001111001111110001110 significant bit group: *** + 00 + 00 + 000 ***** ** 0 cases triggering action generates three sequence, are <p> (3), from the electrical holding a number of sample Wl ^ code generation method: a, methods start bit + compartments of the sequence diagram below, the timer screen information bit segment content description (character 'H') ;

-H |— 80毫秒00111111111111111100000oo + **" + * + * + * + * + * + ooooo oo !起步位II以后为隔位段O0H»"H*H*H*H*H*HOO0O0高电平维持期16个位段,起步位段为5,获得7个字符'H, *一为无效电平; B,阻尼位获取代码法,这是为了获得提速的一种方法,序列示意图如下-定时器: 一I卜抑毫秒定时信息: OOlllll!lllllllllllllOOO 定时器采样: 00+****+***+**+*+++++000 位段说明- OOI起步位l以后阻尼位段••••••动作内容(鼠标左下角移动)0 0 /* 0 0髙电平维持期19个位,起步位为5,以后为阻尼位段,获得9个重复动作'/', *一为无效电平, (4),高电平维持期内编组代码生成法,序列示意图如下-定时器定时信息可能发生的信号序列(段〉计数编组: -H | - 80 ms 00111111111111111100000oo + ** "! Later + * + * + * + * + * + ooooo oo starting position for the compartments II segment O0H» "H * H * H * H * H * HOO0O0 high 16-bit segment sustain period, the start bit period is 5 to obtain seven characters' H, * an inactive level; B, the code acquisition method damping position, which is to obtain a method of speed sequence diagram below - Timing ! is: I a Bu suppression msec timing information: OOlllll lllllllllllllOOO sampling timer: **** 00 + + + * ** *** + 000 +++++ section description - after initial OOI l damping position para position •••••• operation content (bottom left mouse movement) 00/00 * Gao maintained level of 19 bits, the start bit 5, bit segment damping later, the operation is repeated to obtain 9 '/' * an inactive level, (4), a high level is maintained during the marshalling code generation method, the sequence diagram below - signal sequence (segment> the timer count grouping information may occur:

顺序时间髙电平维持过程有效期分组代码命名(假设为22通道)—I I- 80毫秒OOOOlllllllllllllllOOOO (1)(2)激4鄉做7)微柳啦MZK13a卿80咖880 1200毫秒第一组第二组第三组22 122 22211个'1'表示该按钮按80毫秒采样周期可能范围的采样次数(发生的位段数),即15位段,高电平维持期=15 位段*80奄秒-1200毫秒:编组代码设定的方法:如某一通道(令为22通道),按上圉例采样定时器为80亳秒,将高电平维持期内全位段编组3个,第一组l-5个颠序即布电平维持时间5*80=400毫秒,从80到400毫秒为有效期,第二组6-即电平维持时间也是5个5#80=幼0毫秒,也就是从幼0毫秒开始到800毫秒为有效期,第三组从ll羊顿序'l'开始之后的所有的从880毫秒开始之后的一段时间止均为有效期:将第一组代码命名为原通道代码'22',第二组代码命名为原通道代码加'100',即'122';第三组代码命名为原通道代码加'200 Gao sequential time period the packet level is maintained during the code name (assumed to be 22 channel) -I I- 80 ms OOOOlllllllllllllllOOOO (1) (2) 4-excited do Township 7) it MZK13a micro Liu Qing coffee first group 80 milliseconds 8,801,200 a third set of two groups 2,212,222,211 '1' indicates that the button 80 msec sampling period by the number of samples may range (bit segment occurs), i.e., section 15, to maintain a high level of para * 80 = 15 seconds castrate -1200 ms: marshalling code setting method: as a channel (channel 22 so), according to the embodiment yuzhen Bo sampling timer 80 seconds, a high level is maintained during all bit grouped three segments, a first groups l-5 transversions cloth sequence i.e. level is maintained for 5 * 80 = 400 msec, from 80 to 400 milliseconds is valid, i.e. the second set 6- level duration is 5 5 # 80 = 0 ms Young, also immature is from 0 ms to 800 ms period begins, after the third set starting from Dayton sequence ll sheep 'l' from all the period of time after the start of the stop 880 msec period are: a first set of codes designated the primary channel code '22', a second set of codes for the original channel code plus named '100', i.e., '122'; a third set of codes designated channel code plus the original '200 ',即'222',由计数信号位段的多少落在那一组来获取编组代码,而不是由通道来表示代码。 ', I.e.,' 222 ', that falls from the group count signal how many bits to obtain marshalling code segment, represented by the channel rather than the code. (5),高电平维持期全位计数法,序列示意图如下-定时器定时信息定时器采样计数—I l一80亳秒001111001111110001110 00++++00++++++000+++0 1234 123456 123(6),高电平维持期内首位采样信号累计计数法,序列示意图如下: (5), to maintain a high level of all bit counting sequence diagram below - the timer information of the timer 80 a sample count -I l Bo 00 seconds 001111001111110001110 00 ++++++ 000 ++++ +++ 01234123456123 (6), the first sampling signal is maintained high during the total counting method, the sequence diagram is as follows:

定时器定时信息定时器采样计数累计计数结果—II— 80毫秒00111100111111000 00 + + + + 0.0 + + + + + + 0001 21110 + + + 0 i ♦ * 3 Sampling the timer message timer count accumulated count result -II- 80 ms 00111100111111000 00 + + + + 0.0 + + + + + + 0001 21110 + + + 0 i ♦ * 3

Claims (4)

  1. 1, 一个利用计算机的并口的输入、输出控制信号和MODEM接口的拨号信号,通过通道代码处理方法去实施计算机、网络和电子器件三方自动关联和自由应用,使接入的电子器件自动获得智能化和信息化功能的通用平台装置;其自动关联和自由应用的工作格局由计算机接口提供基本的外部设备关联连接,由装置的输入、输出端口提供扩展的外部设备的关联连接, 由驱动程序提供所有连接设备的关联应用处理,具体包括: a, 一个提供任意外接电子器件的输入、输出和计算机并口三方实行扩展连接的通用端口装置,包括:①一个外部电器设备输入通道连接端口(51),让外接发控设备1-31个输入端脚通过该端口进入31路一5路信号的编码处理;②一个对外部电器设备输出通道连接端口(111),提供计算机传来的8路基本的输出控制信号连接;③一个与计算机并口相 1, a parallel port of the computer using the input, output and control signal interface MODEM dialing signal processing method by the code channels to implement computer, electronics and tripartite network and automatically associate the freedom and the electronic device automatically intelligent access and common platform device information features; the automatic association and work pattern consisting of the application provided by the computer interface substantially associated with external devices, provides an association expanded external device connected by an input device, an output port, all by the driver associated application processing connection device, comprises: a, a providing input of any external electronic device, an output and a computer parallel port tripartite implement universal port means extension connection, include: ① an external electrical device input channel connection port (51), so that external control equipment hair pins 1-31 inputs to a coding process signals 5 a passage 31 through the port; ② a connection port (111) to the external output channel electrical equipment, a computer came the basic output control 8 signal connection; ③ a parallel computer with 连接进行即时通讯的主机连接端口(101), 一方面承接5路输入编码的电平信号,通过该端口送入计算机并口(15l)的状态脚,另一方面承接计算机并口(151)发来的并口输出端脚的1-8路输出控制信号和计算机并口21脚的低电平信号; b,计算机并口(150与主机连接端口(10i)的5路输入、8路输出和21脚预编码输入通过有线电缆接入方式,其连接信号为计算机内部信号;本装置与电子器件设备的外接输入通道连接端口(51)、输出通道连接端口(111)通过有线或无线各种接入方式,采用+5V开关脉冲电平作为连接控制的信息; c,输入输出通道代码处理工作系统,包括: 代码获取模块(16)监视包括并口输入端口的电平信号和modem接口电话拨号信号,当获得该信号后,进行解码确定信号来自的输入通道,并调用功能定义模块(17)检测是否有激发动作的相应输入通道 Chat connection state of the host port (101), on the one hand to undertake 5-way coding level signal is input, into the computer parallel port (15L) through the port pin, on the other hand receiving computer parallel port (151) sent 1-8 a low level signal output control signal and the computer parallel port 21 pin parallel port output terminal pin; B, computer parallel port (port 150 connected to a host (10i) 5-input, 8-output pins 21 and precoded input access via a wired cable, which is connected to a computer signal is an internal signal; external input channel means of the present device the electronic device connection port (51), an output port connected to the channel (111) through a wired or wireless access to a variety of ways, using + 5V switching pulse level as an information connection control; C, input and output channels the code processing system, comprising: a code acquisition module (16) monitoring comprises parallel input port of the level signal and the modem interface to the telephone dialing signal, after obtaining the signal , determined for the corresponding input channel decoded signal from the input channel and calls the function definition module (17) detects whether the operation of the excitation 码;其中通道代码命名方法:对执行输入控制和输出控制的所有连接接口名称一律采用该接口发生的控制信号API函数处理后的一种通道代码表征的方法: 提供1-31个输入并口输入控制的通道代码,提供输出1-8路编码后的1-255个并口输出通道代码,提供计算机Modem接口的电话拨号输入控制以大于31数字表征的虚拟电话输入控制代码,还提供了高电平采样处理法的扩展代码; 功能定义模块(17)提供了交互屏幕菜单,让用户根据项目的关联应用、智能化和信息化操作需要,预先对所选用的输入通道代码逐一进行激发动作设置、输出功能设置和高电平维持期采样法设置;所有设置都由用户点单完成; 代码输出动作模块(18)执行输出动作,根据检测的激发动作的相应的动作代码,调用功能定义模块(17)检测预先设置的输出动作,调用基本动作模块(19)执行输 Code; wherein the code channel naming: name of the execution of all interfaces connected to the input and output control of the control code for characterizing one channel using all the control signals of the interface API functions occurring processing method of: providing a parallel input control inputs 1-31 virtual phone input control code channel code to provide the encoded output 1-255 1-8 parallel output channels codes, a computer interface, Modem dial-up to the control input 31 is greater than the digital representation is also provided a high sampling spreading code processing method; functional definition module (17) provides interactive screen menu that allows the user based on the associated application program, operation requires intelligence and information, in advance of the selected input channel setting operation codes one by one excitation, output setting and maintaining a high level of sampling method is provided; all provided by the user to complete the single point; output operation of the code module (18) performs an output operation, in accordance with the action code corresponding to the detected excitation operation, calling function definition module (17) detects output operation set in advance, the basic call action module (19) performs input 动作,按高电平维持期采样处理法的有效"1"执行驱动,完成一次通道代码调用。 Operation, by maintaining an effective high "1" performs the drive of the sampling processing method, to complete a call channel codes.
  2. 2,如权利要求1的装置对输入通道代码进行输出动作设置和执行输出动作所采用的一种程序控制的构件的方法,其特征是: a,基本动作模块(ig),集中了系统将要操作的对象的相关功能动作的可直接调用的控件、 函数,包括鼠标动作、键盘动作、拔号动作、输出接口动作、外部程序执行动作、多媒体动作和计数动作等,根据需要还可以扩展;所述输出动作是由输入通道代码可以直接调用或执行的程序控制构件;所述输出接口动作为计算机并口输出的1-255路编码的API函数的调用; 所述拔号动作为电话接通后的拨号控制信号的API函数调用; b,对输入通道代码进行输出动作设置采用时序向下定义l至多项的方法,由功能定义模块(17)的代码输出动作设置模块部分对输入通道代码赋予功能内容,用户在屏幕菜单上交互设置,包括计算机、网络和电子器件 2. The apparatus of claim 1, wherein the input channel code method of member A program for controlling the output operation settings and performs an output operation adopted, wherein: a, basic operation of the module (IG), focused on the system to be operated can directly call control functions related to the operation of the object, functions, including mouse operation, keyboard actions, dialing operation, an operation output interface, an external program to perform actions, like multimedia operation and the count operation, can be extended if necessary; the program control means outputs an operation is called directly by the execution code or the input channels; operation of the output interface API function call 1-255 coded and outputted from a computer parallel port; after dialing the telephone dialing operation ON API function call to the control signal; B, the input channel set using the operation code output timing defining a number of methods to down l, defined by the functional module (17) outputs an operation code portion arranged to impart the function module input channels content code user interaction is provided on-screen menu, including computers, networks and electronics 三个方面的关联应用操作需要从基本动作模块(19) 中选取功能动作,成为一种设备关联应用的程序控制的构件; c,执行代码输出采用直接调用控制构件:由代码输出执行模块(18)调用功能定义模块(17)的代码输出动作设置模块部分和调用基本动作模块(19)的基本动作, 一个代码驱动过程按动作设置时序逐一执行,最终完成一个通道代码的完整的功能应用;驱动方式按高电平维持期采样处理法的有效"1"驱动。 Associated application requires operation of three aspects is selected from the basic operation modules (19) in an operation function, the program becomes an apparatus for the control member associated application; C, direct execution code output control means calls: the execution code output module (18 ) calling function definition module (17) code output operation setting module portion and calling basic operation module (19) of the basic operation, a code-driven process executed one press operation setting timing, the final completion of a fully functional application a channel code; drive way of maintaining high sampling processing method according to the active "1" drive.
  3. 3,如权利要求1的装置的输入通道代码操作的一种遥控器按键定义的模式文件方法,其特征是公知的遥控器作为外接输入设备,遥控器的接收端连接在本装置的输入通道,由输入通道代码表征所有遥控器按键;该遥控器按键执行输入控制操作的应用过程: 一个操作项目或操作对象的应用程序一一个由系统进行的各个输入通道代码表征的遥控器按键的高电平维持期采样处理法设置、输出动作设置的内容一一个由系统设置内容的保存文件成为该操作项目或操作对象的操作模式文件一一个执行操作项目或操作对象的操作过程采用相应的保存模式文件进行。 Pattern file method for remote control key 3 defined, as claimed in the input channel means of a code operational requirements, characterized in that known remote control as an external input device, a receiving end remote control is connected to the input channel of the device, high electric remote control key operation of an application program or an operation target by a system code for each input channel characterized by: the remote control operation performs input key application process; all characterized by the remote control key code for input channel maintaining the level of sampling processing method is provided, a content output operation provided by the system one setting content stored file becomes the file entry or operation of the operation mode of the operation target perform an operation on a project during operation or use of the corresponding stored objects schema files.
  4. 4,如权利要求l装置执行输出动作采用的一种高电平维持期采样处理法,其特征是一个工作系统对输入通道发射的工作信号进行高电平维持期有效"1"的采集和驱动: 包括所执行的输入通道代码的采集定时器的设置;包括所执行的输入通道代码的采样方法的选用,有5个采样具体方法对高电平维持期的. 高电进行有效"l"的采集:①高电平维持期内首位采样代码生成法;②高电平维持期内多位采样代码生成法,分隔位法和阻尼位法;③高电平维持期内编组代码生成法;④高电平维持期内全位计数法;⑤高电平维持期内首位采样信号累计计数法; 包括在执行输入通道代码过程中按选用的采样方法采集高电平维持期的高电平的有效"i 包括输入通道代码的输出控制按采集的有效"1"执行输出动作驱动。 4 one kind of a high level, as claimed in claim l means for performing an output operation using the sampling processing method sustain period, wherein a working system of the input channel signals transmitted work to maintain a high level of active "1" and drive collection : acquisition timer includes input channels of the executed code; the method comprising sampling the input channel code selection performed with five samples of the specific method for maintaining a high level of high electrical effective "l" of acquisition: ① high code generation method to maintain the first sampling period; ② maintain high sampling period number code generation method, a method of separation bits and bits damping law; ③ maintained high during marshalling code generation method; ④ maintained high during all bit notation; ⑤ high level signal is first sampled period to maintain a cumulative count method; includes acquiring high sustain period according to the sampling method of a high level during the execution of the selected input channel code is valid "i comprises an input channel code control output effectively collected by the" 1 "performs an output operation of the drive.
CN 02139176 2002-10-16 2002-10-16 Computer code controlling connector CN100557550C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02139176 CN100557550C (en) 2002-10-16 2002-10-16 Computer code controlling connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02139176 CN100557550C (en) 2002-10-16 2002-10-16 Computer code controlling connector

Publications (2)

Publication Number Publication Date
CN1490700A true CN1490700A (en) 2004-04-21
CN100557550C true CN100557550C (en) 2009-11-04

Family

ID=34147385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02139176 CN100557550C (en) 2002-10-16 2002-10-16 Computer code controlling connector

Country Status (1)

Country Link
CN (1) CN100557550C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8341611B2 (en) 2007-04-11 2012-12-25 Apple Inc. Application interface on multiple processors
US8276164B2 (en) 2007-05-03 2012-09-25 Apple Inc. Data parallel computing on multiple processors
US8286196B2 (en) 2007-05-03 2012-10-09 Apple Inc. Parallel runtime execution on multiple processors
US8225325B2 (en) 2008-06-06 2012-07-17 Apple Inc. Multi-dimensional thread grouping for multiple processors
US8286198B2 (en) 2008-06-06 2012-10-09 Apple Inc. Application programming interfaces for data parallel computing on multiple processors

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN85109213A (en) * 1985-02-25 1986-08-20 国际标准电气公司 Device Interface Controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN85109213A (en) * 1985-02-25 1986-08-20 国际标准电气公司 Device Interface Controller

Also Published As

Publication number Publication date Type
CN1490700A (en) 2004-04-21 application

Similar Documents

Publication Publication Date Title
US5920304A (en) Random bounce cursor mode after cessation of user input
US20090048021A1 (en) Inertia sensing input controller and receiver and interactive system using thereof
CN203950271U (en) Smart hand ring with gesture control function
US20090042649A1 (en) input control apparatus and an interactive system using the same
US6229526B1 (en) Method and system for simultaneous operation of multiple handheld IR control devices in a data processing system
US20020093490A1 (en) Remote control device with display and ball switch
EP0867798A2 (en) Data processing system user interface
CN101620769A (en) remote control
US6488584B2 (en) Apparatus and method for providing keyboard input to a video game console
CN101201968A (en) Mouse type remote control device
CN1945648A (en) Universal studying programmable remote controller and its control method
CN104834372A (en) Multifunctional wearable human-computer interaction input equipment based on MEMS (Micro Electro Mechanical Systems) acceleration sensor
CN102354269A (en) Method and system for controlling display device
CN101364342A (en) Wireless remote control method for computer and television integrated machine
US20090167685A1 (en) Method and system for providing a computer environment for children
JP2009053904A (en) Information processing device, information processing system and information processing program
CN101465691A (en) User terminal, system and method for implementing remote control
CN101707662A (en) Electronic equipment, mobile communication equipment and remote control device
CN101601930A (en) Remote interactive game device, remote interactive game method and system using same
CN1885363A (en) Remote control method and remote controller
CN101035250A (en) Virtual/realistic game device and method based on the digital STB
CN201210349Y (en) Interactive television user interface remote control system based on movement induction
CN101123035A (en) Remote control receiving device and method based on infrared
CN102148945A (en) Method for controlling television
CN102253805A (en) Remote control device and realizing method thereof

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
C17 Cessation of patent right