App network connection method, device and configuration server based on configuration management
A network connection device and server configuration technology, applied in the network field, can solve the problems of exposing intranet IP, time-consuming, DNS resolution failure, etc., achieve good scalability and avoid IP overload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0107] For an APP with a large number of customers, if all network requests are connected to one server, the server may crash due to too much load, so multiple servers need to be used to share the load. At this time, there may be a state that some servers are congested and some servers are idle when using the connection modes of Comparative Examples 1 and 2. When using the configuration file of the present invention to allow APPs to connect to different servers with different IPs, it is possible to prevent all APPs from requesting the same server, and at the same time, by adding a load balancing module, the load (memory, number of connections) on the IP can be monitored in real time. , cpu occupancy, etc.), when the APP needs to connect, it first resolves to get the IP, and then finds the one with the lowest load, so that it can be flexibly scheduled among multiple servers to balance the load.
Embodiment 2
[0109] For an APP with multiple user interfaces, the multiple user interfaces may be produced by different teams and served by different background server clusters.
[0110] Now, adopt the method of the present invention, according to the configuration file of the present invention, write its configuration information based on different modules (MODULE) respectively in the file, such as various modules below Baidu, such as Baidu Encyclopedia:
[0111]
[0112] / / The various IPs under the module here
[0113]
[0114] Since Baidu Encyclopedia actually has more than one server, it is also a server cluster, so one of the other servers below it can be written as:
[0115]
[0116] availability="true"
[0117] cpu="0.2"
[0118] memery="0.3"
[0119] frequency="300" / >
[0120] If there are more, they can be written in the above format in turn.
[0121] Thereby when APP needs to call this module, read IP address, domain name, high availability and load sit...
Embodiment 3
[0123] For delicious food ordering software APP, which includes placeholder module, menu module, order module, payment module, etc., because different modules may be developed by different companies, such as payment module, it may be to call Alipay, WeChat or bank No. Three-party payment platform, etc., through the configuration file of the present invention, in the configuration file, different services located on different business clusters are respectively called according to different modules, thereby completing the entire function of the APP.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com