CN108008854A - A kind of method, apparatus for avoiding antenna carrier from disturbing and terminal device - Google Patents

A kind of method, apparatus for avoiding antenna carrier from disturbing and terminal device Download PDF

Info

Publication number
CN108008854A
CN108008854A CN201711207215.0A CN201711207215A CN108008854A CN 108008854 A CN108008854 A CN 108008854A CN 201711207215 A CN201711207215 A CN 201711207215A CN 108008854 A CN108008854 A CN 108008854A
Authority
CN
China
Prior art keywords
touch
screen
calibration
calibrated
disturbing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711207215.0A
Other languages
Chinese (zh)
Other versions
CN108008854B (en
Inventor
孙小金
张昺华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PAX Computer Technology Shenzhen Co Ltd
PAX Tech Ltd
Original Assignee
PAX Computer Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PAX Computer Technology Shenzhen Co Ltd filed Critical PAX Computer Technology Shenzhen Co Ltd
Priority to CN201711207215.0A priority Critical patent/CN108008854B/en
Publication of CN108008854A publication Critical patent/CN108008854A/en
Application granted granted Critical
Publication of CN108008854B publication Critical patent/CN108008854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment

Abstract

The present invention is suitable for field of communication technology, there is provided a kind of method, apparatus for avoiding antenna carrier from disturbing and terminal device.This method includes:Detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether to need to calibrate touch-screen;If desired touch-screen is calibrated, then the touch-screen is calibrated by touch screen calibration node.The present invention by detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether to need to calibrate touch-screen;If desired touch-screen is calibrated, then the touch-screen is calibrated by touch screen calibration node, so as to ensure that touch-screen being capable of normal use under RFID field strength.

Description

A kind of method, apparatus for avoiding antenna carrier from disturbing and terminal device
Technical field
The invention belongs to field of communication technology, more particularly to a kind of method, apparatus and terminal that avoid antenna carrier from disturbing Equipment.
Background technology
POS machine is a kind of multi-functional terminal end, it be installed on credit card franchised business and accept in site with computer Network is unified into, electronic funds is can be achieved with and transfers accounts automatically, it has the function of to support consumption, pre-authorization, inquiry into balance and transfers accounts. The POS machine of Portable movable is following trend, that is, is intended in the case where function is constant, in structure and in appearance will POS machine the more is done the more thin, but this can also have that reason is as follows:POS machine is different from mobile phone, the main application of POS machine Function is trading function.Such as full touch screen POS machine, when needing to be designed to Bao Shenshi, RFID antenna can only be looped around touch-screen Underface, but when being traded using POS machine since RFID antenna can launch carrier wave, and touch-screen is easily subject to RFID The influence of antenna carrier, is caused during being traded using POS machine once the touch-screen of full touch screen POS machine goes wrong, So POS machine can not be just continuing with, so the anti-interference of touch-screen just shows extremely important.
Specifically, when the use RFID (abbreviations of Radio Frequency Identification;That is Radio Frequency Identification Technology A kind of contactless automatic identification technology) carry out near-field communication transaction during, as long as the non-field strength one that connects is opened, touch-screen Due to being subject to very strong RFID antenna carrier-in-interference, cause touch-screen that exception occurs under no touch state, such as sometimes Wait and occur that touch-screen without the situation for interrupting generation, shows as touch-screen and do not respond to;Sometimes touch-screen is likely to occur mad report The situation of interruption, the interface shown as on screen is uncontrolled, situation about being pressed from turmoil occurs.
In conclusion existing be easily subject to RFID antenna to carry with the touch-screen that touch-screen has the function of the equipment of POS The interference of ripple.
The content of the invention
In view of this, an embodiment of the present invention provides it is a kind of avoid antenna carrier disturb method, apparatus and terminal device, To solve easily to be subject to RFID antenna carrier-in-interference with the touch-screen that touch-screen has the function of the equipment of POS in the prior art Problem.
The first aspect of the embodiment of the present invention provides a kind of method for avoiding antenna carrier from disturbing, including:
Detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether to need to calibrate touch-screen;
If desired touch-screen is calibrated, then the touch-screen is calibrated by touch screen calibration node.
The second aspect of the embodiment of the present invention provides a kind of device for avoiding antenna carrier from disturbing, including:
Judging unit, for detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether need Calibrate touch-screen;
Alignment unit, for if desired calibrating touch-screen, then carries out school by touch screen calibration node to the touch-screen It is accurate.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, it is characterised in that described in the processor performs Following steps are realized during computer program:
Detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether to need to calibrate touch-screen;
If desired touch-screen is calibrated, then the touch-screen is calibrated by touch screen calibration node.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, it is characterised in that the computer program realizes following steps when being executed by processor:
Detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether to need to calibrate touch-screen;
If desired touch-screen is calibrated, then the touch-screen is calibrated by touch screen calibration node.
In embodiments of the present invention, by detect open it is non-carry ripple or reset it is non-carry ripple operation when, sentence It is disconnected whether to need to calibrate touch-screen;If desired touch-screen is calibrated, then school is carried out to the touch-screen by touch screen calibration node Standard, so as to ensure that touch-screen being capable of normal use under RFID field strength.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is that the method for avoiding antenna carrier from disturbing that the embodiment of the present invention one provides realizes flow diagram;
Fig. 2 is the total Organization Chart of design provided in an embodiment of the present invention;
Fig. 3 is the specific implementation flow diagram of step S101 in the embodiment of the present invention one;
Fig. 4 is that the method provided by Embodiment 2 of the present invention for avoiding antenna carrier from disturbing realizes flow diagram;
Fig. 5 is the specific implementation flow diagram of step S102 in the embodiment of the present invention one;
Fig. 6 is the practical operation control flow schematic diagram of the embodiment of the present invention;
Fig. 7 is the structure diagram for the device for avoiding antenna carrier from disturbing that the embodiment of the present invention three provides;
Fig. 8 is the schematic diagram for the terminal device that the embodiment of the present invention four provides.
Embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that these are specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
It should be appreciated that ought be special described by the instruction of term " comprising " use in this specification and in the appended claims Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " Or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to Determine " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
Fig. 1 shows that the method for avoiding antenna carrier from disturbing that the embodiment of the present invention one provides realizes flow diagram. As shown in Figure 1, the method for avoiding antenna carrier from disturbing specifically comprises the following steps S101 to step S102.
Step S101:Detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether to need school Quasi- touch-screen.
As shown in Fig. 2, show total Organization Chart of the present embodiment design, including application layer, the soft chain of touch screen calibration node Connect, linux kernel, driving layer and hardware layer, wherein driving layer include touch-screen driving, it is non-connect driving and the driving of I2C controllers, Hardware layer includes non-connection module and touch-screen.Wherein, touch-screen is touch screens or capacitance plate.
Detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether to need to calibrate touch-screen.
Open non-when carrying ripple, driving layer (such as non-connect driving) can do and scan the non-processing for connecing card, at this time application layer meeting Determine whether to be traded according to the scanning result of driving layer, if having detected multiple cards or other abnormal conditions, this When application layer can reset the non-function for carrying ripple, can at this time be called in this function touch-screen provide calibration touch-screen operation Method, to decide whether to calibration touch-screen.Thus provide one and reset the non-function for carrying ripple, reset non-ripple of carrying When determine whether to touch screen calibration.
Alternatively, as shown in figure 3, judging whether to need to calibrate touch-screen, include the following steps:
Step S201:Judge whether the flag bit in pre-defined global variable is zero.
Step S202:If the flag bit is zero, it is determined that needs to calibrate touch-screen.
Step S203:If the flag bit is not zero, it is determined that need not calibrate touch-screen.
Specifically, can be that (such as g_pcd_carrier_on becomes for the flag bit that judges in pre-defined global variable Amount) value, if the value of flag bit is zero, show to need to calibrate touch-screen at this time.
Step S102:If desired touch-screen is calibrated, then the touch-screen is calibrated by touch screen calibration node.
Specifically, carrying out calibration to the touch-screen includes:
The capacitance base value or resistance value of the touch-screen are calibrated.
Alternatively, which further includes:
It is 1 by the mark position after the completion of the touch screen calibration.
G_pcd_carrier_on is put 1 after the completion of calibration, starts to perform transactional operation.
In embodiments of the present invention, by detect open it is non-carry ripple or reset it is non-carry ripple operation when, sentence It is disconnected whether to need to calibrate touch-screen;If desired touch-screen is calibrated, then school is carried out to the touch-screen by touch screen calibration node Standard, so as to ensure that touch-screen being capable of normal use under RFID field strength.
Embodiment two
Fig. 4 shows that the method provided by Embodiment 2 of the present invention for avoiding antenna carrier from disturbing realizes flow diagram. This method may comprise steps of as shown in the figure:
Step S301:Create the soft link of touch screen calibration node.
Wherein, create soft link purpose and be to provide for a general method and give user's space operation, otherwise every time one A new touch-screen, user's space layer will remodify code to ensure the correctness in the path of nodal operation.Create soft Link is for example:/ dev/tp, then the code of user's space just only operate every time this/dev/tp nodes.
Step S302:The work queue of initialization of calibration touch-screen passes through the thread after startup to start the thread of calibration The soft link is opened, to call the touch screen calibration node.
Work queue is advantageous in that the thread for starting calibration, and the thread of this calibration can allow to be adjusted again by cpu Degree even dormancy.
When user's space running node, kernel can open this work queue at this time, after startup Thread opens the soft link, to call the touch screen calibration node to carry out actual alignment touch-screen.
If it is not turned on work queue and touch-screen is directly calibrated in (such as the 500ms that the is delayed) operation that is not delayed, then may Exception occurs in touch-screen after calibration several times.
Because queue can be with dormancy, queue is in a dormant state when 500ms is delayed, then the queue will not at this time Cpu resources are taken, cpu can be allowed to run other worker threads.
Alternatively, as shown in figure 5, being calibrated by touch screen calibration node to the touch-screen, including:
Step S401:The soft link of the touch screen calibration node is opened in control, calls the calibration letter in the soft link Number.
Control opens the soft link of the touch screen calibration node for example:/ dev/tp, calls the calibration letter in the soft link Number.
Step S402:After the first preset time, the working status of the touch-screen is detected based on the calibration function is No is preset state.
Wherein, the value of the first preset time is the length of delay.How long specific delay is needed according to hardware environment at that time Debugging obtains, therefore it is preferably to select to select to open work queue to carry out touch screen calibration to operate.
After the first preset time, whether the working status that the touch-screen is detected based on the calibration function is default State.Wherein, preset state can be that the working status of touch-screen is normal, show not locate if the working status of touch-screen is abnormal In preset state.
Step S403:If the working status is preset state, the calibration function is called to carry out the touch-screen Calibration.
If the working status of touch-screen is preset state, such as working status is normal, then calls the calibration function to institute Touch-screen is stated to be calibrated.
Alternatively, before calling the calibration function to calibrate the touch-screen, further include:
Calibration command is received within default second time.
Wherein, default second time is a time out the time of processing, and the purpose for setting timeout treatment is to ensure that I2C leads to Letter is normal, waits completion to be calibrated.
Step S303:Detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether to need school Quasi- touch-screen.
Step S304:If desired touch-screen is calibrated, then the touch-screen is calibrated by touch screen calibration node.
Step S303 and step S304 is identical with step S101 and step S102 respectively, for details, reference can be made to step S101 and step The associated description of rapid S102, details are not described herein.
This implementation in order to better understand, is illustrated with practical operation scene, with reference to figure 6 below:
1) initialization operation:
Start powers on, touch-screen drive load, and non-to connect drive load, I2C controller drive loads, initialization is relevant to be set Standby resource and apparatus operation method, open equipment open, read equipment read, write device write, pass hull closure close, control The methods of command operation ioctl, register interrupt processing function, and touch-screen driving creates force_cal_tigger device nodes, The work queue of calibration touch-screen is created, is prepared for calibration touch-screen, and create soft link/dev/tp_force_cal_ Trgger nodes to operate to user's space, and convenient exploitation in the future is safeguarded and transplanting code.
2) opening is non-connects device node, and progress is non-to connect relevant equipment initialization action, is done for transaction below relevant Initializing resource prepares, and defines global variable g_pcd_carrier_on=0, and the effect of this flag bit is used to determine whether needing Carry out touch screen calibration.
3) opening is non-carries ripple, calls ioctl system call commands, and to operate non-connection module, unlatching is non-to connect interruption, initially Change some parameters.
4) judge PCD_ERR_STATUS states, in order to judge that the state connect non-at this time is normal, if normally, just after The operation of continuous execution below.
5) judge the value of g_pcd_carrier_on variables, if 0, need to calibrate touch-screen at this time, call Open system call commands open/dev/tp_force_cal_trgger nodes, if it is normal to open device node, just hold The write functions of rower standard operate this node into row write 1, at this time before drive in the work queue registered bring into operation, Jiffies is read to do the delay process of 500ms first with system tick interrupt during operation, and 500ms starts to detect later The working status of touch-screen, if state is STATUS_IDLE, illustrates that touch-screen can carry out calibration operation, Ran Houzhu at this time Generator terminal begins through I2C controllers and communicate with touch-screen IC, issues COMMAND_FORCE_CAL calibration commands, so The timeout treatment of 100ms is done afterwards, is ensured that I2C communications are normal, is waited completion to be calibrated.By g_pcd_carrier_ after the completion of calibration On puts 1, starts to perform the transaction movement of APDU agreements.
It should be noted that after carrying ripple because of opening is non-, at this time the non-correlative code for connecing driving, which can be done, scans non-connect The processing of card, at this time application layer can determine whether to be traded according to the scanning result of driving layer, if detected multiple Card or other abnormal conditions, at this time application layer can reset the non-function for carrying ripple, can at this time call touch-screen in this function The operating method of the calibration touch-screen of offer, to decide whether to calibration touch-screen.If calibrating touch-screen, begin to perform Calibrate the flow of touch-screen.Therefore we are also provided that resets the non-function for carrying ripple, then non-carry ripple resetting When we can equally make a decision to whether touch-screen is calibrated, the same step 5) of determination methods.
6) carrier wave is closed, and g_pcd_carrier_on is set to 0, calls ioctl to perform the action for closing carrier wave, discharges phase Resource is closed, closes filec descriptor etc..
7) terminate.
The embodiment of the present invention effectively connects field strength and touch-screen scene used at the same time is handled for non-, using this reality Apply outside the normal use that the operating method in example ensure that touch-screen to a certain extent, additionally aid the tune of touch-screen effect Examination, greatly reduces the debugging difficulty of touch-screen firmware, very big by external environment condition interference because touch-screen is very sensitive, right The interference such as frequency, power supply, sound wave, noise, temperature, humidity, different medium are all more sensitive, and adjustment method is typically all to pass through tune Examination touch-screen firmware solves problem encountered, can be with for capacitive touch screen for example for the demand of disparity items Support multi-point touch, support waterproof, power supply conduction C/S tests (can be tested by 3V or 5V) can also be crossed.If do not adopt With the scheme in the present embodiment, then the premise of touch-screen normal use will sacrifice many performances of touch-screen, for example only prop up Hold single-point touch or do not support waterproof.It should be noted that the principle of touch screens and capacitance plate is different, so touch screens sheet Body is not support multi-point touch, and capacitance plate is to support multi-point touch.
The embodiment of the present invention can also effectively ensure whole products scheme on the premise of touch-control effect is had substantially no effect on Be normally carried out, do not limit touch area, can support multi-point touch and support waterproof.
Embodiment three
Fig. 7 is refer to, the structural frames of the device for avoiding antenna carrier from disturbing provided it illustrates the embodiment of the present invention three Figure.Avoiding the device 50 that antenna carrier is disturbed includes:Judging unit 51 and alignment unit 52.Wherein, the concrete function of each unit It is as follows:
Judging unit 51, for detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether Need to calibrate touch-screen;
Alignment unit 52, for if desired calibrating touch-screen, then carries out the touch-screen by touch screen calibration node Calibration.
Alternatively, further include:
Create the soft link of touch screen calibration node;
The work queue of initialization of calibration touch-screen is opened described soft with starting the thread of calibration by the thread after startup Link, to call the touch screen calibration node.
Alternatively, alignment unit 52 includes:
Subelement is controlled, the soft link of the touch screen calibration node is opened for controlling, is called in the soft link Calibration function;
Detection sub-unit, for after the first preset time, the work of the touch-screen to be detected based on the calibration function Whether state is preset state;
Subelement is called, if being preset state for the working status, calls the calibration function to the touch Screen is calibrated.
Alternatively, the device that antenna carrier is disturbed is avoided to further include:
Receiving unit, for receiving calibration command within default second time.
Alternatively, judging unit 51 includes:
Judgment sub-unit, for judging whether the flag bit in pre-defined global variable is zero;
First determination subelement, if being zero for the flag bit, it is determined that need to calibrate touch-screen;
Second determination subelement, if being not zero for the flag bit, it is determined that touch-screen need not be calibrated.
Alternatively, the device that antenna carrier is disturbed is avoided to further include:
Setting unit, for being 1 by the mark position after the completion of the touch screen calibration.
Alternatively, alignment unit 52 includes:
Subelement is calibrated, for being calibrated to the capacitance base value or resistance value of the touch-screen.
In embodiments of the present invention, by detect open it is non-carry ripple or reset it is non-carry ripple operation when, sentence It is disconnected whether to need to calibrate touch-screen;If desired touch-screen is calibrated, then school is carried out to the touch-screen by touch screen calibration node Standard, so as to ensure that touch-screen being capable of normal use under RFID field strength.
It is to be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic It is fixed.
Example IV
Fig. 8 is the schematic diagram for the terminal device that four embodiments of the invention provide.As shown in fig. 6, the terminal of the embodiment is set Standby 6 include:Processor 60, memory 61 and it is stored in the meter that can be run in the memory 61 and on the processor 60 Calculation machine program 62, such as the method program for avoiding antenna carrier from disturbing.When the processor 60 performs the computer program 62 Realize the step in above-mentioned each embodiment of the method for avoiding antenna carrier from disturbing, such as the step S101 to S102 shown in Fig. 1. Alternatively, the processor 60 realizes the function of each module in above-mentioned each device embodiment, example when performing the computer program 62 The function of module 51 to 52 as shown in Figure 7.
Exemplary, the computer program 62 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 61, and are performed by the processor 60, to complete the present invention.Described one A or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, which is used for Implementation procedure of the computer program 62 in the terminal device 6 is described.For example, the computer program 62 can be divided Judging unit and alignment unit are cut into, the concrete function of each unit is as follows:
Judging unit, for detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether need Calibrate touch-screen;
Alignment unit, for if desired calibrating touch-screen, then carries out school by touch screen calibration node to the touch-screen It is accurate.
The terminal device 6 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The terminal device may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 The only example of terminal device, does not form the restriction to terminal device, can include than illustrating more or fewer components, Some components or different components are either combined, such as the terminal device can also include input-output equipment, network connects Enter equipment, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 61 can be the internal storage unit of the terminal device 6, such as the hard disk of terminal device 6 or interior Deposit.The memory 61 can also be the External memory equipment of the terminal device 6, such as be equipped with the terminal device 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodges Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the terminal device 6 Member also includes External memory equipment.The memory 61 is used to store needed for the computer program and the terminal device Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units integrate in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, can be with Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer-readable recording medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to foregoing each Technical solution described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical solution, should all Within protection scope of the present invention.

Claims (10)

  1. A kind of 1. method for avoiding antenna carrier from disturbing, it is characterised in that including:
    Detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether to need to calibrate touch-screen;
    If desired touch-screen is calibrated, then the touch-screen is calibrated by touch screen calibration node.
  2. 2. the method as claimed in claim 1 for avoiding antenna carrier from disturbing, it is characterised in that passing through touch screen calibration node Before being calibrated to the touch-screen, further include:
    Create the soft link of touch screen calibration node;
    The work queue of initialization of calibration touch-screen opens the soft chain to start the thread of calibration, by the thread after startup Connect, to call the touch screen calibration node.
  3. 3. the method as claimed in claim 2 for avoiding antenna carrier from disturbing, it is characterised in that pass through touch screen calibration node pair The touch-screen is calibrated, including:
    The soft link of the touch screen calibration node is opened in control, calls the calibration function in the soft link;
    After the first preset time, whether the working status that the touch-screen is detected based on the calibration function is preset state;
    If the working status is preset state, the calibration function is called to calibrate the touch-screen.
  4. 4. the method as claimed in claim 3 for avoiding antenna carrier from disturbing, it is characterised in that call the calibration letter described It is several the touch-screen is calibrated before, further include:
    Calibration command is received within default second time.
  5. 5. the method as claimed in claim 1 for avoiding antenna carrier from disturbing, it is characterised in that described to judge whether to need to calibrate Touch-screen, including:
    Judge whether the flag bit in pre-defined global variable is zero;
    If the flag bit is zero, it is determined that needs to calibrate touch-screen;
    If the flag bit is not zero, it is determined that need not calibrate touch-screen.
  6. 6. the method as claimed in claim 5 for avoiding antenna carrier from disturbing, institute's method further include:
    It is 1 by the mark position after the completion of the touch screen calibration.
  7. 7. the method for avoiding antenna carrier interference such as claim 1 to 6 any one of them, it is characterised in that to the touch Screen, which carries out calibration, to be included:
    The capacitance base value or resistance value of the touch-screen are calibrated.
  8. A kind of 8. device for avoiding antenna carrier from disturbing, it is characterised in that including:
    Judging unit, for detect open it is non-carry ripple or reset it is non-carry ripple operation when, judge whether to need school Quasi- touch-screen;
    Alignment unit, for if desired calibrating touch-screen, then calibrates the touch-screen by touch screen calibration node.
  9. 9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that the processor realizes such as claim 1 to 7 when performing the computer program The step of any one the method.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 7 the method.
CN201711207215.0A 2017-11-27 2017-11-27 Method, device and terminal equipment for avoiding antenna carrier interference Active CN108008854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711207215.0A CN108008854B (en) 2017-11-27 2017-11-27 Method, device and terminal equipment for avoiding antenna carrier interference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711207215.0A CN108008854B (en) 2017-11-27 2017-11-27 Method, device and terminal equipment for avoiding antenna carrier interference

Publications (2)

Publication Number Publication Date
CN108008854A true CN108008854A (en) 2018-05-08
CN108008854B CN108008854B (en) 2021-03-23

Family

ID=62053903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711207215.0A Active CN108008854B (en) 2017-11-27 2017-11-27 Method, device and terminal equipment for avoiding antenna carrier interference

Country Status (1)

Country Link
CN (1) CN108008854B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109085953A (en) * 2018-08-17 2018-12-25 维沃移动通信有限公司 It is a kind of to reduce the method interfered and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103518175A (en) * 2011-04-01 2014-01-15 高通股份有限公司 Touchscreen controller with adjustable parameters
US20140176371A1 (en) * 2012-12-26 2014-06-26 Hon Hai Precision Industry Co., Ltd. Portable electronic device having near field communication antenna
EP3016286A1 (en) * 2014-10-31 2016-05-04 Semtech Corporation Method and device for reducing radio frequency interference of proximity and touch detection in mobile devices
CN106575183A (en) * 2014-08-25 2017-04-19 3M创新有限公司 Capacitive-based touch apparatus and method with reduced interference
CN107087282A (en) * 2017-05-23 2017-08-22 广东欧珀移动通信有限公司 Interference elimination method, device, storage medium and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103518175A (en) * 2011-04-01 2014-01-15 高通股份有限公司 Touchscreen controller with adjustable parameters
US20140176371A1 (en) * 2012-12-26 2014-06-26 Hon Hai Precision Industry Co., Ltd. Portable electronic device having near field communication antenna
CN106575183A (en) * 2014-08-25 2017-04-19 3M创新有限公司 Capacitive-based touch apparatus and method with reduced interference
EP3016286A1 (en) * 2014-10-31 2016-05-04 Semtech Corporation Method and device for reducing radio frequency interference of proximity and touch detection in mobile devices
CN107087282A (en) * 2017-05-23 2017-08-22 广东欧珀移动通信有限公司 Interference elimination method, device, storage medium and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109085953A (en) * 2018-08-17 2018-12-25 维沃移动通信有限公司 It is a kind of to reduce the method interfered and terminal device
CN109085953B (en) * 2018-08-17 2021-07-30 维沃移动通信有限公司 Method for reducing interference and terminal equipment

Also Published As

Publication number Publication date
CN108008854B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
US11741455B2 (en) Systems and methods for providing near field communications
CN107608693A (en) version upgrading method and terminal device
EP4002121A1 (en) Middleware interface and middleware interface generator
EP3467667B1 (en) System-on-chip and terminal
US9436828B2 (en) Systems and methods for command-based entry into basic input/output system setup from operating system
CN107290674A (en) A kind of calibration method and terminal for showing charge value
US20130160031A1 (en) Hardware computing system with software mediation and method of operation thereof
CN103853586A (en) Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer
CN110162464A (en) Mcok test method and system, electronic equipment and readable storage medium storing program for executing
CN109408126A (en) A kind of starting-up method of multipath server, BMC and multipath server
CN101283333A (en) Method and apparatus for maintaining a partition when booting another partition
CN110445558A (en) Performance test methods, device and terminal device
US20130328791A1 (en) Touch system inadvertent input elimination
CN108008854A (en) A kind of method, apparatus for avoiding antenna carrier from disturbing and terminal device
CN110515662B (en) Remote control method, system, equipment and readable storage medium for dual-system equipment
CN106527900A (en) Terminal control method and terminal
WO2014139119A1 (en) Providing hybrid touchpad in computing device
US20080256348A1 (en) Method for configuration of a processing unit
CN109710322A (en) Communication equipment repositioning method, apparatus and system
CN105117370B (en) A kind of multi-protocols cryptographic algorithm processor and system on chip
US9658674B2 (en) Mobile system optimization method
CN106484625A (en) A kind of method based on universal test Software Development Platform test subsystems
CN107391361A (en) A kind of POS terminal automatic test approach and device
US20100235816A1 (en) Data-driven testing without data configuration
CN105068937A (en) Unit test method of Linux kernel module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant