A method for processing web service data and a device for processing web service data

A business data and business processing technology, applied in the computer field, can solve problems such as processing logic confusion, record logic confusion, and low statistical accuracy, and achieve the effects of improving statistical accuracy, clear data records, and simple business logic

CN103578030BActive Publication Date: 2017-05-31BEIJING QIHOO TECH CO LTD
4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2017-05-31

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a data processing method and device, and relates to the technical field of computers. The method comprises the steps that a service request sent by a web server is received; a corresponding request object and various corresponding statistics types are obtained according to the service request; a recording account ID is established by the request object and the various statistics types, responding data of a target server are obtained from the corresponding server of the request object through the web server, and recording is conducted according to the recording account ID. Accordingly, the data processing method and device solves the problems that the data size of analysis processing is large, the efficiency is low, the transaction process can not be recorded clearly, and logic errors can occur easily when late statistics is conducted. The advantages that the data size of analysis processing can be lowered, the processing efficiency is improved, interaction process data are recorded clearly, the service logic in the late statistics can be simple, and the statistics accuracy can be improved are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of computers, in particular to a method for processing web service data and a device for processing web service data. Background technique

[0002] With the development of the internet and computer technology, more and more people are shopping online, such as recharging mobile phones, purchasing electronic products online, etc. In this process, the first client (corresponding to consumers), the second The second client (corresponding to the merchant) connects to the servers of each bank through the platform server system to perform various transactions such as payment and refund. In this process, both the consumer client and the merchant client may use different bank servers for payment, transfer and other operations when conducting transactions. In order to ensure that the first client or the second client, the platform server system, and each bank server are exchanging data, all parties will record the tr...

Examples

Embodiment 1

[0056] refer to figure 1 , which shows a schematic flowchart of a method for processing web business data in Embodiment 1 of the present invention, which may specifically include:

[0057] Step 102, receiving the service request sent by the web server;

[0058] In the embodiment of the present invention, the merchant's client or the consumer's client can interact with the web server, and it can also be understood that the merchant or consumer performs various operations in the webpage provided by the web server. So for example, the consumer's client clicks to purchase a certain product object in its browser page, and the web server returns the payment page to the consumer's browser, and the consumer selects a bank to make payment through the browser, and then browses After the server sends the payment data to the web server, the web server processes it, and then sends a business request (receipt request) to the account server in the embodiment of the present invention, and th...

Embodiment 2

[0102] In this embodiment, the data processing process is described by taking the collection transaction business as an example.

[0103] Taking the collection as ICBC, personal customer XX, and account ID 100001 in the system as an example, the accounting entries (recording account IDs selected in two business stages) are as follows:

[0104] Receipt of collection response stage records:

[0105] Dr. Other receivables---Industrial and Commercial Bank of China 1020

[0106] Cr. Other payables --- personal client funds 100001

[0107] Receipt of liquidation response stage records:

[0108] Dr. bank deposit---ICBC 1022

[0109] Cr. Other receivables---Industrial and Commercial Bank of China 1020

[0110] The following is a business scenario: the user account ID 100001 in the system of personal customer XX chooses to recharge 100 yuan to the account in the system with ICBC online banking, and introduces an accounting process in the embodiment of the present invention.

[011...

Embodiment 3

[0162] refer to image 3 , which shows a schematic structural diagram of a web service data processing device according to an embodiment of the present invention, including:

[0163] The request receiving module 302 is adapted to receive the service request sent by the web server;

[0164] The request processing module 304 is adapted to obtain a corresponding request object and a corresponding statistical type according to the business request;

[0165] The recording module 306 is adapted to construct a recording account ID with the request object and various statistical types, obtain the response data of the target server from the target server corresponding to the request object through the web server, and record according to the recording account ID.

[0166] Wherein, the request object is each bank server, and the statistics type is accounting subject, and also includes:

[0167] The bank number building module is suitable for allocating the first number for each bank an...