WO2019233317A1 - 数据处理方法、装置、移动终端以及存储介质 - Google Patents

数据处理方法、装置、移动终端以及存储介质 Download PDF

Info

Publication number
WO2019233317A1
WO2019233317A1 PCT/CN2019/088871 CN2019088871W WO2019233317A1 WO 2019233317 A1 WO2019233317 A1 WO 2019233317A1 CN 2019088871 W CN2019088871 W CN 2019088871W WO 2019233317 A1 WO2019233317 A1 WO 2019233317A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
pressing
threshold
preset
detected
Prior art date
Application number
PCT/CN2019/088871
Other languages
English (en)
French (fr)
Inventor
段丽霞
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019233317A1 publication Critical patent/WO2019233317A1/zh

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position

Definitions

  • the present application relates to the technical field of mobile terminals, and more particularly, to a data processing method, device, mobile terminal, and storage medium.
  • the touch display set on the mobile terminal With the development of the touch display set on the mobile terminal, more users choose to control the mobile terminal through a series of touch operations in the touch display. For example, the text content displayed on the display screen is processed through the touch display screen, but in this touch process, the adaptability of the touch conditions to different users is not flexible enough, resulting in a poor user experience.
  • this application proposes a data processing method, device, mobile terminal, and storage medium to achieve the improvement of the above problems.
  • the present application provides a data processing method applied to a mobile terminal.
  • the method includes: detecting a pressing operation in a preset pressing test area; and detecting a pressing operation in the preset pressing test area. Then, a threshold pressing area obtained based on the detection of the pressing area in the preset pressing test area is obtained; and the threshold pressing area is configured as a threshold area that triggers a pressing operation of a preset function.
  • the present application provides a data processing device that runs on a mobile terminal.
  • the device includes a pressing detection unit for detecting a pressing operation in a preset pressing test area.
  • the threshold obtaining unit is configured to obtain a threshold pressing area obtained based on the detection of a pressing area in the preset pressing test area after a pressing operation is detected in the preset pressing test area.
  • the trigger configuration unit is configured to configure the threshold pressing area as a threshold area that triggers a pressing operation of a preset function.
  • the present application provides a mobile terminal including one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by all The one or more processors execute, and the one or more programs are configured to perform the method described above.
  • a computer-readable storage medium provided by the present application, the computer-readable storage medium including a stored program, wherein the method is executed when the program is run by a processor.
  • FIG. 1 shows a flowchart of a data processing method provided by the present application
  • FIG. 2 is a schematic diagram of a preset compression test area in a data processing method provided by the present application
  • FIG. 3 shows a flowchart of another data processing method provided by the present application.
  • FIG. 4 shows a schematic diagram of an identification area in another data processing method proposed by the present application
  • FIG. 5 shows a schematic diagram of a moving mode of an identification control in another data processing method proposed by the present application
  • FIG. 6 is a schematic diagram of another way of moving an identification control in another data processing method provided by the present application.
  • FIG. 7 shows a schematic diagram of adjusting an identification control in another data processing method proposed by the present application.
  • FIG. 8 shows a structural block diagram of a data processing device proposed in the present application.
  • FIG. 9 shows a structural block diagram of another data processing apparatus provided by the present application.
  • FIG. 10 shows a structural block diagram of a mobile terminal proposed by the present application.
  • FIG. 11 is a structural block diagram of a mobile terminal for performing a data processing method according to an embodiment of the present application.
  • FIG. 12 is a storage unit for storing or carrying a program code for implementing a data processing method according to an embodiment of the present application.
  • the user can press two fingers to the text recognition area. After detecting that the user's two-finger pressing time exceeds a certain length of time or the two-finger pressing pressure exceeds a certain force, the text in the pressed area is started. Recognize to extract keywords, and then search the keywords to get information associated with the keywords for display. Alternatively, you can also use single-finger pressing to start recognizing the text of the pressed area after detecting that the pressing area exceeds a certain area, to extract keywords, and then search the keywords to obtain information related to the keywords. Display it.
  • the inventors have discovered that whether it is a two-finger touch or a single-finger touch, or whether the subsequent text processing and display operations are triggered by the pressing time or the pressure or the pressing area, different users may have different usage habits. For example, the inventor found that some users have wider fingers, that is, when they touch the screen of a mobile terminal, the touch area will be larger. For this type of user, the threshold area may be set by a user with a normal finger width. Larger and better, otherwise, in the case of using the touch area as a trigger mechanism, a user with a wide finger may trigger the subsequent recognition of the text of the pressed area as soon as he touches the screen to extract keywords. Then search the keywords to get the information related to the keywords for display and other operations.
  • the inventor proposes a data processing method, device, mobile terminal, and storage medium that can be adapted to the touch habits of different users and improve the user experience in this application.
  • the data processing object of the data processing method provided in this application may be a picture or a text.
  • the mobile terminal first recognizes the text in the picture, obtains the text content in the picture, and then performs subsequent data processing steps, for example, splitting keywords from the text content to perform Search etc.
  • the text processed by the data processing method provided in this application may be part of the text displayed by the mobile terminal, or all text displayed by the mobile terminal.
  • a data processing method provided in this application is applied to a mobile terminal.
  • the method includes:
  • Step S110 Detect a pressing operation in a preset pressing test area.
  • the pressing operation refers to an operation that continuously generates a certain pressure on the touched position in the display screen after touching the display screen of the mobile terminal.
  • Step S120 After a pressing operation is detected in the preset pressing test area, a threshold pressing area obtained based on the pressing area detected in the preset pressing test area is obtained.
  • the preset pressing test area is shown in FIG. 2. After the mobile terminal detects a pressing operation in the pressing test area, the pressing area detected during the pressing operation is used as the threshold pressing area. As a method, in order to further improve the accuracy of the obtained threshold pressing area, a value obtained by processing the pressing area generated by multiple pressing operations detected in a preset pressing test area may be used as the threshold pressing area.
  • a detected pressing area in the pressing test area is obtained every time the pressing operation is detected, and a plurality of waiting areas are obtained. Processing the pressing area, and then obtaining a threshold pressing area based on the plurality of to-be-processed pressing areas.
  • the mobile terminal may calculate an average value of the plurality of pressing areas to be processed, and use the average value as the threshold pressing area.
  • the mean can be calculated in various ways, such as arithmetic average, harmonic average, weighted average, and exponential average.
  • the mobile terminal can distinguish which method is used to determine the threshold pressing area through the interval time.
  • the mobile terminal detects a pressing operation in a preset pressing test area, it starts counting after the pressing operation ends. If it is not detected in the preset pressing test area again within a preset interval time, If there is a pressing operation, the threshold pressing area is calculated based on the obtained pressing area to be processed.
  • the mobile terminal is generally configured with a function of performing a preset basic operation on the displayed text, and a recognition processing function may be added while the preset basic function is retained.
  • the preset basic operations include copying, selecting, searching, forwarding, or translating the entire text displayed in the target area, and the recognition processing function includes splitting the text in the pressed area, and then copying, selecting, and searching. And so on.
  • both the operation that triggers the above-mentioned preset basic operation and the operation that triggers the recognition processing function may be a pressing operation.
  • different triggering conditions may be configured, for example, different pressing durations may be configured. , Pressing pressure or pressing area.
  • the mobile terminal triggers the text on the pressing area. Perform preset basic operations. After detecting that the pressing area is a and further increases to exceed b, and finally reaches the previously configured threshold pressing area c, an operation of performing a recognition processing function on the text in the pressing area is triggered.
  • the pressing area b is a prerequisite for triggering subsequent recognition processing functions
  • the pressing area c is a threshold pressing area configured by a user according to the method provided by this application, or a threshold pressing area automatically configured for a mobile terminal, where c is greater than or equal to b.
  • the detected pressing area and the preset pressing area threshold are each time. (That is, the previously mentioned pressing area b) for comparison. If the detected pressing area is not less than the preset pressing area threshold, use the detected pressing area as the pressing area to be processed. The detected pressing area is smaller than the preset pressing area threshold, and a prompt message prompting the user to increase the pressing area is displayed, so that the mobile terminal only uses the pressing area satisfying the trigger recognition processing function as the pressing area to be processed.
  • Step S130 Configure the threshold pressing area as a threshold area that triggers a pressing operation of a preset function.
  • a data processing method provided in this application after detecting a pressing operation in the preset pressing test area, and then obtaining a threshold pressing area based on the pressing area detected in the preset pressing test area,
  • the threshold pressing area is configured as a threshold area that triggers a pressing operation of a preset function.
  • the user can press in a preset pressing test area in advance, so that the mobile terminal obtains a threshold pressing area adapted to the user's own characteristics as a threshold area that triggers a preset function through subsequent pressing operations, which enhances movement
  • the adaptability and flexibility of the touch operation of the terminal improves the user experience.
  • a data processing method provided in this application is applied to a mobile terminal.
  • the method includes:
  • Step S210 Detect a pressing operation in a preset pressing test area.
  • the preset pressing test area may be a part of the display area of the screen of the mobile terminal or the entire display area of the screen of the mobile terminal.
  • Step S220 When a pressing operation is detected in the preset pressing test area, a threshold pressing area obtained based on the pressing area detected in the preset pressing test area is obtained.
  • Step S230 Configure the threshold pressing area as a threshold area that triggers a pressing operation of a preset function.
  • Step S240 Display and identify the threshold area in the identification area.
  • the identification area 241 includes a plurality of area interval segments h and an identification control 242 which are arranged next to each other in sequence, and FIG. 4 shows four area interval segments h.
  • step S240 includes: one way is to obtain an interval segment where the threshold area is located, and display the identification control at a start position of the interval segment where the threshold area is located.
  • the mobile terminal displays the identification control 242 to the interval segment pointed by the arrow 243, which is the threshold. Press the start position of the section where the area is located.
  • Another way is to display the identification control at a position corresponding to the threshold area in the interval. As shown in FIG. 6, when the position of the calculated threshold pressing area in the identification area 241 is the position pointed by the arrow 243 in the figure, the mobile terminal displays the identification control 242 to the position pointed by the arrow 243.
  • the identification control in response to a movement operation acting on the identification control, the identification control is moved on the plurality of sequentially adjacent area intervals to obtain After the position of the identification control is moved, an area value corresponding to the position of the identification control is obtained, and the area value corresponding to the position of the identification control is configured as a threshold area that triggers a pressing operation of the preset function.
  • the mobile terminal configures the pressing area value corresponding to the position of the position identification control 242 in FIG. 7 as the threshold pressing. area.
  • the mobile terminal may trigger the recognition processing function during the user ’s use of the mobile terminal, especially when it is desired to press the operation.
  • the pressing area of the pressing operation that successfully triggers the recognition processing function is collected, and the pressing area collected in a time period is processed to obtain the average pressing area in the time period, and the average pressing area is configured as a threshold pressing Area, so that the mobile terminal can continuously learn the user ’s touch habits to make the touch operation that triggers the recognition processing function more intelligent and more in line with user habits.
  • the threshold pressing area is configured as a threshold area that triggers a pressing operation of a preset function.
  • the user can press in a preset pressing test area in advance, so that the mobile terminal obtains a threshold pressing area adapted to the user's own characteristics as a threshold area that triggers a preset function through subsequent pressing operations, which enhances movement
  • the adaptability and flexibility of the touch operation of the terminal improves the user experience.
  • the configured threshold area can be displayed intuitively for users to check.
  • a data processing device 300 provided in the present application runs on a mobile terminal.
  • the device 300 includes: a press detection unit 310, a threshold value acquisition unit 320, and a trigger configuration unit 330.
  • the pressing detection unit 310 is configured to detect a pressing operation in a preset pressing test area.
  • the threshold obtaining unit 320 is configured to obtain a threshold pressing area obtained based on a pressing area detected in the preset pressing test area after a pressing operation is detected in the preset pressing test area.
  • the threshold value obtaining unit 320 is specifically configured to, when multiple pressing operations are detected in the preset pressing test area, acquire each time the pressing operation is detected in the pressing test area. To obtain a plurality of to-be-processed pressing areas; based on the plurality of to-be-processed pressing areas, to obtain a threshold pressing area. Wherein, an average value of the plurality of pressing areas to be processed is calculated, and the average value is used as the threshold pressing area.
  • the threshold obtaining unit 320 is further configured to compare the detected pressing area with the preset pressing area threshold each time a pressing operation is detected in the preset pressing test area; If the detected pressing area is not less than the preset pressing area threshold, the currently detected pressing area is used as the to-be-processed pressing area. If the detected pressing area is smaller than the preset pressing area threshold, a prompt message prompting the user to increase the pressing area is displayed.
  • the trigger configuration unit 330 is configured to configure the threshold pressing area as a threshold area that triggers a pressing operation of a preset function.
  • a data processing device 400 provided in the present application runs on a mobile terminal.
  • the device 400 includes:
  • the pressing detection unit 410 is configured to detect a pressing operation in a preset pressing test area.
  • the threshold obtaining unit 420 is configured to obtain a threshold pressing area obtained based on a pressing area detected in the preset pressing test area after a pressing operation is detected in the preset pressing test area.
  • the trigger configuration unit 430 is configured to configure the threshold pressing area as a threshold area that triggers a pressing operation of a preset function.
  • the threshold value display unit 440 is configured to display and identify the threshold area in the identification area.
  • the identification area includes a plurality of area intervals and an identification control arranged next to each other in sequence.
  • the threshold display unit 440 is specifically configured to obtain an interval segment where the threshold area is located; and display the identification control at a start position of the interval segment where the threshold area is located.
  • the threshold adjusting unit 450 is configured to, in response to a movement operation acting on the identification control, move the identification control on the plurality of sequentially adjacent area intervals to obtain the position of the identification control after the movement; Obtaining the area value corresponding to the position of the identification control; and configuring the area value corresponding to the position of the identification control as a threshold area that triggers a pressing operation of the preset function.
  • the data processing method, device, mobile terminal, and storage medium provided in this application, when a pressing operation is detected in the preset pressing test area, and then obtain the data based on the preset pressing test.
  • a threshold pressing area obtained by detecting a pressing area in the area, and the threshold pressing area is configured as a threshold area that triggers a pressing operation of a preset function.
  • the user can press in a preset pressing test area in advance, so that the mobile terminal obtains a threshold pressing area adapted to the user's own characteristics as a threshold area that triggers a preset function through subsequent pressing operations, which enhances movement
  • the adaptability and flexibility of the touch operation of the terminal improves the user experience.
  • a mobile terminal provided in the present application will be described below with reference to FIG. 10 and FIG. 11.
  • an embodiment of the present application further provides a mobile terminal 100 that can execute the foregoing data processing method.
  • the mobile terminal 100 includes an electronic body portion 10 including a housing 12 and a first screen 120 provided on the housing 12.
  • the casing 12 can be made of metal, such as steel and aluminum alloy.
  • the first screen 120 and the second screen 121 generally include a display panel 111, and may also include a circuit for responding to a touch operation on the display panel 111, and the like.
  • the display panel 111 may be a liquid crystal display (Liquid Crystal Display, LCD). In some embodiments, the display panel 111 is a touch screen 109 at the same time.
  • LCD Liquid Crystal Display
  • the mobile terminal 100 can be used as a smart phone terminal.
  • the electronic body portion 10 usually further includes one or more (only shown in the figure) (A) The processor 102, the memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122.
  • A The processor 102, the memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122.
  • the present application does not limit the structure of the electronic body portion 10.
  • the electronic body portion 10 may further include more or fewer components than those shown in the figure, or have a configuration different from that shown in the figure.
  • peripheral interface 124 may be implemented based on the following standards: Universal Asynchronous Receiver / Transmitter (UART), General Input / Output (GPIO), Serial Peripheral Interface , SPI), Inter-Integrated Circuit (I2C), but not limited to the above standards.
  • UART Universal Asynchronous Receiver / Transmitter
  • GPIO General Input / Output
  • SPI Serial Peripheral Interface
  • I2C Inter-Integrated Circuit
  • the peripheral interface 124 may only include a bus; in other examples, the peripheral interface 124 may further include other elements, such as one or more controllers, for example, for connecting the display panel.
  • these controllers can also be separated from the peripheral interface 124 and integrated into the processor 102 or a corresponding peripheral.
  • the memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104.
  • the memory 104 may store a data processing device.
  • the data processing apparatus may be the aforementioned apparatus 300 or apparatus 400.
  • the memory 104 may include a high-speed random access memory, and may further include a non-volatile memory, such as one or more magnetic storage devices, a flash memory, or other non-volatile solid-state memory.
  • the memory 104 may further include memories remotely disposed with respect to the processor 102, and these remote memories may be connected to the electronic body portion 10 or the first screen 120 through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the wireless module 106 is used to receive and send electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other equipment.
  • the wireless module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption / decryption chip, a subscriber identity module (SIM) card, a memory, and the like .
  • the wireless module 106 can communicate with various networks such as the Internet, an intranet, and a wireless network, or communicate with other devices through a wireless network.
  • the wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above wireless network can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data Communication Technology (GSM) Environment, EDGE, Broadband Code Division multiple access technology (wideband code division multiple access, W-CDMA), code division multiple access technology (Code division access, CDMA), time division multiple access technology (time division multiple access, TDMA), wireless fidelity technology (Wireless, Fidelity , WiFi) (such as the American Institute of Electrical and Electronics Engineers standards IEEE 802.10A, IEEE 802.11b, IEEE802.11g, and / or IEEE 802.11n), Voice over Internet (Internet Protocol, VoIP), Global Microwave Interoperability (Worldwide Interoperability for Microwave Access (Wi-Max), other protocols for mail, instant messaging, and short messaging, and any other suitable communication protocol, even those that have not yet been developed.
  • GSM Global System for Mobile Communication
  • GSM Global System for Mobile Communication
  • GSM Global System for Mobile Communication
  • GSM Global System for Mobile Communication
  • EDGE Broadband
  • the audio circuit 110, the speaker 101, the sound jack 103, and the microphone 105 collectively provide an audio interface between the user and the electronic body portion 10 or the first screen 120.
  • the audio circuit 110 receives sound data from the processor 102, converts the sound data into electrical signals, and transmits the electrical signals to the speaker 101.
  • the speaker 101 converts electrical signals into sound waves that human ears can hear.
  • the audio circuit 110 also receives electrical signals from the microphone 105, converts the electrical signals into sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be obtained from the memory 104 or through the wireless module 106. In addition, the audio data may also be stored in the memory 104 or transmitted through the wireless module 106.
  • the wireless module 106 may be a Bluetooth communication module, a WIFI communication module, or a module supporting other wireless communication protocols.
  • the sensor 114 is disposed in the electronic body portion 10 or the first screen 120.
  • Examples of the sensor 114 include, but are not limited to, a light sensor, a running sensor, a pressure sensor, an infrared thermal sensor, a distance sensor, Gravitational acceleration sensors, and other sensors.
  • the light sensor may include a light sensor 114F and a pressure sensor 114G.
  • the pressure sensor 114G can detect a pressure generated by pressing on the mobile terminal 100. That is, the pressure sensor 114G detects the pressure generated by the contact or pressing between the user and the mobile terminal, such as the pressure generated by the contact or pressing between the user's ear and the mobile terminal. Therefore, the pressure sensor 114G can be used to determine whether a contact or a press has occurred between the user and the mobile terminal 100, and the magnitude of the pressure.
  • the light sensor 114F and the pressure sensor 114G are disposed adjacent to the display panel 111.
  • the light sensor 114F may turn off the display output when an object approaches the first screen 120, for example, when the electronic body part 10 moves to the ear.
  • a gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the mobile terminal 100 (such as horizontal and vertical Screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap) and so on.
  • the electronic body portion 10 may be configured with other sensors such as a gyroscope, a barometer, a hygrometer, and a thermometer, which are not described herein again.
  • the input module 118 may include the touch screen 109 provided on the first screen 120, and the touch screen 109 may collect a touch operation performed by the user on or near the touch screen (such as a user using a finger, a stylus Wait for any suitable object or accessory to be operated on or near the touch screen 109), and drive the corresponding connection device according to a preset program.
  • the touch screen 109 may include a touch detection device and a touch controller. The touch detection device detects a user's touch position, and detects a signal caused by a touch operation, and transmits the signal to the touch controller.
  • the touch controller receives touch information from the touch detection device, and The touch information is converted into touch point coordinates, and then sent to the processor 102, and can receive and execute commands sent by the processor 102.
  • multiple touch types such as resistive, capacitive, infrared, and surface acoustic waves can be used to implement the touch detection function of the touch screen 109.
  • the input module 118 may further include other input devices, such as keys.
  • the keys may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of the control buttons include a "return to the home screen" button, an on / off button, and the like.
  • the first screen 120 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic body portion 10, and these graphical user interfaces may include graphics, text, icons, numbers, videos, and
  • the touch panel 109 may be arranged in any combination.
  • the touch screen 109 may be disposed on the display panel 111 so as to form a whole with the display panel 111.
  • the power module 122 is configured to provide power to the processor 102 and other components.
  • the power module 122 may include a power management system, one or more power sources (such as a battery or AC power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator, and any other electronic components Components related to the generation, management, and distribution of power within the unit 10 or the first screen 120.
  • the mobile terminal 100 further includes a locator 119, which is configured to determine an actual location where the mobile terminal 100 is located.
  • the locator 119 uses a positioning service to implement positioning of the mobile terminal 100.
  • the positioning service should be understood as obtaining position information (such as latitude and longitude coordinates) of the mobile terminal 100 through a specific positioning technology. ), A technology or service for marking the location of an object on an electronic map.
  • the above-mentioned mobile terminal 100 is not limited to a smart phone terminal, and it should refer to a computer device that can be used in mobile. Specifically, the mobile terminal 100 refers to a mobile computer device equipped with a smart operating system.
  • the mobile terminal 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as “first” and “second” may explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "plurality” is at least two, for example, two, three, etc., unless it is specifically and specifically defined otherwise.
  • Any process or method description in a flowchart or otherwise described herein can be understood as representing a module, fragment, or portion of code that includes one or more executable instructions for implementing a particular logical function or step of a process
  • the scope of the preferred embodiments of the present application includes additional implementations, in which the functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application pertain.
  • a sequenced list of executable instructions that can be considered to implement a logical function can be embodied in any computer-readable medium,
  • the instruction execution system, device, or device such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from the instruction execution system, device, or device), or combine these instruction execution systems, devices, or devices Or equipment.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
  • computer-readable media include the following: electrical connections (mobile terminals) with one or more wirings, portable computer disk enclosures (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable Processing to obtain the program electronically and then store it in computer memory.
  • each part of the application may be implemented by hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it may be implemented using any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist separately physically, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk.
  • FIG. 12 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable medium 800 stores program code, and the program code can be called by a processor to execute the method described in the foregoing method embodiment.
  • the computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk, or a ROM.
  • the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium.
  • the computer-readable storage medium 800 has a storage space for program code 810 that performs any of the method steps in the above-described methods. These program codes can be read from or written into one or more computer program products.
  • the program code 810 may be compressed, for example, in a suitable form.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例公开了一种数据处理方法、装置、移动终端以及存储介质。所述方法,包括:检测预设按压测试区域中的按压操作;当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积;将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。本方法使得用户可以预先在预设按压测试区域中按压的方式,使得移动终端获取到适配该用户自己特性的阈值按压面积,来作为后续通过按压操作来触发预设功能的阈值面积,增强了移动终端触控操作的适配性以及灵活性,提升了用户体验。

Description

数据处理方法、装置、移动终端以及存储介质
相关申请的交叉引用
本申请要求于2018年6月7日提交的申请号为201810582905.2的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及移动终端技术领域,更具体地,涉及一种数据处理方法、装置、移动终端以及存储介质。
背景技术
随着移动终端上设置的触控显示屏的发展,更多的用户选择在触控显示屏中通过一系列的触控操作来控制移动终端。例如,通过触控显示屏来处理显示屏中所显示的文本内容,但是在该触控过程中,触控条件对不同用户的适配性还不够灵活,造成用户体验不高。
发明内容
鉴于上述问题,本申请提出了一种数据处理方法、装置、移动终端以及存储介质,以实现改善上述问题。
第一方面,本申请提供了一种数据处理方法,应用于移动终端,所述方法,包括:检测预设按压测试区域中的按压操作;当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积;将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。
第二方面,本申请提供了一种数据处理装置,运行于移动终端,所述装置,包括:按压检测单元,用于检测预设按压测试区域中的按压操作。阈值获取单元,用于当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积。触发配置单元,用于将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。
第三方面,本申请提供了一种移动终端,包括一个或多个处理器以及存储器;一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述的方法。
第四方面,本申请提供的一种计算机可读取存储介质,所述计算机可读取存储介质包括存储的程序,其中,在所述程序被处理器运行时执行上述的方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请提出的一种数据处理方法的流程图;
图2示出了本申请提出的一种数据处理方法中预设按压测试区域的示意图;
图3示出了本申请提出的另一种数据处理方法的流程图;
图4示出了本申请提出的另一种数据处理方法中标识区域的示意图;
图5示出了本申请提出的另一种数据处理方法中一种标识控件移动方式的示意图;
图6示出了本申请提出的另一种数据处理方法中另一种标识控件移动方式的示意图;
图7示出了本申请提出的另一种数据处理方法中调节标识控件的示意图;
图8示出了本申请提出的一种数据处理装置的结构框图;
图9示出了本申请提出的另一种数据处理装置的结构框图;
图10示出了本申请提出的一种移动终端的结构框图;
图11示出了本申请的用于执行根据本申请实施例的数据处理方法的移动终端的结构框图;
图12是本申请实施例的用于保存或者携带实现根据本申请实施例的数据处理方法的程序代码的存储单元。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在移动终端技术的发展初期,移动终端只配置有物理按键,用户都是通过触控移动终端配置的物理按键来对移动终端进行控制。而随着触控显示屏的出现,移动终端更多的配置有触控显示屏,使得用户可以通过触控显示屏即可实现对移动终端的控制。
例如,在文本识别场景中,用户可以通过双指按压到文本识别区域,在检测到用户的双指按压时长超过一定时长或者双指按压力度超过一定力度后,开始对所按压的区域的文本进行识别,以提取出关键词,进而对关键词进行搜索得到与关键词关联的信息以进行显示。或者,也可以通过单指按压,在检测到按压面积超过一定面积后,开始对所按压的区域的文本进行识别,以提取出关键词,进而对关键词进行搜索得到与关键词关联的信息以进行显示。
而发明人发现,不论是双指触控还是单指触控,不论是通过按压时长或者按压力度或者按压面积来触发后续的文本处理以及显示操作,不同的用户的使用习惯可能会有不同。例如,发明人发现,有的用户手指较宽,也即是触控到移动终端的屏幕上时,触控面积会比较大,那么对于这类用户,可能阈值面积相对正常的手指宽度的用户设置更大较佳,不然,在以触控面积作为触发机制的情况下,手指较宽的用户一触控屏幕就可能误触发后续的对所按压的区域的文本进行识别,以提取出关键词,进而对关键词进行搜索得到与关键词关联的信息以进行显示等操作。
因此,发明人提出了本申请中可以实现适配不同用户的触控习惯,提升用户体验的数据处理方法、装置、移动终端以及存储介质。
下面将先对本申请所涉及的应用环境进行介绍。
本申请所提供的数据处理方法的数据处理对象可以是图片也可以是文本。其中,在处理对象为图片的情况下,移动终端会先对图片中的文本进行识别,得到图片中的文本内容,再进行后续的数据处理步骤,例如,从文本内容中拆分出关键词进行搜索等。再者,本申请提供的数据处理方法所处理的文本可以为移动终端显示的部分文本,也可以 为移动终端所显示的所有文本。
下面将结合附图具体描述本申请的各实施例。
请参阅图1,本申请提供的一种数据处理方法,应用于移动终端,所述方法,包括:
步骤S110:检测预设按压测试区域中的按压操作。
其中,按压操作是指触碰到移动终端的显示屏后,对该显示屏中的触碰位置持续产生一定压力的操作。
步骤S120:当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积。
其中,预设按压测试区域如图2所示,移动终端可以在按压测试区域中检测到一次按压操作后,即将该次按压操作过程中检测到的按压面积作为阈值按压面积。而作为一种方式,为了进一步提升所获取的阈值按压面积的准确性,可以将在预设按压测试区域检测到的多次按压操作所产生的按压面积进行处理后得到的值作为阈值按压面积。
例如,当在所述预设按压测试区域中检测到多次按压操作后,获取在每次检测到所述按压操作时,在所述按压测试区域中的检测到的按压面积,得到多个待处理按压面积,再基于所述多个待处理按压面积,得到阈值按压面积。其中,作为一种处理方式,移动终端可以计算所述多个待处理按压面积的均值,将所述均值作为所述阈值按压面积。而其中的均值计算方式可以有多种,例如可以为算术平均、调和平均、加权平均以及指数平均等。
那么在移动终端可以通过一次按压操作即确定阈值按压面积,或者可以通过多次按压操作确定阈值按压面积的情况下,移动终端可以通过间隔时长来区分是采用哪种方式来确定阈值按压面积。作为一种方式,当移动终端在预设按压测试区域中检测到按压操作后,在该次按压操作结束后开始计时,如果在预设间隔时长内,没有再次在预设按压测试区域中检测到有按压操作,则基于已经获取到的待处理按压面积来计算阈值按压面积。
可以理解的是,移动终端通常配置有对所显示文本进行预设基础操作的功能,而在保留预设基础功能的情况下,还可以增加识别处理功能。其中,所述预设基础操作包括对目标区域显示的文本整体进行复制、选择、搜索、转发或者翻译,而识别处理功能包括对所按压区域的文本进行拆分后,再进行复制、选择、搜索等操作。并且,对于触发上述预设基础操作的操作以及触发识别处理功能的操作均可以为按压操作,那么为了便于对上述两种功能进行区分,可以配置不同的触发条件,例如,可以配置不同的按压时长、按压力度或者按压面积等。
下面再通过一个例子说明一下预设基础操作以及识别处理功能的区别。如果在后续的按压操作中,用户所按压区域显示的文本为“我们去看电影吧”,如果是直接进行预设基础操作,那么可以直接对“我们去看电影吧”进行复制、选择、搜索、转发或者翻译。而如果是进行识别处理功能的操作,则需要根据语义解析规则,先将“我们去看电影吧”进行拆分,得到“我们”、“晚上”、“去”、“看”、“电影”以及“吧”等拆分后的字符,然后再进一步对拆分后的字符进行复制、选择、搜索、转发或者翻译。
那么在均以按压面积为触发条件的情况下,在检测到按压面积为a的情况下,且保持一预设时长后按压面积没有进一步增大的情况下,则移动终端触发对按压区域的文本进行预设基础操作。而在检测到按压面积为a且进一步增大后超过b,且最终达到之前配置的阈值按压面积c之后,则触发对按压区域的文本进行识别处理功能的操作。可以理解的是,其中按压面积b为触发后续识别处理功能的的先决条件,而按压面积c为用户根据本申请提供的方法配置的阈值按压面积,或者为移动终端自动配置的阈值按压面积,其中c大于等于b。
作为一种进一步提升计算得到的阈值按压面积与用户更加适配的方式,每次在所述预设按压测试区域中检测到按压操作时,将当次检测到的按压面积与预设按压面积阈值(也就是前述提起的按压面积b)进行对比,若当次检测到的按压面积不小于所述预设按压面积阈值,将当次检测到的按压面积作为所述待处理按压面积,若当次检测到的按压面积小于所述预设按压面积阈值,显示提示用户增加按压面积的提示信息,从而使得移动终端只将满足触发识 别处理功能的按压面积作为待处理按压面积。
步骤S130:将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。
本申请提供的一种数据处理方法,当在所述预设按压测试区域中检测到按压操作后,然后去获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积,将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。从而使得用户可以预先在预设按压测试区域中按压的方式,使得移动终端获取到适配该用户自己特性的阈值按压面积,来作为后续通过按压操作来触发预设功能的阈值面积,增强了移动终端触控操作的适配性以及灵活性,提升了用户体验。
请参阅图3,本申请提供的一种数据处理方法,应用于移动终端,所述方法,包括:
步骤S210:检测预设按压测试区域中的按压操作。
其中,所述预设按压测试区域可以为移动终端屏幕的部分显示区域,也可以为移动终端屏幕的全部显示区域。
步骤S220:当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积。
步骤S230:将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。
步骤S240:在所述标识区域中显示标识所述阈值面积。
作为一种方式,如图4所示,所述标识区域241包括多个依次相邻排列的面积区间段h以及标识控件242,其中图4中示出了4个面积区间段h。
在这种情况下,步骤S240包括:一种方式为获取所述阈值面积所在的区间段,将所述标识控件显示在所述阈值面积所在的区间段的起始位置。如图5所示,当计算得到的阈值按压面积的值在标识区域241中的位置为图中箭头243所指向位置时,移动终端将标识控件242显示到箭头243所指向区间段,也就是阈值按压面积所在区间段的开始位置。
另一种方式为,将所述标识控件显示在区间段中阈值面积所对应的位置。如图6所示,当计算得到的阈值按压面积的值在标识区域241中的位置为图中箭头243所指向位置时,移动终端将标识控件242显示到箭头243所指向位置。
再者,为了便于用户可以通过手动的方式再次调节阈值按压面积,响应于作用于所述标识控件的移动操作,在所述多个依次相邻排列的面积区间段上移动所述标识控件,获取移动后的所述标识控件所在位置,获取所述标识控件所在位置对应的面积值,将所述标识控件所在位置对应的面积值,配置为触发所述预设功能的按压操作的阈值面积。例如,在图7中,当检测到标识控件242被从图6位置拖动到图7中所示位置时,移动终端将图7中位置标识控件242所在位置对应的按压面积值配置为阈值按压面积。
再者,用户在不同的时间段触控习惯或者实际的触控操作会有不同,作为一种方式,移动终端可以在用户使用移动终端的过程中,尤其是在期望通过按压操作触发识别处理功能的过程中,采集成功触发识别处理功能的按压操作的按压面积,将一个时间段内采集的该按压面积进行处理,以得到该时间段内的平均按压面积,将该平均按压面积配置为阈值按压面积,从而使得移动终端可以通过不断的学习用户的触控习惯,来使得触发识别处理功能的触控操作更加智能,更加符合用户习惯。
可以理解的是,在移动终端已经存储有阈值按压面积的情况下,再次进行配置时,移动终端是将新获得的阈值按压面积覆盖原来的阈值按压面积。
本申请提供的一种数据处理方法,当在所述预设按压测试区域中检测到按压操作后,然后去获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积,将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。从而使得用户可以预先在预设按压测试区域中按压的方式,使得移动终端获取到适配该用户自己特性的阈值按压面积,来作为后续通过按压操作来触发预设功能的阈值面积,增强了移动终端触控操作的适配性以及灵活性,提升了用户体验。再者,可以将配置的阈值面积直观显示出来,以便用户查阅。
请参阅图8,本申请提供的一种数据处理装置300,运行于移动终端,所述装置300, 包括:按压检测单元310、阈值获取单元320以及触发配置单元330。
按压检测单元310,用于检测预设按压测试区域中的按压操作。
阈值获取单元320,用于当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积。
作为一种方式,阈值获取单元320,具体用于当在所述预设按压测试区域中检测到多次按压操作后,获取在每次检测到所述按压操作时,在所述按压测试区域中的检测到的按压面积,得到多个待处理按压面积;基于所述多个待处理按压面积,得到阈值按压面积。其中,计算所述多个待处理按压面积的均值,将所述均值作为所述阈值按压面积。
再者,作为一种方式,阈值获取单元320,还用于每次在所述预设按压测试区域中检测到按压操作时,将当次检测到的按压面积与预设按压面积阈值进行对比;若当次检测到的按压面积不小于所述预设按压面积阈值,将当次检测到的按压面积作为所述待处理按压面积。若当次检测到的按压面积小于所述预设按压面积阈值,显示提示用户增加按压面积的提示信息。
触发配置单元330,用于将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。
请参阅图9,本申请提供的一种数据处理装置400,运行于移动终端,所述装置400,包括:
按压检测单元410,用于检测预设按压测试区域中的按压操作。
阈值获取单元420,用于当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积。
触发配置单元430,用于将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。
阈值显示单元440,用于在所述标识区域中显示标识所述阈值面积。具体的,所述标识区域包括多个依次相邻排列的面积区间段以及标识控件。所述阈值显示单元440,具体用于获取所述阈值面积所在的区间段;将所述标识控件显示在所述阈值面积所在的区间段的起始位置。
阈值调节单元450,用于响应于作用于所述标识控件的移动操作,在所述多个依次相邻排列的面积区间段上移动所述标识控件,获取移动后的所述标识控件所在位置;获取所述标识控件所在位置对应的面积值;将所述标识控件所在位置对应的面积值,配置为触发所述预设功能的按压操作的阈值面积。
综上所述,本申请提供的一种数据处理方法、装置、移动终端以及存储介质,当在所述预设按压测试区域中检测到按压操作后,然后去获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积,将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。从而使得用户可以预先在预设按压测试区域中按压的方式,使得移动终端获取到适配该用户自己特性的阈值按压面积,来作为后续通过按压操作来触发预设功能的阈值面积,增强了移动终端触控操作的适配性以及灵活性,提升了用户体验。
下面将结合图10以及图11对本申请提供的一种移动终端进行说明。
请参阅图10,基于上述的数据处理方法、装置,本申请实施例还提供一种可以执行前述数据处理方法的移动终端100。移动终端100包括电子本体部10,所述电子本体部10包括壳体12及设置在所述壳体12上的第一屏幕120。所述壳体12可采用金属、如钢材、铝合金制成。本实施例中,所述第一屏幕120以及第二屏幕121通常包括显示面板111,也可包括用于响应对所述显示面板111进行触控操作的电路等。所述显示面板111可以为一个液晶显示面板(Liquid Crystal Display,LCD),在一些实施例中,所述显示面板111同时为一个触摸屏109。
如图11所示,在实际的应用场景中,所述移动终端100可作为智能手机终端进行使用,在这种情况下所述电子本体部10通常还包括一个或多个(图中仅示出一个)处理器102、存 储器104、RF(Radio Frequency,射频)模块106、音频电路110、传感器114、输入模块118、电源模块122。本领域普通技术人员可以理解,本申请并不对所述电子本体部10的结构造成限定。例如,所述电子本体部10还可包括比图中所示更多或者更少的组件,或者具有与图中所示不同的配置。
本领域普通技术人员可以理解,相对于所述处理器102来说,所有其他的组件均属于外设,所述处理器102与这些外设之间通过多个外设接口124相耦合。所述外设接口124可基于以下标准实现:通用异步接收/发送装置(Universal Asynchronous Receiver/Transmitter,UART)、通用输入/输出(General Purpose Input Output,GPIO)、串行外设接口(Serial Peripheral Interface,SPI)、内部集成电路(Inter-Integrated Circuit,I2C),但不并限于上述标准。在一些实例中,所述外设接口124可仅包括总线;在另一些实例中,所述外设接口124还可包括其他元件,如一个或者多个控制器,例如用于连接所述显示面板111的显示控制器或者用于连接存储器的存储控制器。此外,这些控制器还可以从所述外设接口124中脱离出来,而集成于所述处理器102内或者相应的外设内。
所述存储器104可用于存储软件程序以及模块,所述处理器102通过运行存储在所述存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理。例如,存储器104中可以存储有数据处理装置。该数据处理装置可以为前述的装置300或者装置400。所述存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,所述存储器104可进一步包括相对于所述处理器102远程设置的存储器,这些远程存储器可以通过网络连接至所述电子本体部10或所述第一屏幕120。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
所述无线模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。所述无线模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述无线模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication,GSM)、增强型移动通信技术(Enhanced Data GSM Environment,EDGE),宽带码分多址技术(wideband code division multiple access,W-CDMA),码分多址技术(Code division access,CDMA)、时分多址技术(time division multiple access,TDMA),无线保真技术(Wireless,Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE 802.10A,IEEE 802.11b,IEEE802.11g和/或IEEE 802.11n)、网络电话(Voice over internet protocal,VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。
音频电路110、扬声器101、声音插孔103、麦克风105共同提供用户与所述电子本体部10或所述第一屏幕120之间的音频接口。具体地,所述音频电路110从所述处理器102处接收声音数据,将声音数据转换为电信号,将电信号传输至所述扬声器101。所述扬声器101将电信号转换为人耳能听到的声波。所述音频电路110还从所述麦克风105处接收电信号,将电信号转换为声音数据,并将声音数据传输给所述处理器102以进行进一步的处理。音频数据可以从所述存储器104处或者通过所述无线模块106获取。此外,音频数据也可以存储至所述存储器104中或者通过所述无线模块106进行发送。该无线模块106可以为蓝牙通信模块、WIFI通信模块或者支持其他无线通信协议的模块。
所述传感器114设置在所述电子本体部10内或所述第一屏幕120内,所述传感器114的实例包括但并不限于:光传感器、运行传感器、压力传感器、红外热传感器、距离传感器、重力加速度传感器、以及其他传感器。
具体地,所述光传感器可包括光线传感器114F、压力传感器114G。其中,压力传感器114G可以检测由按压在移动终端100产生的压力的传感器。即,压力传感器114G检测由用户和移动终端之间的接触或按压产生的压力,例如由用户的耳朵与移动终端之间的接触或按压产生的压力。因此,压力传感器114G可以用来确定在用户与移动终端100之间是否发生了接触或者按压,以及压力的大小。
请再次参阅图11,具体地在图11所示的实施例中,所述光线传感器114F及所述压力传感器114G邻近所述显示面板111设置。所述光线传感器114F可在有物体靠近所述第一屏幕120时,例如所述电子本体部10移动到耳边时,所述处理器102关闭显示输出。
作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别所述移动终端100姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。另外,所述电子本体部10还可配置陀螺仪、气压计、湿度计、温度计等其他传感器,在此不再赘述,
本实施例中,所述输入模块118可包括设置在所述第一屏幕120上的所述触摸屏109,所述触摸屏109可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在所述触摸屏109上或在所述触摸屏109附近的操作),并根据预先设定的程序驱动相应的连接装置。可选的,所述触摸屏109可包括触摸检测装置和触摸控制器。其中,所述触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给所述触摸控制器;所述触摸控制器从所述触摸检测装置上接收触摸信息,并将该触摸信息转换成触点坐标,再送给所述处理器102,并能接收所述处理器102发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多分类型实现所述触摸屏109的触摸检测功能。除了所述触摸屏109,在其它变更实施方式中,所述输入模块118还可以包括其他输入设备,如按键。所述按键例如可包括用于输入字符的字符按键,以及用于触发控制功能的控制按键。所述控制按键的实例包括“返回主屏”按键、开机/关机按键等等。
所述第一屏幕120用于显示由用户输入的信息、提供给用户的信息以及所述电子本体部10的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、数字、视频和其任意组合来构成,在一个实例中,所述触摸屏109可设置于所述显示面板111上从而与所述显示面板111构成一个整体。
所述电源模块122用于向所述处理器102以及其他各组件提供电力供应。具体地,所述电源模块122可包括电源管理系统、一个或多个电源(如电池或者交流电)、充电电路、电源失效检测电路、逆变器、电源状态指示灯以及其他任意与所述电子本体部10或所述第一屏幕120内电力的生成、管理及分布相关的组件。
所述移动终端100还包括定位器119,所述定位器119用于确定所述移动终端100所处的实际位置。本实施例中,所述定位器119采用定位服务来实现所述移动终端100的定位,所述定位服务,应当理解为通过特定的定位技术来获取所述移动终端100的位置信息(如经纬度坐标),在电子地图上标出被定位对象的位置的技术或服务。
应当理解的是,上述的移动终端100并不局限于智能手机终端,其应当指可以在移动中使用的计算机设备。具体而言,移动终端100,是指搭载了智能操作系统的移动计算机设备,移动终端100包括但不限于智能手机、智能手表、平板电脑,等等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(移动终端),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。
请参考图12,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种数据处理方法,其特征在于,应用于移动终端,所述方法,包括:
    检测预设按压测试区域中的按压操作;
    当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积;
    将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。
  2. 根据权利要求1所述的方法,其特征在于,所述当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积的步骤包括:
    当在所述预设按压测试区域中检测到多次按压操作后,获取在每次检测到所述按压操作时,在所述按压测试区域中的检测到的按压面积,得到多个待处理按压面积;
    基于所述多个待处理按压面积,得到阈值按压面积。
  3. 根据权利要求2所述的方法,其特征在于,所述基于所述多个待处理按压面积,得到阈值按压面积的步骤包括:
    计算所述多个待处理按压面积的均值,将所述均值作为所述阈值按压面积。
  4. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    每次在所述预设按压测试区域中检测到按压操作时,将当次检测到的按压面积与预设按压面积阈值进行对比;
    若当次检测到的按压面积不小于所述预设按压面积阈值,将当次检测到的按压面积作为所述待处理按压面积。
    若当次检测到的按压面积小于所述预设按压面积阈值,显示提示用户增加按压面积的提示信息。
  5. 根据权利要求1所述的方法,其特征在于,所述移动终端显示有阈值面积标识区域,所述方法还包括:
    在所述标识区域中显示标识所述阈值面积。
  6. 根据权利要求5所述的方法,其特征在于,所述标识区域包括多个依次相邻排列的面积区间段以及标识控件,所述在所述标识区域中显示标识所述阈值面积的步骤包括:
    获取所述阈值面积所在的区间段;
    将所述标识控件显示在所述阈值面积所在的区间段的起始位置。
  7. 根据权利要求6所述的方法,其特征在于,所述将所述标识控件显示在所述阈值面积所在的区间段的起始位置的步骤之后还包括:
    响应于作用于所述标识控件的移动操作,在所述多个依次相邻排列的面积区间段上移动所述标识控件,获取移动后的所述标识控件所在位置;
    获取所述标识控件所在位置对应的面积值;
    将所述标识控件所在位置对应的面积值,配置为触发所述预设功能的按压操作的阈值面积。
  8. 根据权利要求5所述的方法,其特征在于,所述标识区域包括多个依次相邻排列的面积区间段以及标识控件,所述在所述标识区域中显示标识所述阈值面积的步骤包括:
    获取所述阈值面积所在的区间段;
    将所述标识控件显示在区间段中阈值面积所对应的位置。
  9. 根据权利要求6-8任一所述的方法,其特征在于,所述方法还包括:
    响应于作用于所述标识控件的移动操作,在所述多个依次相邻排列的面积区间段上移动所述标识控件;
    获取移动后的所述标识控件所在位置,获取所述标识控件所在位置对应的面积值,将所述标识控件所在位置对应的面积值,配置为触发所述预设功能的按压操作的阈值面积。
  10. 根据权利要求1所述的方法,其特征在于,所述当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积的步骤包括:
    当在所述预设按压测试区域中检测到按压操作后,在该次按压操作结束后开始计时,如果在预设间隔时长内,没有再次在预设按压测试区域中检测到有按压操作,基于已经获取到的待处理按压面积来计算阈值按压面积。
  11. 根据权利要求1-10任一所述的方法,其特征在于,将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积的步骤之后,还包括:
    采集成功触发识别处理功能的按压操作的按压面积;
    将一个时间段内采集的成功触发识别处理功能的按压操作的按压面积进行处理,以得到所述时间段内的平均按压面积,将所述平均按压面积配置为阈值按压面积。
  12. 根据权利要求1-10任一所述的方法,其特征在于,将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积的步骤包括:
    将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积;
    使所述阈值按压面积覆盖原来的阈值按压面积。
  13. 根据权利要求1-13任一所述的方法,其特征在于,所述预设按压测试区域为屏幕中的部分显示区域。
  14. 根据权利要求1-13任一所述的方法,其特征在于,所述预设按压测试区域为屏幕的全部显示区域。
  15. 一种数据处理装置,其特征在于,运行于移动终端,所述装置,包括:
    按压检测单元,用于检测预设按压测试区域中的按压操作。
    阈值获取单元,用于当在所述预设按压测试区域中检测到按压操作后,获取基于在所述预设按压测试区域中检测到按压面积得到的阈值按压面积。
    触发配置单元,用于将所述阈值按压面积配置为触发预设功能的按压操作的阈值面积。
  16. 根据权利要求15所述的装置,其特征在于,所述阈值获取单元,具体用于当在所述预设按压测试区域中检测到多次按压操作后,获取在每次检测到所述按压操作时,在所述按压测试区域中的检测到的按压面积,得到多个待处理按压面积;基于所述多个待处理按压面积,得到阈值按压面积。
  17. 根据权利要求16所述的装置,其特征在于,所述阈值获取单元,具体用于计算所述多个待处理按压面积的均值,将所述均值作为所述阈值按压面积。
  18. 根据权利要求16所述的装置,其特征在于,所述阈值获取单元,还用于每次在所述预设按压测试区域中检测到按压操作时,将当次检测到的按压面积与预设按压面积阈值进行对比;若当次检测到的按压面积不小于所述预设按压面积阈值,将当次检测到的按压面积作为所述待处理按压面积。若当次检测到的按压面积小于所述预设按压面积阈值,显示提示用户增加按压面积的提示信息。
  19. 一种移动终端,其特征在于,包括一个或多个处理器以及存储器;
    一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行权利要求1-14任一所述的方法。
  20. 一种存储有处理器可执行的程序代码的计算机可读存储介质,其特 征在于,所述计算机可读取存储介质包括存储的程序,其中,在所述程序被处理器运行时执行权利要求1-14任一所述的方法。
PCT/CN2019/088871 2018-06-07 2019-05-28 数据处理方法、装置、移动终端以及存储介质 WO2019233317A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810582905.2A CN109085944B (zh) 2018-06-07 2018-06-07 数据处理方法、装置以及移动终端
CN201810582905.2 2018-06-07

Publications (1)

Publication Number Publication Date
WO2019233317A1 true WO2019233317A1 (zh) 2019-12-12

Family

ID=64839501

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/088871 WO2019233317A1 (zh) 2018-06-07 2019-05-28 数据处理方法、装置、移动终端以及存储介质

Country Status (2)

Country Link
CN (1) CN109085944B (zh)
WO (1) WO2019233317A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109085944B (zh) * 2018-06-07 2020-11-27 Oppo广东移动通信有限公司 数据处理方法、装置以及移动终端

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150346894A1 (en) * 2014-05-29 2015-12-03 Kobo Inc. Computing device that is responsive to user interaction to cover portion of display screen
CN106126016A (zh) * 2016-06-16 2016-11-16 珠海市魅族科技有限公司 一种截屏方法及装置
CN106990893A (zh) * 2017-03-20 2017-07-28 北京小米移动软件有限公司 触屏操作的处理方法和装置
CN109085944A (zh) * 2018-06-07 2018-12-25 Oppo广东移动通信有限公司 数据处理方法、装置以及移动终端

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9671896B2 (en) * 2014-11-18 2017-06-06 Toshiba Tec Kabushiki Kaisha Interface system, object for operation input, operation input supporting method
CN106681636B (zh) * 2016-12-16 2020-01-14 Oppo广东移动通信有限公司 一种防误触的方法、装置及移动终端
CN106873849B (zh) * 2017-01-06 2020-06-05 普联技术有限公司 一种防止屏幕误触发的检测方法、装置和一种移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150346894A1 (en) * 2014-05-29 2015-12-03 Kobo Inc. Computing device that is responsive to user interaction to cover portion of display screen
CN106126016A (zh) * 2016-06-16 2016-11-16 珠海市魅族科技有限公司 一种截屏方法及装置
CN106990893A (zh) * 2017-03-20 2017-07-28 北京小米移动软件有限公司 触屏操作的处理方法和装置
CN109085944A (zh) * 2018-06-07 2018-12-25 Oppo广东移动通信有限公司 数据处理方法、装置以及移动终端

Also Published As

Publication number Publication date
CN109085944A (zh) 2018-12-25
CN109085944B (zh) 2020-11-27

Similar Documents

Publication Publication Date Title
WO2019233212A1 (zh) 文本识别方法、装置、移动终端以及存储介质
US11237703B2 (en) Method for user-operation mode selection and terminals
WO2019233316A1 (zh) 数据处理方法、装置、移动终端以及存储介质
CN108415652B (zh) 一种文本处理方法及移动终端
CN108965691B (zh) 摄像头控制方法、装置、移动终端及存储介质
CN108777731B (zh) 按键配置方法、装置、移动终端及存储介质
CN109120841B (zh) 摄像头控制方法、装置、移动终端及存储介质
CN109032491B (zh) 数据处理方法、装置以及移动终端
CN108536509B (zh) 一种应用分身方法及移动终端
US11250046B2 (en) Image viewing method and mobile terminal
US9921735B2 (en) Apparatuses and methods for inputting a uniform resource locator
CN108769299B (zh) 屏幕控制方法、装置以及移动终端
CN108984066B (zh) 一种应用程序图标显示方法及移动终端
CN109683802B (zh) 一种图标移动方法及终端
CN110096203B (zh) 一种截图方法及移动终端
CN109104521B (zh) 接近状态的校正方法、装置、移动终端及存储介质
WO2019228370A1 (zh) 数据处理方法、装置、移动终端以及存储介质
CN112306366A (zh) 操作方法、移动终端及存储介质
CN111163224A (zh) 一种语音消息播放方法及电子设备
CN108803961B (zh) 数据处理方法、装置以及移动终端
CN108810262B (zh) 一种应用的配置方法、终端和计算机可读存储介质
WO2019201109A1 (zh) 文字处理方法、装置、移动终端及存储介质
WO2019233317A1 (zh) 数据处理方法、装置、移动终端以及存储介质
CN108958578B (zh) 文件控制方法、装置以及电子装置
CN108304709B (zh) 人脸解锁方法及相关产品

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19815970

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19815970

Country of ref document: EP

Kind code of ref document: A1