CN112068761B - Touch screen data processing method, touch screen data processing device and storage medium - Google Patents

Touch screen data processing method, touch screen data processing device and storage medium Download PDF

Info

Publication number
CN112068761B
CN112068761B CN202010871766.2A CN202010871766A CN112068761B CN 112068761 B CN112068761 B CN 112068761B CN 202010871766 A CN202010871766 A CN 202010871766A CN 112068761 B CN112068761 B CN 112068761B
Authority
CN
China
Prior art keywords
touch screen
screen data
touch
memory
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010871766.2A
Other languages
Chinese (zh)
Other versions
CN112068761A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010871766.2A priority Critical patent/CN112068761B/en
Publication of CN112068761A publication Critical patent/CN112068761A/en
Application granted granted Critical
Publication of CN112068761B publication Critical patent/CN112068761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The disclosure relates to a touch screen data processing method, a touch screen data processing device and a storage medium. The touch screen data processing method comprises the following steps: responding to the acquired touch screen data, and sharing the touch screen data to a memory exchange area; and responding to the baseband chip of the terminal to process the touch screen data, and reading the touch screen data from the memory exchange area. Through the embodiment of the disclosure, the acquired touch screen data is shared to the memory exchange area, the baseband chip of the terminal reads and processes the touch screen data in the memory exchange area, the hardware cost is saved, the processing speed of the touch screen data is improved, the touch screen following performance of the terminal is improved, and therefore the user experience is improved.

Description

Touch screen data processing method, touch screen data processing device and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a touch screen data processing method, a touch screen data processing apparatus, and a storage medium.
Background
With the rapid development of intelligent terminal products, the configuration of the intelligent terminal products is higher and higher, the functions are more and more powerful, the use requirements of users and the use environments are more and more complex, and then the data processing mode is more and more diversified and complicated. Along with the complication of data processing, the number of times of data transmission among components in the terminal is increased, and the data transmission speed is directly related to the data processing speed. For example, for an intelligent terminal that implements a touch function through a touch screen, the touch screen transmits acquired touch screen data to a processing component that performs touch screen data processing, and the processing speed of the processing component on the touch screen data is directly affected.
In the related art, there are two transmission modes for touch screen data, i.e., an Inter-Integrated circuit it (i 2c) mode and a Serial Peripheral interface (spi) mode. However, the transmission speed is low when the i2c transmission mode is adopted for transmitting touch screen data. The method for transmitting touch screen data in the spi mode needs to design corresponding hardware, hardware design cost is high, and the hardware structure design suitable for the spi mode transmission is not suitable for lightweight, and is not easy to process.
Therefore, in the manner of transmitting touch screen data in the related art, the transmission speed of the touch screen data is slow, the performance is poor, the hardware structure is complex, and the design cost is high. How to improve the data transmission performance of the touch screen and further improve the data processing performance of the touch screen is a problem which needs to be solved urgently.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a touch screen data processing method, a touch screen data processing apparatus, and a storage medium.
According to an aspect of the embodiments of the present disclosure, a touch screen data processing method is provided, which is applied to a terminal, and includes: responding to collected touch screen data, and sharing the touch screen data to a memory exchange area; and responding to the fact that a baseband chip of the terminal needs to process the touch screen data, reading the touch screen data from the memory exchange area, and processing the touch screen data read from the memory exchange area through the baseband chip.
In one embodiment, the touch screen data includes: initialization data collected when the terminal is powered on; and/or touch data acquired by a touch integrated circuit processor of the terminal.
In another embodiment, the touch screen data includes touch data collected by a touch integrated circuit processor; sharing the touch screen data to a memory exchange area, including: and storing the unprocessed touch data acquired by the touch integrated circuit processor in a flash memory of the touch integrated circuit processor, and mapping the touch data stored in the flash memory to a memory exchange area in a file mapping manner.
In another embodiment, the reading touch screen data from the memory swap area includes: and accessing the memory exchange area through a set application program interface to read touch screen data.
In another embodiment, the touch screen data processing method further includes: and creating a virtual shared memory as the memory exchange area.
According to another aspect of the embodiments of the present disclosure, there is provided a touch screen data processing apparatus applied to a terminal, the touch screen data processing apparatus including: the acquisition module is used for acquiring touch screen data; the sharing module is used for responding to the touch screen data acquired by the acquisition module and sharing the touch screen data to the memory exchange area; the reading module is used for responding to the requirement of a baseband chip of the terminal on processing the touch screen data and reading the touch screen data from the memory exchange area; and the processing module is used for processing the touch screen data read from the memory exchange area through the baseband chip.
In yet another embodiment, the acquisition module is configured to: acquiring initialization data when the terminal is powered on, wherein the touch screen data comprises: initialization data collected when the terminal is powered on; and/or acquiring touch data through a touch integrated circuit processor of the terminal, wherein the touch data is acquired by the touch integrated circuit processor of the terminal.
In yet another embodiment, the touch screen data includes touch data collected by a touch integrated circuit processor; the sharing module is used for sharing the touch screen data to the memory exchange area in the following mode: and storing the unprocessed touch data acquired by the touch integrated circuit processor in a flash memory of the touch integrated circuit processor, and mapping the touch data stored in the flash memory to a memory exchange area in a file mapping manner.
In another embodiment, the reading module is configured to read the touch screen data from the memory swap area by: and accessing the memory exchange area through a set application program interface to read the touch screen data.
In yet another embodiment, the touch screen data processing apparatus further includes: a creation module for creating a virtual shared memory as a memory swap area.
According to still another aspect of the embodiments of the present disclosure, there is provided a touch screen data processing apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: the touch screen data processing method described in the foregoing aspect or any one of the embodiments is performed.
According to still another aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the touch screen data processing method described in the foregoing aspect or any one of the implementations.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the acquired touch screen data are shared to the memory exchange area, when the baseband chip of the terminal needs to process the touch screen data, the touch screen data are read from the memory exchange area and processed, hardware design is not needed, hardware cost can be saved, data transmission is carried out in a memory sharing mode, transmission speed of the touch screen data can be increased, and processing performance of the touch screen data can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a touch screen data processing method according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a touch screen data processing method according to still another exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a touch screen data processing method according to still another exemplary embodiment of the present disclosure.
Fig. 4 is a schematic diagram illustrating a touch screen data processing method according to still another exemplary embodiment of the present disclosure.
Fig. 5 is a block diagram illustrating a touch screen data processing apparatus according to an exemplary embodiment of the present disclosure.
Fig. 6 is a block diagram illustrating a touch screen data processing apparatus according to yet another exemplary embodiment of the present disclosure.
Fig. 7 is a block diagram illustrating an apparatus for touch screen data processing according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The touch screen data processing method provided by the embodiment of the disclosure is applied to a terminal configured with a touch screen. The terminal configured with the touch screen may be, for example, a terminal configured with a touch screen, such as a smartphone, a tablet computer, a wearable device, or a PC. The embodiment of the present disclosure does not limit the types of terminals.
The terminal configured with the touch screen can realize the corresponding function of the touch screen only by processing touch screen data acquired by the touch screen. However, when the touch screen data is processed, the touch screen data needs to be transmitted between the components inside the terminal. For example, when touch screen data is collected by a touch integrated circuit Processor (also referred to as a touch IC) of the touch screen and processed by a Baseband chip (Baseband Processor, BP) of the terminal, the touch screen data needs to be transmitted to the Baseband chip by the touch integrated circuit Processor.
In the related art, the transmission mode of the touch screen data may be an i2c transmission mode or an spi transmission mode. Wherein, the transmission mode of i2c is adopted, and the transmission speed is lower. When the data transmission amount is large, the real-time speed of transmission is low, so that the transmission performance is poor and the requirements cannot be met. The transmission speed is high by adopting the spi transmission mode, but the transmission of touch screen data by adopting the spi transmission mode needs to design corresponding hardware, the hardware design cost is high, and the hardware structure design suitable for the spi transmission mode is not suitable for light weight, and the structure design is not easy to process.
In view of this, the present disclosure provides a touch screen data processing method, which acquires touch screen data through a touch integrated circuit processor, and processes the touch screen data through a baseband chip. The touch integrated circuit processor and the baseband chip share touch screen data through the shared memory, hardware cost can be saved without hardware design, data transmission can be achieved through the shared memory mode, the transmission speed of the touch screen data can be increased, and then the processing performance of the touch screen data can be improved.
Fig. 1 is a flowchart illustrating a touch screen data processing method according to an exemplary embodiment, where the touch screen data processing method is used in a terminal, as shown in fig. 1. Referring to fig. 1, the touch screen data processing method includes the following steps.
In step S101, in response to the collected touch screen data, the touch screen data is shared to the memory exchange area.
When a user uses the terminal, touch screen data are generated by touching the touch screen of the terminal with fingers. And the terminal collects touch screen data. And when the terminal acquires the touch screen data, the touch screen data is shared to the memory exchange area.
The memory exchange area may also be understood as a memory sharing area, which may be a physical memory or a virtual memory, and is used for exchanging and sharing data.
In step S102, touch screen data is processed by the baseband chip of the terminal, and the touch screen data is read from the memory exchange area.
Most terminals include two processors, an Application Processor (AP) and a baseband chip.
The operating system, the user interface and the application program are all executed on the AP, and the AP generally adopts a CPU of an ARM chip. The radio frequency communication control software of the mobile phone runs on a baseband chip, and the baseband chip is mainly used for sending and receiving various data. The baseband chip encodes and decodes data according to the algorithm of the protocol, and the CPU in the baseband chip is responsible for coordinating and controlling the communication with the AP.
In the embodiment of the disclosure, the touch screen data acquired by the terminal is processed by a baseband chip of the terminal, and then the touch screen coordinate, the touch screen value and the like are determined. When the baseband chip of the terminal of the embodiment of the disclosure needs to process touch screen data, the touch screen data shared by the touch integrated circuit processor is directly read from the memory exchange area.
According to the embodiment of the disclosure, the acquired touch screen data is shared to the memory exchange area, when the baseband chip of the terminal needs to process the touch screen data, the touch screen data is read from the memory exchange area and processed, hardware design is not needed, hardware cost can be saved, the transmission speed of the touch screen data can be increased by data transmission in a memory sharing mode, and then the processing performance of the touch screen data can be improved.
In the embodiment of the present disclosure, the touch screen data shared in the memory exchange area may include data for performing touch screen data processing to implement a touch screen function. For example, in one embodiment, touch screen data is shared in the memory swap area. For example, the touch screen data shared in the memory exchange area includes initialization data acquired when the terminal is powered on. When the terminal is powered on, for example, the terminal can be started through a key or the terminal is subjected to annular bright screen operation, and initialization data of a touch screen of the terminal, that is, original data of the touch screen, is acquired. And the touch screen raw data comprises data such as coordinates of touch screen events, touch screen values, touch gesture action records and the like.
The touch screen raw data collected by the touch integrated circuit processor can be stored in a self-contained flash memory without data processing. And the touch integrated circuit processor shares the touch screen original data stored in the flash memory to the memory exchange area in a sharing mode.
When the touch integrated circuit processor does not have a flash memory, the acquired touch screen original data can be processed, and the processed touch screen original data is shared to the memory exchange area in a sharing mode.
When the terminal is powered on every time, the baseband chip acquires initialization data of a terminal touch screen in a memory exchange area. It can be understood that, when the touch-control integrated circuit processor has a flash memory function or does not have the flash memory function, the initialization data of the terminal touch screen may be unprocessed or processed. The touch integrated circuit processor is prevented from collecting data again when the terminal touch screen is powered on and initialized data of the terminal touch screen are acquired at each time, processing time is saved, and processing efficiency is improved.
In another embodiment, the touch screen data shared in the memory exchange area may include touch data acquired by a touch integrated circuit processor of the terminal in real time.
When a user uses the terminal, the touch integrated circuit is interrupted due to the contact of a finger and the screen, and the touch integrated circuit processor is triggered to collect real-time touch data so as to determine the operation of the user on the terminal. The touch integrated circuit processor collects real-time touch data, and the real-time touch data can be stored in a self-contained flash memory. And the touch integrated circuit processor processes the touch screen data stored in the flash memory by the baseband chip in a sharing mode. The processing speed of touch screen data is improved, the touch screen tracking chirality is improved, and the operation experience of the user operation terminal is further improved.
In one embodiment, the touch screen data includes touch data collected by a touch integrated circuit processor. Fig. 2 is a flowchart illustrating a touch screen data processing method according to still another exemplary embodiment of the present disclosure, and as shown in fig. 2, the touch screen data processing method includes the following steps.
In step S201, in response to the collected touch screen data, the touch data collected and unprocessed by the touch integrated circuit processor is stored in a flash memory of the touch integrated circuit processor.
The touch integrated circuit processor collects touch operation generated by real-time touch operation of a user, and touch screen data are not processed at the touch integrated circuit processor. The touch screen data processing speed is low, and the touch screen data performance after transmission processing is poor, so that the user experience that the touch screen response is insensitive is avoided.
In step S202, the mapping is performed to the memory swap area by a file mapping method.
The file mapping is a mapping from a file to a memory space, and the address of the file corresponds to a same region in a logic address space one by one. The one-to-one correspondence is a correspondence of logical concepts, and is not a physical concept because the logical address space itself does not exist. It will be appreciated that during the file mapping process, there is no actual data copy, i.e. the file is not loaded into the memory swap area, but logically resides in the memory swap area. The touch screen data are mapped to the memory exchange area in a file mapping mode, and processing of the data is facilitated when the terminal use environment is complex and the data transmission quantity is large.
And mapping the acquired touch screen data to a memory exchange area, wherein the touch screen data and the data in the memory exchange area have a corresponding relation. And based on the mapping relation between the touch screen data and the memory exchange area, the touch screen data can be read from the memory exchange area.
In step S203, the baseband chip of the terminal processes the touch screen data, and reads the touch screen data from the memory exchange area.
When the touch integrated circuit processor does not have a flash memory, the acquired touch screen original data can be processed, and the processed touch screen original data is shared to the memory exchange area in a sharing mode.
The baseband chip of the terminal processes the touch screen data, and may be that when the terminal is powered on, the baseband chip of the terminal directly obtains the touch screen data of the terminal in the memory exchange area. The touch integrated circuit processor does not need to acquire data again when the terminal is powered on and initial data of the terminal touch screen is acquired every time, processing time is saved, and processing efficiency is improved.
The baseband chip of the terminal processes touch screen data, and the touch integrated circuit is triggered to acquire real-time touch data by interrupt generated by the touch integrated circuit due to contact of a finger and a screen in the process that a user uses the terminal. The baseband chip acquires real-time touch data acquired by the touch integrated circuit processor from the memory exchange area, so that the processing speed of touch screen data is increased, the touch screen tracking chirality is improved, and the operation experience of a user operation terminal is improved.
In one embodiment, the memory swap area is accessed through a set application program interface, and touch screen data is read.
The touch integrated circuit maps the acquired touch screen data to the memory exchange area, and the touch screen data and the data in the memory exchange area have a corresponding relation. And based on the mapping relation between the touch screen data and the memory exchange area, the baseband chip can read the touch screen data from the memory exchange area.
The baseband chip accesses the memory exchange area through a set Application Programming Interface (API). In the virtual memory of the system in the terminal, the virtual memory is correspondingly allocated to the touch screen data, and a pointer is returned and points to the logic address.
And accessing data in the memory exchange area through a set application program interface, and converting the logical address into a physical address. Touch screen data is shared to the memory exchange area through mapping, and data is not actually copied. If the physical address corresponding to the pointer cannot be found in the address mapping table, the touch data acquired by the touch integrated circuit processor can be read from the flash memory of the touch integrated circuit processor through the established mapping relation. The touch screen data transmission time is saved, and the touch screen data processing efficiency is improved.
Fig. 3 is a flowchart illustrating a touch screen data processing method according to still another exemplary embodiment of the present disclosure, and as shown in fig. 3, the touch screen data processing method includes the following steps.
In step S301, a virtual shared memory is created as a memory swap area.
And when the terminal is powered on, loading a module of the touch screen, and applying a reserved space by the touch screen module as a memory exchange area. And creating a virtual shared memory as a memory exchange area for the touch screen data to be exclusively occupied, and ensuring that the memory exchange area for sharing the touch screen data is not occupied by other functional modules of the terminal.
In step S302, in response to the collected touch screen data, the touch screen data is shared to the memory swap area.
When a user uses the terminal, the electrode and the driving circuit below the screen are controlled to realize the control of the terminal by means of capacitance change between the finger and the screen contact surface.
The touch control integrated circuit processor configured in the terminal collects touch screen data of a user, and the touch screen data is shared to the memory exchange area when the collected touch screen data is collected.
In step S303, touch screen data is read from the memory exchange area in response to the baseband chip of the terminal processing the touch screen data.
When the touch integrated circuit processor does not have a flash memory, the acquired touch screen original data can be processed, and the processed touch screen original data is shared to the memory exchange area in a sharing mode.
The baseband chip of the terminal processes the touch screen data, and may be that when the terminal is powered on, the baseband chip of the terminal directly obtains the touch screen data of the terminal in the memory exchange area. The touch integrated circuit processor does not need to acquire data again when the terminal is powered on and initial data of the terminal touch screen is acquired every time, processing time is saved, and processing efficiency is improved.
The baseband chip of the terminal processes touch screen data, and the touch integrated circuit is triggered to acquire real-time touch data by interrupt generated by the touch integrated circuit due to contact of a finger and a screen in the process that a user uses the terminal. The baseband chip acquires real-time touch data acquired by the touch integrated circuit processor from the memory exchange area, so that the processing speed of touch screen data is increased, the touch screen tracking chirality is improved, and the operation experience of a user operation terminal is improved.
FIG. 4 is a schematic diagram illustrating a touch screen data method according to yet another exemplary embodiment of the present disclosure.
As shown in fig. 4, a touch integrated circuit processor configured in the terminal acquires touch screen data of a user, and the acquired data is transmitted to a baseband chip of the terminal in a memory sharing manner to process the data. Namely, the touch integrated circuit processor collects touch screen data of a user and does not perform data processing. And the baseband chip of the terminal processes the touch data.
Touch screen data of a user are collected by the touch integrated circuit processor and stored in a flash memory of the touch integrated circuit processor, and the touch screen data are mapped to the memory exchange area in a file mapping mode. Unprocessed touch screen data is stored in a flash memory of a touch integrated circuit processor, so that a baseband chip of the terminal performs operation and processing of the touch screen data.
And the operating system allocates a shared memory and creates a space for the touch screen data, wherein the space is exclusively occupied by the touch screen data and is not occupied by other functional modules of the terminal.
And a baseband chip of the terminal accesses the memory exchange area through a set application program interface so as to read touch screen data of a user. And the baseband chip of the terminal performs operation processing on the acquired touch screen data.
Based on the same conception, the embodiment of the disclosure also provides a touch screen data processing device.
It is understood that, in order to implement the above functions, the touch screen data processing apparatus provided in the embodiments of the present disclosure includes a hardware structure and/or a software module for performing each function. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
FIG. 5 is a block diagram illustrating a touch screen data processing apparatus according to an example embodiment. The touch screen data processing apparatus is applied to a terminal, and referring to fig. 5, the touch screen data processing apparatus 500 includes an acquisition module 510, a sharing module 520, a reading module 530, and a processing module 540.
And the acquisition module 510 is used for acquiring touch screen data.
And the sharing module 520 is configured to share the touch screen data to the memory exchange area in response to the touch screen data acquired by the acquisition module.
The reading module 530 is configured to, in response to that the baseband chip of the terminal needs to process touch screen data, read the touch screen data from the memory exchange area.
And the processing module 540 is configured to process the touch screen data read from the memory exchange area through the baseband chip.
In one embodiment, the acquisition module 510 is configured to: acquiring initialization data when the terminal is powered on, wherein the touch screen data comprises: initializing data acquired when the terminal is powered on; and/or acquiring touch data through a touch integrated circuit processor of the terminal, wherein the touch data is acquired by the touch integrated circuit processor of the terminal.
In one embodiment, the touch screen data includes touch data collected by a touch integrated circuit processor; the sharing module 520 is configured to share the touch screen data to the memory swap area in the following manner: and storing the unprocessed touch data acquired by the touch integrated circuit processor in a flash memory of the touch integrated circuit processor, and mapping the touch data stored in the flash memory to a memory exchange area in a file mapping manner.
In one embodiment, the reading module 530 is configured to read touch screen data from the memory swap area by: and accessing the memory exchange area through a set application program interface to read touch screen data.
Fig. 6 is a block diagram illustrating a touch screen data processing apparatus according to an exemplary embodiment, and referring to fig. 6, the touch screen data processing apparatus 500 further includes a creating module 550.
A creating module 550, configured to create the virtual shared memory as the memory swap area.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 7 is a block diagram illustrating an apparatus 600 for touch screen data processing according to an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 comprises a screen providing an output interface between the touch screen data processing apparatus 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is understood that "a plurality" in this disclosure means two or more, and other words are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that, unless otherwise specified, "connected" includes direct connections between the two without the presence of other elements, as well as indirect connections between the two with the presence of other elements.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A touch screen data processing method is applied to a terminal, and comprises the following steps:
responding to collected touch screen data, and sharing the touch screen data to a memory exchange area;
and responding to the fact that a baseband chip of the terminal needs to process the touch screen data, reading the touch screen data from the memory exchange area, and processing the touch screen data read from the memory exchange area through the baseband chip.
2. The touch screen data processing method according to claim 1, wherein the touch screen data includes:
initialization data collected when the terminal is powered on; and/or
And touch data acquired by a touch integrated circuit processor of the terminal.
3. The touch screen data processing method according to claim 1 or 2, wherein the touch screen data includes touch data collected by a touch integrated circuit processor;
sharing the touch screen data to a memory exchange area, including:
and storing the unprocessed touch data acquired by the touch integrated circuit processor in a flash memory of the touch integrated circuit processor, and mapping the touch data stored in the flash memory to a memory exchange area in a file mapping manner.
4. The touch screen data processing method according to claim 1, wherein reading the touch screen data from the memory swap area includes:
and accessing the memory exchange area through a set application program interface to read the touch screen data.
5. The touch screen data processing method according to claim 1, further comprising:
and creating a virtual shared memory as the memory exchange area.
6. The touch screen data processing device is applied to a terminal, and comprises:
the acquisition module is used for acquiring touch screen data;
the sharing module is used for responding to the touch screen data acquired by the acquisition module and sharing the touch screen data to the memory exchange area;
the reading module is used for responding to the requirement of a baseband chip of the terminal on processing the touch screen data and reading the touch screen data from the memory exchange area;
and the processing module is used for processing the touch screen data read from the memory exchange area through the baseband chip.
7. The touch screen data processing apparatus of claim 6, wherein the acquisition module is configured to:
acquiring initialization data when the terminal is powered on, wherein the touch screen data comprises: initialization data collected when the terminal is powered on; and/or acquiring touch data through a touch integrated circuit processor of the terminal, wherein the touch data is acquired by the touch integrated circuit processor of the terminal.
8. The touch screen data processing apparatus according to claim 6 or 7, wherein the touch screen data includes touch data collected by a touch integrated circuit processor;
the sharing module is used for sharing the touch screen data to the memory exchange area in the following mode:
and storing the unprocessed touch data acquired by the touch integrated circuit processor in a flash memory of the touch integrated circuit processor, and mapping the touch data stored in the flash memory to a memory exchange area in a file mapping manner.
9. The touch screen data processing apparatus according to claim 6, wherein the reading module is configured to read the touch screen data from the memory swap area in the following manner:
and accessing the memory exchange area through a set application program interface to read the touch screen data.
10. The touch screen data processing apparatus according to claim 6, further comprising: a creation module;
the creating module is configured to create a virtual shared memory as the memory swap area.
11. A touch screen data processing apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the touch screen data processing method of any of claims 1 to 5.
12. A non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the touch screen data processing method of any one of claims 1 to 5.
CN202010871766.2A 2020-08-26 2020-08-26 Touch screen data processing method, touch screen data processing device and storage medium Active CN112068761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010871766.2A CN112068761B (en) 2020-08-26 2020-08-26 Touch screen data processing method, touch screen data processing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010871766.2A CN112068761B (en) 2020-08-26 2020-08-26 Touch screen data processing method, touch screen data processing device and storage medium

Publications (2)

Publication Number Publication Date
CN112068761A CN112068761A (en) 2020-12-11
CN112068761B true CN112068761B (en) 2022-03-18

Family

ID=73659493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010871766.2A Active CN112068761B (en) 2020-08-26 2020-08-26 Touch screen data processing method, touch screen data processing device and storage medium

Country Status (1)

Country Link
CN (1) CN112068761B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876864A (en) * 2009-12-15 2010-11-03 北京中星微电子有限公司 Data acquisition device and method of touch screen as well as touch screen system
CN105518587A (en) * 2014-05-30 2016-04-20 华为技术有限公司 Terminal device display method and terminal device
CN108664442A (en) * 2017-03-28 2018-10-16 汪娟娟 Flat scanning electronic abstract book

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8050801B2 (en) * 2005-08-22 2011-11-01 Trane International Inc. Dynamically extensible and automatically configurable building automation system and architecture
CN104049759A (en) * 2014-06-25 2014-09-17 华东理工大学 Instruction input and protection method integrating touch screen and behavior sensing
CN109753196A (en) * 2017-11-06 2019-05-14 阿里巴巴集团控股有限公司 Processing method, device, equipment and machine readable media
CN111414211A (en) * 2020-03-26 2020-07-14 上海闻泰信息技术有限公司 Method, device, equipment and storage medium for displaying image in system starting phase

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876864A (en) * 2009-12-15 2010-11-03 北京中星微电子有限公司 Data acquisition device and method of touch screen as well as touch screen system
CN105518587A (en) * 2014-05-30 2016-04-20 华为技术有限公司 Terminal device display method and terminal device
CN108664442A (en) * 2017-03-28 2018-10-16 汪娟娟 Flat scanning electronic abstract book

Also Published As

Publication number Publication date
CN112068761A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
EP3952263A1 (en) Notification message preview method and electronic device
CN109923507B (en) Managing multiple free windows in a notification bar drop down menu
EP3992786A1 (en) Display method and electronic device
CN112136100A (en) Shooting method and electronic equipment
CN111610912B (en) Application display method, application display device and storage medium
CN110362366B (en) Application interface display method and device
CN112905089B (en) Equipment control method and device
US20180144546A1 (en) Method, device and terminal for processing live shows
CN112749362B (en) Control creation method, device, equipment and storage medium
WO2021057699A1 (en) Method for controlling electronic device with flexible screen, and electronic device
CN110968815B (en) Page refreshing method, device, terminal and storage medium
WO2021104162A1 (en) Display method and electronic device
US20210120276A1 (en) Screen display device, method and device for controlling screen display and storage medium
CN112188034A (en) Image processing method, device, terminal equipment and medium
CN112068761B (en) Touch screen data processing method, touch screen data processing device and storage medium
CN112423092A (en) Video recording method and video recording device
CN115576417A (en) Interaction control method, device and equipment based on image recognition
CN114296587A (en) Cursor control method and device, electronic equipment and storage medium
CN112988254B (en) Method, device and equipment for managing hardware equipment
CN110134370B (en) Graph drawing method and device, electronic equipment and storage medium
CN114442789A (en) Dark screen control method, device, equipment and storage medium
CN111222124B (en) Method, device, equipment and storage medium for using authority distribution
CN112148499A (en) Data reporting method and device, computer equipment and medium
CN113220203B (en) Activity entry display method, device, terminal and storage medium
CN111414563B (en) Webpage interaction method, device, computer equipment and storage medium

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