Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus for offline processing of service data

A business data, offline technology, applied in the computer field, can solve problems such as low scalability, increased software testing costs, and inability to test smoothly

Inactive Publication Date: 2019-01-01
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. At present, there is no method that can support offline test interface;
[0006] 2. This method has higher requirements on the ability of software testers, and requires software testers to have a certain level of coding;
[0007] 3. This method also requires software testers to invest additional testing time to write and maintain mock codes, thus increasing the cost of software testing;
[0008] 4. Since the general mock code cannot flexibly satisfy the execution of all test cases, this method has low scalability;
[0009] 5. In addition, because the mock program must also rely on the Internet, the test work cannot be carried out smoothly without the Internet

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for offline processing of service data
  • Method and apparatus for offline processing of service data
  • Method and apparatus for offline processing of service data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0052]The present invention will be specifically described below in conjunction with a specific embodiment, but it should be noted that this specific embodiment is only for better describing the present invention, and does not constitute an improper limitation of the present invention.

[0053] The following describes a user's online shopping payment process as an example, and the payment process roughly includes the following steps:

[0054] Step S201: Select the product to be purchased;

[0055] Step S202: adding the purchased product into the shopping cart;

[0056] Step S203: According to the commodity price in the shopping cart, the user pays the equivalent currency online to complete the order;

[0057] Step S204: After receiving the notification of successful payment, the merchant completes the delivery and delivery task according to the order information.

[0058] In the above steps, the interface interaction between the e-commerce system and the bank server must be ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a device for offline processing service data. The method is used for realizing that a service processing request of a client in an offline state can obtain responsedata of a server. The method comprises the following steps: according to the online service data, a feedback mechanism for offline service data processing being established, wherein, the feedback mechanism is used for processing the offline service data; receiving a service request in an offline state, wherein the service request includes an interface identification of the server; according to the feedback mechanism and the interface identifier, response data corresponding to the service request being generated, and the response data being sent to the client. Because the feedback mechanism ofoff-line service data processing is established by collecting the service data in the networked state, the corresponding response data can be returned according to the actual service request in the off-line state, and the whole service processing flow can be effectively avoided if an interface problem affects the whole service processing flow in a whole service flow. The feedback mechanism of off-line service data processing can ensure that the response data is returned according to the actual service request in the off-line state.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for offline processing of service data. Background technique [0002] In the current testing process of the Internet environment, the software verification work after the development must rely on the communication between the various subsystems of the system in the network environment or the communication with external systems. However, if the subsystem has not been developed or the system is in an offline environment, the program verification function cannot be realized, and the software testing work can only be started after the entire development project is completed. [0003] As we all know, software testers can effectively guarantee the overall quality of software development projects only if they find out the defects of the developed software as soon as possible and ensure that they are repaired, so as to save the human and material costs in software development...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36H04L29/06
CPCG06F11/3664H04L67/01
Inventor 王甲林王兰平翟高峰
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products