WO2019228370A1 - Data processing method and device, mobile terminal and storage medium - Google Patents

Data processing method and device, mobile terminal and storage medium Download PDF

Info

Publication number
WO2019228370A1
WO2019228370A1 PCT/CN2019/088869 CN2019088869W WO2019228370A1 WO 2019228370 A1 WO2019228370 A1 WO 2019228370A1 CN 2019088869 W CN2019088869 W CN 2019088869W WO 2019228370 A1 WO2019228370 A1 WO 2019228370A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressing operation
duration
text information
target text
area
Prior art date
Application number
PCT/CN2019/088869
Other languages
French (fr)
Chinese (zh)
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 WO2019228370A1 publication Critical patent/WO2019228370A1/en

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • 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

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 more users choose to control the mobile terminal through a series of pressing operations in the touch display.
  • the touch screen is used to process the text content displayed on the display screen.
  • the user cannot intuitively sense the touch duration and the current feedback status of the terminal, 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 on a target area; and displaying a progress display after detecting a pressing operation that satisfies the first operation.
  • Control the progress display control is used to characterize the progress of the pressing operation from the first duration to the second duration, wherein the first duration is shorter than the second duration; it is detected that the pressing operation satisfies
  • the data displayed in the target area is processed to obtain target text information; and information associated with the target text information is displayed.
  • the present application provides a data processing device that runs on a mobile terminal.
  • the device includes: a touch detection unit that detects a pressing operation on a target area; a progress display control unit that satisfies the length of time when a pressing is detected; After the pressing operation of the first duration, a progress display control is displayed, and the progress display control is used to characterize the progress of the pressing operation from the first duration to the second duration, wherein the first duration is shorter than the first duration A second duration; a data acquisition unit, after detecting that the pressing operation satisfies the second duration, processes the data displayed in the target area to obtain target text information; the information display unit displays information related to the target text Associated information.
  • 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 shows a state diagram of a progress display control in a data processing method proposed by the present application
  • FIG. 3 is a schematic diagram showing another state of a progress display control in a data processing method proposed by the present application.
  • FIG. 4 shows a schematic diagram of a target area of a data processing method proposed in the present application
  • FIG. 5 shows a schematic diagram of another target area of a data processing method proposed in the present application.
  • FIG. 6 is a schematic diagram showing a display manner of another data processing method according to the present application.
  • FIG. 7 shows a flowchart of another data processing method provided by the present application.
  • FIG. 8 shows a structural block diagram of a connection control device proposed in the present application.
  • FIG. 9 shows a structural block diagram of another connection control device proposed 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.
  • the mobile terminal can also be triggered to analyze the text of the pressed area in other ways.
  • the inventor found that in some touch scenarios, the user cannot intuitively sense the touch duration and the current feedback status of the terminal, resulting in a poor user experience. Therefore, the inventor proposes a data processing method, a device, a mobile terminal, and a storage medium that can intuitively reflect the user's pressing operation conditions 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 for information related to keywords, etc.
  • the text processed by the data processing method provided in this application may be part of the text displayed by the mobile terminal, such as text content in a paragraph, or a piece of information in a chat interface, or all text displayed by the mobile terminal. For example, the entire text content in the browser interface, or the entire content in the chat interface, or the entire text content in the pictures collected by the mobile terminal.
  • a data processing method provided in this application is applied to a mobile terminal, and the method includes:
  • Step S110 Detect a pressing operation on the target 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 when it is detected that the pressing time meets the pressing operation of the first time period, a progress display control is displayed, and the progress display control is used to represent the progress of the pressing operation from the first time period to the second time period,
  • the first duration is shorter than the second duration.
  • the specific lengths of the first duration and the second duration can be freely configured by the user.
  • the first duration may be 200 ms
  • the second duration may be 800 ms.
  • the progress display control may represent the change of the pressing operation from the first duration to the second duration by displaying a percentage.
  • the percentage displayed by the progress indicator will increase accordingly. For example, when the pressing operation continues for 300ms, the progress indicator will display a%, and if the continuous operation of the pressing operation is detected, After 400ms, the progress display control displays b percent, where b is greater than a.
  • the mobile terminal may display the progress display control beside the action position of the pressing operation for the user to view.
  • the progress display control may also represent the change of the pressing operation from the first duration to the second duration through a change in its own length. For example, as shown in FIG.
  • the progress display control 123a is The pressing operation is in a state of the first duration, and as shown in FIG. 3, the progress display control 123b is a state in which the pressing operation is in a second duration. It can be understood that 123b is a state after 123a is extended.
  • Step S130 after detecting that the pressing operation satisfies the second duration, processing the data displayed in the target area to obtain target text information.
  • the target area is the area where the pressing operation is performed, or the entire area of the display screen of the mobile terminal.
  • the mobile terminal may display a picture or a text line displayed in the area A. Processing to extract target text information from the picture or text displayed in area A.
  • the mobile terminal can parse out the target text information from the target area based on the existing semantic parsing technology.
  • the semantic parsing technology can be used to split the data in the picture or text of the target area into a single completed word or word. For example, the text displayed in the target area is "Let's go watch a movie at night", then the target text information parsed by the mobile terminal based on the semantic parsing technology can include "we", “evening", "go”, “see”, “ Movie "and” let's go. "
  • the target text information parsed from the target area is still related to the database data used. For example, if the text displayed in the target area is "Go to the Avengers", and the database corresponding to the semantic parsing technology does not store “Avengers”, then the mobile terminal parses the text of the target area and obtains the target text information. Including “that", “go”, “see”, “Avenger” and “Union”, and if "Avengers" is stored in the database, the target text information obtained after the text of the target area parsed by the mobile terminal includes "That", “Go", “Look”, “Avengers”.
  • the pressing operation may be a single-contact pressing operation or a multi-contact pressing operation.
  • the target area includes at least the area where the contact is detected first among the areas where the multiple contacts are located, or the target area includes the areas where the multiple contacts are respectively located. All areas.
  • the mobile terminal may use area A as a target area, so that it is not necessary to strictly require that both fingers of the user fall within area A.
  • the mobile terminal may use both the area A and the area B as target areas.
  • Step S140 Display information associated with the target text information.
  • the information associated with the target text information includes the target text information itself.
  • the mobile terminal can directly display “us”, “Evening,” “Going,” “Watching,” “Movie,” and “Bar.”
  • the user can continue to manually select the text he needs from the information such as "us”, “night”, “go”, “watch”, “movie”, and “bar” for translation, search, or copying, etc. operating.
  • the mobile terminal may further search the parsed target text information and obtain information associated with the target text information in addition to the target text information. For example, taking the "Avengers Alliance" obtained by the analysis above as an example, when the mobile terminal retrieves the name of a movie, it can display the brief information of the movie, or display the click-through entrance of the ticket purchase software. It can be understood that after the user clicks the clicked entry, the mobile terminal can launch the ticket purchase software and directly cause the ticket purchase software to directly display the "Avengers" ticket purchase page, so that the user can quickly purchase tickets. As shown in FIG. 6, in a case where a card is used to display information associated with the target text information, the card profile information can be displayed through the card 141, and the click entry of the ticket purchase software TPP can be displayed through the card 142.
  • a data processing method provided in the present application after detecting a pressing operation with a pressing duration that satisfies a first duration, displaying a data indicating a preset pressing operation from the first duration to a second duration with a longer touch duration.
  • the progress display control of the changing situation after detecting that the pressing time of the pressing operation is in the second time period, processes the data displayed in the target area to obtain the target text information, and further displays information related to the target text information Combined information, so that in the process of selecting the target area and processing the data displayed in the target area, the user's pressing operation can be displayed more intuitively, which improves the user experience.
  • a data processing method provided in this application is applied to a mobile terminal, and the method includes:
  • Step S210 Detect a pressing operation on the target area.
  • Step S220 When it is detected that the pressing duration meets the first duration of the pressing operation, a progress display control is displayed, where the progress displaying control is used to characterize the progress of the pressing operation from the first duration to the second duration, where: The first duration is shorter than the second duration.
  • Step S230 After detecting that the pressing operation satisfies the second duration, the data displayed in the target area is processed to obtain target text information.
  • Step S240 It is detected whether information associated with the target text information has been acquired.
  • the information associated with the target text information can be read locally on the mobile terminal or obtained from the network. In this case of reading from the local, the mobile terminal finds the information associated with the target text information locally, and determines that the information associated with the target text information has been acquired. For example, if the obtained target text information includes "Emeishan", then when a picture of information about Emeishan is found in the pictures stored locally, or when a document about Emeishan is found, it is determined that the "Emeishan" related information.
  • whether the information associated with the target text information has been successfully acquired may be determined based on a network protocol used. For example, in a case where the mobile terminal requests data from the network based on the http protocol or the https protocol, if the mobile terminal receives a response header including a 200 identifier in the response header of the network (characterizing that the information is successfully obtained from the network), it determines that the target text is the same as the target text. The information associated with the information has been obtained.
  • the mobile terminal may also use other private or public protocols, which are not specifically limited in this application.
  • Step S250 If it has not been obtained, a preset loading screen is displayed.
  • Step S260 if it has been obtained, execute displaying the information associated with the target text information.
  • the target area may also respond to other touch gestures.
  • some mobile terminals are configured with basic operation functions such as pressing the target area to select all or copying text in the target area.
  • the mobile terminal may configure different touch response time or strength parameters for the above two functions. For example, in the solution provided in this application, the subsequent steps will not be continued until it is detected that the pressing operation satisfies the first duration, and then the pressing response duration of the aforementioned basic function may be configured to be lower than the first duration.
  • the mobile terminal determines that what the user needs is the aforementioned direct-to-press area
  • the text executes the basic function, and the mobile terminal detects that the user's pressing exceeds the aforementioned tms, and continues to press until the aforementioned first time period is satisfied, then it can be determined that the user expects to obtain the text of the split target area further provided by this application , Get the target text information, and then search and display the function.
  • the pressing operation is also detected in the area where the text is not displayed while detecting that the pressing operation satisfies the second duration, and if there is, the operation is continued on the
  • the data displayed in the target area is processed to obtain the target text information. Because when the user uses the basic function, the user directly presses the text area where the basic function is expected, instead of pressing the area where the text is not displayed, so that the mobile terminal can be implemented by detecting whether the user presses the area where the text is not displayed at the same time Conveniently identify whether the user wants to use the original basic functions or the functions provided by this application.
  • a data processing method provided in the present application after detecting a pressing operation with a pressing duration that satisfies a first duration, displaying a data indicating a preset pressing operation from the first duration to a second duration with a longer touch duration.
  • the progress display control of the changing situation after detecting that the pressing time of the pressing operation is in the second time period, processes the data displayed in the target area to obtain the target text information, and further displays information related to the target text information Combined information, so that in the process of selecting the target area and processing the data displayed in the target area, the user's pressing operation can be displayed more intuitively, which improves the user experience.
  • a preset loading screen for excessive loading may be displayed, which further improves the user experience.
  • a data processing device 300 provided in the present application runs on a mobile terminal.
  • the device 300 includes a touch detection unit 310, a progress display control unit 320, a data acquisition unit 330, and an information display unit 340. .
  • the touch detection unit 310 detects a pressing operation on a target area.
  • the pressing operation is a multi-contact pressing operation
  • the target area includes at least an area where a contact is detected first among the areas where the multiple contacts are located.
  • the target area includes all areas where the multi-contacts are located.
  • the progress display control control unit 320 displays a progress display control after detecting that the pressing time meets the pressing operation of the first duration, and the progress display control is used to represent the progress of the pressing operation from the first duration to the second duration. A situation, wherein the first duration is shorter than the second duration.
  • the data obtaining unit 330 after detecting that the pressing operation satisfies the second duration, processes the data displayed in the target area to obtain target text information.
  • the information display unit 340 displays information associated with the target text information.
  • a data processing device 400 provided in the present application runs on a mobile terminal.
  • the device 400 includes a touch detection unit 410, a progress display control unit 420, a data acquisition unit 430, and a display control unit 440. And an information display unit 450.
  • the touch detection unit 410 is configured to detect a pressing operation acting on a target area.
  • a progress display control control unit 420 is configured to display a progress display control after detecting a pressing operation that meets the first duration, and the progress display control is used to represent the pressing operation from the first duration to the second duration. , Wherein the first duration is shorter than the second duration.
  • the progress display control control unit 420 is configured to process the data displayed in the target area after detecting that the pressing operation satisfies the second duration to obtain target text information.
  • the touch detection unit 410 is further configured to detect whether the pressing operation has a displacement exceeding a preset amplitude
  • a data acquisition unit 430 configured to display data displayed on the target area after detecting that the pressing operation is within the second duration after the touch detection unit 410 detects that the pressing operation does not exceed a preset amplitude; Process to get target text information.
  • a display control unit 440 configured to detect whether information associated with the target text information has been acquired
  • the information display unit 450 is configured to display the information associated with the target text information if the display control unit 440 detects that the information associated with the target text information has been acquired.
  • the information display unit 450 is configured to display a preset loading screen if the display control unit 440 detects that information associated with the target text information has not been acquired.
  • the first time threshold is 150 ms
  • the second time threshold is 350 ms.
  • the data is exemplary only, and is not specifically limited in this application.
  • a data processing method, device, mobile terminal, and storage medium provided in this application, after detecting a pressing operation with a pressing duration that satisfies the first duration, display indicating that the preset pressing operation is from the first A progress display control that changes from a time period to a second time period with a longer touch time period. After detecting that the pressing time period of the pressing operation is within the second time period, the data displayed in the target area is processed to obtain the target. Text information, and further display information associated with the target text information, so that in the process of selecting the target area and processing the data displayed in the target area, the user's pressing operation can be displayed more intuitively To improve 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 pressing 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 Protocol (VoIP), Worldwide Interoperability for Microwave Access (Wi-Max), other protocols for email, 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
  • 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 stationary, and can be used to identify the attitude 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, etc.). 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

Disclosed by the embodiments of the present application are a data processing method and device, a mobile terminal and a storage medium. The method comprises: detecting a pressing operation on a target area; after detecting a pressing operation of which pressing duration satisfies a first duration, displaying a progress display control, the progress display control being used for representing the progress of the pressing operation from the first duration to a second duration, wherein the first duration is shorter than the second duration; after detecting that the pressing operation satisfies the second duration, processing data displayed in the target area so as to obtain target text information; and displaying information associated with the target text information. According to the present method, the pressing operation of a user may be displayed visually in the process of selecting the target area and processing data displayed in the target area, thereby improving the user experience.

Description

数据处理方法、装置、移动终端以及存储介质Data processing method, device, mobile terminal and storage medium
相关申请的交叉引用Cross-reference to related applications
本申请要求于2018年5月29日提交的申请号为201810571777.1的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。This application claims priority from a Chinese application with an application number of 201810571777.1, filed on May 29, 2018, which is hereby incorporated by reference in its entirety for all purposes.
技术领域Technical field
本申请涉及移动终端技术领域,更具体地,涉及一种数据处理方法、装置、移动终端以及存储介质。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.
背景技术Background technique
随着移动终端上设置的触控显示屏的发展,更多的用户选择在触控显示屏中通过一系列的按压操作来控制移动终端。例如,通过触控显示屏来处理显示屏中所显示的文本内容,但是在该触控过程中,用户无法直观的感知触控时长情况以及终端的当前反馈情况,造成用户体验不高。With the development of the touch display set on the mobile terminal, more users choose to control the mobile terminal through a series of pressing operations in the touch display. For example, the touch screen is used to process the text content displayed on the display screen. However, during this touch process, the user cannot intuitively sense the touch duration and the current feedback status of the terminal, resulting in a poor user experience.
发明内容Summary of the Invention
鉴于上述问题,本申请提出了一种数据处理方法、装置、移动终端以及存储介质,以实现改善上述问题。In view of the above problems, this application proposes a data processing method, device, mobile terminal, and storage medium to achieve the improvement of the above problems.
第一方面,本申请提供了一种数据处理方法,应用于移动终端,所述方法,包括:检测对目标区域的按压操作;当检测有按压时长满足第一时长的按压操作后,显示进度显示控件,所述进度显示控件用于表征所述按压操作从所述第一时长到第二时长的进度情况,其中,所述第一时长短于所述第二时长;检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息;显示与所述目标文本信息相关联的信息。In a first aspect, the present application provides a data processing method applied to a mobile terminal. The method includes: detecting a pressing operation on a target area; and displaying a progress display after detecting a pressing operation that satisfies the first operation. Control, the progress display control is used to characterize the progress of the pressing operation from the first duration to the second duration, wherein the first duration is shorter than the second duration; it is detected that the pressing operation satisfies After the second duration, the data displayed in the target area is processed to obtain target text information; and information associated with the target text information is displayed.
第二方面,本申请提供了一种数据处理装置,运行于移动终端,所述装置,包括:触控检测单元,检测对目标区域的按压操作;进度显示控件控制单元,当检测有按压时长满足第一时长的按压操作后,显示进度显示控件,所述进度显示控件用于表征所述按压操作从所述第一时长到第二时长的进度情况,其中,所述第一时长短于所述第二时长;数据获取单元,检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息;信息显示单元,显示与所述目标文本信息相关联的信 息。In a second aspect, the present application provides a data processing device that runs on a mobile terminal. The device includes: a touch detection unit that detects a pressing operation on a target area; a progress display control unit that satisfies the length of time when a pressing is detected; After the pressing operation of the first duration, a progress display control is displayed, and the progress display control is used to characterize the progress of the pressing operation from the first duration to the second duration, wherein the first duration is shorter than the first duration A second duration; a data acquisition unit, after detecting that the pressing operation satisfies the second duration, processes the data displayed in the target area to obtain target text information; the information display unit displays information related to the target text Associated information.
第三方面,本申请提供了一种移动终端,包括一个或多个处理器以及存储器;一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述的方法。In a third aspect, 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.
第四方面,本申请提供的一种计算机可读取存储介质,所述计算机可读取存储介质包括存储的程序,其中,在所述程序被处理器运行时执行上述的方法。In a fourth aspect, 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.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application more clearly, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are just some embodiments of the application. For those skilled in the art, other drawings can be obtained based on these drawings without paying creative labor.
图1示出了本申请提出的一种数据处理方法的流程图;FIG. 1 shows a flowchart of a data processing method provided by the present application;
图2示出了本申请提出的一种数据处理方法中进度显示控件的一种状态示意图;FIG. 2 shows a state diagram of a progress display control in a data processing method proposed by the present application;
图3示出了本申请提出的一种数据处理方法中进度显示控件的另一种状态示意图;FIG. 3 is a schematic diagram showing another state of a progress display control in a data processing method proposed by the present application; FIG.
图4示出了本申请提出的一种数据处理方法的一种目标区域的示意图;FIG. 4 shows a schematic diagram of a target area of a data processing method proposed in the present application; FIG.
图5示出了本申请提出的一种数据处理方法的另一种目标区域的示意图;FIG. 5 shows a schematic diagram of another target area of a data processing method proposed in the present application; FIG.
图6示出了本申请提出的再一种数据处理方法的显示方式的示意图;FIG. 6 is a schematic diagram showing a display manner of another data processing method according to the present application; FIG.
图7示出了本申请提出的另一种数据处理方法的流程图;FIG. 7 shows a flowchart of another data processing method provided by the present application;
图8示出了本申请提出的一种连接控制装置的结构框图;FIG. 8 shows a structural block diagram of a connection control device proposed in the present application;
图9示出了本申请提出的另一种连接控制装置的结构框图;FIG. 9 shows a structural block diagram of another connection control device proposed by the present application;
图10示出了本申请提出的一种移动终端的结构框图;FIG. 10 shows a structural block diagram of a mobile terminal proposed by the present application;
图11示出了本申请的用于执行根据本申请实施例的数据处理方法的移动终端的结构框图;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是本申请实施例的用于保存或者携带实现根据本申请实施例的数据处理方法的程序代码的存储单元。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.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.
在移动终端技术的发展初期,移动终端只配置有物理按键,用户都是通过触控移动终端配置的物理按键来对移动终端进行控制。而随着触控显示屏的出现,移动终端更多的配置有触控显示屏,使得用户可以通过触控显示屏即可实现对移动终端的控制。In the early stage of the development of mobile terminal technology, mobile terminals were only configured with physical buttons, and users controlled the mobile terminals by touching the physical buttons configured on the mobile terminal. With the advent of touch screens, mobile terminals are more equipped with touch screens, so that users can control the mobile terminals through the touch screens.
例如,在文本识别场景中,用户可以通过双指按压到文本识别区域,在检测到用户的双指按压时长超过一定时长或者双指按压力度超过一定力度后,开始对所按压的区域的文本进行识别,以提取出关键词,进而对关键词进行搜索得到与关键词关联的信息以进行显示。当然,除了上述的双指按压以外,还可以通过其他的方式触发移动终端解析按压的区域的文本。For example, in a text recognition scenario, 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. Of course, in addition to the two-finger pressing described above, the mobile terminal can also be triggered to analyze the text of the pressed area in other ways.
而发明人发现,在一些触控场景中,用户无法直观的感知触控时长情况以及终端的当前反馈情况,造成用户体验不高。因此,发明人提出了本申请中可以实现直观体现用户的按压操作情况的的数据处理方法、装置、移动终端以及存储介质。The inventor found that in some touch scenarios, the user cannot intuitively sense the touch duration and the current feedback status of the terminal, resulting in a poor user experience. Therefore, the inventor proposes a data processing method, a device, a mobile terminal, and a storage medium that can intuitively reflect the user's pressing operation conditions in this application.
下面将先对本申请所涉及的应用环境进行介绍。The following describes the application environment involved in this application.
本申请所提供的数据处理方法的数据处理对象可以是图片也可以是文本。其中,在处理对象为图片的情况下,移动终端会先对图片中的文本进行识别,得到图片中的文本内容,再进行后续的数据处理步骤,例如,从文本内容中拆分出关键词进行搜索,得到与关键词相关联的信息等。再者,本申请提供的数据处理方法所处理的文本可以为移动终端显示的部分文本,例如一个段落内的文本内容,或者聊天界面中的一条信息,也可以为移动终端所显示的所有文本,例如,在浏览器界面中的全部文本内容,或者聊天界面中的全部内容,在或者是移动终端所采集图片中的全部文本内容。The data processing object of the data processing method provided in this application may be a picture or a text. Where the processing object is a picture, 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 for information related to keywords, etc. Furthermore, the text processed by the data processing method provided in this application may be part of the text displayed by the mobile terminal, such as text content in a paragraph, or a piece of information in a chat interface, or all text displayed by the mobile terminal. For example, the entire text content in the browser interface, or the entire content in the chat interface, or the entire text content in the pictures collected by the mobile terminal.
下面将结合附图具体描述本申请的各实施例。The embodiments of the present application will be described in detail below with reference to the drawings.
请参阅图1,本申请提供的一种数据处理方法,应用于移动终端,所述方法包括:Referring to FIG. 1, a data processing method provided in this application is applied to a mobile terminal, and the method includes:
步骤S110:检测对目标区域的按压操作。Step S110: Detect a pressing operation on the target 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.
步骤S120:当检测有按压时长满足第一时长的按压操作后,显示进度显示控件,所述进度显示控件用于表征所述按压操作从所述第一时长到第二时长的进度情况,其中,所述第一时长短于所述第二时长。其中,第一时长和第二时长的具体长度可以由用户自由配置。示例性的,该第一时长可以为200ms,该第二时长可以为800ms。Step S120: when it is detected that the pressing time meets the pressing operation of the first time period, a progress display control is displayed, and the progress display control is used to represent the progress of the pressing operation from the first time period to the second time period, The first duration is shorter than the second duration. The specific lengths of the first duration and the second duration can be freely configured by the user. Exemplarily, the first duration may be 200 ms, and the second duration may be 800 ms.
作为一种方式,进度显示控件可以通过显示百分比的方式来表征按压操作从所述第一时长到第二时长的变化情况。在这种情况下,随着按压操作的时长增加,进度显示控件显示的百分比会对应增加,例如,在按压操作持续作用300ms时,该进度显示控件显示a%,而如果检测到按压操作持续作用了400ms,则进度显示控制显示b百分之,其中b大于a。作为一种方式,移动终端可以在按压操作的作用位置的旁边显示该进度显示控件,以便用户查看。再者,作为另一种方式,进度显示控件还可以通过自身的长度变化来表征按压操作从所述第一时长到第二时长的变化情况,例如,如图2所示,进度显示控件123a为按压操作为第一时长时的状态,而如图3所示,进度显示控件123b为按压操作为第二时长时的状态,可以理解的是,123b为123a伸长后的状态。As a way, the progress display control may represent the change of the pressing operation from the first duration to the second duration by displaying a percentage. In this case, as the duration of the pressing operation increases, the percentage displayed by the progress indicator will increase accordingly. For example, when the pressing operation continues for 300ms, the progress indicator will display a%, and if the continuous operation of the pressing operation is detected, After 400ms, the progress display control displays b percent, where b is greater than a. As one way, the mobile terminal may display the progress display control beside the action position of the pressing operation for the user to view. Furthermore, as another way, the progress display control may also represent the change of the pressing operation from the first duration to the second duration through a change in its own length. For example, as shown in FIG. 2, the progress display control 123a is The pressing operation is in a state of the first duration, and as shown in FIG. 3, the progress display control 123b is a state in which the pressing operation is in a second duration. It can be understood that 123b is a state after 123a is extended.
步骤S130:检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息。Step S130: after detecting that the pressing operation satisfies the second duration, processing the data displayed in the target area to obtain target text information.
其中,作为一种方式,目标区域为所述按压操作所作用的区域,或者为移动终端的显示屏的全部区域。例如,如图4所示,若检测到按压操作的目标区域为图中所示的区域A时,也是就是触点131落在区域A时,移动终端会对区域A中显示的图片或者文本行处理,以从区域A显示的图片或者文本中提取中目标文本信息。Wherein, as a method, the target area is the area where the pressing operation is performed, or the entire area of the display screen of the mobile terminal. For example, as shown in FIG. 4, if it is detected that the target area of the pressing operation is the area A shown in the figure, that is, when the contact 131 falls on the area A, the mobile terminal may display a picture or a text line displayed in the area A. Processing to extract target text information from the picture or text displayed in area A.
其中,移动终端可以基于现有的语义解析技术从目标区域中解析出来目标文本信息。其中,利用语义解析技术可以将目标区域的图片或者文本中的数据拆分为单个完成的词语或者字。例如,目标区域显示的文本为“我们晚上去看电影吧”,那么移动终端基于语义解析技术所解析得到的目标文本信息可以包括“我们”、“晚上”、“去”、“看”、“电影”以及“吧”。The mobile terminal can parse out the target text information from the target area based on the existing semantic parsing technology. Among them, the semantic parsing technology can be used to split the data in the picture or text of the target area into a single completed word or word. For example, the text displayed in the target area is "Let's go watch a movie at night", then the target text information parsed by the mobile terminal based on the semantic parsing technology can include "we", "evening", "go", "see", " Movie "and" let's go. "
可以理解的是,即使采用现有的语义解析技术,对于从目标区域中解析得到的目标文本信息还与所采用的数据库数据有关联。例如,如果目标区域显示的文本为“那去看复仇者联盟”,而语义解析技术对应的数据库中并没有存储“复仇者联盟”,那么移动终端所解析目标区域的文本后得到的目标文本信息包括“那”、“去”、“看”、“复仇者”以及“联盟”,而如果数据库中存储有“复仇者联盟”,那么移动终端所解析目标区域的文本后得到的目标文本信息包括“那”、“去”、“看”、“复仇者联盟”。It can be understood that even if the existing semantic parsing technology is used, the target text information parsed from the target area is still related to the database data used. For example, if the text displayed in the target area is "Go to the Avengers", and the database corresponding to the semantic parsing technology does not store "Avengers", then the mobile terminal parses the text of the target area and obtains the target text information. Including "that", "go", "see", "Avenger" and "Union", and if "Avengers" is stored in the database, the target text information obtained after the text of the target area parsed by the mobile terminal includes "That", "Go", "Look", "Avengers".
其中,作为一种方式,按压操作可以为单触点的按压操作,也可以为多触点的按压操作。在为多触点的按压操作的情况下,那么所述目标区域至少包括所述多触点各自所在区域中最先检测到触点的区域,或者所述目标区域包括所述多触点各自所在的所有区域。如图5所示,以双指按压为例(即两个触点),在双指对应的两个触点131以及触点132,分别落在区域A 以及区域B的情况下,如果区域A为先检测到触点的区域,那么移动终端可以将区域A作为目标区域,从而使得不需要严格要求用户的双指都落在区域A内。另外,移动终端也可以将区域A和区域B均作为目标区域。Among them, as one mode, the pressing operation may be a single-contact pressing operation or a multi-contact pressing operation. In the case of a multi-contact pressing operation, then the target area includes at least the area where the contact is detected first among the areas where the multiple contacts are located, or the target area includes the areas where the multiple contacts are respectively located. All areas. As shown in FIG. 5, taking two-finger pressing as an example (that is, two contacts), in the case that the two contacts 131 and 132 corresponding to two fingers fall in areas A and B, respectively, if area A In order to detect the area of the touch point first, the mobile terminal may use area A as a target area, so that it is not necessary to strictly require that both fingers of the user fall within area A. In addition, the mobile terminal may use both the area A and the area B as target areas.
步骤S140:显示与所述目标文本信息相关联的信息。Step S140: Display information associated with the target text information.
作为一种方式,与所述目标文本信息相关联的信息包括所述目标文本信息本身。依然以上述内容为例,在解析得到目标文信息包括“我们”、“晚上”、“去”、“看”、“电影”以及“吧”的情况下,移动终端可以直接显示“我们”、“晚上”、“去”、“看”、“电影”以及“吧”等。在这种情况下,用户可以继续从“我们”、“晚上”、“去”、“看”、“电影”以及“吧”等信息中手动选择自己所需的文本进行翻译、搜索或者复制等操作。As one way, the information associated with the target text information includes the target text information itself. Still taking the above content as an example, in the case that the target text information includes "we", "evening", "go", "watching", "movie" and "bar", the mobile terminal can directly display "us", "Evening," "Going," "Watching," "Movie," and "Bar." In this case, the user can continue to manually select the text he needs from the information such as "us", "night", "go", "watch", "movie", and "bar" for translation, search, or copying, etc. operating.
再者,移动终端还可以进一步的对所解析得到的目标文本信息进行搜索,与得到除了目标文本信息以外与目标文本信息关联的信息。例如,以上述解析得到的“复仇者联盟”为例,移动终端在检索其为电影名称的情况下,可以显示该电影的简介信息,或者显示一购票软件的点击入口。可以理解的是,在用户点击该点击入口后,移动终端可以启动该购票软件,并且直接使购票软件直接显示“复仇者联盟”的购票页面,以便用户可以快速的购票。如图6所示,在以卡片显示与所述目标文本信息相关联的信息的情况下,可以通过卡片141来显示电影的简介信息,通过卡片142开显示购票软件TPP的点击入口。Furthermore, the mobile terminal may further search the parsed target text information and obtain information associated with the target text information in addition to the target text information. For example, taking the "Avengers Alliance" obtained by the analysis above as an example, when the mobile terminal retrieves the name of a movie, it can display the brief information of the movie, or display the click-through entrance of the ticket purchase software. It can be understood that after the user clicks the clicked entry, the mobile terminal can launch the ticket purchase software and directly cause the ticket purchase software to directly display the "Avengers" ticket purchase page, so that the user can quickly purchase tickets. As shown in FIG. 6, in a case where a card is used to display information associated with the target text information, the card profile information can be displayed through the card 141, and the click entry of the ticket purchase software TPP can be displayed through the card 142.
需要说明的是,类似图6所示,在目标文本信息有多个的情况下,对于不同目标文本信息对应的关联信息,或者是同一个目标文本信息对应的不同的多种关联信息,可以用多个卡片分别展示。It should be noted that, similar to that shown in FIG. 6, in the case where there is multiple target text information, for related information corresponding to different target text information, or different kinds of related information corresponding to the same target text information, you can use Multiple cards are displayed separately.
本申请提供的一种数据处理方法,在检测到有按压时长满足第一时长的按压操作后,显示表征所述预设按压操作从所述第一时长到触控时长更长的第二时长的变化情况的进度显示控件,在检测到所述按压操作的按压时长处于所述第二时长后,对目标区域显示的数据进行处理,以得到目标文本信息,并进一步显示与所述目标文本信息相关联的信息,从而使得在选取好目标区域,对目标区域显示的数据进行数据进行处理的过程中,对于用户的按压操作可以较为直观的进行显示,提升了用户体验。A data processing method provided in the present application, after detecting a pressing operation with a pressing duration that satisfies a first duration, displaying a data indicating a preset pressing operation from the first duration to a second duration with a longer touch duration. The progress display control of the changing situation, after detecting that the pressing time of the pressing operation is in the second time period, processes the data displayed in the target area to obtain the target text information, and further displays information related to the target text information Combined information, so that in the process of selecting the target area and processing the data displayed in the target area, the user's pressing operation can be displayed more intuitively, which improves the user experience.
请参阅图7,本申请提供的一种数据处理方法,应用于移动终端,所述方法包括:Please refer to FIG. 7, a data processing method provided in this application is applied to a mobile terminal, and the method includes:
步骤S210:检测对目标区域的按压操作。Step S210: Detect a pressing operation on the target area.
步骤S220:当检测有按压时长满足第一时长的按压操作后,显示进度显示控件,所述进度显示控件用于表征所述按压操作从所述第一时长到第二时长的进度情况,其中,所述第一时长短于所述第二时长。Step S220: When it is detected that the pressing duration meets the first duration of the pressing operation, a progress display control is displayed, where the progress displaying control is used to characterize the progress of the pressing operation from the first duration to the second duration, where: The first duration is shorter than the second duration.
步骤S230:检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息。Step S230: After detecting that the pressing operation satisfies the second duration, the data displayed in the target area is processed to obtain target text information.
步骤S240:检测与所述目标文本信息相关联的信息是否已经获取到。Step S240: It is detected whether information associated with the target text information has been acquired.
其中,与目标文本信息关联的信息可以在移动终端本地读取,也可以从网络中获取。在从本地读取的这种情况下,移动终端在本地查找到了与目标文本信息关联的信息,则判定已经获取到了与目标文本信息关联的信息。例如,得到的目标文本信息中包括“峨眉山”,那么在查找到本地存储的图片中查找到有关于峨眉山的信息的图片时,或者是查找到有关于峨眉山的文档时,则判定已经查找到与“峨眉山”关联的信息。The information associated with the target text information can be read locally on the mobile terminal or obtained from the network. In this case of reading from the local, the mobile terminal finds the information associated with the target text information locally, and determines that the information associated with the target text information has been acquired. For example, if the obtained target text information includes "Emeishan", then when a picture of information about Emeishan is found in the pictures stored locally, or when a document about Emeishan is found, it is determined that the "Emeishan" related information.
另外,对于从网络中获取与所述目标文本信息相关联的信息的情况下,可以基于所使用的网络协议来确定是否已经成功获取到与所述目标文本信息相关联的信息。例如,移动终端基于http协议或者https协议向网络请求数据的情况下,如果移动终端接收到网络返回响应头中包括200标识的响应头(表征从网络获取信息成功)时,判定与所述目标文本信息相关联的信息已经获取到。当然,除了http协议和https协议,移动终端还可以采用其他的私有协议或者公有协议,本申请不做具体的限定。In addition, in a case where information associated with the target text information is acquired from a network, whether the information associated with the target text information has been successfully acquired may be determined based on a network protocol used. For example, in a case where the mobile terminal requests data from the network based on the http protocol or the https protocol, if the mobile terminal receives a response header including a 200 identifier in the response header of the network (characterizing that the information is successfully obtained from the network), it determines that the target text is the same as the target text. The information associated with the information has been obtained. Of course, in addition to the http protocol and the https protocol, the mobile terminal may also use other private or public protocols, which are not specifically limited in this application.
步骤S250:若还未获取到,显示预设加载画面。Step S250: If it has not been obtained, a preset loading screen is displayed.
步骤S260:若已经获取到,执行所述显示与所述目标文本信息相关联的信息。Step S260: if it has been obtained, execute displaying the information associated with the target text information.
需要说明的是,除了本申请提供的对目标区域的文本进行分词提取外,目标区域还可以响应于其他的触控手势。例如,在一些移动终端终端配置有按压目标区域实现对目标区域的文本进行全选或者复制等基本操作功能。为了便于将本申请提供的对目标区域的解析并拆分提取目标文本信息的功能与前述的基本操作功能进行区分,移动终端可以对于上述两种功能配置不同的触控响应时长或者力度等参数。例如,在本申请提供的方案中,在检测到按压操作满足第一时长后,才会继续后续的步骤,那么可以将前述基本功能的按压响应时长配置为低于所述第一时长。那么在这种情况下,移动终端检测到用户按压了tms(t短于本申请中所提起的第一时长)后,按压操作消失,那么移动终端判定用户所需要的为前述的直接对按压区域的文本执行基础功能,而移动终端检测到用户的按压超过了前述的tms,并继续按压到满足前述第一时长后,则可以判定用户期望获得的是本申请进一步提供的拆分目标区域的文本,得到目标文本信息,再进行搜索显示的功能。It should be noted that in addition to the word segmentation extraction of the text of the target area provided in the present application, the target area may also respond to other touch gestures. For example, some mobile terminals are configured with basic operation functions such as pressing the target area to select all or copying text in the target area. In order to distinguish the function of parsing and extracting target text information provided by the present application from the basic operation function described above, the mobile terminal may configure different touch response time or strength parameters for the above two functions. For example, in the solution provided in this application, the subsequent steps will not be continued until it is detected that the pressing operation satisfies the first duration, and then the pressing response duration of the aforementioned basic function may be configured to be lower than the first duration. Then in this case, after the mobile terminal detects that the user has pressed tms (t is shorter than the first duration mentioned in this application), the pressing operation disappears, then the mobile terminal determines that what the user needs is the aforementioned direct-to-press area The text executes the basic function, and the mobile terminal detects that the user's pressing exceeds the aforementioned tms, and continues to press until the aforementioned first time period is satisfied, then it can be determined that the user expects to obtain the text of the split target area further provided by this application , Get the target text information, and then search and display the function.
再者,作为另外一种方式,可以在检测到所述按压操作满足所述第二时长的同时,检测未显示文本的区域是否也会有检测到按压操作,如果有,则再继续对所述目标区域显示的数据进行处理,以得到目标文本信息。因为,用户在使用基础功能时,会直接按压期望基础功能所作用的文本区域,而不会去按压未显示文本的区域,从而可以通过检测用户是否同时按压了未显示文本的区域来实现移动终端便捷的识别用户所要使用的是原本的基础功能,还是本申请提供的功能。Furthermore, as another way, it can be detected whether the pressing operation is also detected in the area where the text is not displayed while detecting that the pressing operation satisfies the second duration, and if there is, the operation is continued on the The data displayed in the target area is processed to obtain the target text information. Because when the user uses the basic function, the user directly presses the text area where the basic function is expected, instead of pressing the area where the text is not displayed, so that the mobile terminal can be implemented by detecting whether the user presses the area where the text is not displayed at the same time Conveniently identify whether the user wants to use the original basic functions or the functions provided by this application.
本申请提供的一种数据处理方法,在检测到有按压时长满足第一时长的按压操作后,显示表征所述预设按压操作从所述第一时长到触控时长更长的第二时长的变化情况的进度显示控件,在检测到所述按压操作的按压时长处于所述第二时长后,对目标区域显示的数据进行处理,以得到目标文本信息,并进一步显示与所述目标文本信息相关联的信息,从而使得在选取好目标区域,对目标区域显示的数据进行数据进行处理的过程中,对于用户的按压操作可以较为直观的进行显示,提升了用户体验。并且,在显示与所述目标文本信息相关联的信息的过程中,可以显示用于过度的预设加载画面,进一步的提升了用户体验。A data processing method provided in the present application, after detecting a pressing operation with a pressing duration that satisfies a first duration, displaying a data indicating a preset pressing operation from the first duration to a second duration with a longer touch duration. The progress display control of the changing situation, after detecting that the pressing time of the pressing operation is in the second time period, processes the data displayed in the target area to obtain the target text information, and further displays information related to the target text information Combined information, so that in the process of selecting the target area and processing the data displayed in the target area, the user's pressing operation can be displayed more intuitively, which improves the user experience. In addition, in the process of displaying the information associated with the target text information, a preset loading screen for excessive loading may be displayed, which further improves the user experience.
请参阅图8,本申请提供的一种数据处理装置300,运行于移动终端,所述装置300,包括:触控检测单元310、进度显示控件控制单元320、数据获取单元330以及信息显示单元340。Referring to FIG. 8, a data processing device 300 provided in the present application runs on a mobile terminal. The device 300 includes a touch detection unit 310, a progress display control unit 320, a data acquisition unit 330, and an information display unit 340. .
触控检测单元310,检测对目标区域的按压操作。The touch detection unit 310 detects a pressing operation on a target area.
作为一种方式,所述按压操作为多触点的按压操作,所述目标区域至少包括所述多触点各自所在区域中最先检测到触点的区域。作为另外一种方式,所述目标区域包括所述多触点各自所在的所有区域。As one mode, the pressing operation is a multi-contact pressing operation, and the target area includes at least an area where a contact is detected first among the areas where the multiple contacts are located. As another way, the target area includes all areas where the multi-contacts are located.
进度显示控件控制单元320,当检测有按压时长满足第一时长的按压操作后,显示进度显示控件,所述进度显示控件用于表征所述按压操作从所述第一时长到第二时长的进度情况,其中,所述第一时长短于所述第二时长。The progress display control control unit 320 displays a progress display control after detecting that the pressing time meets the pressing operation of the first duration, and the progress display control is used to represent the progress of the pressing operation from the first duration to the second duration. A situation, wherein the first duration is shorter than the second duration.
数据获取单元330,检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息。The data obtaining unit 330, after detecting that the pressing operation satisfies the second duration, processes the data displayed in the target area to obtain target text information.
信息显示单元340,显示与所述目标文本信息相关联的信息。The information display unit 340 displays information associated with the target text information.
请参阅图9,本申请提供的一种数据处理装置400,运行于移动终端,所述装置400,包括:触控检测单元410、进度显示控件控制单元420、数据获取单元430、显示控制单元440以及信息显示单元450。Referring to FIG. 9, a data processing device 400 provided in the present application runs on a mobile terminal. The device 400 includes a touch detection unit 410, a progress display control unit 420, a data acquisition unit 430, and a display control unit 440. And an information display unit 450.
其中,触控检测单元410,用于检测作用于目标区域的按压操作。The touch detection unit 410 is configured to detect a pressing operation acting on a target area.
进度显示控件控制单元420,用于当检测有按压时长满足第一时长的按压操作后,显示进度显示控件,所述进度显示控件用于表征所述按压操作从所述第一时长到第二时长的进度情况,其中,所述第一时长短于所述第二时长。A progress display control control unit 420 is configured to display a progress display control after detecting a pressing operation that meets the first duration, and the progress display control is used to represent the pressing operation from the first duration to the second duration. , Wherein the first duration is shorter than the second duration.
进度显示控件控制单元420,用于检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息。The progress display control control unit 420 is configured to process the data displayed in the target area after detecting that the pressing operation satisfies the second duration to obtain target text information.
触控检测单元410,还用于检测所述按压操作是否有超过预设幅度的位移;The touch detection unit 410 is further configured to detect whether the pressing operation has a displacement exceeding a preset amplitude;
数据获取单元430,用于触控检测单元410检测到所述按压操作是没有超过预设幅度的位移后,检测到所述按压操作处于所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息。A data acquisition unit 430, configured to display data displayed on the target area after detecting that the pressing operation is within the second duration after the touch detection unit 410 detects that the pressing operation does not exceed a preset amplitude; Process to get target text information.
显示控制单元440,用于检测与所述目标文本信息相关联的信息是否已经获取到A display control unit 440, configured to detect whether information associated with the target text information has been acquired
信息显示单元450,用于若显示控制单元440检测到已经获取到与所述目标文本信息相关联的信息后,显示与所述目标文本信息相关联的信息。The information display unit 450 is configured to display the information associated with the target text information if the display control unit 440 detects that the information associated with the target text information has been acquired.
信息显示单元450,用于若显示控制单元440检测到还未获取到与所述目标文本信息相关联的信息后,显示预设加载画面。The information display unit 450 is configured to display a preset loading screen if the display control unit 440 detects that information associated with the target text information has not been acquired.
需要说明的是,本申请中所提起的具体数据,例如第一时间阈值为150ms,该第二时间阈值为350ms等数据只是示例性的,本申请不做具体限定。It should be noted that the specific data mentioned in the present application, for example, the first time threshold is 150 ms, and the second time threshold is 350 ms. The data is exemplary only, and is not specifically limited in this application.
综上所述,本申请提供的一种数据处理方法、装置、移动终端以及存储介质,在检测到有按压时长满足第一时长的按压操作后,显示表征所述预设按压操作从所述第一时长到触控时长更长的第二时长的变化情况的进度显示控件,在检测到所述按压操作的按压时长处于所述第二时长后,对目标区域显示的数据进行处理,以得到目标文本信息,并进一步显示与所述目标文本信息相关联的信息,从而使得在选取好目标区域,对目标区域显示的数据进行数据进行处理的过程中,对于用户的按压操作可以较为直观的进行显示,提升了用户体验。In summary, a data processing method, device, mobile terminal, and storage medium provided in this application, after detecting a pressing operation with a pressing duration that satisfies the first duration, display indicating that the preset pressing operation is from the first A progress display control that changes from a time period to a second time period with a longer touch time period. After detecting that the pressing time period of the pressing operation is within the second time period, the data displayed in the target area is processed to obtain the target. Text information, and further display information associated with the target text information, so that in the process of selecting the target area and processing the data displayed in the target area, the user's pressing operation can be displayed more intuitively To improve the user experience.
下面将结合图10以及图11对本申请提供的一种移动终端进行说明。A mobile terminal provided in the present application will be described below with reference to FIG. 10 and FIG. 11.
请参阅图10,基于上述的数据处理方法、装置,本申请实施例还提供一种可以执行前述数据处理方法的移动终端100。移动终端100包括电子本体部10,所述电子本体部10包括壳体12及设置在所述壳体12上的第一屏幕120。所述壳体12可采用金属、如钢材、铝合金制成。本实施例中,所述第一屏幕120以及第二屏幕121通常包括显示面板111,也可包括用于响应对所述显示面板111进行按压操作的电路等。所述显示面板111可以为一个液晶显示面板(Liquid Crystal Display,LCD),在一些实施例中,所述显示面板111同时为一个触摸屏109。Referring to FIG. 10, based on the foregoing data processing method and device, 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. In this embodiment, 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 pressing 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.
如图11所示,在实际的应用场景中,所述移动终端100可作为智能手机终端进行使用,在这种情况下所述电子本体部10通常还包括一个或多个(图中仅示出一个)处理器102、存储器104、RF(Radio Frequency,射频)模块106、音频电路110、传感器114、输入模块118、电源模块122。本领域普通技术人员可以理解,本申请并不对所述电子本体部10的结构造成限定。例如,所述电子本体部10还可包括比图中所示更多或者更少的组件,或者具有与图中所示不同的配置。As shown in FIG. 11, in an actual application scenario, the mobile terminal 100 can be used as a smart phone terminal. In this case, 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. Those skilled in the art can understand that the present application does not limit the structure of the electronic body portion 10. For example, 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.
本领域普通技术人员可以理解,相对于所述处理器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内或者相应的外设内。Those of ordinary skill in the art can understand that, with respect to the processor 102, all other components are peripherals, and the processor 102 and these peripherals are coupled through multiple peripheral interfaces 124. The 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. In some examples, 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. A display controller of 111 or a memory controller for connecting a memory. In addition, these controllers can also be separated from the peripheral interface 124 and integrated into the processor 102 or a corresponding peripheral.
所述存储器104可用于存储软件程序以及模块,所述处理器102通过运行存储在所述存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理。例如,存储器104中可以存储有数据处理装置。该数据处理装置可以为前述的装置300或者装置400。所述存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,所述存储器104可进一步包括相对于所述处理器102远程设置的存储器,这些远程存储器可以通过网络连接至所述电子本体部10 或所述第一屏幕120。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。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. For example, 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. In some examples, 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.
所述无线模块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)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。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 Protocol (VoIP), Worldwide Interoperability for Microwave Access (Wi-Max), other protocols for email, instant messaging, and short messaging, and any other suitable communication protocol, even those that have not yet been developed.
音频电路110、扬声器101、声音插孔103、麦克风105共同提供用户与所述电子本体部10或所述第一屏幕120之间的音频接口。具体地,所述音频电路110从所述处理器102处接收声音数据,将声音数据转换为电信号,将电信号传输至所述扬声器101。所述扬声器101将电信号转换为人耳能听到的声波。所述音频电路110还从所述麦克风105处接收电信号,将电信号转换为声音数据,并将声音数据传输给所述处理器102以进行进一步的处理。音频数据可以从所述存储器104处或者通过所述无线模块106获取。此外,音频数据也可以存储至所述存储器104中或者通过所述无线模块106进行发送。该无线模块106可以为蓝牙通信模块、WIFI通信模块或者支持其他无线通信协议的模块。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. Specifically, 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.
所述传感器114设置在所述电子本体部10内或所述第一屏幕120内,所述传感器114的实例包括但并不限于:光传感器、运行传感器、压力传感器、红外热传感器、距离传感器、重力加速度传感器、以及其他传感器。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.
具体地,所述光传感器可包括光线传感器114F、压力传感器114G。其中,压力传感器114G可以检测由按压在移动终端100产生的压力的传感器。即,压力传感器114G检测由用户和移动终端之间的接触或按压产生的压力,例如由用户的耳朵与移动终端之间的接触或按压产生的压力。因此,压力传感器114G可以用来确定在用户与移动终端100之间是否发生了接触或者按压,以及压力的大小。Specifically, the light sensor may include a light sensor 114F and a pressure sensor 114G. Among them, 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.
请再次参阅图11,具体地在图11所示的实施例中,所述光线传感器114F及所述压力传感器114G邻近所述显示面板111设置。所述光线传感器114F可在有物体靠近所述第一屏幕120时,例如所述电子本体部10移动到耳边时,所述处理器102关闭显示输出。Please refer to FIG. 11 again. Specifically, in the embodiment shown in FIG. 11, 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.
作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别所述移动终端100姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。另外,所述电子本体部10还可配置陀螺仪、气压计、湿度计、温度计等其他传感器,在此不再赘述,As a type of motion sensor, 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 stationary, and can be used to identify the attitude 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. In addition, 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.
本实施例中,所述输入模块118可包括设置在所述第一屏幕120上的所述触摸屏109,所述触摸屏109可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在所述触摸屏109上或在所述触摸屏109附近的操作),并根据预先设定的程序驱动相应的连接装置。可选的,所述触摸屏109可包括触摸检测装置和触摸控制器。其中,所述触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给所述触摸控制器;所述触摸控制器从所述触摸检测装置上接收触摸信息,并将该触摸信息转换成触 点坐标,再送给所述处理器102,并能接收所述处理器102发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多分类型实现所述触摸屏109的触摸检测功能。除了所述触摸屏109,在其它变更实施方式中,所述输入模块118还可以包括其他输入设备,如按键。所述按键例如可包括用于输入字符的字符按键,以及用于触发控制功能的控制按键。所述控制按键的实例包括“返回主屏”按键、开机/关机按键等等。In this embodiment, 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, etc.). 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. Optionally, 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. In addition, 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. In addition to the touch screen 109, in other modified embodiments, 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.
所述第一屏幕120用于显示由用户输入的信息、提供给用户的信息以及所述电子本体部10的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、数字、视频和其任意组合来构成,在一个实例中,所述触摸屏109可设置于所述显示面板111上从而与所述显示面板111构成一个整体。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. In one example, the touch screen 109 may be disposed on the display panel 111 so as to form a whole with the display panel 111.
所述电源模块122用于向所述处理器102以及其他各组件提供电力供应。具体地,所述电源模块122可包括电源管理***、一个或多个电源(如电池或者交流电)、充电电路、电源失效检测电路、逆变器、电源状态指示灯以及其他任意与所述电子本体部10或所述第一屏幕120内电力的生成、管理及分布相关的组件。The power module 122 is configured to provide power to the processor 102 and other components. Specifically, 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.
所述移动终端100还包括***119,所述***119用于确定所述移动终端100所处的实际位置。本实施例中,所述***119采用定位服务来实现所述移动终端100的定位,所述定位服务,应当理解为通过特定的定位技术来获取所述移动终端100的位置信息(如经纬度坐标),在电子地图上标出被定位对象的位置的技术或服务。The mobile terminal 100 further includes a locator 119, which is configured to determine an actual location where the mobile terminal 100 is located. In this embodiment, 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.
应当理解的是,上述的移动终端100并不局限于智能手机终端,其应当指可以在移动中使用的计算机设备。具体而言,移动终端100,是指搭载了智能操作***的移动计算机设备,移动终端100包括但不限于智能手机、智能手表、平板电脑,等等。It should be understood that 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.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, the description with reference to the terms “one embodiment”, “some embodiments”, “examples”, “specific examples”, or “some examples” and the like means specific features described in conjunction with the embodiments or examples , Structure, materials, or features are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. In addition, without any contradiction, those skilled in the art may combine and combine different embodiments or examples and features of the different embodiments or examples described in this specification.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "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 And, 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.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行***、装置或设备(如基于计算机的***、包括处理器的***或其他可以从指令执行***、装置或设备取指令并执行指令的***)使用,或结合这些指令执行***、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行***、装置或设备或结合这些指令执行***、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(移动终端),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以 例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and / or steps represented in the flowchart or otherwise described herein, for example, a sequenced list of executable instructions that can be considered to implement a logical function, can be embodied in any computer-readable medium, For 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. For the purposes of this specification, 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. More specific examples (non-exhaustive list) of 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). In addition, 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.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行***执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the application may be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods may be implemented by software or firmware stored in a memory and executed by 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.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。A person of ordinary skill in the art can understand that all or part of the steps carried by the methods in the foregoing embodiments may be implemented by a program instructing related hardware. The program may be stored in a computer-readable storage medium. The program is When executed, one or a combination of the steps of the method embodiment is included. In addition, 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. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application. Those skilled in the art can interpret the above within the scope of the present application. Embodiments are subject to change, modification, substitution, and modification.
请参考图12,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 12, which 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.
计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。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. Optionally, 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.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still Modifications to the technical solutions described in the foregoing embodiments, or equivalent replacements of some of the technical features thereof; and these modifications or replacements do not drive the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种数据处理方法,其特征在于,应用于移动终端,所述方法,包括:A data processing method, which is applied to a mobile terminal, and the method includes:
    检测对目标区域的按压操作;Detecting a pressing operation on a target area;
    当检测有按压时长满足第一时长的按压操作后,显示进度显示控件,所述进度显示控件用于表征所述按压操作从所述第一时长到第二时长的进度情况,其中,所述第一时长短于所述第二时长;When it is detected that the pressing time meets the pressing operation of the first time, a progress display control is displayed, and the progress display control is used to represent the progress of the pressing operation from the first time to the second time, wherein the first One duration is shorter than the second duration;
    检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息;After detecting that the pressing operation satisfies the second duration, processing the data displayed in the target area to obtain target text information;
    显示与所述目标文本信息相关联的信息。Displaying information associated with the target text information.
  2. 根据权利要求1所述的方法,其特征在于,所述按压操作为多触点的按压操作,所述目标区域至少包括所述多触点各自所在区域中最先检测到触点的区域。The method according to claim 1, wherein the pressing operation is a pressing operation of multiple contacts, and the target area includes at least an area where a contact is detected first among the areas where the multiple contacts are located.
  3. 根据权利要求2所述的方法,其特征在于,所述目标区域包括所述多触点各自所在的所有区域。The method according to claim 2, wherein the target area includes all areas where the multi-contacts are respectively located.
  4. 根据权利要求1所述的方法,其特征在于,所述显示与所述目标文本信息相关联的信息的步骤之前还包括:The method according to claim 1, wherein before the step of displaying information associated with the target text information further comprises:
    检测与所述目标文本信息相关联的信息是否已经获取到;Detecting whether information associated with the target text information has been acquired;
    若已经获取到,执行所述显示与所述目标文本信息相关联的信息。If it has been obtained, executing displaying the information associated with the target text information.
    若还未获取到,显示预设加载画面。If it has not been obtained, the preset loading screen is displayed.
  5. 根据权利要求1所述的方法,其特征在于,所述检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息的步骤之前还包括:The method according to claim 1, wherein after detecting that the pressing operation satisfies the second duration, processing the data displayed in the target area to obtain target text information further comprises :
    检测所述按压操作是否有超过预设幅度的位移;Detecting whether the pressing operation has a displacement exceeding a preset amplitude;
    若检测到所述按压操作没有超过预设幅度的位移,执行所述检测到所述按压操作满足所述第二时长后,对目标区域显示的数据进行处理,以得到目标文本信息;If it is detected that the pressing operation does not exceed a preset range of displacement, after performing the detecting that the pressing operation satisfies the second duration, processing the data displayed in the target area to obtain target text information;
    若检测到所述按压操作有超过预设幅度的位移,结束流程。If it is detected that the pressing operation has a displacement exceeding a preset amplitude, the process ends.
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    检测到所述按压操作满足所述第二时长后,取消显示所述进度显示控件。After detecting that the pressing operation satisfies the second duration, the display of the progress display control is cancelled.
  7. 根据权利要求1-6任一所述的方法,其特征在于,所述显示与所述目标 文本信息相关联的信息的步骤包括:The method according to any one of claims 1-6, wherein the step of displaying information associated with the target text information comprises:
    显示所述目标文本信息。Displaying the target text information.
  8. 根据权利要求7所述的方法,其特征在于,所述显示与所述目标文本信息相关联的信息的步骤还包括:The method according to claim 7, wherein the step of displaying information associated with the target text information further comprises:
    对所解析得到的目标文本信息进行搜索,得到除了所述目标文本信息以外与所述目标文本信息关联的信息;Searching the parsed target text information to obtain information associated with the target text information in addition to the target text information;
    显示所述除了所述目标文本信息以外与所述目标文本信息关联的信息。Displaying the information associated with the target text information in addition to the target text information.
  9. 根据权利要求8所述的方法,其特征在于,所述对所解析得到的目标文本信息进行搜索的步骤包括:The method according to claim 8, wherein the step of searching the parsed target text information comprises:
    在本地对所解析得到的目标文本信息进行搜索,或者从网络中对所解析得到的目标文本信息进行搜索。Search the parsed target text information locally, or search the parsed target text information from the network.
  10. 根据权利要求9所述的方法,其特征在于,所述从网络中对所解析得到的目标文本信息进行搜索的步骤包括:The method according to claim 9, wherein the step of searching the parsed target text information from the network comprises:
    基于http协议、https协议或者私有协议从网络中对所解析得到的目标文本信息进行搜索。Search the parsed target text information from the network based on http protocol, https protocol or private protocol.
  11. 根据权利要求1-10任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-10, wherein the method further comprises:
    当检测有按压操作,且按压时长的时长不满足第一时长后,对所述按压区域的文本执行基本操作功能,其中,所述基本操作功能包括全选或者复制操作。When a pressing operation is detected and the pressing time does not satisfy the first time duration, a basic operation function is performed on the text in the pressing area, wherein the basic operation function includes a full selection or a copy operation.
  12. 根据权利要求1-11任一所述的方法,其特征在于,所述检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息的步骤包括:The method according to any one of claims 1 to 11, wherein after detecting that the pressing operation satisfies the second duration, the data displayed in the target area is processed to obtain target text information. The steps include:
    检测到所述按压操作满足所述第二时长后,检测未显示文本的区域是否有检测到按压操作;After detecting that the pressing operation satisfies the second duration, detecting whether a pressing operation is detected in an area where no text is displayed;
    若检测未显示文本的区域有检测到按压操作,对所述目标区域显示的数据进行处理,以得到目标文本信息。If a pressing operation is detected in an area where no text is displayed, the data displayed in the target area is processed to obtain target text information.
  13. 根据权利要求1-11任一所述的方法,其特征在于,所述检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息的步骤还包括:The method according to any one of claims 1 to 11, wherein after detecting that the pressing operation satisfies the second duration, the data displayed in the target area is processed to obtain target text information. The steps also include:
    若检测未显示文本的区域未检测到按压操作,对所述按压区域的文本执行基本操作功能,其中,所述基本操作功能包括全选或者复制操作。If no pressing operation is detected in an area where no text is displayed, a basic operation function is performed on the text in the pressed area, where the basic operation function includes a select all or copy operation.
  14. 根据权利要求1-13任一所述的方法,其特征在于,所述第一时长和第 二时长的长度由用户配置。The method according to any one of claims 1 to 13, wherein the lengths of the first duration and the second duration are configured by a user.
  15. 根据权利要求1-14任一所述的方法,其特征在于,所述进度显示控件通过显示百分比的方式表征所述按压操作从所述第一时长到第二时长的进度情况。The method according to any one of claims 1 to 14, wherein the progress display control characterizes a progress of the pressing operation from the first duration to the second duration by displaying a percentage.
  16. 根据权利要求1-5任一所述的方法,其特征在于,所述进度显示控件通过自身的长度变化表征所述按压操作从所述第一时长到第二时长的进度情况。The method according to any one of claims 1-5, wherein the progress display control characterizes a progress situation of the pressing operation from the first duration to the second duration through a change in length of itself.
  17. 一种数据处理装置,其特征在于,运行于移动终端,所述装置,包括:A data processing device, characterized in that it runs on a mobile terminal, and the device includes:
    触控检测单元,检测对目标区域的按压操作;A touch detection unit that detects a pressing operation on a target area;
    进度显示控件控制单元,当检测有按压时长满足第一时长的按压操作后,显示进度显示控件,所述进度显示控件用于表征所述按压操作从所述第一时长到第二时长的进度情况,其中,所述第一时长短于所述第二时长;The progress display control control unit displays a progress display control after detecting that the pressing time meets the first time pressing operation, and the progress display control is used to represent the progress of the pressing operation from the first time period to the second time period. , Wherein the first duration is shorter than the second duration;
    数据获取单元,检测到所述按压操作满足所述第二时长后,对所述目标区域显示的数据进行处理,以得到目标文本信息;A data acquiring unit, after detecting that the pressing operation satisfies the second duration, processing the data displayed in the target area to obtain target text information;
    信息显示单元,显示与所述目标文本信息相关联的信息。An information display unit displays information associated with the target text information.
  18. 根据权利要求17所述的装置,其特征在于,所述按压操作为多触点的按压操作,所述目标区域至少包括所述多触点各自所在区域中最先检测到触点的区域。The device according to claim 17, wherein the pressing operation is a pressing operation of multiple contacts, and the target area includes at least an area in which the contacts are detected first among the areas where the multiple contacts are located.
  19. 一种移动终端,其特征在于,包括一个或多个处理器以及存储器;A mobile terminal, comprising one or more processors and a memory;
    一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行权利要求1-16任一所述的方法。One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs are configured to execute claim 1 -16 Any of the methods described.
  20. 一种存储有处理器可执行的程序代码的计算机可读存储介质,其特征在于,所述计算机可读取存储介质包括存储的程序,其中,在所述程序被处理器运行时执行权利要求1-16任一所述的方法。A computer-readable storage medium storing program code executable by a processor, wherein the computer-readable storage medium includes a stored program, wherein when the program is run by a processor, claim 1 is executed. -16 Any of the methods described.
PCT/CN2019/088869 2018-05-29 2019-05-28 Data processing method and device, mobile terminal and storage medium WO2019228370A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810571777.1 2018-05-29
CN201810571777.1A CN109032465B (en) 2018-05-29 2018-05-29 Data processing method and device and mobile terminal

Publications (1)

Publication Number Publication Date
WO2019228370A1 true WO2019228370A1 (en) 2019-12-05

Family

ID=64612283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/088869 WO2019228370A1 (en) 2018-05-29 2019-05-28 Data processing method and device, mobile terminal and storage medium

Country Status (2)

Country Link
CN (1) CN109032465B (en)
WO (1) WO2019228370A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032465B (en) * 2018-05-29 2020-09-22 Oppo广东移动通信有限公司 Data processing method and device and mobile terminal
CN109976869A (en) * 2019-04-29 2019-07-05 努比亚技术有限公司 A kind of operation progress control method, equipment and computer readable storage medium
CN111368562B (en) 2020-02-28 2024-02-27 北京字节跳动网络技术有限公司 Method and device for translating characters in picture, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885448A (en) * 2017-10-30 2018-04-06 努比亚技术有限公司 Using the control method of touch operation, mobile terminal and readable storage medium storing program for executing
CN109032465A (en) * 2018-05-29 2018-12-18 Oppo广东移动通信有限公司 Data processing method, device and mobile terminal

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8650507B2 (en) * 2008-03-04 2014-02-11 Apple Inc. Selecting of text using gestures
KR102013587B1 (en) * 2012-05-03 2019-08-23 엘지전자 주식회사 Mobile terminal and control method for the mobile terminal
KR101463086B1 (en) * 2013-01-18 2014-11-21 에스피테크놀러지 주식회사 Method of inputting command to multi-functional device
CN106293433A (en) * 2015-05-26 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105100492A (en) * 2015-08-11 2015-11-25 努比亚技术有限公司 Pressure feedback system and pressure feedback method
CN106951113A (en) * 2016-01-06 2017-07-14 中兴通讯股份有限公司 A kind of method for preventing misoperation and device
CN105677230A (en) * 2016-01-29 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Function control method and terminal
CN105867820A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Text editing method and device for touch screen
CN107291358A (en) * 2016-04-13 2017-10-24 腾讯科技(北京)有限公司 Content display control method, electronic equipment, and videoconference client
CN106210907A (en) * 2016-08-12 2016-12-07 乐视控股(北京)有限公司 File playing progress rate control method based on screen pressure sensitive, device and terminal
CN107256109B (en) * 2017-05-27 2021-03-16 北京小米移动软件有限公司 Information display method and device and terminal
CN108803961B (en) * 2018-05-24 2020-12-04 Oppo广东移动通信有限公司 Data processing method and device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885448A (en) * 2017-10-30 2018-04-06 努比亚技术有限公司 Using the control method of touch operation, mobile terminal and readable storage medium storing program for executing
CN109032465A (en) * 2018-05-29 2018-12-18 Oppo广东移动通信有限公司 Data processing method, device and mobile terminal

Also Published As

Publication number Publication date
CN109032465A (en) 2018-12-18
CN109032465B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
WO2019233212A1 (en) Text identification method and device, mobile terminal, and storage medium
WO2019233316A1 (en) Data processing method and device, mobile terminal, and storage medium
CN109101498B (en) Translation method and device and mobile terminal
CN109032491B (en) Data processing method and device and mobile terminal
US9921735B2 (en) Apparatuses and methods for inputting a uniform resource locator
CN108710458B (en) Split screen control method and terminal equipment
CN108536509B (en) Application body-splitting method and mobile terminal
WO2019165997A1 (en) Display method, device, mobile terminal and storage medium
CN108388671B (en) Information sharing method and device, mobile terminal and computer readable medium
WO2019228370A1 (en) Data processing method and device, mobile terminal and storage medium
CN108958576B (en) Content identification method and device and mobile terminal
CN109165292A (en) Data processing method, device and mobile terminal
WO2017161994A1 (en) Method and device for displaying page, and computer storage medium
WO2019201109A1 (en) Word processing method and apparatus, and mobile terminal and storage medium
CN108322602B (en) Method, terminal and computer readable storage medium for processing application no response
CN107992615B (en) Website recommendation method, server and terminal
CN108803961B (en) Data processing method and device and mobile terminal
WO2019223484A1 (en) Information display method and apparatus, and mobile terminal and storage medium
CN108664205A (en) Method for information display, device, mobile terminal and storage medium
CN109284146B (en) Light application starting method and mobile terminal
CN113325981A (en) Processing method, mobile terminal and storage medium
CN111142759B (en) Information sending method and electronic equipment
CN110175063B (en) Operation assisting method, device, mobile terminal and storage medium
CN108958578B (en) File control method and device and electronic device
CN108632822B (en) Wireless access point detection method and device and mobile terminal

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: 19811271

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: 19811271

Country of ref document: EP

Kind code of ref document: A1