CN107980241B - Gateway multi-connection method and device - Google Patents
Gateway multi-connection method and device Download PDFInfo
- Publication number
- CN107980241B CN107980241B CN201780001248.1A CN201780001248A CN107980241B CN 107980241 B CN107980241 B CN 107980241B CN 201780001248 A CN201780001248 A CN 201780001248A CN 107980241 B CN107980241 B CN 107980241B
- Authority
- CN
- China
- Prior art keywords
- connection
- terminal
- identification information
- database
- target terminal
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
- H04W48/06—Access restriction performed under specific conditions based on traffic conditions
Abstract
A gateway multi-connection method and device comprises the following steps: firstly, acquiring a connection request sent by a terminal to be connected in real time, wherein the connection request carries identification information of the terminal to be connected; then judging whether the identification information is pre-stored in a database, if the identification information is pre-stored in the database, and if the number of the connected terminals reaches the preset number, determining a target terminal with the lowest connection grade in the connected terminals; finally, the connection with the target terminal is switched to the connection with the terminal to be connected; because the steps of connection-disconnection-connection are continuously repeated among different terminals according to the connection requests of a plurality of terminals in real time, the method of time-sharing multiplexing is utilized to realize the efficient utilization of the limited gateway access end resources, so that the gateway can realize the connection and interaction with a plurality of terminals.
Description
Technical Field
The invention belongs to the field of wireless networks, and particularly relates to a gateway multi-connection method and device.
Background
At present, a conventional gateway multi-connection technology is that a gateway searches identification information of an intelligent terminal to be connected in a pre-stored identification information base according to a connection request of a user side, and after the search is successful, the gateway establishes connection with the searched intelligent terminal; however, when the number of the intelligent terminals connected by the gateway reaches the maximum value, if the user side has a new connection request, no processing is performed. This may cause a problem that a gateway having a predetermined number of access terminals can only be provided for a predetermined number of terminals.
In summary, the prior art has a problem that the number of access terminals is limited by the number of gateway access terminals.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for multiple connections of a gateway, which aim to solve the problem that the number of access terminals is limited by the number of access terminals of the gateway in the prior art.
A first aspect of an embodiment of the present invention provides a method for gateway multi-connection, including:
acquiring a connection request sent by a terminal to be connected in real time, wherein the connection request carries identification information of the terminal to be connected;
judging whether the identification information is pre-stored in a database or not;
if the identification information is pre-stored in a database and if the number of the connected terminals reaches a preset number, determining a target terminal with the lowest connection grade in the connected terminals;
and switching the connection with the target terminal to the connection with the terminal to be connected.
A second aspect of an embodiment of the present invention provides a gateway multi-connection apparatus, including:
the system comprises a connection request acquisition module, a connection request acquisition module and a connection request processing module, wherein the connection request acquisition module is used for acquiring a connection request sent by a terminal to be connected in real time, and the connection request carries identification information of the terminal to be connected;
the identification information judging module is used for judging whether the identification information is prestored in a preset database;
a target terminal determining module, configured to determine, if the identification information is pre-stored in the database, a target terminal with a lowest connection level among the connected terminals if the number of connected terminals reaches a preset number;
and the switching module is used for switching the connection with the target terminal into the connection with the terminal to be connected.
A third aspect of the embodiments of the present invention provides a gateway multi-connection apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the gateway multi-connection method when executing the computer program.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the gateway multi-connection method described above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: firstly, acquiring a connection request sent by a terminal to be connected in real time, wherein the connection request carries identification information of the terminal to be connected; then judging whether the identification information is pre-stored in a database, if the identification information is pre-stored in the database, and if the number of the connected terminals reaches the preset number, determining a target terminal with the lowest connection grade in the connected terminals; finally, the connection with the target terminal is switched to the connection with the terminal to be connected; because the steps of connection-disconnection-connection are continuously repeated among different terminals according to the connection requests of a plurality of terminals in real time, the method of time-sharing multiplexing is utilized to realize the efficient utilization of the limited gateway access terminal resources, so that the number of the terminals accessed into the gateway breaks through the number of the gateway access terminals, and the gateway is connected with and interacted with a plurality of terminals.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of an implementation flow of a method for gateway multi-connection according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another implementation of a method for gateway multiple connectivity according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a gateway multi-connection apparatus provided by an embodiment of the present invention;
fig. 4 is another schematic diagram of a gateway multi-connection apparatus provided by an embodiment of the present invention;
fig. 5 is a schematic diagram of a gateway multi-connected device target terminal determination module according to an embodiment of the present invention;
fig. 6 is another schematic diagram of a gateway multi-connected device target terminal determination module according to an embodiment of the present invention;
fig. 7 is another schematic diagram of a gateway multi-connected device switching module according to an embodiment of the present invention;
fig. 8 is another schematic diagram of a gateway multi-connection apparatus according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 shows an implementation flow of a method for gateway multi-connection provided by an embodiment of the present invention, and for convenience of description, only a part related to the embodiment of the present invention is shown, and the following details are described:
in step 101, a connection request sent by a terminal to be connected is obtained in real time, where the connection request carries identification information of the terminal to be connected.
The Identification information may be an ID (Identification) number, a MAC (Media Access Control) address, or a checksum.
The terminal comprises a mobile terminal, an equipment end and a cloud end.
In step 102, it is determined whether the identification information is pre-stored in the database, if yes, step 103 is executed, and if not, the process is ended.
Wherein, the database prestores a white list of the terminal with access gateway authority. Whether the terminal to be connected has the right to access the gateway is judged through step 102. The database can be stored in a cloud computing server, and step 102 can be realized by downloading the database of the cloud computing server; or uploading the identification information to the cloud computing server to enable the cloud computing server to execute the step 102, and returning the judgment result to the gateway.
In step 103, if the identification information is pre-stored in the database and if the number of the connected terminals reaches the preset number, the target terminal with the lowest connection level is determined among the connected terminals. The preset number is the maximum number of terminals which can be connected with the gateway.
Specifically, in step 103, if the identification information is pre-stored in the database, it is first determined whether the number of connected terminals reaches a preset number, and when the number of connected terminals reaches the preset number, a target terminal with the lowest connection level is determined among the connected terminals; and when the connected terminals do not reach the preset number, establishing the connection with the terminals to be connected. Since the connected terminals do not reach the maximum number of connected terminals, the connection with the terminal to be connected is directly established.
In a specific implementation, step 103 may be implemented by two methods:
the first method comprises the following steps: step 103 may include:
A1. if the identification information is pre-stored in the database and if the number of the connected terminals reaches the preset number, acquiring the required times and flow of data transmission of each connected terminal in the preset time.
In a specific embodiment, statistical analysis may be performed according to the number of times of demand and the flow rate of data transmission recorded in a plurality of time periods, and screening may be performed according to the result of the statistical analysis. For example, 14: 00-14: 01. 14: 01-14: 02. 14: 02-14: 03 the required times and flows of data transmission in the three time periods may be statistically analyzed according to the required times and flows of data transmission in the three time periods, for example, the required times and flows of data transmission in the multiple time periods are weighted and accumulated, and the weighting factor may be adjusted according to actual needs.
B1. And calculating the connection grade of each connected terminal according to the required times and the flow.
The connection level of each connected terminal can be calculated according to the following equation:
D=α×x+β×y
wherein D is the connection level, α is the first coefficient, x is the required number, β is the second coefficient, and y is the flow.
C1. And determining the connected terminal with the lowest connection grade as the target terminal.
The second method comprises the following steps: step 103 may include:
A2. if the identification information is pre-stored in the database and if the number of the connected terminals reaches the preset number, the connection type of each connected terminal is obtained.
The connection types may include software upgrades, data configuration, status information transfer, control information transfer, and user-generic data transfer, among others. The data configuration comprises system data configuration and user data configuration, the state information transmission comprises fault information transmission and environment state information transmission, the control information transmission comprises controlled end switch information transmission, and the user common data transmission comprises multimedia data transmission and webpage data transmission.
B2. And determining the target terminal with the lowest connection grade according to the corresponding relation between the pre-stored connection grade and the connection type.
Determining the target terminal with the lowest connection level according to the pre-stored correspondence between the connection level and the connection type may specifically be: and determining the connection grade of all connected terminals according to the corresponding relation between the pre-stored connection grade and the connection type, and determining the connected terminal with the lowest connection grade as the target terminal.
Specifically, the correspondence between the connection level and the connection type may be as follows:
serial number | Connection type | Connection grade |
1 | User generic data transmission | 1 |
2 | Control information transmission | 2 |
3 | State information transmission | 3 |
4 | Data configuration | 4 |
5 | Software upgrade | 5 |
In step 104, the connection with the target terminal is switched to the connection with the terminal to be connected.
In addition, in the specific implementation, since the requirement of terminal connection is continuous, it is further required to monitor a connection request sent by a new terminal to be connected, and determine a next target terminal according to the connection level of the connected terminal to switch connection, so as to implement time division multiplexing of multiple terminals to the gateway, so after step 104 is executed, the process may return to continue to execute step 101.
In a specific implementation, when step 103 employs the second method, step 104 may include step 104-1 and step 104-2.
In step 104-1, it is determined whether the first connection level of the target terminal is lower than the second connection level of the terminal to be connected, if yes, step 104-2 is executed, and if not, the process is ended.
Step 104-1 may specifically be: and acquiring a first connection grade according to the connection type of the target terminal, acquiring a second connection grade according to the connection type of the terminal to be connected, and judging whether the first connection grade is lower than the second connection grade.
Limited resources are preferentially provided to the network requirement with high importance by judging whether the first connection level of the target terminal is lower than the second connection level of the terminal to be connected.
In step 104-2, if the first connection level of the target terminal is not lower than the second connection level of the terminal to be connected, the connection with the target terminal is switched to the connection with the terminal to be connected.
Step 100 may also be included prior to step 101.
In step 100, the identification information of the terminal device having the authority to connect to the gateway is stored in a database.
For example, a gateway is provided in a home, the gateway has 2 access ports (port 1 and port 2), but 4 members in the home have terminals (terminal a, terminal B, terminal C and terminal D), the IDs of the 4 terminals are firstly stored in a database, then, the terminal a and the terminal B respectively send out connection requests, the gateway judges whether the ID of the terminal a and the ID of the terminal B are pre-stored in the database, because the ID of the terminal a and the ID of the terminal B are pre-stored in the database, and the number of connected terminals does not reach the preset number (i.e. the number of ports), the gateway establishes connection with the terminal a and the terminal B respectively; after 2 minutes, the terminal C sends out a connection request, the gateway judges whether the ID of the terminal C is pre-stored in the database or not, and because the ID of the terminal C is pre-stored in the database and the number of the connected terminals reaches the preset number, a target terminal (such as a terminal A) with the lowest connection grade is determined in the connected terminals; and finally, switching the connection with the terminal A into the connection with the terminal C to be connected.
When the terminal E of the neighbor of the home sends a connection request, the gateway determines whether the ID of the terminal E is pre-stored in the database, and ends the process without any processing because the ID of the terminal E is not pre-stored in the database.
In order to implement the above method for gateway multi-connection, an embodiment of the present invention further provides a device for gateway multi-connection, as shown in fig. 3, the device 30 for gateway multi-connection includes a connection request obtaining module 310, an identification information determining module 320, a target terminal determining module 330, and a switching module 340.
A connection request obtaining module 310, configured to obtain, in real time, a connection request sent by a terminal to be connected, where the connection request carries identification information of the terminal to be connected;
an identification information judgment module 320, configured to judge whether the identification information is pre-stored in a preset database;
a target terminal determining module 330, configured to determine, if the identification information is pre-stored in the database, a target terminal with a lowest connection level among the connected terminals if the number of the connected terminals reaches a preset number;
a switching module 340, configured to switch the connection with the target terminal to the connection with the terminal to be connected.
In the specific implementation, since the requirement of terminal connection is continuous, it is further necessary to monitor a connection request sent by a new terminal to be connected, and determine a next target terminal according to the connection level of the connected terminal to switch connection, so as to implement time-division multiplexing of multiple terminals to the gateway, so that when the switching module 340 finishes working, the connection request obtaining module 310 needs to be triggered to continue working.
As shown in fig. 4, the gateway multi-connected device 30 may further include a storage module 350.
A storage module 350, configured to store the identification information of the terminal device having the access right to connect to the gateway in a database.
The target terminal determining module 330 may have two cases, the first case is as shown in fig. 5, and the target terminal determining module 330 includes a traffic obtaining module 331a, a connection level calculating module 332a, and a first determining module 333 a.
The traffic obtaining module 331a is configured to, if the identification information is pre-stored in the database, and if the number of the connected terminals reaches a preset number, obtain the number of times and the traffic required for data transmission of each connected terminal in a preset time before.
A connection level calculating module 332a, configured to calculate a connection level of each connected terminal according to the required times and the flow.
A first determining module 333a, configured to determine a connected terminal with the lowest connection level as the target terminal.
In the second case, as shown in fig. 6, the target terminal determining module 330 includes a connection type obtaining module 331b and a second determining module 332 b.
The connection type obtaining module 331b is configured to obtain a connection type of each connected terminal if the identification information is pre-stored in the database and if the number of the connected terminals reaches a preset number.
The second determining module 332b is configured to determine the target terminal with the lowest connection level according to a pre-stored correspondence between the connection level and the connection type.
As shown in fig. 7, the switching module 340 includes a connection level determination module 341 and a connection switching module 342.
A connection level determining module 341, configured to determine whether the first connection level of the target terminal is lower than the second connection level of the terminal to be connected.
The connection switching module 342 is configured to switch the connection with the target terminal to the connection with the terminal to be connected if the first connection level of the target terminal is not lower than the second connection level of the terminal to be connected.
In summary, in the embodiments of the present invention, a connection request sent by a terminal to be connected is first obtained in real time, where the connection request carries identification information of the terminal to be connected; then judging whether the identification information is pre-stored in a database, if the identification information is pre-stored in the database, and if the number of the connected terminals reaches the preset number, determining a target terminal with the lowest connection grade in the connected terminals; finally, the connection with the target terminal is switched to the connection with the terminal to be connected; since the connection-disconnection-connection procedure is continuously repeated between different terminals according to the connection requests of a plurality of terminals in real time, although the maximum number of terminals that the gateway can actually connect to does not change, since the procedure is very fast to operate, the access of a plurality of terminals is realized in the view of the user experience of the user terminal. The method of time-sharing multiplexing is utilized to realize the efficient utilization of the limited gateway access end resources, so that the number of the terminals accessed into the gateway breaks through the number of the gateway access ends, and the gateway is connected and interacted with a plurality of terminals.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 8 is a schematic diagram of a gateway multi-connection apparatus according to an embodiment of the present invention. As shown in fig. 8, a gateway multi-connected apparatus 8 of this embodiment includes: a processor 80, a memory 81, and a computer program 72, such as a gateway multi-connectivity program, stored in the memory 81 and operable on the processor 80. The processor 80, when executing the computer program 82, implements the steps in the various gateway multi-connection method embodiments described above, such as the steps 101 to 104 shown in fig. 1. Alternatively, the processor 80, when executing the computer program 82, implements the functions of the various modules/units in the above-described apparatus embodiments, such as the functions of the modules 310 to 340 shown in fig. 3.
Illustratively, the computer program 82 may be divided into one or more modules/units, which are stored in the memory 81 and executed by the processor 80 to carry out the invention. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 82 in the gateway multi-connected device 8. For example, the computer program 82 may be divided into a connection request acquisition module 310, an identification information determination module 320, a target terminal determination module 330, and a switching module 340 (a module in a virtual device), and the specific functions of each module are as follows:
a connection request obtaining module 310, configured to obtain, in real time, a connection request sent by a terminal to be connected, where the connection request carries identification information of the terminal to be connected;
an identification information judgment module 320, configured to judge whether the identification information is pre-stored in a preset database;
a target terminal determining module 330, configured to determine, if the identification information is pre-stored in the database, a target terminal with a lowest connection level among the connected terminals if the number of the connected terminals reaches a preset number;
a switching module 340, configured to switch the connection with the target terminal to the connection with the terminal to be connected.
The gateway multi-connected device 8 may be a gateway or other access device. The gateway multi-connected device may include, but is not limited to, a processor 80, a memory 81. It will be appreciated by those skilled in the art that fig. 7 is merely an example of a gateway multi-connected apparatus 8 and does not constitute a limitation of the gateway multi-connected apparatus 8 and may include more or less components than those shown, or combine some components, or different components, for example the gateway multi-connected apparatus may also include input output devices, network access devices, buses, etc.
The Processor 80 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may be an internal storage unit of the gateway multi-connected device 8, such as a hard disk or a memory of the gateway multi-connected device 8. The memory 81 may also be an external storage device of the gateway multi-connected device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), a chip read/write Flash chip, and the like, provided on the gateway multi-connected device 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the gateway multi-connected apparatus 8. The memory 81 is used for storing the computer program and other programs and data required by the gateway multi-connected device. The memory 81 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), Read-write Memory (FLASH) electrical carrier signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (8)
1. A method for gateway multi-connectivity, comprising:
storing identification information of terminal equipment with a gateway connection authority into a database;
acquiring a connection request sent by a terminal to be connected in real time, wherein the connection request carries identification information of the terminal to be connected;
judging whether the identification information is pre-stored in a database or not;
if the identification information is pre-stored in a database and if the number of the connected terminals reaches a preset number, determining a target terminal with the lowest connection level from the connected terminals, including:
if the identification information is pre-stored in the database and if the number of the connected terminals reaches the preset number, acquiring the required times and flow of data transmission of each connected terminal in the previous preset time;
calculating the connection grade of each connected terminal according to the demand times and the flow, comprising:
calculating a connection level of each connected terminal according to the following equation:
D=α×x+β×y
wherein D is the connection grade, alpha is a first coefficient, x is the required times, beta is a second coefficient, and y is the flow;
determining the connected terminal with the lowest connection grade as a target terminal;
switching the connection with the target terminal to the connection with the terminal to be connected;
and if the identification information is not pre-stored in the database, ending the process and not performing any processing.
2. The gateway multi-connection method according to claim 1, wherein if the identification information is pre-stored in a database and if the number of connected terminals has reached a preset number, determining a target terminal with a lowest connection level among the connected terminals:
if the identification information is pre-stored in a database and if the number of the connected terminals reaches a preset number, acquiring the connection type of each connected terminal;
and determining the target terminal with the lowest connection grade according to the corresponding relation between the pre-stored connection grade and the connection type.
3. The gateway multi-connection method according to claim 2, wherein the switching the connection with the target terminal to the connection with the terminal to be connected comprises:
judging whether the first connection grade of the target terminal is lower than the second connection grade of the terminal to be connected;
and if the first connection grade of the target terminal is not lower than the second connection grade of the terminal to be connected, switching the connection with the target terminal into the connection with the terminal to be connected.
4. An apparatus for gateway multi-connectivity, comprising:
the storage module is used for storing the identification information of the terminal equipment with the access gateway authority into a database;
the system comprises a connection request acquisition module, a connection request acquisition module and a connection request processing module, wherein the connection request acquisition module is used for acquiring a connection request sent by a terminal to be connected in real time, and the connection request carries identification information of the terminal to be connected;
the identification information judging module is used for judging whether the identification information is prestored in a preset database;
a target terminal determining module, configured to determine, if the identification information is pre-stored in the database and if the number of connected terminals reaches a preset number, a target terminal with a lowest connection level among the connected terminals, including:
the flow acquisition module is used for acquiring the required times and flow of data transmission of each connected terminal in the previous preset time if the identification information is prestored in the database and the number of the connected terminals reaches the preset number;
a connection level calculation module, configured to calculate a connection level of each connected terminal according to the required number of times and the flow, including:
calculating a connection level of each connected terminal according to the following equation:
D=α×x+β×y
wherein D is the connection grade, alpha is a first coefficient, x is the required times, beta is a second coefficient, and y is the flow;
a first determining module, configured to determine the connected terminal with the lowest connection level as a target terminal;
the switching module is used for switching the connection with the target terminal into the connection with the terminal to be connected;
and the target terminal determining module is also used for ending the flow without any processing if the identification information is not pre-stored in the database.
5. The gateway multi-connectivity apparatus of claim 4, wherein the target terminal determining module comprises:
a connection type obtaining module, configured to obtain a connection type of each connected terminal if the identification information is pre-stored in the database and if the number of connected terminals reaches a preset number;
and the second determining module is used for determining the target terminal with the lowest connection grade according to the corresponding relation between the pre-stored connection grade and the connection type.
6. The gateway multi-connected apparatus of claim 4, wherein the switching module comprises:
the connection grade judging module is used for judging whether the first connection grade of the target terminal is lower than the second connection grade of the terminal to be connected;
and the connection switching module is used for switching the connection with the target terminal into the connection with the terminal to be connected if the first connection grade of the target terminal is not lower than the second connection grade of the terminal to be connected.
7. A gateway multi-connectivity apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the gateway multi-connectivity method according to any of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of gateway multi-connectivity of any one of claims 1 to 3.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/106695 WO2019075662A1 (en) | 2017-10-18 | 2017-10-18 | Gateway multi-connection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107980241A CN107980241A (en) | 2018-05-01 |
CN107980241B true CN107980241B (en) | 2021-12-10 |
Family
ID=62006071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780001248.1A Active CN107980241B (en) | 2017-10-18 | 2017-10-18 | Gateway multi-connection method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107980241B (en) |
WO (1) | WO2019075662A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109947081B (en) * | 2019-03-25 | 2020-12-01 | 钛马信息网络技术有限公司 | Internet vehicle control method and device |
CN110944063B (en) * | 2019-12-10 | 2021-11-30 | 航天新长征大道科技有限公司 | Programmable logic control device connection method, control system and readable medium |
CN111597194B (en) * | 2020-04-30 | 2023-05-05 | 广东良实机电工程有限公司 | Equipment energy consumption control method and device, terminal equipment and storage medium |
CN111797191A (en) * | 2020-07-09 | 2020-10-20 | 四川五维地理信息技术有限公司 | Method and device for detecting connectivity of geographic information elements |
CN114710376B (en) * | 2020-12-16 | 2024-03-12 | 深圳Tcl新技术有限公司 | Connection control method and device of gateway equipment, gateway equipment and storage medium |
CN114205392B (en) * | 2021-12-10 | 2022-10-28 | 珠海格力电器股份有限公司 | Information transmission method and device based on cloud platform and computer readable storage medium |
CN114257458A (en) * | 2022-01-08 | 2022-03-29 | 广州市成格信息技术有限公司 | Multifunctional gateway of all-optical network |
CN114615723A (en) * | 2022-02-18 | 2022-06-10 | 广东睿住智能科技有限公司 | Equipment adding method and device, storage medium and gateway |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101754279A (en) * | 2009-12-11 | 2010-06-23 | 中国科学技术大学 | Load balancing method for guaranteeing quality of service of real-time services |
CN102137280A (en) * | 2011-03-11 | 2011-07-27 | 深圳清华大学研究院 | Information transmission method, receiving processing method, front end and transceiving system |
CN103813347A (en) * | 2014-02-28 | 2014-05-21 | 电信科学技术研究院 | Base station frequency resource allocation method and network device |
CN103986715A (en) * | 2014-05-21 | 2014-08-13 | 海信集团有限公司 | Network traffic control method and device |
CN104661260A (en) * | 2015-01-20 | 2015-05-27 | 中南大学 | Wireless Mesh intelligent power grid routing mechanism with QoS perceiving and loading balancing |
CN106559742A (en) * | 2016-11-03 | 2017-04-05 | 厦门美图移动科技有限公司 | A kind of data transferring method, device, terminal and service end |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6226277B1 (en) * | 1997-10-14 | 2001-05-01 | Lucent Technologies Inc. | Method for admitting new connections based on usage priorities in a multiple access system for communications networks |
FR2825547B1 (en) * | 2001-06-05 | 2003-10-31 | Nortel Networks Ltd | METHOD AND DEVICE FOR CONTROLLING THE TRANSMISSION OF DATA BLOCKS |
JP2003296270A (en) * | 2002-04-02 | 2003-10-17 | Toshiba Corp | Server, connection management method of server, and program for connection management used for server |
DE60327294D1 (en) * | 2002-11-04 | 2009-06-04 | Siemens Ag | Method and device for achieving an optimal reaction time in a telecommunications system |
US8059541B2 (en) * | 2008-05-22 | 2011-11-15 | Microsoft Corporation | End-host based network management system |
KR101820739B1 (en) * | 2011-10-04 | 2018-01-23 | 삼성전자 주식회사 | Method and apparatus for providing push to talk over cellular service |
US8432808B1 (en) * | 2012-06-15 | 2013-04-30 | Viasat Inc. | Opportunistically delayed delivery in a satellite network |
JP2015531173A (en) * | 2012-08-07 | 2015-10-29 | 日本電気株式会社 | Network system, authentication device, subnet determination method and program |
CN103685522A (en) * | 2013-12-17 | 2014-03-26 | 海信集团有限公司 | Terminal and control method of intelligent equipment |
CN104936300A (en) * | 2014-03-20 | 2015-09-23 | 中兴通讯股份有限公司 | Uplink channel processing method, terminal, base station and system |
CN104238882A (en) * | 2014-09-10 | 2014-12-24 | 北京金山安全软件有限公司 | Notification bar management method and device and mobile terminal |
US9699088B2 (en) * | 2014-11-10 | 2017-07-04 | Hughes Network Systems, Llc | Service plan based flow control |
CN106162929B (en) * | 2015-04-07 | 2021-08-06 | 中兴通讯股份有限公司 | Communication method and device for user terminal and relay node in equipment direct connection system |
CN106162940A (en) * | 2015-04-20 | 2016-11-23 | 宇龙计算机通信科技(深圳)有限公司 | A kind of multichannel data connection management method, system and mobile terminal |
CN104750550B (en) * | 2015-04-20 | 2019-06-14 | 上海斐讯数据通信技术有限公司 | Mobile terminal application management system, method and access times record generation method |
CN105792377A (en) * | 2016-02-26 | 2016-07-20 | 努比亚技术有限公司 | Device and method for allocating channel resources and access point |
US10063457B2 (en) * | 2016-03-29 | 2018-08-28 | Juniper Networks, Inc. | Method, system, and apparatus for improving forwarding capabilities during route convergence |
CN105912115B (en) * | 2016-04-07 | 2019-10-29 | 上海斐讯数据通信技术有限公司 | A kind of bluetooth connection equipment switching method and system based on intelligent terminal |
CN106454947B (en) * | 2016-06-29 | 2022-05-06 | 英骅信息科技(上海)有限公司 | AP access load balancing method |
CN106358174A (en) * | 2016-09-23 | 2017-01-25 | 上海众人网络安全技术有限公司 | Wireless roaming hotspot access method, system and wireless terminal |
-
2017
- 2017-10-18 WO PCT/CN2017/106695 patent/WO2019075662A1/en active Application Filing
- 2017-10-18 CN CN201780001248.1A patent/CN107980241B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101754279A (en) * | 2009-12-11 | 2010-06-23 | 中国科学技术大学 | Load balancing method for guaranteeing quality of service of real-time services |
CN102137280A (en) * | 2011-03-11 | 2011-07-27 | 深圳清华大学研究院 | Information transmission method, receiving processing method, front end and transceiving system |
CN103813347A (en) * | 2014-02-28 | 2014-05-21 | 电信科学技术研究院 | Base station frequency resource allocation method and network device |
CN103986715A (en) * | 2014-05-21 | 2014-08-13 | 海信集团有限公司 | Network traffic control method and device |
CN104661260A (en) * | 2015-01-20 | 2015-05-27 | 中南大学 | Wireless Mesh intelligent power grid routing mechanism with QoS perceiving and loading balancing |
CN106559742A (en) * | 2016-11-03 | 2017-04-05 | 厦门美图移动科技有限公司 | A kind of data transferring method, device, terminal and service end |
Non-Patent Citations (1)
Title |
---|
"S1-030935".《3GPP tsg_sa\WG5_TM》.2003, * |
Also Published As
Publication number | Publication date |
---|---|
CN107980241A (en) | 2018-05-01 |
WO2019075662A1 (en) | 2019-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107980241B (en) | Gateway multi-connection method and device | |
CN111371638B (en) | Intelligent equipment testing method and device, server and storage medium | |
CN111163130B (en) | Network service system and data transmission method thereof | |
CN107404481B (en) | User information recognition methods and device | |
CN113127168A (en) | Service distribution method, system, device, server and medium | |
CN114095567B (en) | Data access request processing method and device, computer equipment and medium | |
CN104360858A (en) | Method and device for calculating hotness of application | |
CN111130828B (en) | Intelligent network distribution method and device and terminal equipment | |
CN113177015B (en) | Frame header-based serial port communication method and serial port chip | |
CN108834130B (en) | Identification distribution method, device, terminal and computer readable storage medium | |
CN108234687B (en) | Intelligent IP address configuration method and device and terminal equipment | |
CN107277640A (en) | Interactive approach, device and storage medium based on live platform | |
CN108647139B (en) | System test method, device, storage medium and electronic device | |
CN113795032B (en) | Method and device for judging invisible faults of indoor division, storage medium and equipment | |
CN102946449A (en) | Uniform resource locator (URL) matching method, device and gateway | |
CN114239301A (en) | Simulation scene generation method and device | |
CN110347683B (en) | Data table merging processing method and device | |
CN113194107A (en) | Internet-based regional characteristic addressing method and device | |
CN112511441A (en) | Message processing method and device | |
CN110391929B (en) | Fault-tolerant control method and device and fault-tolerant component | |
CN108173689B (en) | Output system of load balancing data | |
CN109712011B (en) | Community discovery method and device | |
CN111641959A (en) | Method and device for detecting network environment information | |
CN109344185A (en) | A kind of data capture method and device | |
CN114500688B (en) | Method, device, terminal and storage medium for identifying equipment protocol |
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 |