CN110007836B - Bill generation method and mobile terminal - Google Patents

Bill generation method and mobile terminal Download PDF

Info

Publication number
CN110007836B
CN110007836B CN201910245747.6A CN201910245747A CN110007836B CN 110007836 B CN110007836 B CN 110007836B CN 201910245747 A CN201910245747 A CN 201910245747A CN 110007836 B CN110007836 B CN 110007836B
Authority
CN
China
Prior art keywords
bill
target
information
text content
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910245747.6A
Other languages
Chinese (zh)
Other versions
CN110007836A (en
Inventor
曹厚圣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910245747.6A priority Critical patent/CN110007836B/en
Publication of CN110007836A publication Critical patent/CN110007836A/en
Application granted granted Critical
Publication of CN110007836B publication Critical patent/CN110007836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a bill generation method and a mobile terminal, wherein the method comprises the following steps: receiving touch operation of a user on different target application program interfaces under the condition of counting bill information of different target application programs; determining a target area of each target application program interface according to touch operation; identifying text content in the target area; extracting each bill parameter in the text content under the condition that the text content is bill information; according to each bill parameter, target bill information is generated, the bill parameters can be automatically extracted according to the bill information of the user for different payment application programs, the target bill information is generated, the user can conveniently perform statistics, query and other operations on consumption records, the operation is simple, and the use experience of the user is improved.

Description

Bill generation method and mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a bill generation method and a mobile terminal.
Background
At present, when a mobile terminal user uses different payment application programs to carry out electronic payment, a plurality of electronic bills can be generated, if the bills of the different payment application programs need to be counted, the bills need to be manually entered into the different payment application programs, the bills need to be inquired, the operation is complicated, and the use experience of the user is influenced.
Disclosure of Invention
The embodiment of the invention provides a bill generation method and a mobile terminal, and aims to solve the problems that bills of different payment application programs are counted and the operation of an accounting process is complicated 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 a bill generation method, where the method includes: receiving touch operation of a user on different target application program interfaces under the condition of counting bill information of different target application programs; for each target application program interface, determining a target area of the target application program interface according to the touch operation; identifying text content in the target area; under the condition that the text content is bill information, extracting each bill parameter in the text content; and generating target bill information according to the bill parameters.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: the receiving module is used for receiving touch operation of a user on different target application program interfaces under the condition of counting bill information of different target application programs; the determining module is used for determining a target area of each target application program interface according to the touch operation; the identification module is used for identifying the text content in the target area; the extraction module is used for extracting each bill parameter in the text content under the condition that the text content is bill information; and the generating module is used for generating target bill information according to each bill parameter.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the bill generation method.
In a fourth aspect, an 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 bill generation method.
In the embodiment of the invention, under the condition of counting the bill information of different target application programs, the touch operation of a user on different target application program interfaces is received; determining a target area of each target application program interface according to touch operation; identifying text content in the target area; extracting each bill parameter in the text content under the condition that the text content is bill information; according to each bill parameter, target bill information is generated, the bill parameters can be automatically extracted according to the bill information of the user for different payment application programs, the target bill information is generated, the user can conveniently perform statistics, query and other operations on consumption records, the operation is simple, and the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a bill generation method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating the steps of a bill generation method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a mobile terminal according to a fifth 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.
Example one
Referring to fig. 1, a flowchart illustrating steps of a bill generation method according to a first embodiment of the present invention is shown.
The bill generation method provided by the embodiment of the invention comprises the following steps:
step 101: and receiving touch operation of a user on different target application program interfaces under the condition of counting bill information of different target application programs.
It should be noted that the target application program may be various payment application programs, and the touch operation may be a pressing operation on the target application program interface that exceeds a preset time length, where the preset time length may be 2s, 3s, 4s, and the like, which is not specifically limited in this embodiment of the present invention.
The touch operation may be a single-click operation, a double-click operation, a sliding operation of a preset sliding track, and the like, which is not specifically limited in this embodiment of the present invention.
For the selection operation of the target application program, when the user needs to count the bill, a selection frame of each target application program is displayed on the current interface, and the user can select the target application program based on the needs.
Step 102: and determining a target area of the target application program interface according to the touch operation aiming at each target application program interface.
When a user needs to count bills of a plurality of target applications, a target area is determined for each target application interface according to touch operation, wherein the determination of the target area can be that the current whole interface is used as the target area, and a target area in a preset range can be obtained according to a touch point of the touch operation, wherein the preset range can be that a rectangular target area with the length of 3cm and the width of 5cm is intercepted by taking the touch point as a central point, or a square with the length of 4cm and the width of 4cm is intercepted by taking the touch point as a central point, or a circle with the radius of 2cm is intercepted by taking the touch point as a circle center and is used as the target area.
Step 103: text content in the target area is identified.
Step 104: and extracting each billing parameter in the text content under the condition that the text content is the billing information.
And identifying the text content in the target area, determining whether the identified text content is bill information, and extracting the bill parameters in the text content if the text content is the bill information. Wherein, the billing parameters include but are not limited to any of the following: merchant information, amount information, transaction platform information, time information, payee or payer, and bill category.
Step 105: and generating target bill information according to the bill parameters.
In the embodiment of the invention, under the condition of counting the bill information of different target application programs, the touch operation of a user on different target application program interfaces is received; determining a target area of each target application program interface according to touch operation; identifying text content in the target area; extracting each bill parameter in the text content under the condition that the text content is bill information; according to each bill parameter, target bill information is generated, the bill parameters can be automatically extracted according to the bill information of the user for different payment application programs, the target bill information is generated, the user can conveniently perform statistics, query and other operations on consumption records, the operation is simple, and the use experience of the user is improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of a bill generation method according to a second embodiment of the present invention is shown.
The bill generation method provided by the embodiment of the invention comprises the following steps:
step 201: and receiving touch operation of a user on different target application program interfaces under the condition of counting bill information of different target application programs.
It should be noted that the target application program may be various payment application programs, and the touch operation may be a pressing operation on the target application program interface that exceeds a preset time length, where the preset time length may be 2s, 3s, 4s, and the like, which is not specifically limited in this embodiment of the present invention.
The touch operation may be a single-click operation, a double-click operation, a sliding operation of a preset sliding track, and the like, which is not specifically limited in this embodiment of the present invention.
For the selection operation of the target application program, when the user needs to count the bill, a selection frame of each target application program is displayed on the current interface, and the user can select the target application program based on the needs.
Step 202: and determining a target area of the target application program interface according to the touch operation aiming at each target application program interface.
When a user needs to count bills of a plurality of target applications, a target area is determined for each target application interface according to touch operation, wherein the determination of the target area can be that the current whole interface is used as the target area, and a target area in a preset range can be obtained according to a touch point of the touch operation, wherein the preset range can be that a rectangular target area with the length of 3cm and the width of 5cm is intercepted by taking the touch point as a central point, or a square with the length of 4cm and the width of 4cm is intercepted by taking the touch point as a central point, or a circle with the radius of 2cm is intercepted by taking the touch point as a circle center and is used as the target area.
Step 203: text content in the target area is identified.
When the target area is a picture, recognizing the text content in the target area by an image character recognition technology, such as: extracting text content in the picture by using OCR;
when the target area is the user interface control, calling an application programming interface, and acquiring text content of the target area in the mobile terminal system, such as: and if the user interface control is a UI control, extracting the text content of the page control by calling an operating system.
Step 204: and extracting key words in the text content.
Step 205: and judging the first matching degree of the keywords and the preset keywords.
And matching the extracted keywords with preset keywords, or matching the synonyms of the extracted keywords with the preset keywords, and calculating a first matching degree of the keywords and the preset keywords.
Step 206: and when the first matching degree is greater than the preset matching degree, determining the text content as the bill information.
And judging the matching degree of the keywords and the preset keywords, when the first matching degree is greater than the preset matching degree, representing the text content as bill information, and when the first matching degree is lower than the preset matching degree, representing the text content as other types of information.
It should be noted that, a person skilled in the art may set the preset matching degree according to an actual situation, where the preset matching degree may be set to 60%, 70%, 80%, or 90%, and this is not specifically limited in the embodiment of the present invention.
Step 207: and extracting each billing parameter in the text content.
Billing parameters include, but are not limited to, any of the following: merchant information, amount information, transaction platform information, time information, payee or payer, and bill category.
Step 208: and converting the format of each bill parameter into a target format.
Because the formats of the bill parameters determined by different target applications may be different, the bill parameters in the text content extracted by different target applications are converted into the target formats for the convenience of subsequent storage, viewing and editing.
Step 209: and generating target bill information according to the converted and formatted bill parameters.
Step 210: and respectively matching the target bill information with each piece of bill data information in the preset bill database.
And the preset bill database comprises at least one piece of bill data information.
In the embodiment of the invention, the preset bill database can provide encryption protection, and read-write operation is carried out through the secret key.
Step 211: and if the target bill information is respectively matched with any bill data information in the preset bill database, outputting prompt information to prompt a user to check the target bill information.
Step 212: and if the target bill information is not matched with the preset bill database, storing the target bill information into the preset bill database.
By comparing the target billing information with billing data in a preset database. And detecting whether the target bill information exists in the preset bill data, if so, avoiding repeated entry, outputting prompt information, checking whether the target bill information exists repeatedly by the user according to the prompt information, if so, skipping automatic entry, and if not, storing the target bill information in a preset bill database.
In the embodiment of the invention, under the condition of counting the bill information of different target application programs, the touch operation of a user on different target application program interfaces is received; determining a target area of each target application program interface according to touch operation; identifying text content in the target area; extracting each bill parameter in the text content under the condition that the text content is bill information; according to the bill parameters, the target bill information is generated, the bill parameters can be automatically extracted according to the bill information of the user for different payment application programs, the target bill information in a unified bill format is generated, the user can conveniently perform statistics, query and other operations on consumption records, the operation is simple, and the use experience of the user is improved.
EXAMPLE III
Referring to fig. 3, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: the receiving module 301 is configured to receive touch operations of a user on different target application program interfaces under the condition that billing information of different target application programs is counted; a determining module 302, configured to determine, for each target application program interface, a target area of the target application program interface according to the touch operation; an identifying module 303, configured to identify text content in the target area; an extracting module 304, configured to extract each billing parameter in the text content when the text content is billing information; a generating module 305, configured to generate target billing information according to each billing parameter.
In the embodiment of the invention, under the condition of counting the bill information of different target application programs, the touch operation of a user on different target application program interfaces is received; determining a target area of each target application program interface according to touch operation; identifying text content in the target area; extracting each bill parameter in the text content under the condition that the text content is bill information; according to the bill parameters, the target bill information is generated, the bill parameters can be automatically extracted according to the bill information of the user for different payment application programs, the target bill information in a unified bill format is generated, the user can conveniently perform statistics, query and other operations on consumption records, the operation is simple, and the use experience of the user is improved.
Example four
Referring to fig. 4, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: the receiving module 401 is configured to receive touch operations of a user on different target application program interfaces under the condition that billing information of different target application programs is counted; a determining module 402, configured to determine, for each target application program interface, a target area of the target application program interface according to the touch operation; an identifying module 403, configured to identify text content in the target area; an extracting module 404, configured to extract each billing parameter in the text content when the text content is billing information; a generating module 405, configured to generate target billing information according to each billing parameter.
Preferably, the extraction module 404 includes: a first extraction sub-module 4041, configured to extract keywords in the text content; the judging sub-module 4042 is configured to judge a first matching degree between the keyword and a preset keyword; the determining submodule 4043 is configured to determine that the text content is the bill information when the first matching degree is greater than a preset matching degree; a second extraction sub-module 4044, configured to extract each billing parameter in the text content.
Preferably, the generating module 405 comprises: a format conversion module 4051, configured to convert the format of each billing parameter into a target format; the generating sub-module 4052 is configured to generate target billing information according to each converted and formatted billing parameter.
Preferably, the mobile terminal further includes: the storage module 406 is configured to store the target bill information in a preset bill database after the generation sub-module generates the target bill information according to each converted and formatted bill parameter; the storage module 406 includes: the matching submodule 4061 is configured to match the target bill information with each piece of bill data information in the preset bill database, respectively; the prompting submodule 4062 is configured to output prompting information to prompt a user to check the target bill information if the target bill information is the bill data information in the preset bill database; and the storage submodule 4063 is used for storing the target bill information into the preset bill database if the target bill information is not matched with the preset bill information.
Preferably, the identification module 403 comprises: the first identification submodule 4031 is configured to, when the target area is a picture, identify text content in the target area by using an image character identification technology; and the second identification submodule 4032 is configured to, when the target area is a user interface control, invoke an application programming interface, and acquire text content of the target area in the mobile terminal system.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
In the embodiment of the invention, under the condition of counting the bill information of different target application programs, the touch operation of a user on different target application program interfaces is received; determining a target area of each target application program interface according to touch operation; identifying text content in the target area; extracting each bill parameter in the text content under the condition that the text content is bill information; according to the bill parameters, the target bill information is generated, the bill parameters can be automatically extracted according to the bill information of the user for different payment application programs, the target bill information in a unified bill format is generated, the user can conveniently perform statistics, query and other operations on consumption records, the operation is simple, and the use experience of the user is improved.
EXAMPLE five
Referring to fig. 5, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal 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 mobile terminal 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 processor 510, configured to receive touch operations of a user on different target application program interfaces; determining a target area of each target application program interface according to the touch operation aiming at each target application program interface; identifying text content in the target area; under the condition that the text content is bill information, extracting each bill parameter in the text content; generating target bill information according to the bill parameters; and storing the target bill information to a preset bill database.
In the embodiment of the invention, under the condition of counting the bill information of different target application programs, the touch operation of a user on different target application program interfaces is received; determining a target area of each target application program interface according to touch operation; identifying text content in the target area; extracting each bill parameter in the text content under the condition that the text content is bill information; according to the bill parameters, the target bill information is generated, the bill parameters can be automatically extracted according to the bill information of the user for different payment application programs, the target bill information in a unified bill format is generated, the user can conveniently perform statistics, query and other operations on consumption records, the operation is simple, and the use experience of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 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 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 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 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 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 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 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 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the 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 the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 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 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 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 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 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 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 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 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. 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 508 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 mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 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 509 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 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 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 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the above bill generation method embodiment are implemented, and the same technical effect can be achieved, 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 bill generation 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 (12)

1. A bill generation method is applied to a mobile terminal, and is characterized by comprising the following steps:
receiving touch operation of a user on different target application program interfaces under the condition of counting bill information of different target application programs; the touch operation is a pressing operation on the target application program interface for more than a preset time;
for each target application program interface, determining a target area of the target application program interface according to the touch operation;
identifying text content in the target area;
under the condition that the text content is bill information, extracting each bill parameter in the text content;
and generating target bill information according to the bill parameters.
2. The method of claim 1, wherein the step of extracting the billing parameters in the text content in the case that the text content is billing information comprises:
extracting key words in the text content;
judging a first matching degree of the keywords and preset keywords;
when the first matching degree is greater than a preset matching degree, determining the text content as bill information;
and extracting each billing parameter in the text content.
3. The method of claim 1, wherein the step of generating target billing information based on each of the billing parameters comprises:
converting the format of each bill parameter into a target format;
and generating target bill information according to each converted and formatted bill parameter.
4. The method of claim 3, wherein after the step of generating target billing information based on each of the billing parameters formatted by the respective translation, the method further comprises:
storing the target bill information to a preset bill database;
the step of storing the target billing information to a preset billing database includes:
respectively matching target bill information with each piece of bill data information in the preset bill database;
if the target bill information is matched with any bill data information in the preset bill database, outputting prompt information to prompt a user to check the target bill information;
and if the target bill information is not matched with the preset bill database, storing the target bill information to the preset bill database.
5. The method of claim 1, wherein the step of identifying text content in the target region comprises:
when the target area is a picture, recognizing text content in the target area through an image character recognition technology;
and when the target area is the user interface control, calling an application programming interface, and acquiring the text content of the target area in the mobile terminal system.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the receiving module is used for receiving touch operation of a user on different target application program interfaces under the condition of counting bill information of different target application programs; the touch operation is a pressing operation on the target application program interface for more than a preset time;
the determining module is used for determining a target area of each target application program interface according to the touch operation;
the identification module is used for identifying the text content in the target area;
the extraction module is used for extracting each bill parameter in the text content under the condition that the text content is bill information;
and the generating module is used for generating target bill information according to each bill parameter.
7. The mobile terminal of claim 6, wherein the extraction module comprises:
the first extraction submodule is used for extracting keywords in the text content;
the judging submodule is used for judging the first matching degree of the keywords and preset keywords;
the determining submodule is used for determining the text content as bill information when the first matching degree is greater than a preset matching degree;
and the second extraction submodule is used for extracting each bill parameter in the text content.
8. The mobile terminal of claim 6, wherein the generating module comprises:
the format conversion submodule is used for converting the format of each bill parameter into a target format;
and the generation submodule is used for generating target bill information according to each converted and formatted bill parameter.
9. The mobile terminal of claim 8, wherein the mobile terminal further comprises:
the storage module is used for storing the target bill information into a preset bill database after the generation submodule generates the target bill information according to each converted and formatted bill parameter;
the memory module includes:
the matching sub-module is used for respectively matching the target bill information with each piece of bill data information in the preset bill database;
the prompting submodule is used for outputting prompting information to prompt a user to check the target bill information if the target bill information and any piece of bill data information in the preset bill database;
and the storage sub-module is used for storing the target bill information to the preset bill database if the target bill information is not matched with the preset bill database.
10. The mobile terminal of claim 6, wherein the identification module comprises:
the first identification submodule is used for identifying the text content in the target area through an image character identification technology when the target area is a picture;
and the second identification submodule is used for calling an application programming interface when the target area is a user interface control, and acquiring the text content of the target area in the mobile terminal system.
11. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the bill generating method according to any one of claims 1 to 5.
12. 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 bill generation method according to any one of claims 1 to 5.
CN201910245747.6A 2019-03-28 2019-03-28 Bill generation method and mobile terminal Active CN110007836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910245747.6A CN110007836B (en) 2019-03-28 2019-03-28 Bill generation method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910245747.6A CN110007836B (en) 2019-03-28 2019-03-28 Bill generation method and mobile terminal

Publications (2)

Publication Number Publication Date
CN110007836A CN110007836A (en) 2019-07-12
CN110007836B true CN110007836B (en) 2021-04-16

Family

ID=67168699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910245747.6A Active CN110007836B (en) 2019-03-28 2019-03-28 Bill generation method and mobile terminal

Country Status (1)

Country Link
CN (1) CN110007836B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795310B (en) * 2019-10-30 2024-03-26 维沃移动通信有限公司 Information reminding method and electronic equipment
CN112764634A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Content processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744070A (en) * 2016-03-07 2016-07-06 珠海市魅族科技有限公司 Method and device for processing bill short message
CN106371702A (en) * 2016-09-07 2017-02-01 北京金山软件有限公司 Image information editing method and device and mobile terminal
CN108537651A (en) * 2018-04-10 2018-09-14 深圳前海微众银行股份有限公司 Bookkeeping methods, mobile terminal and computer readable storage medium
CN108664193A (en) * 2018-05-10 2018-10-16 阿里巴巴集团控股有限公司 Billing data methods of exhibiting, device and equipment
CN109284044A (en) * 2018-08-29 2019-01-29 中国建设银行股份有限公司 A kind of function menu methods of exhibiting and relevant device based on big data

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177361A (en) * 2011-12-21 2013-06-26 上海博路信息技术有限公司 Unified bill and payment system
US20130262309A1 (en) * 2012-04-02 2013-10-03 Mpayme Ltd. Method and System for Secure Mobile Payment
CN103093363B (en) * 2013-01-24 2017-04-12 广东欧珀移动通信有限公司 Method and device of bill generation
US20170193468A1 (en) * 2015-12-30 2017-07-06 Paypal, Inc. Peer-to-peer mobile transaction device
CN106127558B (en) * 2016-06-30 2020-03-31 维沃移动通信有限公司 Bill generation method and mobile terminal
CN106201321B (en) * 2016-07-29 2019-08-20 维沃移动通信有限公司 A kind of application control method and mobile terminal
CN109344926A (en) * 2018-09-13 2019-02-15 北京辰森世纪科技股份有限公司 Processing method, device and the equipment of service receipt information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744070A (en) * 2016-03-07 2016-07-06 珠海市魅族科技有限公司 Method and device for processing bill short message
CN106371702A (en) * 2016-09-07 2017-02-01 北京金山软件有限公司 Image information editing method and device and mobile terminal
CN108537651A (en) * 2018-04-10 2018-09-14 深圳前海微众银行股份有限公司 Bookkeeping methods, mobile terminal and computer readable storage medium
CN108664193A (en) * 2018-05-10 2018-10-16 阿里巴巴集团控股有限公司 Billing data methods of exhibiting, device and equipment
CN109284044A (en) * 2018-08-29 2019-01-29 中国建设银行股份有限公司 A kind of function menu methods of exhibiting and relevant device based on big data

Also Published As

Publication number Publication date
CN110007836A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN107580147B (en) Management method of notification message and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN108256853B (en) Payment method and mobile terminal
CN110674662A (en) Scanning method and terminal equipment
CN109544172B (en) Display method and terminal equipment
CN108833661B (en) Information display method and mobile terminal
CN107704182B (en) Code scanning method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN109753202B (en) Screen capturing method and mobile terminal
CN109523253B (en) Payment method and device
CN111064654A (en) Message display method and electronic equipment
CN108664818B (en) Unlocking control method and device
CN108510267B (en) Account information acquisition method and mobile terminal
CN110287719B (en) File encryption method and mobile terminal
CN110007836B (en) Bill generation method and mobile terminal
CN110309003B (en) Information prompting method and mobile terminal
CN110069407B (en) Function test method and device for application program
CN111007980A (en) Information input method and terminal equipment
CN109067979B (en) Prompting method and mobile terminal
CN108958579B (en) Red packet sending and receiving method and red packet sending and receiving device
CN111061446A (en) Display method and electronic equipment
CN110795002A (en) Screenshot method and terminal equipment
CN110225040B (en) Information processing method and terminal equipment
CN108596600B (en) Information 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
GR01 Patent grant
GR01 Patent grant