CN111104570A - Data processing method, electronic device, and storage medium - Google Patents

Data processing method, electronic device, and storage medium Download PDF

Info

Publication number
CN111104570A
CN111104570A CN201911304827.0A CN201911304827A CN111104570A CN 111104570 A CN111104570 A CN 111104570A CN 201911304827 A CN201911304827 A CN 201911304827A CN 111104570 A CN111104570 A CN 111104570A
Authority
CN
China
Prior art keywords
data
target
interface
class data
target numerical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911304827.0A
Other languages
Chinese (zh)
Inventor
李新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911304827.0A priority Critical patent/CN111104570A/en
Publication of CN111104570A publication Critical patent/CN111104570A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a data processing method, electronic equipment and a storage medium. The method comprises the following steps: receiving a first operation aiming at target data in a first interface; the target data includes a plurality of target numerical class data; displaying a plurality of target numerical value class data in a second interface in response to the first operation; receiving operation symbols input by a user in a plurality of target numerical value class data; and operating the target numerical data according to the operation symbols to obtain an operation result. The embodiment of the invention can be utilized to quickly and accurately complete the operation.

Description

Data processing method, electronic device, and storage medium
Technical Field
Embodiments of the present invention relate to the field of electronic devices, and in particular, to a data processing device, an electronic device, and a storage medium.
Background
With the development of technology, electronic devices have become an indispensable part of users' lives; the calculator is a function commonly used in electronic equipment, and is convenient for a user to calculate simple operations.
At present, if a user needs to calculate data included in a document or a picture of an application program, switching between the application program and a calculator is needed, and each time the user needs to remember several sets of data and then input the data into the calculator; or, each time the user needs to copy a group of data and paste the data into the calculator until all the data are input into the calculator, the operation is troublesome and errors are easy to occur; especially, the data in the picture can only depend on the memory of the user, and then the data memorized by the user can only be manually input into the calculator, if the formats of some data are complicated or difficult, the user can easily forget the previously memorized data and the manual input is difficult when switching between the application program and the calculator; therefore, the operation is cumbersome and error-prone, and the user experience is poor.
Disclosure of Invention
Embodiments of the present invention provide a data processing method, an electronic device, and a storage medium, which can solve the problems that when target data in a first interface is calculated, only manual input and/or copy input is required, and operations are complicated and errors are prone to occur.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a data processing method, which is applied to an electronic device, and the data processing method includes:
receiving a first operation aiming at target data in a first interface; the target data includes a plurality of target numerical class data;
displaying a plurality of target numerical value class data in a second interface in response to the first operation;
receiving operation symbols input by a user in a plurality of target numerical value class data;
and operating the target numerical data according to the operation symbols to obtain an operation result.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the receiving module is used for receiving a first operation aiming at target data in a first interface; the target data includes a plurality of target numerical class data;
the display module is used for responding to the first operation and displaying a plurality of target numerical value class data in a second interface;
the receiving module is used for receiving operation symbols input by a user in a plurality of target numerical value class data;
and the processing module is used for operating the target numerical data according to the operation symbols to obtain an operation result.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the computer program implements the data processing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the data processing method according to the first aspect.
In the embodiment of the invention, the first operation aiming at the target data in the first interface is received, wherein the target data comprises a plurality of target numerical value class data; responding to the first operation, and displaying a plurality of target numerical value class data in a second interface; receiving operation symbols input by a user in a plurality of target numerical value class data; then, obtaining an operation result according to the operation symbol and the plurality of target numerical value class data; according to the embodiment of the invention, the operation can be accurately and quickly completed without repeatedly switching between the first interface and the second interface and manually or copying a plurality of target numerical data, the operation is simple, and the user experience is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a flowchart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a first data processing diagram according to an embodiment of the present invention;
FIG. 3 is a second data processing diagram according to an embodiment of the present invention;
FIG. 4 is a data processing diagram of the third embodiment of the present invention;
FIG. 5 is a data processing diagram of the present invention;
FIG. 6 is a schematic diagram of an electronic device provided by an embodiment of the invention;
fig. 7 is a schematic diagram of another electronic device provided in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a data processing method according to an embodiment of the present invention. As shown in fig. 1, the data processing method includes:
step 101: receiving a first operation aiming at target data in a first interface; the target data includes a plurality of target numerical class data;
step 102: displaying a plurality of target numerical value class data in a second interface in response to the first operation;
step 103: receiving operation symbols input by a user in a plurality of target numerical value class data;
step 104: and operating the target numerical data according to the operation symbols to obtain an operation result.
In the embodiment of the invention, the first operation aiming at the target data in the first interface is received, wherein the target data comprises a plurality of target numerical value class data; responding to the first operation, and displaying a plurality of target numerical value class data in a second interface; receiving operation symbols input by a user in a plurality of target numerical value class data; then, obtaining an operation result according to the operation symbol and the plurality of target numerical value class data; according to the embodiment of the invention, the operation can be accurately and quickly completed without repeatedly switching between the first interface and the second interface and manually or copying a plurality of target numerical data, the operation is simple, and the user experience is improved.
In the embodiment of the present invention, the receiving step 101 is to receive a first operation for target data in a first interface; the target data includes a plurality of target value class data including:
for each target numerical class data in the plurality of target numerical class data, a first operation of a user is received.
In one example, the first operation includes a gesture operation and a touch operation. The gesture operation includes, but is not limited to, clicking, dragging, zooming, and the like. The gesture operation can be divided into basic gesture operation and complex gesture operation; the basic gesture operation types comprise single-finger operation and two-finger operation; single finger operations include, but are not limited to, single click, double click, drag, etc.; the two-finger operation includes but is not limited to two-finger zoom-out, two-finger zoom-in, etc.; the complex gesture operation comprises a multi-finger operation, and the multi-finger operation comprises, but is not limited to, multi-finger kneading, zooming and the like. The touch operation includes, but is not limited to, a pressing operation and a sliding operation. The sliding operation is exemplified hereinafter.
In one example, the first interface in step 101 is an interface for displaying pictures or a chat interface 10 of a preset application (as shown in fig. 2).
In one example, each target value class data of the plurality of target value class data of step 101 includes at least one of:
capitalized values, lowercase values, emoticons, and punctuation.
It should be noted that, when each target value class data includes a plurality of upper case values and/or lower case values, the upper case values and the lower case values are displayed at intervals.
In an implementation of the present invention, after receiving a first operation performed by a user on a plurality of target value class data, the displaying the plurality of target value class data in a second interface in response to the first operation in step 102 includes:
and responding to each first operation, and displaying the target numerical value class data corresponding to each first operation on the second interface.
In fig. 2, a first operation of the user is received, and "17.8" is displayed on the second interface; and displaying the '22.3' on the second interface after receiving the first operation of the user.
It should be noted that the units of "17.8" and "22.3" are the same, and if the units are different, the units may be input according to the manner of inputting the operation sign, so that the units of the target numeric data are uniform and the operation is facilitated.
In an example, when the first operation is a first sliding operation, a sliding start position of the first sliding operation is located on the target data, and a sliding end position of the first sliding operation is located on the second interface, the displaying, in response to the first operation, the plurality of target numerical value class data in the second interface in step 102 specifically includes:
identifying a plurality of target numerical value class data from the target data in response to the first sliding operation;
and displaying a plurality of target numerical value class data in the second interface.
Wherein identifying a plurality of target value class data from the target data comprises:
and carrying out digital image processing and identification on the target data to identify a plurality of target numerical value class data.
It should be noted that the sliding start position of the first sliding operation may be located on the target data, and the sliding end position of the first sliding operation may be located on the second interface; the sliding start position of the first sliding operation may be located on the target data, and the sliding end position of the first sliding operation may be located on the second interface. Here, only the slide start position of the first slide operation is located on the target data, and the slide end position of the first slide operation is located on the second interface as an example.
In one example, the step 102 of displaying the plurality of target value class data on the second interface includes:
and displaying each target numerical value class data in the plurality of target numerical value class data in a floating icon mode on the second interface.
In fig. 2, "17.8" and "22.3" are displayed as floating icons on the second interface.
In one example, the second interface 20 (shown in FIG. 2) of step 102 is an interface with operations.
In one example, the second interface is a transparent interface.
In one example, prior to receiving the first operation on the target data in the first interface, the data processing method further comprises:
and displaying the second interface.
Wherein displaying a second interface comprises:
in response to receiving a third operation on the target icon, displaying a second interface (as shown in FIG. 3); wherein the target icon associated with the second interface is displayed on the first interface.
Wherein, in response to receiving a third operation on the target icon, displaying a second interface specifically includes:
clicking a target icon of a second interface in the menu bar by pulling down the menu bar, and highlighting the target icon after opening the second interface; or click on a target icon on the screen of the electronic device.
In one example, the third operation includes a gesture operation and a touch operation. The gesture operation includes, but is not limited to, clicking, dragging, zooming, and the like. The gesture operation can be divided into basic gesture operation and complex gesture operation; the basic gesture operation types comprise single-finger operation and two-finger operation; single finger operations include, but are not limited to, single click, double click, drag, etc.; the two-finger operation includes but is not limited to two-finger zoom-out, two-finger zoom-in, etc.; the complex gesture operation comprises a multi-finger operation, and the multi-finger operation comprises, but is not limited to, multi-finger kneading, zooming and the like. The touch operation includes, but is not limited to, a pressing operation and a sliding operation.
In one example, after displaying the second interface, the data processing method further includes:
in response to receiving the fourth operation on the target icon, hiding the second interface (as shown in FIG. 4).
In one example, the fourth operation includes a gesture operation and a touch operation. The gesture operation includes, but is not limited to, clicking, dragging, zooming, and the like. The gesture operation can be divided into basic gesture operation and complex gesture operation; the basic gesture operation types comprise single-finger operation and two-finger operation; single finger operations include, but are not limited to, single click, double click, drag, etc.; the two-finger operation includes but is not limited to two-finger zoom-out, two-finger zoom-in, etc.; the complex gesture operation comprises a multi-finger operation, and the multi-finger operation comprises, but is not limited to, multi-finger kneading, zooming and the like. The touch operation includes, but is not limited to, a pressing operation and a sliding operation.
In one example, after displaying the plurality of target numerical class data in the second interface, the data processing method includes:
receiving a second operation for a first target numerical class data of the plurality of target numerical class data;
in response to the second operation, the first target numerical class data is edited.
In one example, the second operation includes a gesture operation and a touch operation. The gesture operation includes, but is not limited to, clicking, dragging, zooming, and the like. The gesture operation can be divided into basic gesture operation and complex gesture operation; the basic gesture operation types comprise single-finger operation and two-finger operation; single finger operations include, but are not limited to, single click, double click, drag, etc.; the two-finger operation includes but is not limited to two-finger zoom-out, two-finger zoom-in, etc.; the complex gesture operation comprises a multi-finger operation, and the multi-finger operation comprises, but is not limited to, multi-finger kneading, zooming and the like. The touch operation includes, but is not limited to, a pressing operation and a sliding operation.
In one example, editing the first target numerical class data includes: and adjusting the position and the size of the first target numerical value data.
It should be noted that, after each time the first operation is performed, the displayed target value class data may be edited, or after the plurality of target value class data are displayed in the second interface in step 102, the plurality of target value class data may be edited.
In one example, after displaying the plurality of target numerical class data in the second interface, the data processing method further includes:
receiving a third operation for a second target numerical class data of the plurality of target numerical class data;
in response to the third operation, the second target numeric class data is deleted.
In one example, the third operation includes a gesture operation and a touch operation. The gesture operation includes, but is not limited to, clicking, dragging, zooming, and the like. The gesture operation can be divided into basic gesture operation and complex gesture operation; the basic gesture operation types comprise single-finger operation and two-finger operation; single finger operations include, but are not limited to, single click, double click, drag, etc.; the two-finger operation includes but is not limited to two-finger zoom-out, two-finger zoom-in, etc.; the complex gesture operation comprises a multi-finger operation, and the multi-finger operation comprises, but is not limited to, multi-finger kneading, zooming and the like. The touch operation includes, but is not limited to, a pressing operation and a sliding operation.
In one example, when the third operation is a third sliding operation, a sliding start position of the third sliding operation is located on the second interface, and a sliding end position of the third sliding operation is located on the target data, deleting the second target numerical class data in response to the third operation specifically includes:
in fig. 5, a third slide operation is performed on "22.3" in the first interface, and "22.3" on the second interface is deleted.
It should be noted that the sliding start position of the third sliding operation may be located on the target data, and the sliding end position of the third sliding operation may be located on the second interface; the sliding start position of the third sliding operation may be further located on the target data, and the sliding end position of the third sliding operation may be further located on the second interface. Here, it is exemplified that only the slide start position of the third slide operation is located on the target data, and the slide end position of the third slide operation is located on the second interface.
In the embodiment of the present invention, if the first operation is performed at least two times for the same target value class data, the data processing method further includes the following cases:
in the first case: when the target numerical value class data corresponding to the first operation is displayed after the first operation is executed for at least two times aiming at the same target numerical value class data, the same target numerical value class data is not displayed when the first operation is divided into at least two times.
In the second case: displaying the target numerical value class data every time the first operation is executed;
and detecting whether the target numerical value class data in the second interface is executed with the first operation at least twice, if so, deleting the rest target numerical value class data, and reserving the target numerical value class data corresponding to the first operation once. For example, two operations "17.8" are performed, where two "17.8" are displayed on the second interface; a "17.8" may be deleted according to a preset operation, such as a third sliding operation.
In the embodiment of the present invention, there is an interval between every two target value class data in the plurality of target value class data, and the receiving of the operation symbol input by the user in the plurality of target value class data in step 103 includes the following several cases:
in the first case: acquiring a handwriting mode, and inputting an operation symbol in each interval;
in the second case: and receiving the operation symbol selected by the user in the input method interface.
The input method interface can be an input method interface in a chat interface of a preset application program, and can also be an input method interface in a second interface.
In one example, the above-mentioned intervals include: split row and/or split symbol.
Wherein the separation symbols include, but are not limited to: and (4) blank spaces.
In fig. 2, the display is shown in "17.8" and "22.3" rows.
In one example, the operation symbol in step 103 is a symbol for performing an operation on a plurality of target numeric class data, such as "+", "-", "+" and "÷ for example.
In one example, after receiving the operator symbol input by the user in each interval, the data processing method further includes:
determining whether the operation symbol input in each interval is correct or not according to the operation rule of the operation symbol and the target numerical value class data adjacent to each interval;
generating prompt information under the condition that at least one operation symbol is an incorrect operation symbol, wherein the prompt information is used for prompting a user to input the correct operation symbol; and deleting incorrect operands.
Specifically, for any interval, determining whether the operation symbol input in the interval is correct according to the operation rule of the operation symbol and two target numerical value class data adjacent to the interval; when the operation symbol input in the interval is an incorrect operation symbol, prompt information is generated, and the prompt information is used for prompting a user to input the correct operation symbol in the interval and deleting the incorrect operation symbol before the correct operation symbol is input.
For example, if the operation symbol inputted in the interval is "÷" and the dividend cannot be "0" according to the operation rule of "÷", the electronic device generates a prompt message to prompt the user that the "÷" inputted in the interval is incorrect.
It should be noted that, at the same time or after the input of the operation symbol, the determination of whether the operation symbol input in each interval is correct or not according to the operation rule of the operation symbol and the target numerical value class data adjacent to each interval may be performed.
In the embodiment of the present invention, after receiving the operation symbols input by the user in the target numeric data, the operation on the target numeric data according to the operation symbols in step 104 to obtain the operation result includes:
receiving the 'answer' input by the user to obtain an operation result; alternatively, the first and second electrodes may be,
receiving preset operation of a user to obtain an operation result; the preset operation comprises gesture operation and touch operation. The gesture operation includes, but is not limited to, clicking, dragging, zooming, and the like. The gesture operation can be divided into basic gesture operation and complex gesture operation; the basic gesture operation types comprise single-finger operation and two-finger operation; single finger operations include, but are not limited to, single click, double click, drag, etc.; the two-finger operation includes but is not limited to two-finger zoom-out, two-finger zoom-in, etc.; the complex gesture operation comprises a multi-finger operation, and the multi-finger operation comprises, but is not limited to, multi-finger kneading, zooming and the like. Touch operation includes but is not limited to pressing operation and sliding operation;
or, after all the operation symbols are input, an operation result is obtained.
In the embodiment of the present invention, after step 104, the data processing method includes:
and displaying the operation result on the second interface.
Fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 1, the electronic device 60 includes:
a receiving module 601, configured to receive a first operation for target data in a first interface; the target data includes a plurality of target numerical class data;
a display module 602, configured to display, in response to the first operation, a plurality of target numerical class data in a second interface;
a receiving module 601, configured to receive operation symbols input by a user in multiple target numerical value class data;
the processing module 603 is configured to perform an operation on the multiple target numerical data according to the operation symbol to obtain an operation result.
In the embodiment of the invention, the first operation aiming at the target data in the first interface is received, wherein the target data comprises a plurality of target numerical value class data; responding to the first operation, and displaying a plurality of target numerical value class data in a second interface; receiving operation symbols input by a user in a plurality of target numerical value class data; then, obtaining an operation result according to the operation symbol and the plurality of target numerical value class data; according to the embodiment of the invention, the operation can be accurately and quickly completed without repeatedly switching between the first interface and the second interface and manually or copying a plurality of target numerical data, the operation is simple, and the user experience is improved.
Optionally, the display module 602 is further configured to: and displaying the operation result on the second interface.
Optionally, the first operation is a first sliding operation; the sliding starting position of the first sliding operation is positioned on the target data, and the sliding ending position of the first sliding operation is positioned on the second interface;
a display module 602, further configured to:
identifying a plurality of target numerical value class data from the target data in response to the first sliding operation;
and displaying a plurality of target numerical value class data in the second interface.
Optionally, the display module 602 is further configured to:
and displaying each target numerical value class data in the plurality of target numerical value class data in a floating icon mode on the second interface.
Optionally, the electronic device further includes:
the receiving module 601 is further configured to receive a second operation for a first target numerical class data in the plurality of target numerical class data;
and the editing module is used for responding to the second operation and editing the first target numerical value class data.
Optionally, after the displaying the plurality of target numerical class data in the second interface, the electronic device further includes:
receiving a third operation for a second target numerical class data of the plurality of target numerical class data;
in response to the third operation, the second target numeric class data is deleted.
Optionally, an interval exists between every two target value class data in the plurality of target value class data, and the receiving module is further configured to: and receiving the operation symbol input by the user in each interval.
Optionally, the electronic device further includes:
the determining module is used for determining whether the input operation symbol in each interval is correct or not according to the operation rule of the operation symbol and the target numerical value class data adjacent to each interval;
the generating module is used for generating prompt information under the condition that at least one operation symbol is an incorrect operation symbol, and the prompt information is used for prompting a user to input a correct operation symbol; and deleting incorrect operands.
Optionally, the receiving module 601 is further configured to:
and receiving the operation symbol selected by the user in the input method interface.
Optionally, the second interface is a transparent interface.
Optionally, a target icon associated with the second interface is displayed on the first interface; a display module 602, further configured to: and displaying a second interface in response to receiving a third operation on the target icon.
Optionally, the electronic device further includes:
and the hiding module is used for hiding the second interface in response to receiving the fourth operation on the target icon.
Optionally, the first interface is an interface for displaying a picture or a chat interface of a preset application program.
Optionally, each target value class data in the plurality of target value class data includes at least one of the following items:
capitalized values, lowercase values, emoticons, and punctuation.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
In the embodiment of the invention, the first operation aiming at the target data in the first interface is received, wherein the target data comprises a plurality of target numerical value class data; responding to the first operation, and displaying a plurality of target numerical value class data in a second interface; receiving operation symbols input by a user in a plurality of target numerical value class data; then, obtaining an operation result according to the operation symbol and the plurality of target numerical value class data; according to the embodiment of the invention, the operation can be accurately and quickly completed without repeatedly switching between the first interface and the second interface and manually or copying a plurality of target numerical data, the operation is simple, and the user experience is improved.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The radio frequency unit 701 is configured to receive a first operation for target data in a first interface; the target data includes a plurality of target numerical class data;
a display unit 706 for displaying a plurality of target numerical value class data in a second interface in response to the first operation;
the radio frequency unit 701 is further configured to receive operation symbols input by a user in the multiple target numerical value types of data;
and the processor 710 is configured to perform an operation on the target numeric data according to the operation symbol to obtain an operation result.
In the embodiment of the invention, the first operation aiming at the target data in the first interface is received, wherein the target data comprises a plurality of target numerical value class data; responding to the first operation, and displaying a plurality of target numerical value class data in a second interface; receiving operation symbols input by a user in a plurality of target numerical value class data; then, obtaining an operation result according to the operation symbol and the plurality of target numerical value class data; according to the embodiment of the invention, the operation can be accurately and quickly completed without repeatedly switching between the first interface and the second interface and manually or copying a plurality of target numerical data, the operation is simple, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby monitoring the whole electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program, when executed by the processor 710, implements each process of the data processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the data processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A data processing method applied to electronic equipment is characterized by comprising the following steps:
receiving a first operation aiming at target data in a first interface; the target data comprises a plurality of target numerical class data;
displaying the plurality of target numerical class data in a second interface in response to the first operation;
receiving operation symbols input by a user in the target numerical value class data;
and operating the target numerical value data according to the operation symbols to obtain an operation result.
2. The method of claim 1, wherein the first operation is a first sliding operation; the sliding starting position of the first sliding operation is located on the target data, and the sliding ending position of the first sliding operation is located on the second interface;
the displaying the plurality of target numerical class data in a second interface in response to the first operation includes:
identifying the plurality of target numerical class data from the target data in response to the first sliding operation;
displaying the plurality of target numerical class data in the second interface.
3. The method of claim 2, wherein said displaying the plurality of target numerical class data on the second interface comprises:
displaying each target numerical class data of the plurality of target numerical class data in a floating icon manner on the second interface.
4. The method according to claim 1 or 2, wherein there is a gap between every two target value class data in the plurality of target value class data, and receiving the operator input by the user in the plurality of target value class data comprises:
and receiving the operation symbols input by the user in each interval.
5. The method of claim 4, wherein after the operator symbol entered in each of the intervals, the method further comprises:
determining whether the operation symbol input in each interval is correct or not according to the operation rule of the operation symbol and the target numerical value class data adjacent to each interval;
generating prompt information under the condition that at least one operation symbol is an incorrect operation symbol, wherein the prompt information is used for prompting a user to input a correct operation symbol; and deleting the incorrect operand.
6. The method of claim 1, wherein the first interface is an interface for displaying pictures or a chat interface of a preset application program.
7. The method according to any one of claims 1 to 3, wherein each target numerical class data of the plurality of target numerical class data comprises at least one of:
capitalized values, lowercase values, emoticons, and punctuation.
8. An electronic device, comprising:
the receiving module is used for receiving a first operation aiming at target data in a first interface; the target data comprises a plurality of target numerical class data;
the display module is used for responding to the first operation and displaying the target numerical value class data in a second interface;
the receiving module is used for receiving operation symbols input by a user in the target numerical value class data;
and the processing module is used for calculating the target numerical data according to the operation symbols to obtain an operation result.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the data processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the data processing method according to any one of claims 1 to 7.
CN201911304827.0A 2019-12-17 2019-12-17 Data processing method, electronic device, and storage medium Pending CN111104570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911304827.0A CN111104570A (en) 2019-12-17 2019-12-17 Data processing method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911304827.0A CN111104570A (en) 2019-12-17 2019-12-17 Data processing method, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN111104570A true CN111104570A (en) 2020-05-05

Family

ID=70422509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911304827.0A Pending CN111104570A (en) 2019-12-17 2019-12-17 Data processing method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN111104570A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708473A (en) * 2020-05-25 2020-09-25 维沃移动通信有限公司 Operation control method and device of application program and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630481A (en) * 2015-04-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Data processing method, data processing device and terminal
CN105786767A (en) * 2016-03-11 2016-07-20 珠海格力电器股份有限公司 Data processing method and device for calculator application
CN107193773A (en) * 2017-04-20 2017-09-22 北京安云世纪科技有限公司 A kind of data processing method, device and mobile terminal
CN110383244A (en) * 2017-12-29 2019-10-25 华为技术有限公司 A kind of operation method and terminal of calculator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630481A (en) * 2015-04-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Data processing method, data processing device and terminal
CN105786767A (en) * 2016-03-11 2016-07-20 珠海格力电器股份有限公司 Data processing method and device for calculator application
CN107193773A (en) * 2017-04-20 2017-09-22 北京安云世纪科技有限公司 A kind of data processing method, device and mobile terminal
CN110383244A (en) * 2017-12-29 2019-10-25 华为技术有限公司 A kind of operation method and terminal of calculator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708473A (en) * 2020-05-25 2020-09-25 维沃移动通信有限公司 Operation control method and device of application program and electronic equipment
CN111708473B (en) * 2020-05-25 2022-02-18 维沃移动通信有限公司 Operation control method and device of application program and electronic equipment

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN107943390B (en) Character copying method and mobile terminal
CN108491149B (en) Split screen display method and terminal
CN111338530B (en) Control method of application program icon and electronic equipment
CN108132752B (en) Text editing method and mobile terminal
CN110007835B (en) Object management method and mobile terminal
CN109491738B (en) Terminal device control method and terminal device
CN111142723B (en) Icon moving method and electronic equipment
CN110196668B (en) Information processing method and terminal equipment
WO2020001358A1 (en) Icon sorting method and terminal device
CN108646960B (en) File processing method and flexible screen terminal
CN111610904B (en) Icon arrangement method, electronic device and storage medium
CN108763540B (en) File browsing method and terminal
CN107783747B (en) Interface display processing method and mobile terminal
CN109683802B (en) Icon moving method and terminal
CN110795189A (en) Application starting method and electronic equipment
CN111352892B (en) Operation processing method and electronic equipment
CN110703972A (en) File control method and electronic equipment
CN111124231B (en) Picture generation method and electronic equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN111694497B (en) Page combination method and electronic equipment
CN110221741B (en) Icon management method and terminal equipment
CN110007821B (en) Operation method and terminal equipment
CN108829306B (en) Information processing method and mobile terminal
CN108595104B (en) File processing method and terminal

Legal Events

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