CN110704010A - System and method for realizing voice broadcast by monitoring payment information - Google Patents
System and method for realizing voice broadcast by monitoring payment information Download PDFInfo
- Publication number
- CN110704010A CN110704010A CN201910803360.8A CN201910803360A CN110704010A CN 110704010 A CN110704010 A CN 110704010A CN 201910803360 A CN201910803360 A CN 201910803360A CN 110704010 A CN110704010 A CN 110704010A
- Authority
- CN
- China
- Prior art keywords
- payment
- monitoring
- service
- interface
- monitoring service
- 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
- 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/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
- G06Q20/0855—Payment architectures involving remote charge determination or related payment systems involving a third party
Abstract
A system for realizing voice broadcast by monitoring payment information comprises a payment monitoring application and a payment monitoring service; wherein: the payment monitoring application is used for guiding a user to start a payment monitoring service, register the payment monitoring service and play preset audio content; the payment monitoring service is used for filtering the payment interface, acquiring the content of the payment interface and informing the payment monitoring application to play preset audio content. The payment monitoring service acquires interface data such as the name of a payment channel, the payment amount and the like by intercepting a payment notification interface of the auxiliary function service and the interface data of the payment notification interface, and does not need to call a related interface of payment software, a root system and a service module in a target system; the payment monitoring service acquires the application of the interface, filters out information and data related to payment to support any payment software with a notification function, only simply identifies characters of the payment interface, and is high in processing speed.
Description
Technical Field
The invention relates to the field of information monitoring, in particular to a system and a method for realizing voice broadcast by monitoring payment information.
Background
The broadcast notification function is generally integrated in payment software, such as WeChat, Paibao and the like, and the payment software broadcasts payment information after the payment of a consumer is successful and a payee receives a money. After the successful notification of the payment is played, the payee wants to additionally play audio information such as advertisements, thank you, discount offers, etc., and based on the requirement, technically, the payment information monitoring function needs to be realized, and the following two solutions exist at present: the first is to cooperate with the payment software to provide an API interface for the payment software to obtain the payment information, which has the disadvantages of high cooperation threshold and interface call cost. The second one is to modify the Android system architecture, intercept the voice command and recognize the transaction information, which has the disadvantages that the root authority of the system needs to be obtained and the key service of the system needs to be modified, which can cause the system to be unstable and have safety risk and increase the matching difficulty of the user.
Disclosure of Invention
The invention provides a system and a method for monitoring payment information, aiming at overcoming the problems that interface calling cost is high, root authority is difficult to obtain and key services of the system need to be modified, and audio information such as advertisements, thank you and preferential discount can be additionally played without calling related interfaces of payment software and root authority.
In order to realize the purpose, the technical scheme is as follows:
a system for realizing voice broadcast by monitoring payment information comprises a payment monitoring application and a payment monitoring service; wherein: the payment monitoring application is used for guiding a user to start a payment monitoring service, register the payment monitoring service and play preset audio content; the payment monitoring service is used for filtering the payment interface, acquiring the content of the payment interface and informing the payment monitoring application to play preset audio content.
The monitoring system is based on an Android operating system and auxiliary function services thereof.
The payment monitoring application registers the payment monitoring service with the accessibility service.
The function of the payment monitoring service is realized by a MonitorService class of an Android system API.
The preset audio content comprises payment amount and one or more of advertisement, thank you and discount.
A method for realizing voice broadcast by monitoring payment information comprises the following steps:
s1: the payment monitoring application registers the payment monitoring service in the auxiliary function service;
s2: the user starts the payment monitoring application, the payment monitoring application checks whether the payment monitoring service is started, and if the payment monitoring service is not started, the payment monitoring application guides the user to enter a system setting interface and starts the payment monitoring service;
s3: when payment occurs, the payment software pushes a payment notification interface to the system UI, and the auxiliary function service can actively detect the payment notification interface;
s4: the payment monitoring service intercepts a payment notification interface of the auxiliary function service and interface data thereof;
s5: the payment monitoring service acquires the application of the payment notification interface and filters information and data related to payment;
s6: the payment monitoring service notifies the payment monitoring application to play a preset audio.
In step S4, the payment monitoring service obtains interface data from the payment notification interface through a preset text recognition algorithm.
The interface data includes a payment channel name and a payment amount.
The preset audio content comprises payment amount and one or more of advertisement, thank you and discount.
A system and a method for realizing voice broadcast by monitoring payment information utilize Android auxiliary functions and realize the function of acquiring the payment information in real time by monitoring a notification interface displayed by payment software.
Monitoring system dependent Android operating system and auxiliary function Service (accessibility Service)
The monitoring system is composed of a payment monitoring application and a payment monitoring service.
The payment monitoring service function is mainly realized by a MonitorService class, the MonitorService class inherits from an Access service class, and the class is an API of an Android system. MonitorService reloads two functions of the Access serviceService class, onServiceConnected and onAccess serviceEvent. After a user starts a Payment Monitoring Service (PMS) and successfully connects an Accessibility Service, the onServiceConnected is called back, and the initiation of the payment monitoring Service is realized in the onServiceConnected. When the system interface or the application interface changes, the onaccestibiteyEvent is called back, the packet name of the application with the changed interface can be obtained in the function, whether the application is a payment notification interface of WeChat or Paibao can be judged through the packet name, and if the application is the payment notification interface of WeChat or Paibao, corresponding control and text information are obtained.
MonitorBase defines a basic framework of a payment monitoring class for a virtual base class of payment monitoring, and different payment behaviors can be customized and realized for the base class, such as WXPay for monitoring WeChat payment and AliPay for payment.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a system and a method for realizing voice broadcast by monitoring payment information.A payment monitoring service acquires interface data such as payment channel name, payment amount and the like by intercepting a payment notification interface of an auxiliary function service and interface data thereof, and does not need to call a related interface of payment software, a root system and a service module in a target system; the payment monitoring service acquires the application of the interface, filters out information and data related to payment to support any payment software with a notification function, only simply identifies characters of the payment interface, and is high in processing speed.
Drawings
FIG. 1 is a schematic flow chart of the present invention;
FIG. 2 is a business flow diagram of the present invention;
FIG. 3 is a diagram of a payment monitoring service class of the present invention.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the patent;
the invention is further illustrated below with reference to the figures and examples.
Example 1
A system for realizing voice broadcast by monitoring payment information comprises a payment monitoring application and a payment monitoring service; wherein: the payment monitoring application is used for guiding a user to start a payment monitoring service, register the payment monitoring service and play preset audio content; the payment monitoring service is used for filtering the payment interface, acquiring the content of the payment interface and informing the payment monitoring application to play preset audio content.
The monitoring system is based on an Android operating system and auxiliary function services thereof.
The payment monitoring application registers the payment monitoring service with the accessibility service.
The function of the payment monitoring service is realized by a MonitorService class of an Android system API.
The preset audio content comprises payment amount and one or more of advertisement, thank you and discount.
Example 2
As shown in fig. 1, a method for implementing voice broadcast by monitoring payment information includes the following steps:
s1: the payment monitoring application registers the payment monitoring service in the auxiliary function service;
s2: the user starts the payment monitoring application, the payment monitoring application checks whether the payment monitoring service is started, and if the payment monitoring service is not started, the payment monitoring application guides the user to enter a system setting interface and starts the payment monitoring service;
s3: when payment occurs, the payment software pushes a payment notification interface to the system UI, and the auxiliary function service can actively detect the payment notification interface;
s4: the payment monitoring service intercepts a payment notification interface of the auxiliary function service and interface data thereof;
s5: the payment monitoring service acquires the application of the payment notification interface and filters information and data related to payment;
s6: the payment monitoring service notifies the payment monitoring application to play a preset audio.
In step S4, the payment monitoring service obtains interface data from the payment notification interface through a preset text recognition algorithm.
The interface data includes a payment channel name and a payment amount.
The preset audio content comprises payment amount and one or more of advertisement, thank you and discount.
Example 3
The business flow diagram shown in fig. 2:
scheme A: the merchant issues the two-dimension code for payment;
and (B) a process: the consumer scans the two-dimensional code to pay;
and (C) a process C: the consumer pays the merchant;
and (3) a process D: after receiving the cost, the merchant plays the payment result;
procedure E: and after monitoring the payment behavior, the payment monitoring service informs the payment monitoring application to play audio.
Example 4
As shown in fig. 3, the payment monitoring service function is mainly implemented by a monitoreservice class, which is inherited from an accessibility service class, which is an Android system API. MonitorService reloads two functions of the Access serviceService class, onServiceConnected and onAccess serviceEvent. After a user starts a Payment Monitoring Service (PMS) and successfully connects an Accessibility Service, the onServiceConnected is called back, and the initiation of the payment monitoring Service is realized in the onServiceConnected. When the system interface or the application interface changes, the onaccestibiteyEvent is called back, the packet name of the application with the changed interface can be obtained in the function, whether the application is a payment notification interface of WeChat or Paibao can be judged through the packet name, and if the application is the payment notification interface of WeChat or Paibao, corresponding control and text information are obtained.
MonitorBase defines a basic framework of a payment monitoring class for a virtual base class of payment monitoring, and different payment behaviors can be customized and realized for the base class, such as WXPay for monitoring WeChat payment and AliPay for payment.
Example 5
The character recognition algorithm is designed by using a conventional simple algorithm, for example, a MATLAB simulation platform, and the simple payment information characters in the static picture including the name of a payment channel and the payment amount are extracted and recognized, so that the purpose of informing the payment monitoring application to play audio is achieved.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.
Claims (9)
1. A system for realizing voice broadcast by monitoring payment information is characterized by comprising a payment monitoring application and a payment monitoring service; wherein: the payment monitoring application is used for guiding a user to start a payment monitoring service, register the payment monitoring service and play preset audio content; the payment monitoring service is used for filtering the payment interface, acquiring the content of the payment interface and informing the payment monitoring application to play preset audio content.
2. The system for realizing voice broadcast by monitoring payment information according to claim 1, wherein the monitoring system is based on an Android operating system and auxiliary function services thereof.
3. The system for realizing voice broadcasting by monitoring payment information as claimed in claim 2, wherein the payment monitoring application registers the payment monitoring service in the auxiliary function service.
4. The system for realizing voice broadcasting by monitoring payment information as claimed in claim 1, wherein the function of the payment monitoring service is implemented by monitorervice class of Android system API.
5. The system for realizing voice broadcasting by monitoring payment information as claimed in claim 1, wherein the preset audio content comprises payment amount and one or more of advertisement, thank you and discount.
6. A method for realizing voice broadcast by monitoring payment information is characterized by comprising the following steps:
s1: the payment monitoring application registers the payment monitoring service in the auxiliary function service;
s2: the user starts the payment monitoring application, the payment monitoring application checks whether the payment monitoring service is started, and if the payment monitoring service is not started, the payment monitoring application guides the user to enter a system setting interface and starts the payment monitoring service;
s3: when payment occurs, the payment software pushes a payment notification interface to the system UI, and the auxiliary function service can actively detect the payment notification interface;
s4: the payment monitoring service intercepts a payment notification interface of the auxiliary function service and interface data thereof;
s5: the payment monitoring service acquires the application of the payment notification interface and filters information and data related to payment;
s6: the payment monitoring service notifies the payment monitoring application to play a preset audio.
7. The method for realizing voice broadcasting through monitoring payment information according to claim 6, wherein in step S4, the payment monitoring service obtains interface data from the payment notification interface through a preset text recognition algorithm.
8. The method for realizing voice broadcasting by monitoring payment information as claimed in claim 7, wherein the interface data comprises a payment channel name and a payment amount.
9. The method for realizing voice broadcasting by monitoring payment information as claimed in claim 6, wherein the preset audio content comprises payment amount and one or more of advertisement, thank you and discount.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910803360.8A CN110704010B (en) | 2019-08-28 | 2019-08-28 | System and method for realizing voice broadcast by monitoring payment information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910803360.8A CN110704010B (en) | 2019-08-28 | 2019-08-28 | System and method for realizing voice broadcast by monitoring payment information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110704010A true CN110704010A (en) | 2020-01-17 |
CN110704010B CN110704010B (en) | 2023-03-31 |
Family
ID=69194112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910803360.8A Active CN110704010B (en) | 2019-08-28 | 2019-08-28 | System and method for realizing voice broadcast by monitoring payment information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110704010B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130197991A1 (en) * | 2012-01-30 | 2013-08-01 | Visa International Service Association | Systems and methods to process payments based on payment deals |
CN104463569A (en) * | 2014-11-11 | 2015-03-25 | 北京奇虎科技有限公司 | Secure connection payment method and device |
CN106228365A (en) * | 2016-09-23 | 2016-12-14 | 姚前 | A kind of method of payment and device |
CN106779676A (en) * | 2016-11-22 | 2017-05-31 | 谢海明 | A kind of Quick Response Code method of payment with voice prompts and its system |
CN107886323A (en) * | 2017-01-11 | 2018-04-06 | 张凯 | A kind of mobile payment on-site supervision prompt system and its implementation |
CN107908617A (en) * | 2017-10-30 | 2018-04-13 | 努比亚技术有限公司 | A kind of consumption statistic method, terminal and computer-readable recording medium |
US10262311B1 (en) * | 2014-12-17 | 2019-04-16 | Blazer and Flip Flops, Inc. | NFC-based payments tagging |
-
2019
- 2019-08-28 CN CN201910803360.8A patent/CN110704010B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130197991A1 (en) * | 2012-01-30 | 2013-08-01 | Visa International Service Association | Systems and methods to process payments based on payment deals |
CN104463569A (en) * | 2014-11-11 | 2015-03-25 | 北京奇虎科技有限公司 | Secure connection payment method and device |
US10262311B1 (en) * | 2014-12-17 | 2019-04-16 | Blazer and Flip Flops, Inc. | NFC-based payments tagging |
CN106228365A (en) * | 2016-09-23 | 2016-12-14 | 姚前 | A kind of method of payment and device |
CN106779676A (en) * | 2016-11-22 | 2017-05-31 | 谢海明 | A kind of Quick Response Code method of payment with voice prompts and its system |
CN107886323A (en) * | 2017-01-11 | 2018-04-06 | 张凯 | A kind of mobile payment on-site supervision prompt system and its implementation |
CN107908617A (en) * | 2017-10-30 | 2018-04-13 | 努比亚技术有限公司 | A kind of consumption statistic method, terminal and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
CN110704010B (en) | 2023-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9330267B2 (en) | Filtering confidential information in voice and image data | |
CN107026842B (en) | Method and device for generating security problem and verifying identity | |
CN111062713A (en) | Payment system, method, server device, medium and device | |
CN109831682B (en) | Information auditing method and device, electronic equipment and storage medium | |
EP1683083A4 (en) | Methods for facilitating validation of financial transactions made through a wireless communication network | |
CN107277573A (en) | Video-frequency advertisement put-on method, device and computer-readable recording medium | |
CN109687968B (en) | Method and system for realizing electronic signature | |
CN112464110A (en) | Method, device, server, client, terminal and storage medium for promoting interpersonal activities in application with social function | |
JP2001518262A (en) | Data processing system | |
CN106777099A (en) | The processing method of business speech data, device and terminal device | |
CN110704010B (en) | System and method for realizing voice broadcast by monitoring payment information | |
CN110149545B (en) | User information processing method and device, electronic equipment and readable storage medium | |
US10075485B2 (en) | Animated snapshots | |
CN111309210B (en) | Method, device, terminal and storage medium for executing system functions | |
CN109547565B (en) | Rich media information sending and receiving method, terminal equipment and storage medium | |
CN116483460A (en) | Application starting method and device, electronic equipment and storage medium | |
US20230222722A1 (en) | Video preview method and apparatus, and non-transitory computer-readable storage medium | |
CN114418732A (en) | Credit card telephone collection system and method | |
CN108174298B (en) | Service content playing method and device | |
KR101841231B1 (en) | Method of reorganizing and transmitting video contents | |
KR101565821B1 (en) | Method of filtering message, user terminal performing the same and storage media storing the same | |
CN111182127B (en) | Answering interface control method, mobile terminal and device with storage function | |
KR102476115B1 (en) | System for providing interactive content using second screen device and the method thereof | |
CN110298206B (en) | Information processing method and related equipment | |
CN114980072B (en) | Electronic business card exchange method and device based on Subscriber Identity Module (SIM) card |
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 |