CN111352892A - Operation processing method and electronic equipment - Google Patents
Operation processing method and electronic equipment Download PDFInfo
- Publication number
- CN111352892A CN111352892A CN202010137917.1A CN202010137917A CN111352892A CN 111352892 A CN111352892 A CN 111352892A CN 202010137917 A CN202010137917 A CN 202010137917A CN 111352892 A CN111352892 A CN 111352892A
- Authority
- CN
- China
- Prior art keywords
- calculation
- input
- symbol
- user
- receiving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/02—Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
- G06F15/0225—User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
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)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides an operation processing method and electronic equipment, and relates to the technical field of communication. The method comprises the following steps: receiving a first input of a user in the case that the current display interface includes a number; displaying the number and the calculation symbol in the same interface in response to the first input; receiving a second input of the number and/or the calculation symbol by the user; and responding to the second input, calculating the number through the calculation symbol, and displaying the calculation result. The scheme of the invention displays the numbers and the calculation symbols in the same interface, calculates the numbers by using the calculation symbols through the received operation of the user on the numbers and/or the calculation symbols, and displays the calculation results, and the current display interface to be calculated and the interface where the calculation symbols are positioned do not need to be repeatedly switched in the calculation process, so that the calculation is simpler and faster.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an operation processing method and an electronic device.
Background
At present, when a user calculates on an electronic device, the user generally needs to remember the number to be calculated by other devices or other methods, and then opens a calculator interface, and the calculation process needs to switch between an information interface to be calculated and the calculator interface, which is troublesome, especially when the number to be calculated is more, or the calculation amount is large, if the number is not remembered or the number is forgotten in the calculation process, the user needs to switch back to the original information interface to review the number, and then switch to the calculator interface to switch the display interface back and forth, which is tedious in operation and low in efficiency.
Disclosure of Invention
The embodiment of the invention provides an operation processing method and electronic equipment, and aims to solve the problems of complex operation and low calculation efficiency caused by switching a current display interface and a calculator interface back and forth in a calculation process in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an operation processing method applied to an electronic device, including:
receiving a first input of a user in the case that the current display interface includes a number;
displaying the number and the calculation symbol in the same interface in response to the first input;
receiving a second input of the number and/or the calculation symbol by the user;
and responding to the second input, calculating the number through the calculation symbol, and displaying the calculation result.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the first receiving module is used for receiving a first input of a user under the condition that the current display interface comprises numbers;
a first response module for displaying the number and the calculation symbol in the same interface in response to the first input;
a second receiving module for receiving a second input of the number and/or the calculation symbol by the user;
and the second response module is used for responding to the second input, calculating the number through the calculation symbol and displaying the calculation result.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the operation processing method described above.
In a fourth aspect, 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 the steps of the operation processing method described above.
Therefore, in the embodiment of the invention, the number and the calculation symbol are displayed in the same interface, the calculation symbol is used for calculating the number and displaying the calculation result through the received operation of the user on the number and/or the calculation symbol, and the current display interface to be calculated and the interface where the calculation symbol is positioned do not need to be repeatedly switched in the calculation process, so that the calculation is simpler and faster.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of an embodiment of a method for processing operations;
FIG. 2 shows one of the display diagrams of numbers and calculation symbols of an embodiment of the invention;
FIG. 3 is a second schematic illustration of the display of numbers and calculation symbols in accordance with an embodiment of the present invention;
FIG. 4 is a third schematic diagram showing the display of numbers and calculation symbols in accordance with an embodiment of the present invention;
FIG. 5 is a fourth illustration of the display of numbers and calculation symbols in accordance with an embodiment of the present invention;
FIG. 6 shows a fifth display of numbers and calculation symbols in accordance with an embodiment of the present invention;
FIG. 7 shows a block diagram of an electronic device of an embodiment of the invention;
fig. 8 is a schematic structural diagram of an electronic device according to an 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.
At present, in a process that a user uses a calculator in an electronic device, when the user needs to calculate information on the device, the calculator of the device may be turned on to perform calculation, for example; when a user pays according to a bill every month, if the total consumption is calculated by adding up the items, the user cannot complete consumption records, and needs to switch between a bill interface (for viewing the consumption records) and a calculator interface (for carrying out digital calculation), so that the operation is very inconvenient.
Therefore, the embodiment of the invention provides an operation processing method and electronic equipment, which do not need to repeatedly switch the current display interface to be calculated and the interface where the calculation symbol is located in the calculation process, so that the calculation is simpler and faster.
As shown in fig. 1, an embodiment of the present invention provides an operation processing method applied to an electronic device, including:
and 11, receiving a first input of a user under the condition that the current display interface comprises numbers.
Specifically, the current display interface may be an interface to be calculated that includes a number, and the current display interface includes a plurality of numbers. The first input can be a trigger operation of a user pressing a screen for a long time (for example, the pressing time exceeds 2s), sliding the screen, drawing a specific symbol (for example, J) on the screen, shaking, and performing a gesture.
And 11, responding to the first input, and displaying the number and the calculation symbol in the same interface.
Specifically, if the interface where the calculation symbol is located is a calculator interface, the number (which may be displayed in a floating manner and the transparency may be adjusted as needed) in the current display interface may be displayed in the calculator interface, or the calculation symbol (which may be displayed in a floating manner and the transparency may be adjusted as needed) in the calculator interface may be displayed in the current display interface; or, the whole calculator interface can be displayed on the current display interface in a floating manner; alternatively, the entire current display interface may be displayed on the calculator interface in a floating manner, which is not limited in this respect. Wherein the transparency of the floating content can be adjusted to facilitate viewing of the content covered by the floating content.
Specifically, the second input may be a click operation, a drag operation, a voice operation, and the like of the user, which is not specifically limited herein.
And 14, responding to the second input, calculating the number through the calculation symbol, and displaying the calculation result.
Specifically, the calculation may be performed by the user selecting a number and a calculation symbol, or the corresponding calculation may be performed by inputting the number and the calculation symbol by voice, and the specific manner is not specifically limited herein.
In the embodiment of the invention, the number and the calculation symbol are displayed in the same interface, the calculation symbol is used for calculating the number and displaying the calculation result through the received operation of the user on the number and/or the calculation symbol, and the current display interface to be calculated and the interface where the calculation symbol is located do not need to be repeatedly switched in the calculation process, so that the calculation is simpler and faster.
Further, the step 13 may specifically include, but is not limited to, any one of the following manners:
the first method is as follows: receiving a second input of a user dragging the number to the position of the calculation symbol;
the second method comprises the following steps: receiving a second input of a user dragging the computing symbol to the number position;
the third method comprises the following steps: receiving a second input of the user moving the calculation symbol and the number to form a calculation formula.
Specifically, in the first mode, the user may drag one or more numbers to one of the calculation symbol positions by pressing and dragging, and the like, that is, the one or more numbers may be calculated correspondingly through the calculation symbol. For example: as shown in fig. 2, if the first number, the second number, and the third number are selected, the first number, the second number, and the third number are dragged to the "+" symbol position, i.e., the first number, the second number, and the third number may be sequentially added.
Specifically, in the second mode, the user may drag one of the calculation symbols to one of the number positions by pressing and dragging, and the like, that is, the number may be calculated correspondingly through the calculation symbol. For example: if the "+" symbol is selected, the "+" symbol is dragged to the first, second, and third digit positions, respectively, as shown in FIG. 2, i.e., the first, second, and third digits may be added consecutively.
Specifically, in the third mode, the user moves the calculation symbol and the number to form a calculation formula, and performs calculation according to the calculation formula. For example, as shown in fig. 3, when a calculation needs to be performed on a current display interface, a user may extract numbers (in other words, pop up each number in the current display interface) by pressing or the like, and then individually display each number (such as the first number, the second number, the third number, and the fourth number in fig. 3), where the popped-up number may support individual dragging and may also freely move the position of the number, the user may move and arrange the popped-up number according to the calculation requirement, and an icon of a calculator (such as an icon above a dashed box in fig. 3) may be displayed on the current display interface, and the user may display a calculation symbol by clicking the icon; moreover, the user can move the calculation symbols to form a calculation formula; for example: as shown in fig. 4, the first number and the second number are arranged, the "+" symbol is moved between the first number and the second number, and the "═ symbol is moved behind the second number, so that the first number and the second number are added by the constituent calculation formula.
Specifically, the step 13 may further include: the user can select a number by clicking or pressing, and then the user selects a calculation symbol by clicking and the like, namely, the number is correspondingly calculated by the calculation symbol, and the corresponding calculation result is displayed after calculation is finished.
Further, the step 12 may specifically include:
and the calculation symbols are wrapped around each number in a floating mode.
Specifically, the electronic device may identify numbers that may need to be calculated, may suspend a plurality of calculation symbols around each number, and then click one of the calculation symbols around one of the numbers to perform corresponding calculation on the number. For example: as shown in fig. 5, computing symbols such as "+", "-" are suspended around the numbers such as the first number, the second number, the third number and the fourth number, if the "+" symbol of the first number is clicked, the first number plus the next clicked number is represented, then the "-" symbol of the second number is clicked, the first number plus the second number minus the next clicked number is represented, and so on, until all the numbers to be computed are computed, the computed result is obtained. Alternatively, if the "+" sign of the first number is clicked, the operation of the first number may be an addition operation, and is not limited in detail here.
Specifically, after the numbers and the calculation symbols are displayed in the same interface, calculation modes possibly required can be recommended according to the identified numbers for the user to select. For example: after the numbers are identified, the calculation method possibly required by the user can be judged according to the number of the numbers, the text content of the current display interface and the like, and a plurality of calculation modes to be selected are displayed on the current display interface, such as: the user can select one of a plurality of calculation modes (for example, selecting by clicking operation) according to the requirement, and the electronic equipment can calculate the number according to the selected calculation mode. The calculation method to be selected may also be preset according to the requirement of the user, and is not specifically limited herein.
Further, the step 12 may specifically include:
and extracting the numbers contained in the current display interface, and displaying the numbers in a calculator interface in a floating manner.
Specifically, as shown in fig. 3, a user may select a number to be calculated (for example, the selected number is a first number, a second number, a third number, and a fourth number), drag and move the selected number to an icon of a calculator, at this time, directly jump to a calculator interface, and then suspend the selected number on the calculator interface, as shown in fig. 6, the calculation result may be displayed on a horizontal line above the first number, the second number, the third number, and the fourth number; the user can perform corresponding calculation by clicking numbers and calculation symbols on the calculator interface. And the user can also select the current display interface through screen capture, and after the calculator is opened, the numbers are extracted through the screen capture picture, each number is identified, and the corresponding calculation is carried out on the numbers to be calculated.
In summary, in the embodiments of the present invention, the number and the calculation symbol are displayed in the same interface, the number is calculated by the calculation symbol through a second input of the user, and the calculation result is displayed, and there is no need to repeatedly switch the current display interface to be calculated and the interface where the calculation symbol is located in the calculation process, so that the calculation is simpler and faster.
As shown in fig. 7, an embodiment of the present invention further provides an electronic device 70, including:
a first receiving module 71, configured to receive a first input of a user if the current display interface includes a number;
a first response module 72 for displaying the number and the calculation symbol in the same interface in response to the first input;
a second receiving module 73 for receiving a second input of the number and/or the calculation symbol by the user;
and a second response module 74, configured to, in response to the second input, calculate the number through the calculation symbol, and display a calculation result.
Optionally, the second receiving module 73 includes any one of the following manners:
receiving a second input of a user dragging the number to the position of the calculation symbol;
receiving a second input of a user dragging the computing symbol to the number position;
receiving a second input of the user moving the calculation symbol and the number to form a calculation formula.
Optionally, the first response module 72 includes:
and the first processing unit is used for suspending and surrounding the calculation symbol around each digit.
Optionally, the first response module 72 includes:
and the second processing unit is used for extracting the numbers contained in the current display interface and displaying the numbers in a calculator interface in a floating manner.
The electronic device 70 can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 6, and details are not described here to avoid repetition.
In the embodiment of the invention, the first response module 72 displays the number and the calculation symbol in the same interface, the second response module 74 calculates the number through the calculation symbol and displays the calculation result, and the current display interface to be calculated and the interface where the calculation symbol is located do not need to be repeatedly switched in the calculation process, so that the calculation is simpler and faster.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, where the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 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.
A user input unit 807 for receiving a first input of a user in a case that the current display interface includes a number;
a display unit 806 for displaying the number and the calculation symbol in the same interface in response to the first input;
a user input unit 807 for receiving a second input of the number and the calculation symbol by the user;
a processor 810 for calculating the number through the calculation symbol in response to the second input, and displaying the calculation result.
Optionally, the user input unit 807 is specifically configured to any one of the following ways:
receiving a second input of a user dragging the number to the position of the calculation symbol;
receiving a second input of a user dragging the computing symbol to the number position;
receiving a second input of the user moving the calculation symbol and the number to form a calculation formula.
Optionally, the display unit 806 is specifically configured to:
and the calculation symbols are wrapped around each number in a floating mode.
Optionally, the display unit 806 is specifically configured to:
and extracting the numbers contained in the current display interface, and displaying the numbers in a calculator interface in a floating manner.
Therefore, the electronic equipment displays the numbers and the calculation symbols in the same interface, calculates the numbers by using the calculation symbols through the received operation of the user on the numbers and/or the calculation symbols, and displays the calculation results, and the current display interface to be calculated and the interface where the calculation symbols are located do not need to be repeatedly switched in the calculation process, so that the calculation is simpler and faster.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 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. Further, the radio frequency unit 801 can 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 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound 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 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 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 805 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 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 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 807 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 apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. 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 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 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 809 can include high speed random access memory, and can 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 810 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 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 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 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 800 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 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the foregoing operation 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 above-mentioned operation 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. An operation processing method applied to an electronic device, comprising:
receiving a first input of a user in the case that the current display interface includes a number;
displaying the number and the calculation symbol in the same interface in response to the first input;
receiving a second input of the number and/or the calculation symbol by the user;
and responding to the second input, calculating the number through the calculation symbol, and displaying the calculation result.
2. The method of claim 1, wherein receiving a second input of the number and the computational symbol by a user comprises any one of:
receiving a second input of a user dragging the number to the position of the calculation symbol;
receiving a second input of a user dragging the computing symbol to the number position;
receiving a second input of the user moving the calculation symbol and the number to form a calculation formula.
3. The method of claim 1, wherein displaying the number and the calculation symbol in the same interface comprises:
and the calculation symbols are wrapped around each number in a floating mode.
4. The method of claim 1, wherein displaying the number and the calculation symbol in the same interface comprises:
and extracting the numbers contained in the current display interface, and displaying the numbers in a calculator interface in a floating manner.
5. An electronic device, comprising:
the first receiving module is used for receiving a first input of a user under the condition that the current display interface comprises numbers;
a first response module for displaying the number and the calculation symbol in the same interface in response to the first input;
a second receiving module for receiving a second input of the number and/or the calculation symbol by the user;
and the second response module is used for responding to the second input, calculating the number through the calculation symbol and displaying the calculation result.
6. The electronic device of claim 5, wherein the second receiving module comprises any one of:
receiving a second input of a user dragging the number to the position of the calculation symbol;
receiving a second input of a user dragging the computing symbol to the number position;
receiving a second input of the user moving the calculation symbol and the number to form a calculation formula.
7. The electronic device of claim 5, wherein the first response module comprises:
and the first processing unit is used for suspending and surrounding the calculation symbol around each digit.
8. The electronic device of claim 5, wherein the first response module comprises:
and the second processing unit is used for extracting the numbers contained in the current display interface and displaying the numbers in a calculator interface in a floating manner.
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 arithmetic processing method of any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the steps of the arithmetic processing method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010137917.1A CN111352892B (en) | 2020-03-03 | 2020-03-03 | Operation processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010137917.1A CN111352892B (en) | 2020-03-03 | 2020-03-03 | Operation processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111352892A true CN111352892A (en) | 2020-06-30 |
CN111352892B CN111352892B (en) | 2022-02-08 |
Family
ID=71192429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010137917.1A Active CN111352892B (en) | 2020-03-03 | 2020-03-03 | Operation processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111352892B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111858451A (en) * | 2020-07-31 | 2020-10-30 | Oppo广东移动通信有限公司 | Intelligent computing method, terminal and storage medium |
CN112817496A (en) * | 2021-02-01 | 2021-05-18 | 网易(杭州)网络有限公司 | Data operation method, device and equipment based on application program and storage medium |
WO2023092437A1 (en) * | 2021-11-26 | 2023-06-01 | 京东方科技集团股份有限公司 | Intelligent calculation method and intelligent interactive tablet |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080189344A1 (en) * | 2004-10-08 | 2008-08-07 | Fawang Xu | Electronic Abacus and Operation Method of the Electronic Abacus |
CN104750667A (en) * | 2015-03-12 | 2015-07-01 | 广东欧珀移动通信有限公司 | Image content processing method and mobile terminal |
US20150347350A1 (en) * | 2012-08-08 | 2015-12-03 | Samsung Electronics Co., Ltd. | Method and apparatus for performing calculations in character input mode of electronic device |
CN105630481A (en) * | 2015-04-30 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Data processing method, data processing device and terminal |
CN105653514A (en) * | 2015-12-31 | 2016-06-08 | 深圳市金立通信设备有限公司 | Text editing method and terminal |
CN109033048A (en) * | 2018-06-29 | 2018-12-18 | 维沃移动通信有限公司 | A kind of information processing method and mobile terminal |
WO2019127439A1 (en) * | 2017-12-29 | 2019-07-04 | 华为技术有限公司 | Calculator operation method and terminal |
-
2020
- 2020-03-03 CN CN202010137917.1A patent/CN111352892B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080189344A1 (en) * | 2004-10-08 | 2008-08-07 | Fawang Xu | Electronic Abacus and Operation Method of the Electronic Abacus |
US20150347350A1 (en) * | 2012-08-08 | 2015-12-03 | Samsung Electronics Co., Ltd. | Method and apparatus for performing calculations in character input mode of electronic device |
CN104750667A (en) * | 2015-03-12 | 2015-07-01 | 广东欧珀移动通信有限公司 | Image content processing method and mobile terminal |
CN105630481A (en) * | 2015-04-30 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Data processing method, data processing device and terminal |
CN105653514A (en) * | 2015-12-31 | 2016-06-08 | 深圳市金立通信设备有限公司 | Text editing method and terminal |
WO2019127439A1 (en) * | 2017-12-29 | 2019-07-04 | 华为技术有限公司 | Calculator operation method and terminal |
CN110383244A (en) * | 2017-12-29 | 2019-10-25 | 华为技术有限公司 | A kind of operation method and terminal of calculator |
CN109033048A (en) * | 2018-06-29 | 2018-12-18 | 维沃移动通信有限公司 | A kind of information processing method and mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111858451A (en) * | 2020-07-31 | 2020-10-30 | Oppo广东移动通信有限公司 | Intelligent computing method, terminal and storage medium |
CN112817496A (en) * | 2021-02-01 | 2021-05-18 | 网易(杭州)网络有限公司 | Data operation method, device and equipment based on application program and storage medium |
CN112817496B (en) * | 2021-02-01 | 2022-06-14 | 网易(杭州)网络有限公司 | Data operation method, device and equipment based on application program and storage medium |
WO2023092437A1 (en) * | 2021-11-26 | 2023-06-01 | 京东方科技集团股份有限公司 | Intelligent calculation method and intelligent interactive tablet |
Also Published As
Publication number | Publication date |
---|---|
CN111352892B (en) | 2022-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108762954B (en) | Object sharing method and mobile terminal | |
CN108255378B (en) | Display control method and mobile terminal | |
CN109343759B (en) | Screen-turning display control method and terminal | |
CN107943390B (en) | Character copying method and mobile terminal | |
CN111338530B (en) | Control method of application program icon and electronic equipment | |
CN110196667B (en) | Notification message processing method and terminal | |
CN110007835B (en) | Object management method and mobile terminal | |
CN108446058B (en) | Mobile terminal operation method and mobile terminal | |
CN111352892B (en) | Operation processing method and electronic equipment | |
CN109407929B (en) | Desktop icon sorting method and terminal | |
CN107783747B (en) | Interface display processing method and mobile terminal | |
CN110795189A (en) | Application starting method and electronic equipment | |
CN110618969A (en) | Icon display method and electronic equipment | |
CN109669656B (en) | Information display method and terminal equipment | |
CN108920040B (en) | Application icon sorting method and mobile terminal | |
CN111338533A (en) | Application program starting method and electronic equipment | |
CN108093137B (en) | Dialing method and mobile terminal | |
CN110007821B (en) | Operation method and terminal equipment | |
CN109992941B (en) | Authority management method and terminal equipment | |
CN111459603A (en) | Icon display method and electronic equipment | |
CN111142721A (en) | Application icon processing method and electronic equipment | |
CN110780751A (en) | Information processing method and electronic equipment | |
CN107908329B (en) | Application icon management method and mobile terminal | |
CN111694497B (en) | Page combination method and electronic equipment | |
CN110780796B (en) | Screen capturing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |