CN114629899A - Long connection management system - Google Patents

Long connection management system Download PDF

Info

Publication number
CN114629899A
CN114629899A CN202011435675.0A CN202011435675A CN114629899A CN 114629899 A CN114629899 A CN 114629899A CN 202011435675 A CN202011435675 A CN 202011435675A CN 114629899 A CN114629899 A CN 114629899A
Authority
CN
China
Prior art keywords
long connection
connection
management system
long
service
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.)
Granted
Application number
CN202011435675.0A
Other languages
Chinese (zh)
Other versions
CN114629899B (en
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.)
Ningbo Institute Of Artificial Intelligence Shanghai Jiaotong University
Shanghai Jiaotong University
Shanghai University of Engineering Science
Digiwin Software Co Ltd
Original Assignee
Ningbo Institute Of Artificial Intelligence Shanghai Jiaotong University
Shanghai Jiaotong University
Shanghai University of Engineering Science
Digiwin Software 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 Ningbo Institute Of Artificial Intelligence Shanghai Jiaotong University, Shanghai Jiaotong University, Shanghai University of Engineering Science, Digiwin Software Co Ltd filed Critical Ningbo Institute Of Artificial Intelligence Shanghai Jiaotong University
Priority to CN202011435675.0A priority Critical patent/CN114629899B/en
Publication of CN114629899A publication Critical patent/CN114629899A/en
Application granted granted Critical
Publication of CN114629899B publication Critical patent/CN114629899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a long connection management system, which comprises a public cloud, a private cloud and a state machine; the number of the private clouds is multiple, and the private clouds are connected with the public cloud through a network to carry out information transmission interaction; and the state machine monitors the state of the long connection management system. The invention introduces a state machine with long connection and a state transition mechanism, establishes a complete credible long connection management scheme and a complete credible long connection management device so as to realize high capacity, high reliability and high credibility of connection, simultaneously reduces frequent handshaking processes, and has the characteristics of high-efficiency connection and small time delay.

Description

Long connection management system
Technical Field
The invention relates to the technical field of long connection, in particular to a long connection management system.
Background
The nature and characteristics of the internet: "equal", "open", "interactive", "instant", "shared". The network cooperative manufacturing is a modern manufacturing mode which fully utilizes the network technology and the information technology which take the internet technology as the characteristics, realizes the cooperation of enterprise product design, manufacture, management, commerce and the like in a supply chain and among cross-supply chains and achieves the aim of maximum utilization of resources. The cooperative manufacturing is the core content of production modes such as intelligent manufacturing, cooperative commerce, network manufacturing, cloud manufacturing, global manufacturing and the like, emphasizes the cooperation among enterprises, breaks the time and space constraints, and enables the enterprises and the partners on the whole supply chain to share client, design, production and operation information through the internet. The traditional serial working mode is changed into a parallel working mode. Therefore, the time for bringing new products to the market is shortened to the maximum extent, the production period is shortened, the customer requirements are responded quickly, and the flexibility of design and production is improved. By means of process-oriented design, production-oriented design, cost-oriented design and design participation of suppliers, the design level and manufacturability of products are greatly improved, and the cost controllability is improved. The method is favorable for reducing the production and operation cost, improving the quality and improving the customer satisfaction.
The first layer is the interconnection of the production domains in the enterprises, realizes the interconnection of the applications and the equipment, and realizes the connection of the applications and the equipment; the second layer is to realize interconnection and intercommunication between supply and demand chains, and realize the symbiosis between enterprises through the business interconnection between upstream and downstream enterprises; and in the third aspect, the ecological interconnection of the industrial clusters realizes the horizontal and vertical connection of the whole industrial ecology. The partitioning relating to clouds in particular is as follows:
applications are interconnected with devices. Belonging to private cloud inside enterprise;
and (4) service interconnection. Belonging to a mixed cloud between enterprises on the upstream and downstream of a supply chain;
and (4) interconnection of industries. Belongs to the ecological interconnection of cross-supply chain and cross-industry clusters and is a public cloud.
The cloud and the edge establish connection, and can be abstracted into a scene shown in fig. 1.
The long and short connections are opposite. The definition for long and short connections is as follows:
long connection: after the connection is established, the connection is not actively disconnected, large data volume transmission and real-time data transmission are carried out, and bidirectional charging is possible.
Short connection: data is connected only when the data needs to be interacted, and one-way charging is possible due to one-time data requirement.
Of course, the charging model here is not the technical nature of a long or short connection, but depends on a specific pricing mechanism. The current problem of serious resource waste and credibility exists when a long connection is simply used.
Patent document CN110971663A (application number: CN201911032663.0) discloses a trusted processing method and system for data transactions, which is applied in a P2P network system, where the P2P network system includes a plurality of nodes; the credible processing method comprises a storage method and an inquiry method, and firstly, a consensus mechanism of nRW matching with a directed acyclic graph book structure is adopted in the storage process; secondly, in the query process, a tree structure with high fault tolerance and load balance is maintained, a hop optimization method is adopted to optimize a P2P network system, and a P2P network system with a more balanced network is constructed; and the method adopting the delay optimization and the neighbor node management protocol can ensure that the query message is received by the lower-layer node under the condition that the upper-layer node is down, and can dynamically replace the node leaving the network with a new on-line node.
Disclosure of Invention
In view of the deficiencies in the prior art, it is an object of the present invention to provide a long connection management system.
The long connection management system provided by the invention comprises a public cloud, a private cloud and a state machine;
the number of the private clouds is multiple, and the private clouds are connected with the public cloud through a network to carry out information transmission interaction;
the state machine monitors the state of the long connection management system;
further comprising:
an admission control module: controlling new access based on the load input information;
a load control module: according to the congestion degree of the area where the load is located, the connection enters the long connection or releases the long connection;
a service differentiation module: according to the service quality of the service, differentiated long connection management is carried out;
a user differentiation module: based on the user attribute, carrying out differentiated long connection management;
big data analysis module: analyzing the popularity of the service through a big data technology, and carrying out differentiation management on a long connection mechanism;
a credibility measurement module: performing differential management on a long connection mechanism based on the credibility measurement of the connection;
a pricing mechanism module: pricing is built based on an economics theory, and differential management is carried out on a long connection mechanism.
Preferably, the admission control module performs admission control on threshold size, resource control and access authority;
and forbidding establishing a new long connection after the load exceeds a preset threshold.
Preferably, when the congestion degree of the area where the load is located is lower than a preset range, long connection is adopted;
when the congestion degree of the area where the load is located is within a preset range, performing long connection according to the user priority or the service priority;
and when the congestion degree of the area where the load is located is higher than the preset range, releasing the long connection according to the user priority or the service priority.
Preferably, for services with quality of service requirements, the services are ranked from high to low according to quality of service, and a long connection and a short connection are used in sequence.
Preferably, the priorities of the users are sorted, and the long connection and the short connection are used in sequence according to the priority.
Preferably, based on the analysis of big data, the business affairs of the stream are sorted, and the long connection and the short connection are used in sequence according to the high and low order of popularity.
Preferably, the ranking is performed according to the credibility of the users and the services, and the long connection and the short connection are sequentially used according to the high-low order of the credibility.
Preferably, the ranking is performed according to the bids of the users and the services, and the long connection and the short connection are sequentially used according to the high and low orders of the bids.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention introduces a state machine with long connection and a state transition mechanism, establishes a complete credible long connection management scheme and a complete credible long connection management device so as to realize high capacity, high reliability and high credibility of connection;
2. the invention reduces the frequent handshake process, has high-efficiency connection and small time delay;
3. under the condition of certain load, the credible long connection capacity of the system capable of supporting meeting the QoS requirement is greatly improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a schematic diagram of edge and cloud connections in a network co-manufacturing process;
FIG. 2 is a schematic illustration of a long link state machine and state transitions;
FIG. 3 is a schematic illustration of an alternate characterization of the "inactive" state of a long link;
FIG. 4 is a diagram of a completed trusted long connection;
FIG. 5 is a graph of load change;
FIG. 6 is a graph of elastic traffic and deterministic traffic;
FIG. 7 is a diagram of an economic and pricing model.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
Example (b):
the introduction of the state machine and state transition characterization shown in fig. 2 for long connections is specifically described as follows:
the "active" state represents a frequent heartbeat mechanism, etc.;
the "inactive" state represents an infrequent heartbeat mechanism or short connection;
the "idle" state indicates connection release.
The "inactive" long connection includes, in addition to the short connection, an alternative mechanism as shown in fig. 3, which is used for an adaptive heartbeat control mechanism, such as sending heartbeat packets during the awake period and not sending heartbeat packets during the quiet period, so as to control the sending amount of heartbeat packets. It should be noted that, the state transition in fig. 2 may be controlled based on different timers, and the size of the timer is configurable; the awake, quiet, and cycle periods in fig. 3 are also configurable.
Specifically, the method comprises the following steps:
the admission control module controls new access based on input information such as load, and the like, and comprises a preemption mechanism, for example, when the load exceeds a certain threshold, new long connection is not allowed to be established, and the size of the admission control threshold can be configured. In addition to resource-based admission control, security-based access control is also included, such as attribute-based access control, role-based access control, task-based access control, and the like.
The load control module, as shown in fig. 5:
and (3) normal state: no load control is required and admission is possible.
Primary congestion: the system is stable, the resources are in shortage, the available resources left for new access are few, load reforming is needed, and an access space is reserved.
Overload congestion: the system is unstable, overload and call drop can occur, rapid overload control is needed, and the system load is reduced.
The long connection management scheme that may be taken is: when the load is in a normal area, long connection is adopted; when the load enters the congestion control area, part of the connections enter the 'inactive' state of the long connection (the connection can be selected based on the user priority or the service priority); when the load enters the overload control threshold area, the partial long connection can be released selectively, and the principle of selection is similar. The overload threshold and congestion threshold are configurable in size.
The traffic differentiation module, any service, needs to consider the quality of service, which is simply called QoS in communication and computer networks. Based on the QoS of the service, differentiated long connection management is carried out. For example, fig. 6 is a comparison of elastic traffic (fig. 6a) and deterministic traffic (fig. 6 b). Different connection management mechanisms can be triggered for elastic traffic and deterministic traffic, for example, for deterministic traffic, the "active" state of a long connection is used as much as possible, and for elastic traffic, a state migration mechanism of a long connection can be introduced.
The user differentiation module, similar to the service differentiation, considers the user differentiation based on the user attribute, such as for a high priority user, the priority of an "active" state using a long connection is higher, and a low priority user is preferentially selected in the state transition based on load control.
The big data analysis module is used for selecting business and user portraits by using big data technology in big data era, and the discovery of data-driven business attributes and safety gradually become trends. Based on the analysis of the popularity of big data, the long connection mechanism is controlled in a differentiation mode. From the results, it is common to the traffic differentiation and user differentiation modules, but not known in advance, but analyzed by the big data module. For example, long connections are preferred for "popular" traffic, and less so for "unpopular" traffic.
And the credibility measurement module is used for carrying out differentiation control on the long connection mechanism based on the credibility measurement of the connection. Credibility is differentiated, and needs to be quantified. It is measured in a mathematical sense, and the confidence level is expressed in terms of a confidence value or confidence level. For example, a long connection is preferred for a high level of confidence and a second for a low level of confidence.
Design principle of credible model: accuracy (Accuracy), Scalability (Scalability), Dynamic Adaptability (Dynamic Adaptability), Robustness (Robustness), Reliability (Reliability), and Incentive Mechanism (inclusive Mechanism).
The pricing mechanism module constructs pricing based on an economics theory, performs differentiated control on the long connection mechanism, and can refer to an economics and pricing model shown in fig. 7. For example, a long connection mechanism may be used preferentially for high bids and secondarily for low bids.
Each module is independent, namely can exist independently; how each module is used after being input into the block shown in fig. 4 depends on a specific scheme, for example, the color and the weight can reflect the preference of the table, and the judgment can be carried out only by the color judgment, only by the weight judgment, or by combining the weights of the color and the weight.
Those skilled in the art will appreciate that, in addition to implementing the systems, apparatus, and individual modules thereof provided by the present invention in purely computer readable program code, the same procedures can be implemented entirely by logically programming method steps into logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the apparatus, and the modules thereof provided by the present invention may be considered as a hardware component, and the modules included in the system, the apparatus, and the modules for implementing various programs may also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

Claims (8)

1. A long connection management system is characterized by comprising a public cloud, a private cloud and a state machine;
the number of the private clouds is multiple, and the private clouds are connected with the public cloud through a network to carry out information transmission interaction;
the state machine monitors the state of the long connection management system;
further comprising:
an admission control module: controlling new access based on the load input information;
a load control module: according to the congestion degree of the area where the load is located, the connection enters the long connection or releases the long connection;
a service differentiation module: according to the service quality of the service, differential long connection management is carried out;
a user differentiation module: based on the user attribute, carrying out differentiated long connection management;
big data analysis module: analyzing the popularity of the service through a big data technology, and performing differentiated management on a long connection mechanism;
a credibility measurement module: performing differential management on a long connection mechanism based on the credibility measurement of the connection;
a pricing mechanism module: pricing is built based on an economics theory, and differential management is carried out on a long connection mechanism.
2. The long connection management system of claim 1, wherein the admission control module performs admission control on threshold size, resource control, and access right;
and forbidding establishing a new long connection after the load exceeds a preset threshold.
3. The long-connection management system according to claim 1, wherein when the congestion degree of the area where the load is located is lower than a preset range, the long connection is adopted;
when the congestion degree of the area where the load is located is within a preset range, performing long connection according to the user priority or the service priority;
and when the congestion degree of the area where the load is located is higher than the preset range, releasing the long connection according to the user priority or the service priority.
4. The long connection management system according to claim 1, wherein services having quality of service requirements are ranked from high to low according to quality of service, and the long connection and the short connection are used in sequence.
5. The long connection management system according to claim 1, wherein the priorities of the users are ranked, and the long connection and the short connection are used in order of the priority.
6. The long connection management system according to claim 1, wherein the stream services are sorted based on the analysis of big data, and the long connection and the short connection are used in order of popularity.
7. The long connection management system according to claim 1, wherein the long connection and the short connection are used in order of the confidence level according to the confidence level of the user and the service.
8. The long connection management system according to claim 1, wherein the ranking is performed according to bids of users and services, and the long connection and the short connection are used in order of the highest bid and lowest bid.
CN202011435675.0A 2020-12-10 2020-12-10 Long connection management system Active CN114629899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011435675.0A CN114629899B (en) 2020-12-10 2020-12-10 Long connection management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011435675.0A CN114629899B (en) 2020-12-10 2020-12-10 Long connection management system

Publications (2)

Publication Number Publication Date
CN114629899A true CN114629899A (en) 2022-06-14
CN114629899B CN114629899B (en) 2023-06-13

Family

ID=81895040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011435675.0A Active CN114629899B (en) 2020-12-10 2020-12-10 Long connection management system

Country Status (1)

Country Link
CN (1) CN114629899B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2413542A1 (en) * 2010-07-30 2012-02-01 Institut National De Recherche En Informatique Et En Automatique Flow aware congestion avoidance method and system
WO2012024909A1 (en) * 2010-08-27 2012-03-01 中兴通讯股份有限公司 Long connection management apparatus and link resource management method for long connection communication
CN103945003A (en) * 2014-05-06 2014-07-23 北京邮电大学 Dynamic self-adapting method for connection of Web RTC (Real Time Communication) client
CN109451073A (en) * 2018-12-29 2019-03-08 出门问问信息科技有限公司 A kind of multiterminal synchronizing information based reminding method, system, equipment and storage medium
CN110430238A (en) * 2019-07-05 2019-11-08 中国平安财产保险股份有限公司 Long connection management method, apparatus, equipment and computer readable storage medium
CN111090533A (en) * 2019-12-17 2020-05-01 腾讯科技(深圳)有限公司 Notice information sending method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2413542A1 (en) * 2010-07-30 2012-02-01 Institut National De Recherche En Informatique Et En Automatique Flow aware congestion avoidance method and system
WO2012024909A1 (en) * 2010-08-27 2012-03-01 中兴通讯股份有限公司 Long connection management apparatus and link resource management method for long connection communication
CN103945003A (en) * 2014-05-06 2014-07-23 北京邮电大学 Dynamic self-adapting method for connection of Web RTC (Real Time Communication) client
CN109451073A (en) * 2018-12-29 2019-03-08 出门问问信息科技有限公司 A kind of multiterminal synchronizing information based reminding method, system, equipment and storage medium
CN110430238A (en) * 2019-07-05 2019-11-08 中国平安财产保险股份有限公司 Long connection management method, apparatus, equipment and computer readable storage medium
CN111090533A (en) * 2019-12-17 2020-05-01 腾讯科技(深圳)有限公司 Notice information sending method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114629899B (en) 2023-06-13

Similar Documents

Publication Publication Date Title
Tang et al. Computing power network: The architecture of convergence of computing and networking towards 6G requirement
Balazinska et al. Contract-Based Load Management in Federated Distributed Systems.
Fan et al. The design trade-offs of BitTorrent-like file sharing protocols
Zhou et al. Cluster computing on the fly: resource discovery in a cycle sharing peer-to-peer system
Li et al. A self-adaptive virtual network embedding algorithm based on software-defined networks
Zhao et al. A unified modeling framework for distributed resource allocation of general fork and join processing networks
Liu et al. ERP: Edge resource pooling for data stream mobile computing
Li et al. Energy-aware task offloading in the Internet of Things
Wang et al. Robust task offloading in dynamic edge computing
Wang et al. Joint server assignment and resource management for edge-based MAR system
CN103873523A (en) Client cluster access method and device
Ning et al. Social-oriented resource management in cloud-based mobile networks
Corradi et al. A DDS-compliant infrastructure for fault-tolerant and scalable data dissemination
Iorio et al. Computing without borders: The way towards liquid computing
Chao et al. R-MStorm: A resilient mobile stream processing system for dynamic edge networks
Dong et al. A novel distribution service policy for crowdsourced live streaming in cloud platform
Roverso et al. On the feasibility of centrally-coordinated peer-to-peer live streaming
Chi et al. Deep reinforcement learning based edge computing network aided resource allocation algorithm for smart grid
Quan et al. Experimental evaluation and analysis of federated learning in edge computing environments
Liu et al. A D2D offloading approach to efficient mobile edge resource pooling
Liu et al. Super-peer-based coordinated service provision
CN114629899A (en) Long connection management system
Zhang et al. Information production and link formation in social computing systems
Chen et al. Delay-optimal distributed edge computation offloading with correlated computation and communication workloads
Zhao et al. Distributed resource allocation for synchronous fork and join processing networks

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
GR01 Patent grant
GR01 Patent grant