CN102915284B - Infrared touch panel standard configurations method - Google Patents
Infrared touch panel standard configurations method Download PDFInfo
- Publication number
- CN102915284B CN102915284B CN201210456895.0A CN201210456895A CN102915284B CN 102915284 B CN102915284 B CN 102915284B CN 201210456895 A CN201210456895 A CN 201210456895A CN 102915284 B CN102915284 B CN 102915284B
- Authority
- CN
- China
- Prior art keywords
- infrared touch
- touch panel
- configuration
- main control
- control chip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Position Input By Displaying (AREA)
Abstract
The invention provides a kind of infrared touch panel standard configurations method, specifically comprise the following steps that host computer be driven through serial ports send packet to main control chip between, add a specific permanent location;Configuration information is sent to this memory element with the form of packet by the driving of infrared touch panel, makes this memory element persistence have the configuration information of different model touch screen of exploitation;Memory element judges the parameter matching corresponding main control chip program after receiving the packet of configuration information, the form again through packet is sent to main control chip;Main control chip receives configuration data bag, completes the transmission of configuration information, when, after Infrared touch screen systems configuration successful, meeting feedback configuration success instruction is to the driving of host computer.It is an advantage of the current invention that: realize using the driver of a standard to carry out the infrared touch panel of differently configured size, difference in functionality, it is possible to be reached by instruction and revise and called data, improve the work efficiency of Infrared touch screen systems.<!--1-->
Description
Technical field
The present invention relates to Infrared touch screen technology, specifically a kind of infrared touch panel standard configurations method.
Background technology
Fast development along with touch screen technology, increasing unit enterprise begins to use touch screen product, owing to infrared touch panel has the features such as reliability height, degree of accuracy be high, easy to maintenance compared to other kinds of touch screen, it is widely used in the fields such as bank, amusement and map guiding.Use the different demands of infrared touch panel to meet industry-by-industry, infrared touch panel in size, functionally all have very big difference, brings very big difficulty thus to the design of infrared touch panel.At present, some infrared touch panel manufacturers add part configuration in the driver of infrared touch panel, but the setting of these configurations all concentrates in the main control chip of infrared touch panel, it is impossible to accomplish to revise at any time and call, it is impossible to meet the requirement of standard configurations.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of configuration and can revise at any time and call, thus meeting the infrared touch panel standard configurations method of the requirement of standard configurations.
The present invention solves above-mentioned technical problem by the following technical solutions: a kind of infrared touch panel standard configurations method, it thes improvement is that: in order to realize the standard configurations of infrared touch panel, host computer be driven through serial ports send packet to main control chip between, add a specific permanent location.
Further, also comprise the steps: after adding a specific permanent location
Step 2: configuration information is sent to this memory element with the form of packet by the driving of infrared touch panel, so that this memory element persistence has the configuration information of the different model touch screen of exploitation;
Step 3: memory element judges the parameter matching corresponding main control chip program after receiving the packet of configuration information, the form again through packet is sent to main control chip;
Step 4: main control chip receives configuration data bag, complete the transmission of configuration information, when, after Infrared touch screen systems configuration successful, meeting feedback configuration success instruction is to the driving of host computer, and main control chip controls infrared light board according to this configuration information by infrared light board control circuit.
Described step 2 farther includes following steps:
Step 22: before running infrared touch panel, open the driving of infrared touch panel, arranging the standard configurations option of the infrared touch panel comprised in driving, the content of configuration includes the functional parameter of the fixing parameter of infrared touch panel and customer selecting, sets with backed off after random;
Step 24: be provided with and after opening driving, standard configurations can be sent to the permanent location on infrared touch panel hardware with data packet format by driving, inside memory element, storage has the configuration information of infrared touch panel, and configuration information includes the functional parameter of the fixing parameter of different model infrared touch panel and customer selecting.
Optimizing, the parameter that described infrared touch panel is fixed includes size, baud rate, serial ports number, and the functional parameter of customer selecting includes single multiple point touching pattern, wisp identification, dirt detection.
In described step 2, if producing novel infrared touch panel, the relevant configured parameter of new model can be directly deposited in particular memory location, even again the program in main control chip is write without amendment, host computer drives the configuration information packet that can directly transmit new model to memory element, and memory element is then transferred out parameter and sent main control chip process to;
Further, in described step 4, main control chip is after receiving configuration data bag, the function of bits per inch evidence is judged according to prespecified data packet format, by parameter assignment fixing for infrared touch panel to the global variable of program, functional parameter is then used for arranging correlation function function in opening program, and idiographic flow is as follows:
Step 42: start;
Step 43: main control chip is receiving the configuration data bag that memory element sends;
Step 44: first determining whether that whether the packet received is complete, if imperfect, return step 43, again receive, complete words enter step 45;
Step 45: judge whether the preset parameter of configuration infrared touch panel, if it is, enter next step 46 after configuration preset parameter, otherwise, is directly entered next step 46;
Step 46: judge whether the functional parameter of configuration infrared touch panel, if it is, enter next step 47 after starting power function, otherwise, is directly entered next step 47;
Step 47: judged whether configuration, if it is, enter next step 48, otherwise, returns step 43;
Step 48: send configuration successful order;
Step 49: bring into operation program;
Step 50: terminate.
It is an advantage of the current invention that:
1) by this standard configurations mode, it is possible to achieve use the driver of a standard to carry out the infrared touch panel of differently configured size, difference in functionality;
2) particular memory space only preserves the data about touch screen size function, thus can be reached by instruction and revise and called data, improve the work efficiency of Infrared touch screen systems;
3) configuration information driven first passes through specific memory space to call out the corresponding parameter of main control chip, send these parameters to main control chip again, so can reduce in touch-screen system the time transferring some preset parameters, be greatly improved the work efficiency of main control chip.
Accompanying drawing explanation
Fig. 1 is the hardware structure diagram that the present invention uses.
Fig. 2 is standard configurations flow chart of the present invention.
Fig. 3 is that main control chip processes configuration data flow process figure.
Detailed description of the invention
The overall plan of the present invention is design standard configurations unit on the hardware of infrared touch panel, by driving selection to arrange corresponding configuration information, configuration information can be sent to the particular memory space of infrared touch panel at any time by instruction, in particular memory space unit, storage has the configuration information of various model infrared touch panel, particular memory space is by calling data therein by parameter feedback to main control chip, main control chip assigns them to the respective function in system program after receiving parameter, complete the configuration of infrared touch panel.
Refer to the hardware structure diagram of Fig. 1 and the configuration flow figure of Fig. 2, specifically comprising the following steps that of infrared touch panel standard configurations method of the present invention
Step 1: in order to realize the standard configurations of infrared touch panel, host computer be driven through serial ports send packet to main control chip between, add a specific permanent location;
Step 2: configuration information is sent to this memory element with the form of packet by the driving of infrared touch panel, so that this memory element persistence has the configuration information of the different model touch screen of exploitation, specifically includes following steps:
Step 22: before running infrared touch panel, need to open the driving of infrared touch panel, driving just includes the standard configurations option of infrared touch panel, the content of configuration includes the size setting of touch screen, list multidrop mode selection setting, switch touch screen setting, dirt detection setting, wisp identification setting, click " determination " after setting to exit, wherein:
A) touch screen size: be that the concrete resolution of the touch screen according to company's actual development (such as 768*768,1024*768,1280*1024) selects, differently configured touch screen;
B) single multiple point touching model selection: can select different software algorithms according to different touch modes, under single-touch pattern, in order to ensure to touch precision, smoothness and touch-responsive speed, adopts centroid method to ask for the coordinate of touch point;Under multiple point touching pattern, in order to identify true touch point and pseudo-touch point and determine the movement locus of multiple point touching, it is necessary to adopt a kind of special algorithm to judge true and false touch point, and adopt the movement locus judging method of loci to describe touch point;Ensure the degree of accuracy touched under different mode;
C) switch touch screen is arranged: can realize switching touch screen at any time;
D) specific function is arranged: can select when needed to open wisp identification and dirt detection;Wisp refers to the tiny touch objects that diameter is below 3mm, in existing infrared touch screen light plate, is difficult to the touch objects identifying diameter at below 3mm, if needing to identify that little touch objects will open wisp recognition function;Dirt refers to the dust in natural environment, insecticide and water stain etc., when dirt effective touch scope entering into infrared touch panel etc, effective touch can be disturbed even to produce maloperation, if therefore using touch screen in the environment that dirt is relatively more, it is necessary to select dirt detection to get rid of the interference of dirt;
Step 24: be provided with and after opening driving, standard configurations can be sent to the permanent location on infrared touch panel hardware with the data packet format of 20 bytes by driving, inside memory element, storage has the configuration information of infrared touch panel, configuration information includes the function (such as: single multiple point touching pattern, wisp identification, dirt detection etc.) of the fixing parameter (such as: size, baud rate, serial ports number etc.) of different model infrared touch panel and customer selecting
Step 3: memory element judges the parameter matching corresponding main control chip program after receiving the packet of configuration information, the form again through packet is sent to main control chip;
Step 4: main control chip receives configuration data bag, complete the transmission of configuration information, when after Infrared touch screen systems configuration successful, meeting feedback configuration success instruction is to the driving of host computer, show that configuration is complete, so, infrared touch panel just can use according to configuration is normal, and main control chip controls infrared light board according to this configuration information by infrared light board control circuit.
In described step 2, if producing novel infrared touch panel, the relevant configured parameter of new model can be directly deposited in particular memory location, even again the program in main control chip is write without amendment, host computer drives the configuration information packet that can directly transmit new model to memory element, and memory element is then transferred out parameter and sent main control chip process to;
In described step 4, main control chip is after receiving configuration data bag, the function of bits per inch evidence is judged according to prespecified data packet format, by parameter assignment fixing for infrared touch panel to the global variable of program, functional parameter is then used for arranging correlation function function in opening program, consulting shown in Fig. 3, idiographic flow is as follows:
Step 42: start;
Step 43: main control chip is receiving the configuration data bag that memory element sends;
Step 44: first determining whether that whether the packet received is complete, if imperfect, return step 43, again receive, complete words enter step 45;
Step 45: judge whether the preset parameter of configuration infrared touch panel, if it is, enter next step 46 after configuration preset parameter, otherwise, is directly entered next step 46;
Step 46: judge whether the functional parameter of configuration infrared touch panel, if it is, enter next step 47 after starting power function, otherwise, is directly entered next step 47;
Step 47: judged whether configuration, if it is, enter next step 48, otherwise, returns step 43;
Step 48: send configuration successful order;
Step 49: bring into operation program;
Step 50: terminate.
The foregoing is only the preferred embodiment of the invention, not in order to limit the invention, any amendment made within all spirit in the invention and principle, equivalent replacement and improvement etc., should be included within the protection domain of the invention.
Claims (6)
1. an infrared touch panel standard configurations method, it is characterised in that: host computer be driven through serial ports send packet to main control chip between, add a specific permanent location;
Also comprise the steps: after adding a specific permanent location
Step 2: configuration information is sent to this memory element with the form of packet by the driving of infrared touch panel, makes this memory element persistence have the configuration information of different model touch screen of exploitation;
Step 3: memory element judges the parameter matching corresponding main control chip program after receiving the packet of configuration information, the form again through packet is sent to main control chip;
Step 4: main control chip receives configuration data bag, completes the transmission of configuration information, when, after Infrared touch screen systems configuration successful, meeting feedback configuration success instruction is to the driving of host computer.
2. infrared touch panel standard configurations method as claimed in claim 1, it is characterised in that: described step 2 farther includes:
Step 22: before running infrared touch panel, open the driving of infrared touch panel, arranging the standard configurations option of the infrared touch panel comprised in driving, the content of configuration includes the functional parameter of the fixing parameter of infrared touch panel and customer selecting, sets with backed off after random;
Step 24: be provided with and after opening driving, standard configurations can be sent to the permanent location on infrared touch panel hardware with data packet format by driving, inside memory element, storage has the configuration information of infrared touch panel, and configuration information includes the functional parameter of the fixing parameter of different model infrared touch panel and customer selecting.
3. infrared touch panel standard configurations method as claimed in claim 2, it is characterised in that: in described step 24, standard configurations can be sent to the permanent location on infrared touch panel hardware with the data packet format of 20 bytes by driving.
4. infrared touch panel standard configurations method as claimed in claim 2, it is characterized in that: the parameter that described infrared touch panel is fixed includes size, baud rate, serial ports number, the functional parameter of customer selecting includes single multiple point touching pattern, wisp identification, dirt detection.
5. the infrared touch panel standard configurations method as described in any one of Claims 1-4, it is characterized in that: in described step 4, main control chip is after receiving configuration data bag, the function of bits per inch evidence is judged according to prespecified data packet format, by parameter assignment fixing for infrared touch panel to the global variable of program, functional parameter is then used for arranging correlation function function in opening program.
6. infrared touch panel standard configurations method as claimed in claim 5, it is characterised in that: the idiographic flow of described step 4 is as follows:
Step 42: start;
Step 43: main control chip receives the configuration data bag that memory element sends;
Step 44: first determining whether that whether the packet received is complete, if imperfect, return step 43, again receive, complete words enter step 45;
Step 45: judge whether the preset parameter of configuration infrared touch panel, if it is, enter next step 46 after configuration preset parameter, otherwise, is directly entered next step 46;
Step 46: judge whether the functional parameter of configuration infrared touch panel, if it is, enter next step 47 after starting power function, otherwise, is directly entered next step 47;
Step 47: judged whether configuration, if it is, enter next step 48, otherwise, returns step 43;
Step 48: send configuration successful order;
Step 49: bring into operation program;
Step 50: terminate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210456895.0A CN102915284B (en) | 2012-11-14 | 2012-11-14 | Infrared touch panel standard configurations method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210456895.0A CN102915284B (en) | 2012-11-14 | 2012-11-14 | Infrared touch panel standard configurations method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102915284A CN102915284A (en) | 2013-02-06 |
CN102915284B true CN102915284B (en) | 2016-07-13 |
Family
ID=47613656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210456895.0A Active CN102915284B (en) | 2012-11-14 | 2012-11-14 | Infrared touch panel standard configurations method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102915284B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105446505B (en) * | 2014-05-30 | 2018-06-05 | 展讯通信(深圳)有限公司 | Touch the acquisition methods and device of point coordinates |
WO2019119310A1 (en) * | 2017-12-20 | 2019-06-27 | 深圳市汇顶科技股份有限公司 | Method for processing configuration file, processing unit, touch chip, apparatus, and medium |
CN112859654B (en) * | 2021-02-08 | 2022-05-10 | 青岛海洋科学与技术国家实验室发展中心 | Ocean buoy data acquisition controller capable of being freely configured and configuration method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101295217A (en) * | 2008-06-05 | 2008-10-29 | 中兴通讯股份有限公司 | Hand-written input processing equipment and method |
CN102509052A (en) * | 2011-10-28 | 2012-06-20 | 深圳市新国都技术股份有限公司 | Safety protection method and device of electronic device touch screen |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100020021A1 (en) * | 2008-07-22 | 2010-01-28 | General Electric Company | Touch screen control system and method |
-
2012
- 2012-11-14 CN CN201210456895.0A patent/CN102915284B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101295217A (en) * | 2008-06-05 | 2008-10-29 | 中兴通讯股份有限公司 | Hand-written input processing equipment and method |
CN102509052A (en) * | 2011-10-28 | 2012-06-20 | 深圳市新国都技术股份有限公司 | Safety protection method and device of electronic device touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN102915284A (en) | 2013-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105912260B (en) | The startup method and mobile terminal of a kind of application program | |
CN102855081B (en) | The apparatus and method that web browser interface using gesture is provided in a device | |
CN105740078B (en) | Memory management method, device and terminal | |
CN105477854B (en) | Applied to the handle control method of intelligent terminal, apparatus and system | |
CN108205430A (en) | Dual-screen mobile terminal, corresponding control method and storage medium | |
EP3693843A1 (en) | Method and apparatus for designating entire area using partial area touch in a portable equipment | |
CN103294401A (en) | Icon processing method and device for electronic instrument with touch screen | |
CN105094499A (en) | Intelligent mobile terminal and processing method for application windows thereof | |
CN103164133A (en) | Touch screen electronic device and control method thereof | |
CN102915284B (en) | Infrared touch panel standard configurations method | |
CN104777984A (en) | Touch trajectory tracking method and device and touch screen device | |
CN103686283A (en) | Smart television remote controller man-machine interaction method | |
CN105721510A (en) | Account login method and terminal device | |
CN109865285A (en) | Information processing method and device in game, computer storage medium | |
CN111158246A (en) | Intelligent household appliance control system, device, method, medium and equipment | |
CN105843535A (en) | Control method and control panel, and terminal | |
CN104020989B (en) | Control method and system based on remote application | |
CN107092434A (en) | Overlay target system of selection and device, storage medium, electronic equipment | |
CN106681626A (en) | Intelligent vehicular navigation operation method | |
CN102637116A (en) | 3D (three-dimensional) scene interaction method, 3D scene interaction device, collision detection method and collision detection device | |
CN106055404A (en) | Method and device for cleaning up background application programs | |
CN105867822A (en) | Information processing method and electronic equipment | |
CN107678788A (en) | Five application page display methods, device, computer installation and storage medium | |
CN102455806B (en) | Method for operating terminal with touch screen and terminal | |
CN104252281A (en) | Electronic apparatus and touch sensing method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |