Method for using multithreaded frame in online charging network service

A network service, multi-threading technology, applied in the field of online billing network services, can solve the problems of message blocking channels, unscientific layering, low throughput rate, etc., and achieve the effect of reducing development volume, enhancing scalability, and reducing delay.

Inactive Publication Date: 2010-06-02
LINKAGE SYST INTEGRATION
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is, read a piece of data from the forward socket, decode it and put it into the request queue inside the OCS system, and then read a piece of data from the return queue inside the OCS system and then send it to SCP after being encoded in the dcc format. Not every poll will have data, resulting in a lot of empty waiting
Or sometimes when a large amount of data suddenly appears on one side (such as the network side), because the program needs to take into account the timeliness of response message processing, half of the time is often wasted on processing the reverse message channel with a much smaller amount of data, resulting in The throughput rate of the system is very low. When the number of online users reaches more than 100w, it becomes the bottleneck module of the entire system. When it is busy, it often causes messages to block the channel.
In addition, the layering of the dcc protocol of the previous network service was unscientific, resulting in the new business being added and the whole-body changes being triggered, which was error-prone

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 for using multithreaded frame in online charging network service
  • Method for using multithreaded frame in online charging network service
  • Method for using multithreaded frame in online charging network service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] In order to make the above and other objects, features and advantages of the present invention more comprehensible, the preferred embodiments are described below in detail together with the accompanying drawings.

[0013] figure 1 It is an architecture diagram of a method for using a multithreading framework for an online billing network service. Such as figure 1 As shown, the architecture of the method for using the multi-thread framework for the online charging network service can be divided into functions according to functions: a socket network service part, a thread processing data part and a protocol part. The above functional parts are introduced as follows:

[0014] Socket network service part:

[0015] Responsible for receiving and destroying connections, forking and destroying threads;

[0016] Responsible for the output of system alarm information;

[0017] Multiple access concurrency control.

[0018] Thread processing data part:

[0019] The forward ...

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 for using multithreaded frame in online charging network service. The method comprises the following steps: network service process starts the listening socket of the server-side to listen so as to wait the client-side to connect, when the listening socket listens the connection of a new client-side, the network service process of the server-side derives a forward thread and a reverse thread, the forward thread reads forward data from the socket, and the reverse thread sends the data to the socket. The method of the invention can be used to ensure that the forward and reverse data of the network interface can be timely treated at any time, thus completely reducing the time delay of data at the network interface.

Description

technical field [0001] The invention relates to the field of online charging network services, in particular to a method for using a multi-thread framework for online charging network services. Background technique [0002] Online billing, that is, real-time billing, as a supplement to traditional offline billing, has been paid more and more attention by operators because of the characteristics of real-time billing, control of user arrears, and improvement of user perception. The online charging system (OCS system) adopts the Diameter CC protocol (dcc protocol) interface to connect with the core network elements, accepts the charging requests of the core network elements, and returns the results to the core network after the approval and authorization of the system to achieve control The purpose of the user's business. Throughout the process, the performance and stability of the interface between the OCS system and the core network is particularly important. The performance...

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): H04L12/14H04L29/06
CPCH04L12/1467H04L12/1403G06Q40/12H04M17/00H04M15/00H04L12/14H04M15/64G06Q40/10
Inventor 王锋平单志强梁斌李华张有根夏琰司马军辉
Owner LINKAGE SYST INTEGRATION
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