CN110247832A - A kind of upper network control method, device, storage medium and gateway - Google Patents

A kind of upper network control method, device, storage medium and gateway Download PDF

Info

Publication number
CN110247832A
CN110247832A CN201910654606.XA CN201910654606A CN110247832A CN 110247832 A CN110247832 A CN 110247832A CN 201910654606 A CN201910654606 A CN 201910654606A CN 110247832 A CN110247832 A CN 110247832A
Authority
CN
China
Prior art keywords
message
module
statistical result
preliminary examination
dialing
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
CN201910654606.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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201910654606.XA priority Critical patent/CN110247832A/en
Publication of CN110247832A publication Critical patent/CN110247832A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/142Network analysis or design using statistical or mathematical methods
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

This application provides a kind of upper network control method, device, storage medium and gateways, comprising: distribution module circulation receives message and message is distributed to preliminary examination module when receiving message;Preliminary examination module receives message and is checked in advance message, and message is issued the corresponding rule analysis module of preliminary examination module according to preparatory inspection result;Rule analysis module analyzes message according to default rule, obtains analysis result;The analysis of summarizing module statistical rules analysis module cuts off statistical result as a result, obtaining dialing statistical result, data analysis statistical result and idle;Judge whether gateway has dialled;When gateway does not dial, dialled according to dialing statistical result;It when gateway has dialled, is controlled and is surfed the Internet according to data analysis statistical result, the cutting that statistical result controls the dialing is cut off according to idle.Upper network control method, device, storage medium and gateway provided by the present application carry out dial on demand and idle suspension according to user's custom rule in real time.

Description

A kind of upper network control method, device, storage medium and gateway
Technical field
This application involves intelligent gateway technical field more particularly to a kind of upper network control method, device, storage medium and nets It closes.
Background technique
Gateway (Gateway) is also known as gateway, protocol converter.Gateway on the level of the transport layer to realize network interconnection, It is most complicated network interconnection apparatus, network interconnection, the network interconnection different for two upper-layer protocols.Such as realize more than two different agreements Computer network interconnection.Specifically, local area network and LAN Monitoring System may be implemented, local area network is with wide area network interconnection and extensively Domain net and wide area network interconnect, so that remote across a network communication may be implemented between terminal.
It is greatly improved now with fiber-to-the-home promotion and home gateway bandwidth, intelligent gateway is more more and more universal, hold The type of business of load is also more and more, connects pressure to alleviate backbone network bandwidth pressure and server, it is desirable that Household intelligent gateway It can be realized dial on demand;And while dial on demand, user also proposed the Household intelligent gateway used new Demand.Such as: online game and Web content it is rich and varied, user's especially game that needs to surf the Internet to minor controls, It avoids damaging its body and mind;Network control at present is mainly limited from terminal side, and the universal of the intelligent terminals such as mobile phone makes terminal Side has been difficult effectively to be limited;User's expectation is limited from online source, that is, gateway side.
Although the Forward of user demand and being continuously increased for demand, and the existing method handled based on core message Can not dial on demand and idle suspension be carried out according to user's custom rule in real time.
Summary of the invention
It is customized according to user in real time this application provides a kind of upper network control method, device, storage medium and gateway Rule carries out dial on demand and idle suspension.
In a first aspect, this application provides a kind of upper network control methods, which comprises
Distribution module circulation receives message and the message is distributed to preliminary examination module when receiving message;
Preliminary examination module receives the message and is simultaneously checked in advance the message, according to preparatory inspection result by the report Text issues the corresponding rule analysis module of the preliminary examination module;
Rule analysis module analyzes the message according to default rule, obtains analysis result;
Summarizing module counts the analysis of the rule analysis module as a result, obtaining dialing statistical result, data analysis statistical As a result statistical result is cut off with idle;
Judge whether gateway has dialled;
When gateway does not dial, dialled according to the dialing statistical result;
It when gateway has dialled, is controlled and is surfed the Internet according to the data analysis statistical result, cut off and counted according to the idle As a result the cutting of the dialing is controlled.
Second aspect, this application provides online control device, described device includes:
The message is distributed to preliminary examination module when receiving message for recycling reception message by distribution module;
Preliminary examination module will according to preparatory inspection result for receiving the message and being checked in advance the message The message issues the corresponding rule analysis module of the preliminary examination module;
Rule analysis module obtains analysis result for being analyzed according to default rule the message;
Summarizing module, for counting the analysis of the rule analysis module as a result, obtaining dialing statistical result, data analysis Statistical result and idle cut off statistical result;
Execution module, for judging whether gateway has dialled, when gateway does not dial, according to the dialing statistical result into Row dialing is controlled according to the data analysis statistical result and is surfed the Internet when gateway has dialled, and cuts off statistics knot according to the idle Fruit controls the cutting of the dialing.
The third aspect, this application provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey Upper network control method described above is realized when sequence is executed by processor.
Fourth aspect this application provides a kind of gateway, including memory, processor and is stored on the memory And the computer program that can be run on the processor, the processor are realized above-mentioned any when executing the computer program Upper network control method described in one.
A kind of upper network control method, device, storage medium and gateway provided by the present application, circulation receive message, will receive To message be distributed to preliminary examination module, the message received is issued its corresponding rule analysis module, rule point by preliminary examination module It analyses module and analyzes message according to default rule, the analysis of summarizing module statistical rules analysis module is as a result, obtain dialing statistics As a result, data analysis statistical result and idle cut off statistical result, according to dialing statistical result, data analysis statistical result and spare time When cutting statistical result effectively control dialing, suspension.It is effectively controlled through the above technical solutions, can realize based on preset rules Dialing and suspension are realized and are surfed the Internet from the control of gateway side, and then achieve the purpose that effectively to manage online.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below Singly introduce, it should be apparent that, for those of ordinary skills, without any creative labor, It is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of upper network control method provided by the embodiments of the present application;
Fig. 2 is the flow chart of another upper network control method provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of control device of surfing the Internet provided by the embodiments of the present application;
Fig. 4 is the frame of distribution module provided by the embodiments of the present application, preliminary examination module, rule analysis module and summarizing module Figure;
Fig. 5 is a kind of structural schematic diagram of the gateway provided in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow chart of upper network control method provided by the embodiments of the present application, and this method can be surfed the Internet by control The device of behavior executes, which can be implemented in combination with by software and hardware, such as it is integrated in a gateway.As shown in Fig. 1, this Shen Please embodiment provide upper network control method, comprising:
S101: distribution module circulation receives message and the message is distributed to preliminary examination module when receiving message.
Message (message) is the data cell exchanged in network with transmission, i.e. the website data block disposably to be sent. Message contains complete data information to be sent, and length is very inconsistent, and length is unlimited and variable.Usually on carrying out When net, terminal forms message and message is sent to gateway, and the connection of network is realized by gateway.In the embodiment of the present application, net It closes and supports that wiredly and/or wirelessly port is dialled, terminal can be by wirelessly or non-wirelessly connecting gateway, and gateway passes through wireless or has The message of line reception terminal.In the embodiment of the present application, distribution module receives terminal and sends message, will when receiving message The message received is distributed to preliminary examination module.
Specifically, to guarantee that message can be received in time and completely, distribution module circulation receives message, until will Message receives complete and buffer area is written in the message received.
S102: preliminary examination module receives the message and is checked in advance the message, will according to preparatory inspection result The message issues the corresponding rule analysis module of the preliminary examination module.
Preliminary examination module receives the message that distribution module is sent, and is checked in advance message, and message characteristic is such as extracted, according to The message characteristic extracted realizes the sorting of message, and message is sent to the corresponding rule analysis module of preliminary examination module.In this Shen Please be in embodiment, each preliminary examination module can correspond to several rule analysis modules, the corresponding storage one of each rule analysis module Kind message analysis rule, a kind of matching of rule for message.The quantity of one preliminary examination module rule of correspondence analysis module by Its rule for corresponding to configuration determines, if two rules of user configuration, corresponding two rule analysis modules of a preliminary examination module.
When preliminary examination module starts, the rule of preliminary examination module detection user configuration is simultaneously loaded into the corresponding rule analysis of the rule Module.If two dialing rules of user configuration, one allows to dial when being wired access Baidu, another is contains " joy Pleasure " keyword is forbidden dialling.Preliminary examination module detects this corresponding rule of two dialing rules, if for rule 1 and rule 2, rule Then 1 corresponding regular 1 analysis module, regular 2 rule of correspondence, 2 analysis module, then regular 1 analysis module of preliminary examination module loading and Regular 2 analysis modules.When preliminary examination module receives the message of distribution module transmission, preliminary examination module sends the message received To regular 1 analysis module and regular 2 analysis modules.
In the embodiment of the present application, the configuration rule of user includes dialing rule, data analysis rule or idle suspension rule Then etc..Dialing rule includes allowing wired or wireless port to be dialled, certain online being allowed to request to dial, and such as allows to have Line access Baidu dials etc..Data analysis rule, keyword, the network for forbidding access etc. of configuration online detection, works as taboo Current online can be interrupted when only access or internet content contain keyword.Idle cutting rule, configures idle flow threshold and holds The continuous time, it may specify whole flows, the flow that also may specify certain Internet datas.Wherein, flow threshold and duration can be with It is system default, is also possible to user's self-setting according to actual needs, does not do specific limitation in this application.User The configuration rule that can customize according to online demand.
In the embodiment of the present application, in configuration rule, if setting keyword configures, the keyword of user configuration is received, According to the coded format of message by the keyword translation of configuration at the computer language of corresponding coded format.Such as, work as user configuration When keyword " amusement ", it is contemplated that " amusement " is translated into the computer of corresponding coded format according to the coded format of message by program Language " entertains " corresponding condition code.
S103: rule analysis module analyzes the message according to default rule, obtains analysis result.
When the message that rule analysis module receives, message is analyzed according to its default rule, obtains message Analyze result.In the embodiment of the present application, message analysis include the source requested in confirmation message, search message in whether include Keyword, message byte number for being arranged in rule etc., acquisition allows to dial or do not allow to dial, allows to surf the Internet or disconnection is surfed the Internet, It keeps dialing or allows to cut off the analysis result to dial.It in the embodiment of the present application, is raising message analysis efficiency, a message Analysis several rule analysis modules correspond to according to the configuration of rule, each rule analysis module is analyzed for one of message Processing.
As exemplified above, when preliminary examination module receives the message of distribution module transmission, message that preliminary examination module will receive It is sent to regular 1 analysis module and regular 2 analysis modules.Regular 1 analysis module analyzes message, requests in confirmation message Source whether be Baidu, when confirmation message be the request from Baidu, result is sent to summarizing module, when confirmation message simultaneously The non-request from Baidu, it is not necessary that result is sent to summarizing module.Regular 2 analysis modules analyze message, judge to report It whether include keyword " amusement " in text, when confirming content without containing " amusement ", without sending result information to total program, When in message including keyword " amusement ", result is sent to summarizing module.
Such as: in configuration rule, setting disconnects corresponding keyword of surfing the Internet, then is formed in rule analysis module according to key Word disconnects the rule of online.When carrying out message analysis, it is corresponding crucial that rule analysis module searches for lookup from the message Word then illustrates that the message being currently received meets the condition for disconnecting online, result is sent to if finding corresponding keyword Summarizing module.
S104: summarizing module counts the analysis of the rule analysis module as a result, obtaining dialing statistical result, data analysis Statistical result and idle cut off statistical result.
Summarizing module receives the analysis that the corresponding rule analysis module of each preliminary examination module is sent as a result, statistic analysis result, It obtains dialing statistical result, data analysis statistical result and idle and cuts off statistical result.The statistical result that dials is for instructing dialing Operation, that is, allow to dial or bottle up dialing;Data analysis statistical result allows to surf the Internet or disconnect online for managing online;It is not busy When flow of the cutting statistical result for managing dialing, in the statistical unit time, it is determined whether keep dialing or allow to cut off to dial Number.
S105: judge whether gateway has dialled.
In the embodiment of the present application, the dialing status for obtaining gateway, determines whether gateway current state has dialled.If current Gateway does not dial, executes step S106;If current gateway has dialled, step S107 is executed.
S106: it when gateway does not dial, is dialled according to the dialing statistical result.
If current gateway is in non-dialing status, the dialing statistical result in summarizing module is obtained, when dialing statistical result In include allow to dial, then initiate to dial, i.e., acquisition dialing parameters, call Dial Up script, complete dialing;When dialing statistical result In do not include allow to dial, then do not initiate to dial.In the embodiment of the present application, after dial-up success, clearly dial statistical result, Discharge related resource;If dialing failure, next Message processing is waited as a result, carrying out according to the dialing statistical result of next message Dialing.
S107: it when gateway has dialled, is controlled and is surfed the Internet according to the data analysis statistical result, cut off according to the idle Statistical result controls the cutting of the dialing.
If current gateway is in dialing status, the data analysis statistical result in summarizing module is obtained, it is determined whether need Interrupt the corresponding online of current message.If when in data analysis statistical result comprising interrupting the result currently surfed the Internet, before interruption The online of message counterpart terminal connects;If do not include the result interrupted and currently surfed the Internet in data analysis statistical result, keep working as The online of preceding message counterpart terminal connects.If current gateway is in dialing status, the idle obtained in summarizing module cuts off system Meter is as a result, determine the need for disconnecting dialing.If idle cutting statistical result meets idle cutting dialing, cutting dialing, tool Body: sending cutting dial request, gateway receives cutting dial request, and dial-up resource is recycled in cutting dialing.If idle cutting system When meter result is unsatisfactory for idle cutting dialing, dialing is kept.
For the orderly progress for guaranteeing dialing, suspension and cutting dialing, dialing, suspension and cutting usually are required in synchronization Dialing can only occur one.Therefore in the embodiment of the present application, when gateway has dialled, according to the data analysis statistical result Control online;When not including the result interrupted and currently surfed the Internet in data analysis statistical result, is cut off and counted according to the idle As a result the cutting of the dialing is controlled.
In upper network control method provided by the embodiments of the present application, circulation receives message, and the message received is distributed to The message received is issued its corresponding rule analysis module by preliminary examination module, preliminary examination module, and rule analysis module is according to default Rule analysis message, the analysis of summarizing module statistical rules analysis module is as a result, obtain dialing statistical result, data analysis system It counts result and idle cuts off statistical result, statistical result is cut off according to dialing statistical result, data analysis statistical result and idle Effectively control dialing, suspension.Dialing and suspension are effectively controlled based on preset rules through the above technical solutions, can realize, it is real It now surfs the Internet from the control of gateway side, and then achievees the purpose that effectively to manage online.Online controlling party provided by the embodiments of the present application Method realizes dial on demand, alleviates backbone network bandwidth pressure and server connects pressure;And can more online agenda into It goes and manages, effectively control online, such as minor's online especially game is controlled.
Attached drawing 2 is the flow chart of another upper network control method provided by the embodiments of the present application.As shown in Fig. 2, this Shen Please embodiment provide upper network control method include:
S201: distribution module circulation receives message, when receiving message, idle preliminary examination module is searched, by the report Text is distributed to the idle preliminary examination module.
S202: when not finding idle preliminary examination module, start new preliminary examination module, the message is distributed to new institute State preliminary examination module.
In the embodiment of the present application, distribution module corresponds to several preliminary examination modules, each preliminary examination module corresponds to several rules Analysis module, preliminary examination module manage rule analysis module according to the rule of configuration.In the embodiment of the present application, distribution module receives When to message, message is distributed to idle preliminary examination module, idle preliminary examination module if receiving message in time to message into Row processing, is effectively ensured the timeliness of Message processing.When not finding idle preliminary examination module, start new preliminary examination module, Message is distributed to new preliminary examination module.It is idle preliminary examination module that state is preferentially selected when receiving new message, is not being had When available free preliminary examination module, starts new preliminary examination module, realize one message of a preliminary examination resume module, be further ensured that report The timeliness of text processing.The upper network control method of other the relevant technologies features referring to figure 1, details are not described herein.
In upper network control method provided by the embodiments of the present application, further includes: when the corresponding rule analysis mould of preliminary examination module After the completion of block analysis, the state of the preliminary examination module is set to the free time.In this way, it is easy to implement the monitoring to preliminary examination module status, The state of preliminary examination module can be obtained in time and effectively by being conveniently distributed module.Further, when the preliminary examination module is when default In when not receiving message, exit the preliminary examination module and close the corresponding rule analysis module of the preliminary examination module.In this way, Upper network control method provided by the embodiments of the present application realizes dynamically load preliminary examination module and rule analysis module, it can be achieved that in reality When receiving message, message is analyzed in real time, that is, is always ensured that receive message is handled in time, is suitable for Internet data amount Big situation.
Preset time can be system default, is also possible to user's self-setting according to actual needs, is also possible to User's self-setting according to actual needs, is in the embodiment of the present application not specifically limited.Assuming that preset time is 10S, when When the state of preliminary examination module is set to the free time, start timing.In timing course, once the preliminary examination module receives message, The state of preliminary examination module is set to it is busy, exit in time;When timing is accumulated to 10S, exit described in the preliminary examination module and closing The corresponding rule analysis module of preliminary examination module discharges resource.
In upper network control method provided by the embodiments of the present application, further includes: the message flow in the statistical unit time;If When message flow in unit time is less than threshold value, record is continuously less than the time of threshold value;If the message flow in the unit time When greater than threshold value, the time for being continuously less than threshold value is removed;When the continuous time less than threshold value being greater than preset time, in the spare time When cutting statistical result in setting idle cut off flag bit.
Unit time, threshold value and preset time can be system default, be also possible to user according to actual needs voluntarily It is arranged, is also possible to user's self-setting according to actual needs, is not specifically limited in the embodiment of the present application.Assuming that single The position time is 1S, threshold value is 1KB and preset time is 10S, when receiving message byte number in continuous 1S less than 1KB, is started Timing, the message byte number per second received is no more than 1KB always in subsequent 10s, then the duration is just 10S, once at certain When the message byte number received in one unit time is greater than or equal to 1KB, the timing for being continuously less than threshold value is removed.
In the application specific embodiment, when summarizing module receives the analysis result for allowing to dial, unite in dialing Counting setting in result allows dial marker position;When summarizing module receives the analysis result for disconnecting online, in dialing statistics knot Suspension flag bit is set in fruit;When summarizing module, which receives, to be allowed to cut off the analysis result to dial, statistics knot is cut off in idle Idle is set in fruit and cuts off flag bit.
Therefore the embodiment of the present application is provided according to dialing statistical result, data analysis statistical result and idle cutting statistics knot Fruit effectively controls dialing, suspension, specifically: when gateway does not dial, whether judge in the dialing statistical result comprising allowing Dial marker position;If calling and dialling comprising allowing dial marker position, obtaining dialing parameters and initializing in the dialing statistical result Number script completes dialing.When gateway has dialled, whether judge in the data analysis statistical result comprising suspension flag bit; If including suspension flag bit in the data analysis statistical result, the network that the message corresponds to user terminal is closed.If described Do not include suspension flag bit in data analysis statistical result, judges whether cut off comprising idle in the idle cutting statistical result Flag bit;If cutting off flag bit, cutting dialing comprising idle in the idle cutting statistical result.
Based on upper network control method provided by the embodiments of the present application, present invention also provides a kind of online control devices.It is attached Fig. 3 provides a kind of structural schematic diagram of control device of surfing the Internet for the embodiment of the present application.As shown in Fig. 3, the embodiment of the present application mentions The online control device of confession includes:
The message is distributed to preliminary examination module when receiving message for recycling reception message by distribution module 310;
Preliminary examination module 320, for receiving the message and being checked in advance the message, according to preparatory inspection result The message is issued into the corresponding rule analysis module of the preliminary examination module;
Rule analysis module 330 obtains analysis result for being analyzed according to default rule the message;
Summarizing module 340, for counting the analysis of the rule analysis module as a result, obtaining dialing statistical result, data It analyzes statistical result and idle cuts off statistical result;
Execution module 350, when gateway does not dial, is counted according to the dialing and is tied for judging whether gateway has dialled Fruit is dialled, and when gateway has dialled, is controlled and is surfed the Internet according to the data analysis statistical result, cut off and united according to the idle Meter result controls the cutting of the dialing.
Optionally, distribution module 310 is specifically used for: circulation receives message, when receiving message, searches idle preliminary examination The message is distributed to the idle preliminary examination module by module;When not finding idle preliminary examination module, start new preliminary examination The message is distributed to the new preliminary examination module by module.
Optionally, preliminary examination module 320 is also used to: after the completion of the corresponding rule analysis module analysis of the preliminary examination module, The state of the preliminary examination module is set to the free time;When the preliminary examination module does not receive message within a preset time, institute is exited It states preliminary examination module and closes the corresponding rule analysis module of the preliminary examination module.
Attached drawing 4 is the frame of distribution module provided by the embodiments of the present application, preliminary examination module, rule analysis module and summarizing module Frame figure is used for message analysis and statistics.As shown in Fig. 4, distribution module corresponds to several preliminary examination modules, and each preliminary examination module is corresponding Several rule analysis modules, strictly all rules analysis module correspond to summarizing module.Distribution module provided by the embodiments of the present application, preliminary examination The frame of module, rule analysis module and summarizing module is easy to implement dynamically load preliminary examination module and rule analysis module, can be real When present real-time reception arrives message, message is analyzed in real time, that is, is always ensured that receive message is handled in time, is suitable for surfing the Internet The big situation of data volume.
Optionally, execution module 350 includes dialing control submodule, and the dialing control submodule is used for: when gateway not When dialing, whether judge in the dialing statistical result comprising allowing dial marker position;If including in the dialing statistical result Allow dial marker position, obtain dialing parameters and initialize, call Dial Up script, completes dialing.
Optionally, execution module 350 includes that idle cuts off submodule, and the idle cutting submodule is used for: described in judgement Whether idle is cut off in statistical result comprising idle cutting flag bit;If being cut off in the idle cutting statistical result comprising idle Flag bit, cutting dialing.
Optionally, execution module 350 includes suspension control submodule, and the suspension control submodule is used for: described in judgement It whether include suspension flag bit in data analysis statistical result;If in the data analysis statistical result including suspension flag bit, Then close the network that the message corresponds to user terminal.
Optionally, rule analysis module 330 further includes message flow statistic submodule, the message flow statistic submodule For: the message flow in the statistical unit time;If the message flow in the unit time is less than threshold value, record is continuously less than threshold The time of value;If the message flow in the unit time is greater than threshold value, the time for being continuously less than threshold value is removed;When described continuous small When the time of threshold value being greater than preset time, setting idle cuts off flag bit in idle cutting statistical result.And message flow Amount statistic submodule can be used for counting the whole message flows for flowing through gateway, can be used for counting certain appointed websites or specified The message flow of terminal.
The embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey Upper network control method described in above-described embodiment is realized when sequence is executed by processor.Upper network control method referring to above-described embodiment, Details are not described herein.
Storage medium refers to any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term Matter " may include may reside in different location (such as by network connection different computer systems in) two or More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement For computer program).
The embodiment of the present application also provides a kind of gateway, attached drawing 5 is the structural representation of gateway provided by the embodiments of the present application Figure.As shown in Fig. 5, gateway provided by the embodiments of the present application includes memory 501, processor 502 and is stored in described deposit On reservoir 501 and the computer program that can run on the processor 502, the processor 502 execute the computer journey Upper network control method described in above-described embodiment is realized when sequence.About the upper network control method referring to described in above-described embodiment, Details are not described herein.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments, and related place is referring to side The part of method embodiment illustrates.It should be noted that those skilled in the art are considering the hair of specification and practice here After bright, other embodiments of the present invention will readily occur to.This application is intended to cover any modification of the invention, purposes or fit Answering property changes, these variations, uses, or adaptations follow general principle of the invention and do not invent including the present invention Common knowledge or conventional techniques in the art.The description and examples are only to be considered as illustrative, the present invention True scope and spirit be indicated by the following claims.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.

Claims (10)

1. a kind of upper network control method, which is characterized in that the described method includes:
Distribution module circulation receives message and the message is distributed to preliminary examination module when receiving message;
Preliminary examination module receives the message and is checked in advance the message, is sent out the message according to preparatory inspection result Give the preliminary examination module corresponding rule analysis module;
Rule analysis module analyzes the message according to default rule, obtains analysis result;
Summarizing module counts the analysis of the rule analysis module as a result, obtaining dialing statistical result, data analysis statistical result Statistical result is cut off with idle;
Judge whether gateway has dialled;
When gateway does not dial, dialled according to the dialing statistical result;
It when gateway has dialled, is controlled and is surfed the Internet according to the data analysis statistical result, statistical result is cut off according to the idle Control the cutting of the dialing.
2. upper network control method according to claim 1, which is characterized in that the method also includes:
After the completion of the corresponding rule analysis module analysis of the preliminary examination module, the state of the preliminary examination module is set to the free time;
When the preliminary examination module does not receive message within a preset time, exits the preliminary examination module and close the preliminary examination mould The corresponding rule analysis module of block.
3. upper network control method according to claim 1, which is characterized in that the message is distributed to preliminary examination module, is wrapped It includes:
Idle preliminary examination module is searched, the message is distributed to the idle preliminary examination module;
When not finding idle preliminary examination module, starts new preliminary examination module, the message is distributed to the new preliminary examination mould Block.
4. upper network control method according to claim 1, which is characterized in that when gateway does not dial, according to the dialing Statistical result dials, comprising:
When gateway does not dial, whether judge in the dialing statistical result comprising allowing dial marker position;
If comprising allowing dial marker position, obtaining dialing parameters and initializing in the dialing statistical result, calling Dial Up script, Complete dialing.
5. upper network control method according to claim 1, which is characterized in that the method also includes:
Message flow in the statistical unit time;
If the message flow in the unit time is less than threshold value, record is continuously less than the time of threshold value;
If the message flow in the unit time is greater than threshold value, the time for being continuously less than threshold value is removed;
When the continuous time less than threshold value being greater than preset time, setting idle cuts off mark in idle cutting statistical result Will position.
6. upper network control method according to claim 1, which is characterized in that cut off statistical result control according to the idle The cutting of the dialing, comprising:
Whether judge in the idle cutting statistical result comprising idle cutting flag bit;
If cutting off flag bit, cutting dialing comprising idle in the idle cutting statistical result.
7. upper network control method according to claim 1, which is characterized in that controlled according to the data analysis statistical result Online, comprising:
Whether judge in the data analysis statistical result comprising suspension flag bit;
If including suspension flag bit in the data analysis statistical result, the network that the message corresponds to user terminal is closed.
8. upper network control method according to claim 1, which is characterized in that the method also includes:
The customized selection information of user is received, according to the customized selection creating info rules analysis module.
9. a kind of online control device, which is characterized in that described device includes:
The message is distributed to preliminary examination module when receiving message for recycling reception message by distribution module;
Preliminary examination module will be described according to preparatory inspection result for receiving the message and being checked in advance the message Message issues the corresponding rule analysis module of the preliminary examination module;
Rule analysis module obtains analysis result for being analyzed according to default rule the message;
Summarizing module, for counting the analysis of the rule analysis module as a result, obtaining dialing statistical result, data analysis statistical As a result statistical result is cut off with idle;
Execution module, when gateway does not dial, is dialled for judging whether gateway has dialled according to the dialing statistical result Number, it when gateway has dialled, is controlled and is surfed the Internet according to the data analysis statistical result, statistical result control is cut off according to the idle Make the cutting of the dialing.
10. a kind of gateway, which is characterized in that including memory, processor and be stored on the memory and can be described The computer program run on processor, the processor are realized when executing the computer program as claim 1-8 is any Upper network control method described in one.
CN201910654606.XA 2019-07-19 2019-07-19 A kind of upper network control method, device, storage medium and gateway Pending CN110247832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910654606.XA CN110247832A (en) 2019-07-19 2019-07-19 A kind of upper network control method, device, storage medium and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910654606.XA CN110247832A (en) 2019-07-19 2019-07-19 A kind of upper network control method, device, storage medium and gateway

Publications (1)

Publication Number Publication Date
CN110247832A true CN110247832A (en) 2019-09-17

Family

ID=67892985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910654606.XA Pending CN110247832A (en) 2019-07-19 2019-07-19 A kind of upper network control method, device, storage medium and gateway

Country Status (1)

Country Link
CN (1) CN110247832A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641533A (en) * 2020-05-27 2020-09-08 博为科技有限公司 Method and device for dialing broadband access on demand
CN114553745A (en) * 2022-01-21 2022-05-27 浙江航芯科技有限公司 Parent control device and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090072434A (en) * 2007-12-28 2009-07-02 주식회사 케이티 Home gateway apparatus and method for managing network using tendency and method of managing network using tendency using that
CN103124226A (en) * 2012-12-03 2013-05-29 深圳市共进电子股份有限公司 Household broadband net-system play monitoring system and method
CN107395386A (en) * 2016-05-17 2017-11-24 阿里巴巴集团控股有限公司 A kind of method and system, gateway device for controlling intelligent terminal
CN107659457A (en) * 2017-10-23 2018-02-02 上海斐讯数据通信技术有限公司 Method, wireless router and the system of online control are realized based on wireless router
CN108809774A (en) * 2018-04-24 2018-11-13 烽火通信科技股份有限公司 A kind of home gateway realizes the broad band access method of PPPoE dial on demand
CN109474517A (en) * 2018-12-04 2019-03-15 广东九联科技股份有限公司 A kind of Household intelligent gateway system of monitoring user online

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090072434A (en) * 2007-12-28 2009-07-02 주식회사 케이티 Home gateway apparatus and method for managing network using tendency and method of managing network using tendency using that
CN103124226A (en) * 2012-12-03 2013-05-29 深圳市共进电子股份有限公司 Household broadband net-system play monitoring system and method
CN107395386A (en) * 2016-05-17 2017-11-24 阿里巴巴集团控股有限公司 A kind of method and system, gateway device for controlling intelligent terminal
CN107659457A (en) * 2017-10-23 2018-02-02 上海斐讯数据通信技术有限公司 Method, wireless router and the system of online control are realized based on wireless router
CN108809774A (en) * 2018-04-24 2018-11-13 烽火通信科技股份有限公司 A kind of home gateway realizes the broad band access method of PPPoE dial on demand
CN109474517A (en) * 2018-12-04 2019-03-15 广东九联科技股份有限公司 A kind of Household intelligent gateway system of monitoring user online

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641533A (en) * 2020-05-27 2020-09-08 博为科技有限公司 Method and device for dialing broadband access on demand
CN114553745A (en) * 2022-01-21 2022-05-27 浙江航芯科技有限公司 Parent control device and method

Similar Documents

Publication Publication Date Title
US6456619B1 (en) Method and system for supporting a decision tree with placeholder capability
CN101039309B (en) Link sharing service apparatus and communication method thereof
CN103955405B (en) A kind of application management method and its device
CN101207924B (en) Method for processing multi-user connections in high speed grouped data terminal
CN106171019B (en) Determine the method, apparatus, terminal and server of terminal roaming status
CN110247832A (en) A kind of upper network control method, device, storage medium and gateway
CN109286957A (en) Switching method, device, electronic equipment and the storage medium of a kind of time source link
CN109309728A (en) A kind of data processing method and relevant apparatus
CN109982293A (en) Flow product method for pushing, system, electronic equipment and storage medium
CN108055311A (en) HTTP Asynchronous Requests method, apparatus, server, terminal and storage medium
CN109962893A (en) A kind of intelligent call method and its relevant device
CN109379769A (en) A kind of data transmission method, equipment and computer readable storage medium
CN106506676A (en) Document transmission processing method and aid system
JP2014504058A (en) Network device, called terminal, and method for processing a third-party call
CN105721392B (en) A kind of method, apparatus and system for recommending application
CN107465633A (en) Method for managing resource and device based on software defined network
CN111555984B (en) Method and device for data transmission, smart home equipment and storage medium
CN105812178B (en) A kind of terminal staging method and terminal
CN106385516A (en) Business transfer setting method, device and terminal
CN106358221A (en) Method and device for recovering main card data
CN103517317B (en) A kind of system and method matched between phone number and operator passage
CN102957702B (en) The method of request data and client
CN110213155A (en) Communication processing method, device and relevant device, storage medium
CN109302539A (en) Harassing call hold-up interception method and device
CN106357798A (en) Method for storing and acquiring media files in Portal page, cloud controller and terminal

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: 20190917

RJ01 Rejection of invention patent application after publication