[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110365736A - A kind of telephone expenses back-end platform of distributed deployment - Google Patents

A kind of telephone expenses back-end platform of distributed deployment Download PDF

Info

Publication number
CN110365736A
CN110365736A CN201910454614.XA CN201910454614A CN110365736A CN 110365736 A CN110365736 A CN 110365736A CN 201910454614 A CN201910454614 A CN 201910454614A CN 110365736 A CN110365736 A CN 110365736A
Authority
CN
China
Prior art keywords
server
channel
account
django
order
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
CN201910454614.XA
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.)
Wuhan Fast Charging Communication Technology Co Ltd
Original Assignee
Wuhan Fast Charging 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 Wuhan Fast Charging Communication Technology Co Ltd filed Critical Wuhan Fast Charging Communication Technology Co Ltd
Priority to CN201910454614.XA priority Critical patent/CN110365736A/en
Publication of CN110365736A publication Critical patent/CN110365736A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • 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/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention proposes a kind of telephone expenses back-end platforms of distributed deployment, telephone expenses back-end platform is built by Nginx+uWSGI+Django, data traffic is shared multiple servers to execute, mitigate the pressure of every server, multiple servers complete task jointly, so that the handling capacity of data is improved, it can be under the configuration of the standard server of 4 core 8G, the peak value of 100,000 single request/hours is born, and the cpu memory usage of server can't be run completely;By using cur.close () function and conn.close () function to close the connection with mysql database in query steps each in Django server, avoid occupying database connection number for a long time;Thread is turned off using sys.exit (0) function, avoids occupying thread.By the connection and the thread that turn off database, it is possible to reduce the load of server improves the tenability of server high concurrent.

Description

A kind of telephone expenses back-end platform of distributed deployment
Technical field
The present invention relates to telephone recharge field more particularly to a kind of telephone expenses back-end platforms of distributed deployment.
Background technique
The platform of existing most api interface be it is integrated, both front end, rear end and database were on a server, in face When to high concurrent, server performance is required it is high, and because after high concurrent, it is every promoted 1 it is concurrent required for performance far more than It is low concurrent, so can be much lower in terms of cost performance, the configuration ability of the most 16 core 64G of integrated platform basic need in market The request of data of or so 100,000 list/hours is born, relatively cost will be much higher, furthermore data are all contained by the server Incipient fault for data security it is very big, therefore, to solve the above problems, the telephone expenses rear end that the present invention provides a kind of distributed deployment is flat Platform may be implemented the storage of data distribution formula, reduce loss of data hidden danger, and realize that data quickly export in high concurrent.
Summary of the invention
In view of this, data distribution formula may be implemented the invention proposes a kind of telephone expenses back-end platform of distributed deployment Storage reduces loss of data hidden danger, and realizes that data quickly export in high concurrent.
The technical scheme of the present invention is realized as follows: the present invention provides a kind of telephone expenses rear ends of distributed deployment to put down Platform comprising the web browser of request is sent, is stored, the mysql database of management and access data, realization reverse proxy, The Nginx server of static requests, index file and automatic indexing is handled, realizes WSGI agreement, uwsgi and http agreement UWSGI server realizes the Django server of business processing flow, realizes between uWSGI server and Django server The WSGI interface of protocol conversion, Django server in each query steps using cur.close () function and Conn.close () function closes the connection with mysql database;
At the end of per thread in Django server, thread is turned off using sys.exit (0) function;
Http request from web browser to Nginx server for services device resource, Nginx server receive http ask It asks and analysis request then reads the static file catalogue of Nginx server configuration and return to the money of request if static requests Source, if dynamic requests, then all solicited messages are transmitted to uWSGI server by Nginx server, and uWSGI server connects Receive request, and be transmitted to WSGI interface, WSGI interface according to some file or function in request call Django server, Data and processing in Django server calls mysql database, Django server gives return value after having handled Return value is packaged by WSGI interface, WSGI interface, is transmitted to uWSGI server, and uWSGI server is transmitted to after receiving Return value is finally returned to web browser by Nginx server, Nginx server.
On the basis of above technical scheme, it is preferred that when mysql database creates list, driven and selected using innooDB List is selected, commonly inquires in built-in value and indexes in list.
On the basis of above technical scheme, it is preferred that the process of Django server process business the following steps are included:
S1, data parsing is carried out to the http request that web browser is sent according to the format appointed, verifies user's Account, if account number exist, read account information, and carry out in next step, wherein account information include order number parameter, Phone number, backpack body, specified channel group, the backpack body price of configuration and account balance;Failure is returned if account number is not present;
S2, the request type for judging user, if request type is to query the balance, effect signature is rung if signature is correct Answer corresponding account balance;If signature is incorrect, failure is returned;
If request type is to supplement with money, effect signature continues process if signature is correct;If signature is incorrect, return Failure;
S3, duplicate checking is carried out in mysql database order list according to the subsidiary order number parameter of account, if not repeating, into Row is in next step;If repeating, failure is returned;
S4, subsidiary phone number is inquired in mysql database, obtain corresponding ownership place and operator's informaiton;
S5, in the subsidiary backpack body of mysql data base querying, obtain corresponding backpack body price;
S6, the channel group specified by mysql data base querying account obtain the channel list that can be routed, It is the channel opened that state is inquired in channel list, and updates channel list;
S7, the backpack body price that account is configured is inquired in mysql database, in the group of mysql data base querying channel State is the channel that channel price is lower than account's backpack body price in the channel opened, and obtains and final supplements channel with money;
S8, judge the whether enough pay invoices of account balance, failure is returned to if insufficient, if continuing process enough;
S9, the supplier's account for supplementing channel with money is obtained by inquiry mysql database, supplemented with money, if supplier Return is submitted successfully, database is written in order number, and update account balance and channel remaining sum, is written in mysql database Client's consumer record and channel consumer record;If supplier, which returns, submits failure, order record is written in mysql database.
If Django server generates random order number it is further preferred that client is not attached to order parameter in S3.
It is further preferred that backpack body price is the standard price of telephone recharge face amount in S5.
It is further preferred that the backpack body price that account is configured in S7 is to sell to the price of client;
Channel price is the cost price of telephone recharge.
It is further preferred that the process that supplier pushes the end-state of order in S9 the following steps are included:
The data that S101, Django server are returned according to regulation format parsing supplier, the number returned by supplier According to corresponding to order information in mysql database;
If the callback information that S102, supplier return is successful recharging, the order status of lane database is updated, is written back Information is adjusted, callback information is pushed according to the loopback address in order information;
If the callback information that S103, supplier return is to supplement the order status for unsuccessfully updating lane database with money, be written back Information is adjusted, callback information is pushed according to the loopback address in order information, the account balance after calculating reimbursement calculates reimbursement Channel remaining sum afterwards updates account balance and channel remaining sum, the reimbursement record of more new account consumption, the reimbursement of more new tunnel consumption Record.
It is further preferred that obtaining account in mysql database when the loopback address in S101 in order information is empty The loopback address of binding.
It is further preferred that prevent the callback information of supplier's return not to be received in S102 or S103, Django server timing carries out the master to supplier to the order for not having callback information in the order list in mysql database Dynamic status inquiry is inquired and is adjusted back successfully or after readjustment failure, pushes again according to end-state of the supplier to order Process update mysql database and readjustment.
A kind of telephone expenses back-end platform of distributed deployment of the invention has the advantages that compared with the existing technology
(1) telephone expenses back-end platform is built by Nginx+uWSGI+Django, data traffic can be shared to multiple clothes Business device executes, and mitigates the pressure of every server, multiple servers complete task jointly, to improve handling up for data Amount can bear the peak value of 100,000 single request/hours, and in the cpu of server under the configuration of the standard server of 4 core 8G Depositing utilization rate can't run completely;
(2) by using cur.close () function and conn.close in query steps each in Django server () function closes the connection with mysql database, avoids occupying database connection number for a long time;It is every in Django server At the end of a thread, thread is turned off using sys.exit (0) function, avoids occupying thread.By turn off database connection with And thread, it is possible to reduce the load of server improves the tenability of server high concurrent.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structure chart of the telephone expenses back-end platform of distributed deployment of the present invention;
Fig. 2 is a kind of business processing flow figure of the telephone expenses back-end platform of distributed deployment of the present invention;
Fig. 3 is to push flow chart in a kind of business processing flow of the telephone expenses back-end platform of distributed deployment of the present invention.
Specific embodiment
Below in conjunction with embodiment of the present invention, the technical solution in embodiment of the present invention is carried out clearly and completely Description, it is clear that described embodiment is only some embodiments of the invention, rather than whole embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all Other embodiments shall fall within the protection scope of the present invention.
Embodiment one,
As shown in Figure 1, a kind of telephone expenses back-end platform of distributed deployment of the invention comprising the webpage for sending request is clear Look at device, storage, management and access data mysql database, realize reverse proxy, processing static requests, index file and The Nginx server of automatic indexing realizes the uWSGI server of WSGI agreement, uwsgi and http agreement, realizes business processing The Django server of process realizes the WSGI interface of protocol conversion between uWSGI server and Django server.
Wherein, specific request processing flow are as follows: http of the web browser to Nginx server for services device resource Request, Nginx server receives http request and analysis request, if static requests, then reads the quiet of Nginx server configuration State file directory and the resource for returning to request, if dynamic requests, then all solicited messages are transmitted to by Nginx server UWSGI server, uWSGI server receives request, and is transmitted to WSGI interface, and WSGI interface takes according to request call Django Some file or function being engaged in device, data and processing in Django server calls mysql database, after having handled Django server gives return value to WSGI interface, and return value is packaged by WSGI interface, is transmitted to uWSGI server, UWSGI server is transmitted to Nginx server after receiving, and return value is finally returned to web browser by Nginx server.
Nginx server is a lightweight, high-performance, the HTTP and reverse proxy service that stability is high, concurrency is good Device, in the present embodiment, the function of Nginx server mainly have following three points function:
First point, it is mainly used to act on behalf of the destination server to be accessed, can be turned according to different canonical using different Hair strategy, in the present embodiment, the forwarding strategy that Nginx server uses is: if request is static requests, reading service device Dynamic requests are transmitted to uWSGI server if request is dynamic requests by disk;
Second point is used for load balancing, mostly needs in high concurrent using principle exactly shares data traffic It is executed to multiple servers, mitigates the pressure of every server, multiple servers complete task jointly, to improve number According to handling capacity, the present embodiment is exactly the request that high concurrent is undertaken by above-mentioned principle;
Thirdly, dynamic requests and static requests are separated, suitable server process is requested accordingly, makes entirely to take The performance, more efficient for device system of being engaged in.Nginx server does different forwardings to different requests according to configuration, this is dynamic point From basis.The corresponding static resource of static requests can be placed directly on Nginx server and buffer, dynamic requests by UWSGI server process.
UWSGI server may be implemented the agreements such as WSGI agreement, uwsgi and http agreement, and have ultrafast performance, Low EMS memory occupation, more app management, detailed journal function and height may customize feature, in the present embodiment, mainly for the treatment of The dynamic requests forwarded by Nginx server, and realize with Nginx server with uwsgi protocol communication.
WSGI interface, full name Web Server Gateway Interface or Python Web ServerGateway Interface is between the Web server and web application or frame defined for Python The simple and general interface of one kind.In the narrow sense, WSGI interface is a Gateway, that is, gateway, the effect of gateway Exactly converted between agreement.WSGI interface is as one between Web server and web application or application framework The interface of kind low level, to promote the common ground of portable Web application and development.WSGI is like a bridge block, and in succession web on one side Server, another side are ined succession the application of user, and WSGI has two sides: " server " or " gateway " side, and " application program " or " application framework " side.Service side calls application side, provides environmental information and a call back function (is supplied to application program For message header is passed to server side), and web content is received as return value.WSGI interface middleware realizes simultaneously Two sides of API, therefore can be serviced in WSGI and play conciliation between WSGI application: for the angle of WSGI server, Middleware plays the part of application program, and for the angle of application program, middleware plays the part of server.
Django is a WEB Development Framework, can develop web project with it, and web needs server to run, Such as common nginx server, apache server and uWSGI server etc., these servers be merely responsible for operation program (by The project that django writes), user requests on the server that can be sent, and then server requests Django, Django to return corresponding Result to web server, be then returned to user.In the present embodiment, Django is as application server, abbreviation Django Server, Django server are closed in each query steps using cur.close () function and conn.close () function With the connection of mysql database, avoid occupying database connection number for a long time;Per thread in Django server terminates When, thread is turned off using sys.exit (0) function, avoids occupying thread.It, can be with by turning off connection and the thread of database High concurrent is provided for server to support.
Mysql database is a relevant database management database, is saved the data in different tables, rather than All data are placed in one big warehouse, which adds speed and improve flexibility.Mysql database by one or Multiple table compositions, one of table include gauge outfit, column and row, value and key, and gauge outfit is the title of each column;It is classified as with phase With the set of the data of data type;The every a line of behavior is used to describe the specifying information of certain record;Value is capable specifying information, Each value must be identical as the data type of the column;The value of key has uniqueness in working as forefront;Several row and columns composition one Open list, several list composition data libraries.In the present embodiment, it when mysql database creation list, is driven using innooDB Dynamic selection list, commonly inquires on key assignments in list and indexes, can quickly read the data in mysql database.
In the present embodiment, for Nginx server as forwarding agency, uWSGI server is responsible for the distribution of multithreading task, Django server process dynamic requests.In the present embodiment, had using the benefit that Django is used alone in uWSGI+Django ratio: The concurrency of support is higher, facilitates management multi-process, plays the advantage and improving performance of multicore, because of uwsgi agreement ratio WSGI agreement is advantageous;And Nginx+uWSGI+Django ratio uWSGI+Django is advantageous in that nginx can provide forwarding generation Reason, improves the safety of kernel program, the telephone expenses back-end platform built by Nginx+uWSGI+Django can be in 4 core 8G Standard server configuration under, bear the peak value of 100,000 single request/hours, and the cpu memory usage of server can't It runs full.
Embodiment two,
On the basis of example 1, the present embodiment provides after a kind of telephone expenses based on Nginx+uWSGI+Django composition The method for holding platform processing business, as shown in Fig. 2, specifically includes the following steps:
S1, data parsing is carried out to request according to the format appointed, the account of user is verified, if account number is deposited Account information is being read, and carry out in next step, wherein account information includes order number parameter, phone number, backpack body, specified Channel group, the backpack body price of configuration and account balance;Failure is returned if account number is not present;
S2, the request type for judging user, if request type is to query the balance, effect signature is rung if signature is correct Answer corresponding account balance;If signature is incorrect, failure is returned;
If request type is to supplement with money, effect signature continues process if signature is correct;If signature is incorrect, return Failure;
S3, duplicate checking is carried out in mysql database order list according to the subsidiary order number parameter of account, if not repeating, into Row is in next step;If repeating, failure is returned;If client is not attached to order parameter, Django server generates random order number;
S4, subsidiary phone number is inquired in mysql database, obtain corresponding ownership place and operator's informaiton;
S5, in the subsidiary backpack body of mysql data base querying, obtain corresponding backpack body price;Wherein, backpack body price is telephone expenses Supplement the standard price of face amount with money;
S6, the channel group specified by mysql data base querying account obtain the channel list that can be routed, It is the channel opened that state is inquired in channel list, and updates channel list;
S7, the backpack body price that account is configured is inquired in mysql database, in the group of mysql data base querying channel State is the channel that channel price is lower than account's backpack body price in the channel opened, and obtains and final supplements channel with money;Wherein, account The backpack body price configured is to sell to the price of client, and channel price is the cost price of telephone recharge;
S8, judge the whether enough pay invoices of account balance, failure is returned to if insufficient, if continuing process enough;
S9, the supplier's account for supplementing channel with money is obtained by inquiry mysql database, supplemented with money, if supplier Return is submitted successfully, database is written in order number, and update account balance and channel remaining sum, is written in mysql database Client's consumer record and channel consumer record;If supplier, which returns, submits failure, order record is written in mysql database.
Wherein, as shown in figure 3, the process that supplier pushes the end-state of order in S9 the following steps are included:
The data that S101, Django server are returned according to regulation format parsing supplier, the number returned by supplier According to corresponding to order information in mysql database;
If the callback information that S102, supplier return is successful recharging, the order status of lane database is updated, is written back Information is adjusted, callback information is pushed according to the loopback address in order information;When the loopback address in order information is empty, The loopback address of account's binding is obtained in mysql database;
If the callback information that S103, supplier return is to supplement the order status for unsuccessfully updating lane database with money, be written back Information is adjusted, callback information is pushed according to the loopback address in order information, the account balance after calculating reimbursement calculates reimbursement Channel remaining sum afterwards updates account balance and channel remaining sum, the reimbursement record of more new account consumption, the reimbursement of more new tunnel consumption Record.
Wherein, to prevent the callback information of supplier's return not to be received in S102 or S103, Django server Timing carries out the active state inquiry to supplier to the order for not having callback information in the order list in mysql database, It inquires and adjusts back successfully or after readjustment failure, updated again according to the process that end-state of the supplier to order is pushed Mysql database and readjustment.
The foregoing is merely better embodiments of the invention, are not intended to limit the invention, all of the invention Within spirit and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (9)

1. a kind of telephone expenses back-end platform of distributed deployment comprising send the web browser of request, storage, management and access The mysql database of data realizes the Nginx service of reverse proxy, processing static requests, index file and automatic indexing Device realizes the uWSGI server of WSGI agreement, uwsgi and http agreement, realizes the Django server of business processing flow, Realize the WSGI interface of protocol conversion between uWSGI server and Django server, it is characterised in that: the Django service Device closes the company with mysql database in each query steps using cur.close () function and conn.close () function It connects;
At the end of per thread in the Django server, thread is turned off using sys.exit (0) function;
Http request from the web browser to Nginx server for services device resource, Nginx server receive http ask It asks and analysis request then reads the static file catalogue of Nginx server configuration and return to the money of request if static requests Source, if dynamic requests, then all solicited messages are transmitted to uWSGI server by Nginx server, and uWSGI server connects Receive request, and be transmitted to WSGI interface, WSGI interface according to some file or function in request call Django server, Data and processing in Django server calls mysql database, Django server gives return value after having handled Return value is packaged by WSGI interface, WSGI interface, is transmitted to uWSGI server, and uWSGI server is transmitted to after receiving Return value is finally returned to web browser by Nginx server, Nginx server.
2. a kind of telephone expenses back-end platform of distributed deployment as described in claim 1, it is characterised in that: the mysql data When library creates list, selection list is driven using innooDB, commonly inquires in built-in value and indexes in list.
3. a kind of telephone expenses back-end platform of distributed deployment as described in claim 1, it is characterised in that: the Django service The process of device processing business the following steps are included:
S1, data parsing is carried out to the http request that web browser is sent according to the format appointed, verifies the account number of user Information reads account information if account number exists, and carries out in next step, wherein account information includes order number parameter, mobile phone Number, backpack body, specified channel group, the backpack body price of configuration and account balance;Failure is returned if account number is not present;
S2, the request type for judging user, if request type is to query the balance, effect signature, if signature is correct, response pair The account balance answered;If signature is incorrect, failure is returned;
If request type is to supplement with money, effect signature continues process if signature is correct;If signature is incorrect, mistake is returned It loses;
S3, it is carried out down in mysql database order list progress duplicate checking if not repeating according to the subsidiary order number parameter of account One step;If repeating, failure is returned;
S4, subsidiary phone number is inquired in mysql database, obtain corresponding ownership place and operator's informaiton;
S5, in the subsidiary backpack body of mysql data base querying, obtain corresponding backpack body price;
S6, the channel group specified by mysql data base querying account obtain the channel list that can be routed, in channel It is the channel opened that state is inquired in list, and updates channel list;
S7, the backpack body price that account is configured, the state in the group of mysql data base querying channel are inquired in mysql database It is lower than the channel of account's backpack body price for channel price in the channel of unlatching, obtains and final supplement channel with money;
S8, judge the whether enough pay invoices of account balance, failure is returned to if insufficient, if continuing process enough;
S9, the supplier's account for supplementing channel with money is obtained by inquiry mysql database, supplemented with money, if supplier returns It submits successfully, database is written into order number, and update account balance and channel remaining sum, client is written in mysql database Consumer record and channel consumer record;If supplier, which returns, submits failure, order record is written in mysql database.
4. a kind of telephone expenses back-end platform of distributed deployment as claimed in claim 3, it is characterised in that: if client in the S3 It is not attached to order parameter, Django server generates random order number.
5. a kind of telephone expenses back-end platform of distributed deployment as claimed in claim 4, it is characterised in that: backpack body valence in the S5 Lattice are the standard price of telephone recharge face amount.
6. a kind of telephone expenses back-end platform of distributed deployment as claimed in claim 5, it is characterised in that: account institute in the S7 The backpack body price of configuration is to sell to the price of client;
The channel price is the cost price of telephone recharge.
7. a kind of telephone expenses back-end platform of distributed deployment as claimed in claim 6, it is characterised in that: supplier in the S9 The process that pushed to the end-state of order the following steps are included:
The data that S101, Django server are returned according to regulation format parsing supplier, the data returned by supplier, Mysql database corresponds to order information;
If the callback information that S102, supplier return is successful recharging, the order status of lane database, write-in readjustment letter are updated Breath pushes callback information according to the loopback address in order information;
If the callback information that S103, supplier return is to supplement the order status for unsuccessfully updating lane database with money, write-in readjustment letter Breath pushes callback information according to the loopback address in order information, the account balance after calculating reimbursement, after calculating reimbursement Channel remaining sum updates account balance and channel remaining sum, the reimbursement record of more new account consumption, the reimbursement note of more new tunnel consumption Record.
8. a kind of telephone expenses back-end platform of distributed deployment as claimed in claim 7, it is characterised in that: order in the S101 When loopback address in information is empty, the loopback address of account's binding is obtained in mysql database.
9. a kind of telephone expenses back-end platform of distributed deployment as claimed in claim 7, it is characterised in that: the S102 or S103 In be not received for the callback information that prevents supplier from returning, the timing of Django server is to ordering in mysql database There is no the order of callback information to carry out the active state inquiry to supplier in single-row table, inquires and adjust back successfully or adjust back failure Afterwards, mysql database and readjustment are updated again according to the process that end-state of the supplier to order is pushed.
CN201910454614.XA 2019-05-29 2019-05-29 A kind of telephone expenses back-end platform of distributed deployment Pending CN110365736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910454614.XA CN110365736A (en) 2019-05-29 2019-05-29 A kind of telephone expenses back-end platform of distributed deployment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910454614.XA CN110365736A (en) 2019-05-29 2019-05-29 A kind of telephone expenses back-end platform of distributed deployment

Publications (1)

Publication Number Publication Date
CN110365736A true CN110365736A (en) 2019-10-22

Family

ID=68215479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910454614.XA Pending CN110365736A (en) 2019-05-29 2019-05-29 A kind of telephone expenses back-end platform of distributed deployment

Country Status (1)

Country Link
CN (1) CN110365736A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930801A (en) * 2020-07-31 2020-11-13 银盛通信有限公司 Order processing system and method based on non-relational database
CN112104664A (en) * 2020-11-02 2020-12-18 长沙树根互联技术有限公司 Protocol conversion method, device and equipment for data of Internet of things
CN113162954A (en) * 2021-06-23 2021-07-23 西南石油大学 Target drone creating method and network attack and defense training system
CN113988836A (en) * 2021-09-23 2022-01-28 银盛通信有限公司 Method for processing million-level concurrent charging request

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442728A (en) * 2008-12-25 2009-05-27 杭州梦凯网络科技有限公司 Method for management, value-charging and settlement of communication equipment terminal fee
CN104156863A (en) * 2014-08-08 2014-11-19 携程计算机技术(上海)有限公司 OTA website order processing system and method
US20180004830A1 (en) * 2016-07-01 2018-01-04 Sap Se Customized expand data services supporting delta querying
CN108052398A (en) * 2017-12-12 2018-05-18 苏州比可网络科技有限公司 A kind of feedback method of order processing state and polymerization payment platform
CN109799979A (en) * 2019-04-01 2019-05-24 北京邮电大学 A kind of educational product operation management method based on wechat community

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442728A (en) * 2008-12-25 2009-05-27 杭州梦凯网络科技有限公司 Method for management, value-charging and settlement of communication equipment terminal fee
CN104156863A (en) * 2014-08-08 2014-11-19 携程计算机技术(上海)有限公司 OTA website order processing system and method
US20180004830A1 (en) * 2016-07-01 2018-01-04 Sap Se Customized expand data services supporting delta querying
CN108052398A (en) * 2017-12-12 2018-05-18 苏州比可网络科技有限公司 A kind of feedback method of order processing state and polymerization payment platform
CN109799979A (en) * 2019-04-01 2019-05-24 北京邮电大学 A kind of educational product operation management method based on wechat community

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王曦: "基于Django的微信营销系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930801A (en) * 2020-07-31 2020-11-13 银盛通信有限公司 Order processing system and method based on non-relational database
CN112104664A (en) * 2020-11-02 2020-12-18 长沙树根互联技术有限公司 Protocol conversion method, device and equipment for data of Internet of things
CN112104664B (en) * 2020-11-02 2021-02-02 长沙树根互联技术有限公司 Protocol conversion method, device and equipment for data of Internet of things
CN113162954A (en) * 2021-06-23 2021-07-23 西南石油大学 Target drone creating method and network attack and defense training system
CN113162954B (en) * 2021-06-23 2021-09-03 西南石油大学 Target drone creating method and network attack and defense training system
CN113988836A (en) * 2021-09-23 2022-01-28 银盛通信有限公司 Method for processing million-level concurrent charging request

Similar Documents

Publication Publication Date Title
CN110365736A (en) A kind of telephone expenses back-end platform of distributed deployment
CN108510389B (en) Intelligent contract calling method and device based on block chain and readable storage medium
RU2436148C2 (en) Adaptive gateway for switching transactions and data on untrusted networks using context-based rules
US8353771B2 (en) System of mobile online game and method for communicating between mobile game terminals
CN103841134B (en) Based on API transmission, the method for receive information, apparatus and system
CN110166409A (en) Equipment cut-in method, related platform and computer storage medium
CN106202505A (en) Data processing method and system thereof
AU2010339650B2 (en) Syndication of multiple service instances
CN102663649A (en) Financial derivative transaction system
CN105468690A (en) Inventory data processing method and device
KR20140063512A (en) Method and system for centralized reservation context management on multi-server reservation system
CN101764746A (en) Method and device for sending data
CN104866531A (en) Method and system for quickly accessing information data of clients of banks
CN106775486A (en) Data access system, method and routing server, configuration center server
CN102255867A (en) Service request processing method, device and system
US20130040602A1 (en) Managing Cellular Phone Calls
CN109087151A (en) A kind of block catenary system based on General integral
CN109086136A (en) A kind of request processing method and relevant apparatus of Samba software
CN101901421A (en) Service provider management device, service provider management program, and service provider management method
CN101820365B (en) Service bus supporting dynamic optimization of QoS of composite service
CN106034148A (en) Fast information interaction method, local server, remote server and system
CN112988378A (en) Service processing method and device
CN115712660B (en) Data storage method, device, server and storage medium
CN114020444B (en) Calling system and method for resource service application in enterprise digital middle station
CN110147987A (en) Dynamic Asset management method and device based on block chain

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191022

RJ01 Rejection of invention patent application after publication