CN109782960A - Touch screen report point region switching method, electronic device and computer readable storage medium - Google Patents

Touch screen report point region switching method, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN109782960A
CN109782960A CN201910122732.0A CN201910122732A CN109782960A CN 109782960 A CN109782960 A CN 109782960A CN 201910122732 A CN201910122732 A CN 201910122732A CN 109782960 A CN109782960 A CN 109782960A
Authority
CN
China
Prior art keywords
report point
touch screen
point region
parameter value
drive module
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
CN201910122732.0A
Other languages
Chinese (zh)
Other versions
CN109782960B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910122732.0A priority Critical patent/CN109782960B/en
Publication of CN109782960A publication Critical patent/CN109782960A/en
Application granted granted Critical
Publication of CN109782960B publication Critical patent/CN109782960B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application provides a kind of touch screen report point region switching method, electronic device and computer readable storage medium, it is related to field of communication technology, wherein method is applied to the electronic device with touch screen, the touch screen is divided into multiple report point regions, this method comprises: report point switching control node is written in predeterminated position in upper layer processing module;Touch screen drive module enables the parameter value corresponding target report point region according to the parameter value of the report point switching control node;The touch screen drive module configures the range in the target report point region according to preset configuration rule.The application can realize the free switching in touch screen difference report point region.

Description

Touch screen report point region switching method, electronic device and computer readable storage medium
Technical field
This application involves field of communication technology more particularly to a kind of touch screen report point region switching method, electronic device and Computer readable storage medium.
Background technique
For current trend mobile terminal, Quan Mianping, flexible screen etc. becomes mainstream.The characteristics of flexible screen is can It is used with folding and then realizing that a screen works as two screens, but is substantially in existing conventional touch screen report point technology at present Report point is carried out based on the touch point on monolith touch screen, report point area size is substantially the size based on entire touch screen.Therefore, How freely to switch the different report points region of enabled display screen is the big technical problem for currently needing to solve.
Summary of the invention
The embodiment of the present application provides a kind of touch screen report point region switching method, electronic device and computer-readable storage medium Matter can be used for realizing the free switching in touch screen difference report point region.
On the one hand the embodiment of the present application provides a kind of touch screen report point region switching method, applied to touch screen Electronic device, the touch screen are divided into multiple report point regions, which comprises upper layer processing module is write in predeterminated position Enter report point switching control node;Touch screen drive module enables the ginseng according to the parameter value of the report point switching control node Numerical value corresponding target report point region;The touch screen drive module is according to preset configuration rule, to the area the target Bao Dian The range in domain is configured.
On the one hand the embodiment of the present application additionally provides a kind of electronic device, comprising: writing module, for being handled by upper layer Report point switching control node is written in predeterminated position in module;Enabled module, for passing through touch screen drive module according to the report The parameter value of point switching control node, enables the parameter value corresponding target report point region;Configuration module, for by described Touch screen drive module configures the range in target report point region according to preset configuration rule.
On the one hand the embodiment of the present application additionally provides a kind of electronic device, comprising: memory, processor and be stored in described It is real when the processor executes the computer program on memory and the computer program that can run on the processor Now such as touch screen report point provided by the above embodiment region switching method.
On the one hand the embodiment of the present application additionally provides a kind of computer readable storage medium, be stored thereon with computer journey Sequence when the computer program is executed by processor, realizes such as touch screen report point provided by the above embodiment region switching method.
The various embodiments described above report point switching control node to give upper layer processing module, and assign upper layer processing mould by providing Block node permission, so that upper layer processing module when needing to switch target report point region, is cut by the way that report point is written in predeterminated position Control node is changed, to can trigger touch screen drive module according to the parameter value of report point switching control node, enables parameter value pair The target report point region answered, and according to preset configuration rule, the range in target report point region is configured, it is achieved that The free switchings in different report point regions in touch screen especially flexible touch screen, so that the flexibility and precisely of touch-control can be improved Degree.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram for the touch screen report point region switching method that one embodiment of the application provides;
Fig. 2 is the implementation process schematic diagram for the touch screen report point region switching method that another embodiment of the application provides;
Fig. 3 is that flexible touch screen divides multiple report points in the switching method of touch screen report point provided by the embodiments of the present application region The schematic diagram in region;
Fig. 4 is the hardware structural diagram for the electronic device that one embodiment of the application provides;
Fig. 5 is the hardware structural diagram for the electronic device that one embodiment of the application provides;
Fig. 6 is the hardware structural diagram of a kind of electronic equipment.
Specific embodiment
To enable present invention purpose, feature, advantage more obvious and understandable, below in conjunction with the application Attached drawing in embodiment, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described reality Applying example is only some embodiments of the present application, and not all embodiments.Based on the embodiment in the application, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to Fig. 1, the implementation process signal of the touch screen report point region switching method provided for one embodiment of the application Figure.This method can be applied to the electronic device with flexible touch screen, such as with mobile phone, the plate of flexible capacitive touch screen Computer, smartwatch, smart camera etc. can carry out the electronic device of data processing on the move.As shown in Figure 1, this method is main Include:
Report point switching control node is written in predeterminated position in S101, upper layer processing module;
S102, touch screen drive module enable the corresponding mesh of the parameter value according to the parameter value of report point switching control node Mark report point region;
S103, touch screen drive module configure the range in target report point region according to preset configuration rule.
Flexible touch screen, such as flexible capacitive touch screen (Touch Panel, TP) is foldable screen, can be folded It uses.Upper layer processing module, such as can be and answered dedicated for the upper layer for executing counterlogic according to the touch area of touch screen With.Touch screen drive module, such as can be the hardware drive program of flexible TP.
Target report point region is the screen area for needing to report touch point, it is possible to understand that, when flexible touch screen is folded In use, can cause the problem of accidentally touching if allowing entire screen report point at this time, it is therefore desirable to which limitation only has part of screen area Domain can carry out report point, the screen area i.e. target report point region of report point can be carried out, e.g., in face of the screen area of user.Wherein, quiet The report point of state refers to the touch point that needs report or touches the location point in screen, and dynamic report point, which refers to, reports touch point.
In a practical application, when touch screen is folded, upper layer processing module can be according to the difference area Bao Dian in touch screen The size of touch area in domain, determines target report point region, then by the way that in predeterminated position, e.g., write-in report point is cut under/proc The mode of control node is changed, for triggering touch screen drive module according to the parameter value of the report point switching control node of write-in, enabling should Parameter value corresponding target report point region, and to according to preset configuration rule, the range in target report point region is configured.
Report point switching control node, e.g., TP half screen report point node (hs_report_mode_enable) is device file Node.Under Linux frame, upper layer processing module can be linked up by device file node with bottom layer driving module.
According to preset configuration rule, the purpose configured to the range in target report point region is touch screen drive module It determines the size and location in target report point region, and the report point except target report point region is filtered, only retain target report Report point within point region is to guarantee that report point is realized in region only within the specified scope, to avoid accidentally touching.
In the present embodiment, point switching control node is reported to give upper layer processing module by providing, and assign upper layer processing module Node permission, so that upper layer processing module when needing to switch target report point region, is switched by the way that report point is written in predeterminated position It is corresponding to enable parameter value to can trigger touch screen drive module according to the parameter value of report point switching control node for control node Target report point region the range in target report point region is configured and according to preset configuration rule, it is achieved that touching The free switching for touching different report points region in screen especially flexible touch screen, so that flexibility and the precision of touch-control can be improved.
Referring to Fig. 2, the implementation process signal of the touch screen report point region switching method provided for one embodiment of the application Figure.This method can be applied to the electronic device with flexible touch screen, such as with mobile phone, the plate of flexible capacitive touch screen Computer, smartwatch, smart camera etc. can carry out the electronic device of data processing on the move.As shown in Fig. 2, this method is main Include:
Report point switching control node is written in predeterminated position in S201, upper layer processing module;
Upper layer processing module, such as can be dedicated for according to the upper layer for touching area and executing counterlogic of touch screen Using.Report point switching control node, e.g., TP half screen report point node (hs_report_mode_enable) is device file section Point.Under Linux frame, upper layer processing module can be linked up by device file node with bottom layer driving module.
In a practical application, when touch screen is folded, upper layer processing module can be according to the difference area Bao Dian in touch screen The size of touch area in domain, determines target report point region, then by the way that in predeterminated position, e.g., write-in report point is cut under/proc The mode of control node is changed, for triggering touch screen drive module according to the parameter value of the report point switching control node of write-in, enabling should Parameter value corresponding target report point region.
It should be understood that flexible touch screen, such as flexible capacitive touch screen (Touch Panel, TP) is foldable screen, Use can be folded.Touch screen drive module, such as can be the hardware drive program of flexible TP.
Target report point region is the screen area for needing to report touch point, it is possible to understand that, when flexible touch screen is folded In use, can cause the problem of accidentally touching if allowing entire screen report point at this time, it is therefore desirable to which limitation only has part of screen area Domain can carry out report point, the screen area i.e. target report point region of report point can be carried out, e.g., in face of the screen area of user.
S202, judge whether system is in wake-up states;
If S203, system are in wake-up states, touch screen drive module puts the parameter value of switching control node according to report, Enabled parameter value corresponding target report point region;
If S204, system are in non-wake-up states, wake up system or when the system of detecting is waken up, touch screen is driven Module enables parameter value corresponding target report point region according to the parameter value of report point switching control node;
When system is in wake-up states, the control switching in target report point region can be realized to full blast.Therefore, it touches Screen drive module first judges whether system is in wake-up states, if system is in wake-up states, touch screen drive module according to The parameter value of the report point switching control node of upper layer processing module write-in, enables parameter value corresponding target report point region, otherwise, Touch screen drive module first wakes up system, further according to the parameter value of the report point switching control node of upper layer processing module write-in, makes It can parameter value corresponding target report point region.Alternatively, touch screen drive module can also be regular when system is in non-wake-up states Whether detection system is waken up, when the system of detecting is waken up, further according to the report point switching control of upper layer processing module write-in The parameter value of node enables parameter value corresponding target report point region.
It should be understood that system is in wake-up states, that is, system is in non-sleep or suspended state, such as bright screen state, or Person, puts out screen but background program is still working on.
Optionally, in one specific embodiment of the application, touch screen is divided into entire screen, the first half screen and The two report point of half screen three regions.Wherein, half screen region can refer to any one area in left and right, upper or lower half of screen area Domain.At this point, touch screen drive module judges whether the parameter value of the report point switching control node of upper layer processing module write-in is the One preset value;If the parameter value is the first preset value, enabled entire screen as target report point region;If the parameter value is not For the first preset value, then judge whether the parameter value is the second preset value;If the parameter value is the second preset value, by the first half Screen is enabled as target report point region;If joining the numerical value not is the second preset value, using the second half screen as target report point region It is enabled.Optionally, the first preset value is, for example, 0, and the second preset value is, for example, 1.It should be understood that in practical applications, first Preset value and the second preset value can also be other customized values.
Optionally, in other specific embodiments of the application, it can also first judge that parameter value judges wake-up states again, Specifically, touch screen drive module judges whether the parameter value of the report point switching control node of upper layer processing module write-in is third Preset value;If the parameter value is third preset value, judge whether system is in wake-up states, when system is in wake-up states When, it is enabled entire screen as target report point region;If the parameter value is not third preset value, whether the parameter value is judged For the 4th preset value;If the parameter value is the 4th preset value, judge whether system is in wake-up states, is waken up when system is in When state, enabled third half screen as target report point region;If the parameter value is not the 4th preset value, whether system is judged In wake-up states, when system is in wake-up states, enabled the 4th half screen as target report point region.
It should be understood that touch screen drive module can first wake up system, then enable when system is in non-wake-up states Corresponding target report point region, alternatively, can also periodic detection system whether be waken up, when the system of detecting is waken up, then make It can corresponding target report point region.Third half screen and the 4th half screen can refer to appointing in left and right, upper or lower half of screen area It anticipates a screen area.Third preset value is, for example, 0, and the 4th preset value is, for example, 1.It should be understood that in practical applications, the Three preset values and the 4th preset value can also be other customized values.
In practical applications, touch screen can also be divided into more report point regions as needed, preset value can with not Same report point region corresponds.
S205, touch screen drive module judge the range that target report point region whether is configured in device tree;
If the range in target report point region is configured in S206, device tree, according to the configuration in device tree, to target report The size in point region is configured, and filters the report point in non-targeted report point region;
If the range in target report point region is not configured in S207, device tree, according to preset in touch screen drive module The default configuration of the range in target report point region configures the size in target report point region, and filters the non-targeted area Bao Dian The report point in domain.
Device tree is a kind of data structure for describing each hardware resource in electronic device, wherein storing various hardware moneys The description in source and configuration information.
Optionally, upper layer processing module or touch screen drive module can be operated according to the configuration of user, and touch screen is drawn It is divided into multiple report point regions, and the range configuration parameter write device tree in multiple report points region that configuration operation is directed toward, thus Realize customized, the freedom degree of raising target report point regional choice and switching of target report point regional location and size.
Touch screen drive module judges the area target Bao Dian whether is configured in device tree after enabled target report point region The range in domain.On the one hand, if the range in target report point region is configured in device tree, according to the configuration in device tree, to mesh The size in mark report point region is configured, and filters the report point in non-targeted report point region.On the other hand, if being not configured in device tree The range in target report point region, then according to the default configuration of the range in target report point region preset in touch screen drive module, The size in target report point region is configured, and filters the report point in non-targeted report point region.Wherein, the non-targeted area Bao Dian is filtered The report point in domain, that is, algorithm mistake is carried out for the report point in touch screen processing chip (IC) in interrupting in TP drive module Filter, so that the report point in only target report point region is enabled.
Optionally, touch screen drive module obtains each report point that upper-layer user interface (UI, User Interface) is divided The range in region, and according to the range of acquisition, the default of the range in goal-selling report point region is matched in touch screen drive module It sets.It should be understood that the realization that TP half screen prepares report point needs accurately to divide report point region, that is to say, that in screen Pixel position must switch that screen size is consistent, and otherwise will appear some regions can not click or non-display with upper layer UI There is the case where report point in region.Therefore, touch screen drive module can divide upper-layer user interface (UI, User Interface) The range configuration in each report point region, the default configuration of the range as target report point region, to avoid the occurrence of the picture in screen Vegetarian refreshments position and upper layer UI switch the inconsistent situation of screen size.
Optionally, in other real-time modes of the application, to avoid the occurrence of the picture in user's customized report point region Vegetarian refreshments position and upper layer UI switch the inconsistent situation of screen size, if being configured with the range in target report point region in device tree, Then the configuration in device tree is compared by touch screen drive module with the default configuration in touch screen drive module, if range is missed Difference is greater than default error and configures then according to the default configuration in touch screen drive module to the range in target report point region.
To further illustrate the present embodiment, by taking Fig. 3 as an example, monolith screen is divided into tri- regions A, B and C, normal to be unfolded When the region A, B and C form monolith screen, folding is along the doubling of the region C when folding.Here a-quadrant and B area are to need when folding The region of display.(need to show, as screen folds or is unfolded) that upper layer handles mould in specific region under specific function scene Block switches target report point region by write-in half screen report point node, notice TP drive module.Assuming that the parameter of half screen report point node There are three (0,1,2) for write-in value, respectively correspond normal full frame report point, left half screen report point (A), right half screen report point (B).Specifically Left and right half screen report point region can in interior nuclear equipment tree custom size and range, if not configuring meeting in TP drive module The numerical value of a default default.After target report point region has been determined, pass through the report except algorithm Filtration Goal report point region Point, that is, only retain the report point within target report point region, to guarantee that report point is realized in region only within the specified scope.As this Sample, when switching screen, upper layer processing module constantly updates TP half screen report point node state by way of file node is written, And trigger TP drive module and enable different destination node regions according to the value of write-in, so as to real in the case where screen folds The independent report point of present a-quadrant or B area, and while being unfolded, is realized and reports across the screen a little.
The details of the present embodiment not to the greatest extent, can refer to the associated description of other embodiments.
In the present embodiment, point switching control node is reported to give upper layer processing module by providing, and assign upper layer processing module Node permission, so that upper layer processing module when needing to switch target report point region, is switched by the way that report point is written in predeterminated position It is corresponding to enable parameter value to can trigger touch screen drive module according to the parameter value of report point switching control node for control node Target report point region the range in target report point region is configured and according to preset configuration rule, it is achieved that touching The free switching for touching different report points region in screen especially flexible touch screen, so that flexibility and the precision of touch-control can be improved.
Referring to Fig. 4, the hardware structural diagram of the electronic device provided for another embodiment of the application.The electronic device It can be used for realizing above-mentioned touch screen report point shown in FIG. 1 region switching method.As shown in figure 4, the electronic device is specifically included that and is write Enter module 401, enabled module 402 and configuration module 403.
Writing module 401, for report point switching control node to be written in predeterminated position by upper layer processing module;
Enabled module 402 enables ginseng for the parameter value by touch screen drive module according to report point switching control node Numerical value corresponding target report point region;
Configuration module 403, for passing through touch screen drive module according to preset configuration rule, to target report point region Range is configured.
Further, enabling module 402 includes:
Condition judgment module, for judging whether system is in wake-up states;
Enabled submodule executes the touch screen drive module and is cut according to the report point if being in wake-up states for system The parameter value for changing control node, the step of enabling the parameter value corresponding target report point region;
Wake-up module wakes up the system if being in non-wake-up states for system;
The enabled submodule, is also used to when the system is waken up, is cut by the touch screen drive module according to the report point The parameter value for changing control node enables the parameter value corresponding target report point region.
Further, configuration module 403 includes:
Configuration determination module, for judging whether be configured with the target report point in device tree by the touch screen drive module The range in region;
Submodule is configured, if the range for being configured with the target report point region in the device tree, passes through the touch screen Drive module configures the size in the target report point region according to the configuration in the device tree, and filters the non-target report The report point in point region;
Submodule is configured, if being also used to be not configured the range in the target report point region in the device tree, passes through the touch Shield drive module, according to the default configuration of the range in the target report point region preset in the touch screen drive module, to the mesh The size in mark report point region is configured, and filters the report point in the non-target report point region.
Further, the electronic device further include:
The touch screen is divided into multiple report point regions, and should for operating according to the configuration of user by writing module The device tree is written in the range configuration parameter in multiple report points region that configuration operation is directed toward.
Further, the electronic device further include:
Presetting module, the model in each report point region for obtaining upper-layer user's boundary division by the touch screen drive module It encloses, and according to the range of acquisition, the default configuration of the range in the target report point region is preset in the touch screen drive module.
Further, module 402 is enabled further include:
Numerical value judgment module, for judging whether the parameter value is the first preset value by the touch screen drive module;
The enabled submodule, if being also used to the parameter value is first preset value, using entire screen as the target report Point region is enabled;
The numerical value judgment module, if being also used to the parameter value not is first preset value, judge the parameter value whether be Second preset value;
The enabled submodule, if being also used to the parameter value is second preset value, using the first half screen as the target report Point region is enabled;
The enabled submodule, if being also used to the parameter value not is second preset value, using the second half screen as the target Report point region is enabled.
Further, the numerical value judgment module, be also used to judge by the touch screen drive module parameter value whether be Third preset value;
The enabled submodule, will when system is in wake-up states if being also used to the parameter value is the third preset value Entire screen is enabled as the target report point region;
The numerical value judgment module, if being also used to the parameter value not is the third preset value, judge the parameter value whether be 4th preset value;
The enabled submodule, if being also used to the parameter value is the 4th preset value, when the system is in the wake-up states When, it is enabled third half screen as the target report point region;
The enabled submodule, if being also used to the parameter value not is the 4th preset value, when the system is in the wake-up shape When state, enabled the 4th half screen as the target report point region.
Above-mentioned each module realizes the detailed process of respective function, and it is specific interior into embodiment illustrated in fig. 3 to can refer to Fig. 1 Hold, details are not described herein again.
In the present embodiment, point switching control node is reported to give upper layer processing module by providing, and assign upper layer processing module Node permission, so that upper layer processing module when needing to switch target report point region, is switched by the way that report point is written in predeterminated position It is corresponding to enable parameter value to can trigger touch screen drive module according to the parameter value of report point switching control node for control node Target report point region the range in target report point region is configured and according to preset configuration rule, it is achieved that touching The free switching for touching different report points region in screen especially flexible touch screen, so that flexibility and the precision of touch-control can be improved.
Referring to Fig. 5, Fig. 5 is the hardware structural diagram for the electronic device that one embodiment of the application provides.
Electronic device as described in this embodiment, comprising:
Memory 501, processor 502 and it is stored in the computer journey that can be run on memory 501 and on processor 502 Sequence when processor 502 executes the computer program, realizes earlier figures 1 to the area touch screen Bao Dian described in embodiment illustrated in fig. 3 Domain switch method.
At least one input equipment 503 and at least one output equipment 504.
Above-mentioned memory 501, processor 502, input equipment 503 and output equipment 504, are connected by bus 505.
Wherein, input equipment 503 concretely camera, touch panel, physical button etc..Output equipment 504 is specific It can be flexible capacitive touch screen.
Memory 501 can be high random access memory body (RAM, Random Access Memory) memory, It can be non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 501 is for storing one Group executable program code, processor 502 are coupled with memory 501.
Further, the embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable storages Medium can be arranged in the electronic device in the various embodiments described above, which can be above-mentioned each reality Apply storage unit of the configuration in main control chip and data acquisition chip in example.Meter is stored on the computer readable storage medium Calculation machine program realizes earlier figures 1 to touch screen report point region described in embodiment illustrated in fig. 3 when the program is executed by processor Switching method.
Illustratively, electronic device can be movement with flexible capacitive touch screen or portable and execute channel radio Any one of various types of computer system devices of letter.Specifically, electronic device can be mobile phone or intelligence Phone (for example, being based on iPhone TM, the phone based on Android TM), portable gaming device (such as Nintendo DS TM, PlayStation Portable TM, Gameboy Advance TM, iPhone TM), it is laptop computer, PDA, portable Formula internet device, music player and data storage device, other handheld devices and such as wrist-watch, earphone, pendant, ear Machine etc., electronic device can also be other wearable devices (for example, such as electronic glasses, electronics clothes, electronics bracelet, electricity Subitem chain, electronics tatoo, the headset equipment (HMD) of electronic equipment or smartwatch).
Electronic device can also be that any one of multiple electronic equipments, multiple electronic equipments include but is not limited to honeycomb Phone, smart phone, other wireless telecom equipments, personal digital assistant, audio player, other media players, music note It records device, video recorder, camera, other medium recorders, radio, Medical Devices, vehicle transport instrument, calculator, may be programmed Remote controler, pager, laptop computer, desktop computer, printer, netbook computer, personal digital assistant (PDA), just Formula multimedia player (PMP), Motion Picture Experts Group (MPEG-1 or MPEG-2) audio layer 3 (MP3) player are taken, it is portable Medical Devices and digital camera and combinations thereof.
In some cases, electronic device can execute multiple functions and (for example, playing music, show video, store picture And send and receive call).If desired, electronic device can be such as cellular phone, media player, other hands The portable device of holding equipment, watch equipment, pendant equipment, receiver device or other compact portable equipment.
As shown in fig. 6, electronic equipment 10 may include control circuit, which may include storage and processing circuit 30.The storage and processing circuit 30 may include memory, such as hard drive memory, nonvolatile memory (such as dodge Deposit or be used to form the memory etc. of other electronic programmable limit deletings of solid state drive), volatile memory (such as it is quiet State or dynamic random access memory etc.) etc., the embodiment of the present application is with no restriction.Store and process the processing circuit in circuit 30 It can be used for the operating of controlling electronic devices 10.The processing circuit microprocessor, microcontroller can count based on one or more Word signal processor, baseband processor, power management unit, audio codec chip, specific integrated circuit, display driver Integrated circuit etc. is realized.
Storage and processing circuit 30 can be used for running the software in electronic equipment 10, such as the Internet browser application program, Voice over internet protocol (Voice over Internet Protocol, VOIP) call application program, Email are answered With program, media play-back application, operation system function etc..These softwares can be used for executing some control operations, for example, Image Acquisition based on camera, the ambient light measurement based on ambient light sensor, the proximity sensor based on proximity sensor Measurement, the information display function that the positioning indicators such as status indicator lamp based on light emitting diode are realized are passed based on touching The touch event of sensor detects, function associated with information show on multiple (such as layering) displays, with execution nothing The associated operation of line communication function, operation associated with collecting and generating audio signal, presses with collection and treatment button Other functions etc. in the associated control operation of event data and electronic equipment 10, the embodiment of the present application is with no restriction.
Electronic equipment 10 can also include imput output circuit 42.Imput output circuit 42 can be used for keeping electronic equipment 10 real Existing data are output and input, i.e., permission electronic equipment 10 allows electronic equipment 10 by data from outer equipment receiving data and also From the output of electronic equipment 10 to external equipment.Imput output circuit 42 may further include sensor 32.Sensor 32 can be with Including ambient light sensor, the proximity sensor based on light and capacitor, touch sensor (for example, based on light touch sensor and/ Or capacitive touch sensors, wherein touch sensor can be a part of touching display screen, can also be used as a touch Sensor structure independently uses), acceleration transducer and other sensors etc..
Imput output circuit 42 can also include one or more displays, such as display 14.Display 14 can wrap Include liquid crystal display, organic light emitting diode display, electronic ink display, plasma display uses other display skills One or several kinds of combination in the display of art.Display 14 may include touch sensor array (that is, display 14 can be with It is touching display screen).Touch sensor can be by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) battle array The capacitive touch sensors formed are arranged, or can be the touch sensor formed using other touching techniques, such as sound wave Touch-control, pressure sensible touch, resistive touch, optical touch etc., the embodiment of the present application is with no restriction.
Electronic equipment 10 can also include audio component 36.Audio component 36 can be used for providing audio for electronic equipment 10 Output and input function.Audio component 36 in electronic equipment 10 may include loudspeaker, microphone, buzzer, tone generation Device and other components for being used to generate and detect sound.
Telecommunication circuit 38 can be used for providing the ability with external device communication for electronic equipment 10.Telecommunication circuit 38 can be with Radio communication circuit including analog- and digital- input/output interface circuit, and based on radiofrequency signal and/or optical signal.Communication electricity Radio communication circuit in road 38 may include radio-frequency transceiver circuitry, power amplifier circuit, low-noise amplifier, switch, Filter and antenna.For example, the radio communication circuit in telecommunication circuit 38 may include for close by transmitting and reception Couple electromagnetic signals support the circuit of near-field communication (Near Field Communication, NFC).For example, communication electricity Road 38 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 38 can also include cellular telephone transceiver and Antenna, wireless lan transceiver circuit and antenna etc..
Electronic equipment 10 can further include battery, power management circuitry and other input-output units 40.Input Output unit 40 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera, shine two Pole pipe and other positioning indicators etc..
User can input a command for the operation of controlling electronic devices 10 by imput output circuit 42, and can be used The output data of imput output circuit 42 receives status information and other outputs from electronic equipment 10 to realize.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or module Letter connection can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a readable storage medium storing program for executing, including some instructions are used so that a meter It calculates machine equipment (can be personal computer, server or the network equipment etc.) and executes each embodiment the method for the application All or part of the steps.And readable storage medium storing program for executing above-mentioned includes: USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. The various media that can store program code.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this Shen It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The above are to touch screen report point region switching method, electronic device and computer-readable storage provided herein The description of medium according to the thought of the embodiment of the present application, in specific embodiment and applies model for those skilled in the art Place that there will be changes, to sum up, the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of touch screen report point region switching method, applied to the electronic device with touch screen, which is characterized in that the touching It touches screen and is divided into multiple report point regions, which comprises
Report point switching control node is written in predeterminated position in upper layer processing module;
Touch screen drive module enables the corresponding target report of the parameter value according to the parameter value of the report point switching control node Point region;
The touch screen drive module configures the range in target report point region according to preset configuration rule.
2. the method as described in claim 1, which is characterized in that the touch screen drive module is according to the report point switching control The parameter value of node, before enabling the parameter value corresponding target report point region, further includes:
Judge whether system is in wake-up states;
If system is in wake-up states, the touch screen drive module is executed according to the parameter of the report point switching control node Value, the step of enabling the parameter value corresponding target report point region;
If system is in non-wake-up states, the system is waken up, and executes the touch screen drive module according to the report point The parameter value of switching control node, the step of enabling the parameter value corresponding target report point region;Alternatively, if system is in non- Wake-up states execute the touch screen drive module according to the report point switching control node then when the system is waken up Parameter value, the step of enabling the parameter value corresponding target report point region.
3. the method as described in claim 1, which is characterized in that the touch screen drive module according to preset configuration rule, The range in target report point region is configured, is specifically included:
The touch screen drive module judges the range that target report point region whether is configured in device tree;
If being configured with the range in target report point region in the device tree, according to the configuration in the device tree, to institute The size for stating target report point region is configured, and filters the report point in non-target report point region;
If the range in target report point region is not configured in the device tree, preset according in the touch screen drive module Target report point region range default configuration, the size in target report point region is configured, and filters non- The report point in target report point region.
4. method as claimed in claim 3, which is characterized in that the method also includes:
It is operated according to the configuration of user, the touch screen is divided into multiple report point regions, and configuration operation is referred to To the range configuration parameter in multiple report points region the device tree is written.
5. method as claimed in claim 3, which is characterized in that the method also includes:
The touch screen drive module obtains the range in each report point region of upper-layer user's boundary division, and according to acquisition Range presets the default configuration of the range in target report point region in the touch screen drive module.
6. method according to any one of claims 1 to 5, which is characterized in that the touch screen drive module is according to institute The parameter value for stating report point switching control node, enables the parameter value corresponding target report point region, specifically includes:
The touch screen drive module judges whether the parameter value is the first preset value;
If the parameter value is first preset value, enabled entire screen as target report point region;
If the parameter value is not first preset value, judge whether the parameter value is the second preset value;
If the parameter value is second preset value, enabled the first half screen as target report point region;
If the parameter value is not second preset value, enabled the second half screen as target report point region.
7. the method as described in claim 1, which is characterized in that the touch screen drive module is according to the report point switching control The parameter value of node enables the parameter value corresponding target report point region, specifically includes:
The touch screen drive module judges whether the parameter value is third preset value;
If the parameter value is the third preset value, when system is in wake-up states, using entire screen as the mesh Mark report point region is enabled;
If the parameter value is not the third preset value, judge whether the parameter value is the 4th preset value;
If the parameter value is that the 4th preset value makees third half screen when the system is in the wake-up states It is enabled for the target report point region;
If the parameter value is not the 4th preset value, when the system is in the wake-up states, by the 4th half screen It is enabled as the target report point region.
8. a kind of electronic device, which is characterized in that described device includes:
Writing module, for report point switching control node to be written in predeterminated position by upper layer processing module;
Enabled module enables described for the parameter value by touch screen drive module according to the report point switching control node Parameter value corresponding target report point region;
Configuration module, for by the touch screen drive module according to preset configuration rule, to target report point region Range configured.
9. a kind of electronic device, there is touch screen, the electronic device includes: memory, processor and is stored in the storage On device and the computer program that can run on the processor, which is characterized in that the processor executes the computer journey When sequence, the touch screen report point region switching method as described in any one in claim 1 to 7 is realized.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by processor, the touch screen report point region switching method as described in any one in claim 1 to 7 is realized.
CN201910122732.0A 2019-02-19 2019-02-19 Touch screen point reporting area switching method, electronic device and computer readable storage medium Active CN109782960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910122732.0A CN109782960B (en) 2019-02-19 2019-02-19 Touch screen point reporting area switching method, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910122732.0A CN109782960B (en) 2019-02-19 2019-02-19 Touch screen point reporting area switching method, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109782960A true CN109782960A (en) 2019-05-21
CN109782960B CN109782960B (en) 2021-03-23

Family

ID=66504550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910122732.0A Active CN109782960B (en) 2019-02-19 2019-02-19 Touch screen point reporting area switching method, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109782960B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955568A (en) * 2019-11-06 2020-04-03 Oppo(重庆)智能科技有限公司 Method and device for positioning problems of touch screen, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777828A (en) * 2012-10-22 2014-05-07 速博思股份有限公司 Touch panel device capable of recombining sensing points and sensing method
CN105677229A (en) * 2015-03-26 2016-06-15 努比亚技术有限公司 Mobile terminal and tough control operation method thereof
EP3175335A1 (en) * 2014-07-29 2017-06-07 Samsung Electronics Co., Ltd. Electronic device operating in idle mode and method thereof
CN108304091A (en) * 2018-01-19 2018-07-20 昆山国显光电有限公司 Touch screen control method, device and touch screen
CN108762645A (en) * 2018-05-18 2018-11-06 Oppo广东移动通信有限公司 content switching method, device, mobile terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777828A (en) * 2012-10-22 2014-05-07 速博思股份有限公司 Touch panel device capable of recombining sensing points and sensing method
EP3175335A1 (en) * 2014-07-29 2017-06-07 Samsung Electronics Co., Ltd. Electronic device operating in idle mode and method thereof
CN105677229A (en) * 2015-03-26 2016-06-15 努比亚技术有限公司 Mobile terminal and tough control operation method thereof
CN108304091A (en) * 2018-01-19 2018-07-20 昆山国显光电有限公司 Touch screen control method, device and touch screen
CN108762645A (en) * 2018-05-18 2018-11-06 Oppo广东移动通信有限公司 content switching method, device, mobile terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955568A (en) * 2019-11-06 2020-04-03 Oppo(重庆)智能科技有限公司 Method and device for positioning problems of touch screen, equipment and storage medium
CN110955568B (en) * 2019-11-06 2023-09-01 Oppo(重庆)智能科技有限公司 Touch screen problem positioning method and device, equipment and storage medium

Also Published As

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

Similar Documents

Publication Publication Date Title
US9024877B2 (en) Method for automatically switching user interface of handheld terminal device, and handheld terminal device
CN109408023A (en) Screen vocal technique and device, control device, electronic equipment and storage medium
CN109150326A (en) Antenna impedance adjustment method, electronic device and computer readable storage medium
CN106484283A (en) A kind of display control method and mobile terminal
CN109274833A (en) The method of adjustment and Related product of electromagnetic interference
CN108983211B (en) Proximity sensor, method of controlling the same, electronic device, and computer-readable storage medium
CN109639367A (en) The method of adjustment and Related product of electromagnetic interference
CN108874466A (en) Control call method, electronic device and computer readable storage medium
CN108924358A (en) proximity sensor control method, electronic device and computer readable storage medium
CN208433519U (en) Antenna module and electronic equipment
CN108777741A (en) antenna switching control method and related product
CN103713804A (en) Equipment control method and device and electronic equipment
CN109144454A (en) double-sided screen display control method and related product
CN108769401A (en) Signal detecting method and related product
CN110475020A (en) Apparatus control method and Related product
CN109067978A (en) Button operation processing method, device, storage medium and electronic equipment
CN108934083A (en) Communicate to connect method for building up and relevant device
CN109684011A (en) Interface display control method, electronic device and computer readable storage medium
CN108595105A (en) Light filling lamp control method, device, storage medium and electronic equipment
CN109885201B (en) Touch area detection method for touch screen, electronic device and computer readable storage medium
CN108268395A (en) A kind of method and mobile terminal of data communication
CN109782960A (en) Touch screen report point region switching method, electronic device and computer readable storage medium
CN108664206A (en) Information processing method, device, storage medium and electronic equipment
CN109066056A (en) Antenna module and electronic equipment
CN108965583A (en) Proximity test method and relevant device

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