CN110704010B - 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 PDF

Info

Publication number
CN110704010B
CN110704010B CN201910803360.8A CN201910803360A CN110704010B CN 110704010 B CN110704010 B CN 110704010B CN 201910803360 A CN201910803360 A CN 201910803360A CN 110704010 B CN110704010 B CN 110704010B
Authority
CN
China
Prior art keywords
payment
monitoring
service
interface
application
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
CN201910803360.8A
Other languages
Chinese (zh)
Other versions
CN110704010A (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.)
Guangzhou Yihong Information Technology Co ltd
Original Assignee
Guangzhou Yihong Information Technology 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 Guangzhou Yihong Information Technology Co ltd filed Critical Guangzhou Yihong Information Technology Co ltd
Priority to CN201910803360.8A priority Critical patent/CN110704010B/en
Publication of CN110704010A publication Critical patent/CN110704010A/en
Application granted granted Critical
Publication of CN110704010B publication Critical patent/CN110704010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

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, payment amount and the like by intercepting a payment notification interface of the 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, supports any payment software with a notification function, only simply identifies characters of the payment interface, and is high in processing speed.

Description

System and method for realizing voice broadcast by monitoring payment information
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, payment treasures and the like, and after the consumer successfully pays and the payee receives a money, the payment software broadcasts payment information. 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 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 in order to overcome 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 the root authority.
In order to realize the purpose of the invention, 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 character 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 (Accesibility 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 serviceyService class, onServiceConnected and onAccess serviceyEvent. 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 onaccesibilityEvent is called back, in the function, the packet name of the application with the changed interface can be obtained, whether the application is a WeChat or Payment notice interface can be judged through the packet name, and if the application is the WeChat or Payment notice interface, the 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 of monitoring WeChat payment and AliPay of Paobao 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 by the following 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 realizing 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 an application to which a payment notification interface belongs, 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 character 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 B: the consumer scans the two-dimensional code to pay;
and (C) a process C: the consumer pays the merchant;
and (D) a process: 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 onaccesibilityEvent is called back, in the function, the packet name of the application with the changed interface can be obtained, whether the application is a WeChat or Payment notice interface can be judged through the packet name, and if the application is the WeChat or Payment notice interface, the 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 (7)

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;
the 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.
2. 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.
3. 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.
4. 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 application 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.
5. The method for realizing voice broadcast by monitoring payment information according to claim 4, wherein in step S4, the payment monitoring service obtains interface data from the payment notification interface through a preset character recognition algorithm.
6. The method for realizing voice broadcasting by monitoring payment information as claimed in claim 5, wherein the interface data comprises payment channel name and payment amount.
7. The method for realizing voice broadcasting according to the monitoring payment information of claim 4, wherein the preset audio content comprises payment amount and one or more of advertisement, thank you and discount.
CN201910803360.8A 2019-08-28 2019-08-28 System and method for realizing voice broadcast by monitoring payment information Active CN110704010B (en)

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 CN110704010A (en) 2020-01-17
CN110704010B true 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10360578B2 (en) * 2012-01-30 2019-07-23 Visa International Service Association Systems and methods to process payments based on payment deals

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN110704010A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
CN109344241B (en) Information recommendation method and device, terminal and storage medium
CN109005283B (en) Method, device, terminal and storage medium for displaying notification message
US9330267B2 (en) Filtering confidential information in voice and image data
CN109862187B (en) Message processing method, device, terminal and storage medium
US20090204819A1 (en) Advertisement-based human interactive proof
CN109831682B (en) Information auditing method and device, electronic equipment and storage medium
CN107172501B (en) Live broadcast room recommendation display method and system
CN107277573A (en) Video-frequency advertisement put-on method, device and computer-readable recording medium
WO2016100831A1 (en) Method and system for dynamically interactive visually validated mobile ticketing
CN109687968B (en) Method and system for realizing electronic signature
CN109685595A (en) Method for pushing, device, mobile terminal and storage medium based on data analysis
CN110704010B (en) System and method for realizing voice broadcast by monitoring payment information
CN110703974A (en) Message interaction method, device and storage medium
CN111309210B (en) Method, device, terminal and storage medium for executing system functions
CN112800337A (en) Information processing method and device, electronic equipment and computer storage medium
KR101341120B1 (en) Advertising system based on a type of business and rigion, and a method thereof
CN109547565B (en) Rich media information sending and receiving method, terminal equipment and storage medium
CN110048862B (en) Message display method and device and electronic equipment
CN116483460A (en) Application starting method and device, electronic equipment and storage medium
KR20140030701A (en) Server and method for providing caller identification-related information
CN105912935A (en) Advertisement detection method and advertisement detection apparatus
CN110221756B (en) Method, device, terminal and storage medium for processing application data
CN113312104A (en) Advertisement conversion method and system based on small program
CN112543350A (en) Live broadcast interaction method and device
CN111127087A (en) Gift marketing method based on social contact

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