Business processing method and device

A technology for business processing and processing results, applied in transmission systems, electrical components, etc., can solve problems such as poor interface scalability and maintainability, and achieve the effect of ensuring scalability and maintainability, reducing the number of calls, and avoiding system memory leaks

Inactive Publication Date: 2016-06-01
ALIBABA GRP HLDG LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this approach violates the principle of single responsibility defined by the interface, allowing the business logic that should not be merged together to be artificially merged in one place, and the subsequent interface scalability and maintainability are relatively poor.

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
  • Business processing method and device
  • Business processing method and device
  • Business processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0047] refer to figure 1 , which shows a flow chart of the steps of an embodiment of a business processing method of the present application, which may specifically include the following steps:

[0048] Step 101, when a service request is received, create a thread cache for the service request;

[0049] It should be noted that the embodiment of the present application can be applied to a business system with layered architecture. In the development of business systems, in order to complete the development of business systems more reasonably and efficiently, a layered architecture is usually used to design the system.

[0050] For example, a typical example is a four-tier architecture, which could inclu...

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

Embodiments of the invention provide a business processing method and device. The method comprises the following steps: when a business request is received, creating thread cache for the business request; and, under the business request, when processing aiming at a service request is initiated, storing a processing result of the service request in the thread cache so that the processing result of the service request is called from the thread cache when the processing for the service request is initiated again. The processing result is extracted from the thread cache, an external service system does not need to be called again, the call frequency of the external service system is greatly reduced, and the system resource overhead is lowered; and the processing result does not rely on any other storage and neither occupies a memory space of an application, the method is a lightweight thread cache implementation scheme, business interfaces are prevented from being merged, a single responsibility of each interface is kept, and system expansibility and maintainability are guaranteed.

Description

technical field [0001] The present application relates to the technical field of caching, and in particular to a service processing method and a service processing device. Background technique [0002] In a high-availability and high-concurrency cluster such as SOA (Service-Oriented Architecture, Service-Oriented Architecture) architecture deployment, a page click behavior of a user may involve service interaction between multiple systems. [0003] An example of a scenario where a user logs in to a website is as follows: [0004] In the process of a user logging in to the website, after the login center system receives the user's login request, it first needs to confirm whether the user is a member. At this time, the page presentation layer of the login center system needs to query the user's identity information to confirm whether the user exists. Initiate a remote service call to the member core system through the business interface to query the user's identity informatio...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L29/06
Inventor 龚磊
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products