CN112085487A - Payment program bill fixing method - Google Patents

Payment program bill fixing method Download PDF

Info

Publication number
CN112085487A
CN112085487A CN202011021118.4A CN202011021118A CN112085487A CN 112085487 A CN112085487 A CN 112085487A CN 202011021118 A CN202011021118 A CN 202011021118A CN 112085487 A CN112085487 A CN 112085487A
Authority
CN
China
Prior art keywords
terminal
bill
fiddler
data
payment program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011021118.4A
Other languages
Chinese (zh)
Inventor
蒋小强
汤国强
朱捷
穆宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Fenghuo Tiandi Communication Technology Co ltd
Original Assignee
Nanjing Fenghuo Tiandi Communication 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 Nanjing Fenghuo Tiandi Communication Technology Co ltd filed Critical Nanjing Fenghuo Tiandi Communication Technology Co ltd
Priority to CN202011021118.4A priority Critical patent/CN112085487A/en
Publication of CN112085487A publication Critical patent/CN112085487A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/81Indexing, e.g. XML tags; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a bill fixing method for a payment program, which is based on debugging agent software and is used for designing a Cookies extraction method in an agent mode, wherein a terminal provided with a Fiddler debugging agent is used for communicating with a payment server in a Cookies extraction and data packet construction mode aiming at a target account number logged by a payment program installed at a mobile terminal to obtain json format bill data returned by the payment server, and data analysis and cleaning operations are added to improve the lookup efficiency of subsequent bill data and realize bill extraction of the target account number; the whole design method overcomes the problems of complex checking and difficult downloading of the bill of the payment program, and effectively improves the fixed efficiency of the bill of the payment program.

Description

Payment program bill fixing method
Technical Field
The invention relates to a bill fixing method for a payment program, and belongs to the field of electronic evidence collection.
Background
In the current society, mobile payment is popularized in the situation of being too late to cover ears, payment procedure payment is an important member, and payment bills are more and more accumulated day by day and are time-consuming and unfriendly to view through interface page turning. The bill downloading function provided by the payment program is divided into 'for personal account checking' and 'for use as proof material', the bill needs to be input into a mailbox for receiving the bill, but the 'for personal account checking' can only be downloaded for three months once, and the 'for use as proof material' can be extracted for one year once, so that the bills for multiple years need to be extracted for multiple times, and the bill downloading is inconvenient.
Disclosure of Invention
The invention aims to solve the technical problem of providing a method for fixing a bill of a payment program, which can overcome the problems of complex check and difficult downloading of the bill of the payment program and effectively improve the fixing efficiency of the bill of the payment program.
The invention adopts the following technical scheme for solving the technical problems: the invention designs a bill fixing method for a payment program, which is characterized in that bill extraction of a target account is realized by a terminal provided with a Fiddler debugging agent aiming at the target account logged by the payment program installed at a mobile terminal; the method comprises the following steps:
step A, controlling the mobile terminal to connect the Internet through a hotspot network of the terminal in an agent networking mode corresponding to a Fiddler debugging agent on the terminal, and then entering step B;
b, searching bill data of a target account logged by a payment program on the mobile terminal by a Fiddler debugging agent on the terminal, extracting Cookies of the bill data, and entering the step C;
c, splicing Cookies data, last _ trans _ id data and start _ time data in Cookies of the bill data by a Fiddler debugging agent on the terminal according to a packet capturing format, sending the Cookies data, last _ trans _ id data and start _ time data to a payment server, acquiring json format bill data returned by the payment server, and entering the step D;
and D, analyzing and cleaning the json format bill data by the terminal, storing the json format bill data into a database, and finishing bill extraction of the target account.
As a preferred technical scheme of the invention: and step B, opening a Fiddler debugging agent on the terminal based on the login state of the target account corresponding to the payment program on the mobile terminal, sequentially clicking the payment program- > I- > Payment- > wallet- > Bill, searching data with url being user rolllisturl in the Fiddler debugging agent, namely searching bill data of the target account which is logged in by the payment program on the mobile terminal, and extracting Cookies of the bill data.
As a preferred technical scheme of the invention: the step A comprises the following steps A1 to A3;
step A1, the mobile terminal is set to be connected with the Internet through the hotspot network of the terminal, and the step A2 is carried out;
step A2, a CA certificate corresponding to a Fiddler debugging agent in the terminal is installed on the mobile terminal, and the step A3 is carried out;
and step A3, modifying the proxy of the terminal hotspot network connected with the mobile terminal according to the IP address of the terminal and the port number of the Fiddler debugging proxy on the terminal.
As a preferred technical scheme of the invention: the step A2 comprises the following steps A2-1 to A2-2;
step A2-1, acquiring the IP address of the terminal, configuring the port number of the Fiddler debugging agent on the terminal, and then entering step A2-2;
and step A2-2, the mobile terminal accesses the Fiddler debugging agent on the terminal according to the IP address of the terminal and the port number of the Fiddler debugging agent, downloads and installs the CA certificate of the Fiddler debugging agent.
As a preferred technical scheme of the invention: in the step a2-1, the IP address of the terminal is obtained by the Ipconfig method.
As a preferred technical scheme of the invention: in the step A2-2, the mobile terminal accesses the http:// IP: port number by using a browser according to the terminal IP address and the port number of the Fiddler debugging agent, and accesses the Fiddler debugging agent on the terminal.
As a preferred technical scheme of the invention: the terminal is a computer, and the mobile terminal is a mobile phone.
Compared with the prior art, the bill fixing method for the payment program has the following technical effects that by adopting the technical scheme:
the payment program bill fixing method is based on debugging agent software, a Cookies extraction method in an agent mode is designed, a terminal provided with a Fiddler debugging agent is used for communicating with a payment server in a Cookies extraction and data packet construction mode aiming at a target account number logged by a payment program installed at a mobile terminal, json format bill data returned by the payment server is obtained, data analysis and cleaning operations are added, the lookup efficiency of subsequent bill data is improved, and bill extraction of the target payment account number is realized; the whole design method overcomes the problems of complex checking and difficult downloading of the bill of the payment program, and effectively improves the fixed efficiency of the bill of the payment program.
Drawings
Fig. 1 is a schematic diagram of an application architecture of a method for fixing a bill of a payment program according to the present invention;
FIG. 2 is a schematic diagram of a port number setting interface in the Fiddler debugging agent;
fig. 3 is a schematic diagram of an interface for downloading and installing CA certificates in a Fiddler debugging agent.
Detailed Description
The following description will explain embodiments of the present invention in further detail with reference to the accompanying drawings.
Cookies extraction requires installing a proxy certificate in a mobile phone for extracting http/https protocol data, wherein Cookies related certificates are attached to the http/https data, the certificates have a certain time validity period, a mobile phone payment program needs to be logged in before bills are extracted, a payment- > wallet- > bill is clicked, and protocol data issued by a server are extracted. Cookies can be extracted by using Fiddler (Fiddler is an http/https debugging agent, can read communication protocol data between a computer and the Internet, and can also read mobile phone network data of an installed agent and in the same network segment), and Android and IOS system mobile phones are supported.
Therefore, the invention designs a bill fixing method for a payment program, which comprises the steps of utilizing a payment program protocol, obtaining a voucher for checking a bill of a target account through an agent, then extracting the bill by utilizing a protocol mode, and then performing warehousing processing on bill data, wherein as shown in fig. 1, the bill extraction of the target account is realized by aiming at the target account logged by a payment program installed at a mobile terminal through a terminal provided with a Fiddler debugging agent; in practical applications, the following steps A to D are performed.
And step A, controlling the mobile terminal to connect the Internet through a hotspot network of the terminal in an agent networking mode corresponding to a Fiddler debugging agent on the terminal, and then entering the step B.
In practical applications, the step a is executed as the following step a1 to step A3.
And A1, controlling to start the hotspot network of the terminal, setting the mobile terminal to be connected with the Internet through the hotspot network of the terminal, and entering the step A2.
Step a2, the following steps a2-1 to a2-2 are performed, a CA certificate corresponding to the Fiddler debug agent in the terminal is installed on the mobile terminal, and step A3 is entered.
And step A2-1, acquiring the IP address of the terminal, configuring the port number of the Fiddler debugging agent on the terminal, and then entering the step A2-2.
In practical application, specifically, the IP address of the terminal is obtained in an Ipconfig manner, and regarding the configuration of the port number of the Fiddler debugging agent, as shown in fig. 2, Tools- > Options- > Connections in the Fiddler debugging agent are sequentially clicked, and the port number in the "fiddlerlists on port" input box of the page can be automatically modified, and the default is 8888.
And step A2-2, the mobile terminal accesses the port number of http:// IP according to the IP address of the terminal and the port number of the Fiddler debugging agent by specifically applying a browser and accessing the Fiddler debugging agent on the terminal according to the diagram shown in figure 3, and downloads and installs the CA certificate of the Fiddler debugging agent.
And step A3, modifying the proxy of the terminal hotspot network connected with the mobile terminal according to the IP address of the terminal and the port number of the Fiddler debugging proxy on the terminal, and setting the proxy to be manual.
And step B, finding the bill data of the target account logged by the payment program on the mobile terminal by the Fiddler debugging agent on the terminal, extracting the Cookies of the bill data, and then entering the step C.
In practical application, based on the login state of the target account corresponding to the payment program on the mobile terminal, the Fiddler debugging agent on the terminal is opened, the payment program- > I- > Payment- > wallet- > bill is sequentially clicked, data with url being userllasturl is searched in the Fiddler debugging agent, namely, the bill data of the target account which is logged in by the payment program on the mobile terminal is searched, and Cookies of the bill data are extracted.
And C, splicing the Cookies data, last _ trans _ id data and start _ time data in the Cookies of the bill data by the Fiddler debugging agent on the terminal according to a packet capturing format, sending the Cookies data, last _ trans _ id data and start _ time data to the payment server, acquiring json format bill data returned by the payment server, and then entering the step D.
And D, in order to better view, search and analyze the bill data of the payment program, after the bill data is extracted, the terminal analyzes and cleans the json-format bill data, the json-format bill data is stored in a database, the bill extraction of the target account is completed, and the stored data can be used for individual bill viewing, overhead statistics and the like.
In the method for fixing the bill of the payment program, in the practical application, aiming at the terminal provided with the Fiddler debugging agent, a computer is adopted, aiming at the mobile terminal provided with the payment program, a mobile phone is adopted, and in the practical execution, namely the computer provided with the Fiddler debugging agent is adopted, according to the methods from the step A to the step D, the bill extraction of the target account is realized aiming at the target account logged by the payment program arranged on the mobile phone.
In practical application, the payment program bill fixing method is based on debugging agent software, a Cookies extraction method in an agent mode is designed, a terminal provided with a Fiddler debugging agent is used for communicating with a payment server in a Cookies extraction and data packet construction mode aiming at a target account number logged by a payment program installed at a mobile terminal, json format bill data returned by the payment server is obtained, data analysis and cleaning operations are added, the lookup efficiency of subsequent bill data is improved, and bill extraction of the target account number is realized; the whole design method overcomes the problems of complex checking and difficult downloading of the bill of the payment program, and effectively improves the fixed efficiency of the bill of the payment program.
The embodiments of the present invention have been described in detail with reference to the drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

Claims (7)

1. A payment program bill fixing method is characterized in that: through a terminal provided with a Fiddler debugging agent, bill extraction of a target payment account is realized for the target account logged by a payment program installed at a mobile terminal; the method comprises the following steps:
step A, controlling the mobile terminal to connect the Internet through a hotspot network of the terminal in an agent networking mode corresponding to a Fiddler debugging agent on the terminal, and then entering step B;
b, searching bill data of a target account logged by a payment program on the mobile terminal by a Fiddler debugging agent on the terminal, extracting Cookies of the bill data, and entering the step C;
c, splicing Cookies data, last _ trans _ id data and start _ time data in Cookies of the bill data by a Fiddler debugging agent on the terminal according to a packet capturing format, sending the Cookies data, last _ trans _ id data and start _ time data to a payment server, extracting json format bill data returned by the payment server, and entering the step D;
and D, analyzing and cleaning the json format bill data by the terminal, storing the json format bill data into a database, and finishing bill extraction of the target account.
2. The method of fixing a bill for a payment program according to claim 1, wherein: and step B, opening a Fiddler debugging agent on the terminal based on the login state of the target account corresponding to the payment program on the mobile terminal, and sequentially clicking the payment program->I take one's help>Payment->Wallet>Billing, looking up in Fiddler debugging AgentsurlFor userrolllisturl data, i.e. finding mobile end-upsAnd extracting Cookies of the bill data from the bill data of the target account logged in by the payment program.
3. The method of fixing a bill for a payment program according to claim 1, wherein: the step A comprises the following steps A1 to A3;
step A1, the mobile terminal is set to be connected with the Internet through the hotspot network of the terminal, and the step A2 is carried out;
step A2, a CA certificate corresponding to a Fiddler debugging agent in the terminal is installed on the mobile terminal, and the step A3 is carried out;
and step A3, modifying the proxy of the terminal hotspot network connected with the mobile terminal according to the IP address of the terminal and the port number of the Fiddler debugging proxy on the terminal.
4. The method of fixing a bill for a payment program according to claim 1, wherein: the step A2 comprises the following steps A2-1 to A2-2;
step A2-1, acquiring the IP address of the terminal, configuring the port number of the Fiddler debugging agent on the terminal, and then entering step A2-2;
and step A2-2, the mobile terminal accesses the Fiddler debugging agent on the terminal according to the IP address of the terminal and the port number of the Fiddler debugging agent, downloads and installs the CA certificate of the Fiddler debugging agent.
5. The method of fixing a bill for a payment program according to claim 4, wherein: in the step a2-1, the IP address of the terminal is obtained by the Ipconfig method.
6. The method of fixing a bill for a payment program according to claim 4, wherein: in the step A2-2, the mobile terminal accesses the http:// IP: port number by using a browser according to the terminal IP address and the port number of the Fiddler debugging agent, and accesses the Fiddler debugging agent on the terminal.
7. The method of fixing a bill for a payment program according to claim 1, wherein: the terminal is a computer, and the mobile terminal is a mobile phone.
CN202011021118.4A 2020-09-25 2020-09-25 Payment program bill fixing method Pending CN112085487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011021118.4A CN112085487A (en) 2020-09-25 2020-09-25 Payment program bill fixing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011021118.4A CN112085487A (en) 2020-09-25 2020-09-25 Payment program bill fixing method

Publications (1)

Publication Number Publication Date
CN112085487A true CN112085487A (en) 2020-12-15

Family

ID=73738206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011021118.4A Pending CN112085487A (en) 2020-09-25 2020-09-25 Payment program bill fixing method

Country Status (1)

Country Link
CN (1) CN112085487A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254262A (en) * 2011-07-29 2011-11-23 中国工商银行股份有限公司 Agent service payment system based on online bank
CN108009818A (en) * 2017-10-30 2018-05-08 牟林 A kind of on-line payment method and system based on distributed network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254262A (en) * 2011-07-29 2011-11-23 中国工商银行股份有限公司 Agent service payment system based on online bank
CN108009818A (en) * 2017-10-30 2018-05-08 牟林 A kind of on-line payment method and system based on distributed network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ALAN_山: "解决Python3抓取账单信息问题", pages 1 - 4, Retrieved from the Internet <URL:https://www.jb51.net/article/165740.htm> *
前端: "Fiddler安卓手机抓包教程", pages 1 - 6, Retrieved from the Internet <URL:https://www.codercto.com/a/55034.html> *

Similar Documents

Publication Publication Date Title
CN110245165A (en) Risk conduction association map optimization method, device and computer equipment
US8761757B2 (en) Identification of communication devices in telecommunication networks
CN103269479B (en) A kind of call bill processing method, device and system
CN102469117B (en) Method and device for identifying abnormal access action
CN105068876B (en) Method based on distributed deployment prototype collection cell phone application performance data
CN111221739A (en) Service testing method, device and system
CN104412565B (en) For relating to the method that the socket of bearer independent protocol manages
US9554323B2 (en) Generating sequenced instructions for connecting through captive portals
CN110798445B (en) Public gateway interface testing method and device, computer equipment and storage medium
CN106911523A (en) The method and system that mobile interchange network users are positioned by LTE indulging in the internet
CN102298617A (en) Method for obtaining target page and equipment
JP2014038604A (en) Statistical analysis system for communication behavior
CN104092660B (en) A method of accessing website
CN103345786A (en) Automatic sign-in method based on WIFI network
CN105553770B (en) Data acquisition control method and device
CN111294849A (en) Method and device for judging poor Internet access quality of LTE (Long term evolution) user
CN110519263A (en) Anti- brush amount method, apparatus, equipment and computer readable storage medium
CN108345606A (en) The acquisition methods and device of web page resources
CN101848430B (en) Device and method for service request authentication, service request authentication system and method of service request authentication system
CN104363265A (en) Proxy internet surfing detecting method and proxy internet surfing detecting device
CN105429865A (en) WeChat public number data collection method and device based on browser
CN112085487A (en) Payment program bill fixing method
CN113055420B (en) HTTPS service identification method and device and computing equipment
CN102469450B (en) Method and device for recognizing virus characteristics of mobile phone
CN106302856A (en) A kind of method and system shortening Android intelligence POS exchange hour

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