CN109672613A - Adaptive access method, apparatus and electronic equipment - Google Patents

Adaptive access method, apparatus and electronic equipment Download PDF

Info

Publication number
CN109672613A
CN109672613A CN201811522058.7A CN201811522058A CN109672613A CN 109672613 A CN109672613 A CN 109672613A CN 201811522058 A CN201811522058 A CN 201811522058A CN 109672613 A CN109672613 A CN 109672613A
Authority
CN
China
Prior art keywords
target
address
network interface
network
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811522058.7A
Other languages
Chinese (zh)
Other versions
CN109672613B (en
Inventor
肖文鹏
吴英栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumavision Technologies Co Ltd
Original Assignee
Sumavision Technologies 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 Sumavision Technologies Co Ltd filed Critical Sumavision Technologies Co Ltd
Priority to CN201811522058.7A priority Critical patent/CN109672613B/en
Publication of CN109672613A publication Critical patent/CN109672613A/en
Application granted granted Critical
Publication of CN109672613B publication Critical patent/CN109672613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

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

Abstract

The present invention provides a kind of adaptive access method, apparatus and electronic equipments, are related to network access technology field, and this method is applied to gateway, comprising: receives the access request sent from client;Wherein, target ip address is carried in access request;By preset adaptive routing engine, target network interface corresponding with target ip address is determined;It wherein, include multiple network interfaces in adaptive routing engine;Each network interface is corresponding with multiple IP address;The access request of client is forwarded to target network interface, so that client accesses to the corresponding network service of target network interface.The present invention can effectively promote the Experience Degree of user.

Description

Adaptive access method, apparatus and electronic equipment
Technical field
The present invention relates to network access technology fields, set more particularly, to a kind of adaptive access method, apparatus and electronics It is standby.
Background technique
With the development of internet technology, broadcasting and TV operation industry is also opened in addition to carrying out traditional broadcasting and TV digital television business The value-added services such as Internet service and third party's network service wisdom family, video communication have been opened up, have accomplished more nets of business Network fusion, but be limited to industry special networks structure, user is not supported to pass through an address path while accessing multiclass network industry Business.
Currently, usually passing through manual switching address path, the corresponding net in selection current address path in client by user Network business accesses.For the user for often accessing different network service, need frequently to switch over operation.In this way Mode it is relatively complicated, the Experience Degree of user is bad.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of adaptive access method, apparatus and electronic equipment, to be promoted The Experience Degree of user.
In a first aspect, being applied to gateway the embodiment of the invention provides a kind of adaptive access method, comprising: receive and The access request sent from client;Wherein, Target IP (Internet Protocol, network association are carried in access request View) address;By preset adaptive routing engine, target network interface corresponding with target ip address is determined;Wherein, adaptive road By including multiple network interfaces in engine;Each network interface is corresponding with multiple IP address;The access request of client is forwarded to target Network interface, so that client accesses to the corresponding network service of target network interface.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein from Adapting to setting in routing engine, there are many IP aggregate lists;Every kind of IP aggregate list is corresponding with one in multiple network interfaces;Often Multiple IP address set are stored in kind IP aggregate list;Dynamic routing table is additionally provided in adaptive routing engine;Dynamic road By the corresponding relationship for being stored with multiple IP address and each IP address and network interface in table.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect Possible embodiment, wherein above by preset adaptive routing engine, determine target network corresponding with target ip address The step of mouth, comprising: judge that target ip address whether there is in dynamic routing table;If so, being found out from dynamic routing table Network interface corresponding with target ip address, and the network interface found out is determined as target network interface;If not, based on a variety of IP set column Table determines target network interface corresponding with target ip address.
The possible embodiment of second with reference to first aspect, the embodiment of the invention provides the third of first aspect Possible embodiment, wherein above-mentioned network interface includes the first network interface, the second network interface and third network interface;IP aggregate list include with The corresponding broadcasting and TV Intranet IP aggregate list of first network interface and third party's network IP aggregate list corresponding with the second network interface; Wherein, broadcasting and TV Intranet IP aggregate list and third party's network IP aggregate list is are established based on server associated with gateway 's.
The third possible embodiment with reference to first aspect, the embodiment of the invention provides the 4th kind of first aspect Possible embodiment, wherein the step of being based on a variety of IP aggregate lists, determining target network interface corresponding with target ip address, It include: one for judging target ip address and whether being matched in multiple IP address set of broadcasting and TV Intranet IP aggregate list;If It is that the first network interface is determined as the corresponding target network interface of target ip address;If not, judging whether target ip address is matched to One in multiple IP address set of triple net IP aggregate list;If so, the second network interface is determined as target ip address Corresponding target network interface;If not, third network interface is determined as the corresponding target network interface of target ip address;Third network interface is corresponding Network service is Internet service.
The 4th kind of possible embodiment with reference to first aspect, the embodiment of the invention provides the 5th kind of first aspect Possible embodiment, wherein after determining target network interface corresponding with target ip address, the above method further include: judgement Whether the memory of dynamic routing table is less than default memory threshold;If so, target ip address and target ip address is right with it The corresponding relationship for the target network interface answered is loaded onto dynamic routing table, to update dynamic routing table;If not, from dynamic routing table Corresponding the corresponding of network interface of the first IP address and the first IP address that middle deletion is stored at first in dynamic routing table is closed After system, the corresponding relationship of the corresponding target network interface of target ip address and target ip address is loaded onto dynamic routing table In, to update dynamic routing table.
The 4th kind of possible embodiment with reference to first aspect, the embodiment of the invention provides the 6th kind of first aspect Possible embodiment, wherein judging whether target ip address is matched to multiple IP address of broadcasting and TV Intranet IP aggregate list Before one in set, the above method further include: sent to server associated with gateway and update request, to pass through service Device is updated and saves to broadcasting and TV Intranet IP aggregate list and third party's network IP aggregate list.
Second aspect, the embodiment of the invention provides a kind of adaptive access devices, are set to gateway, comprising: access is asked Receiving module is sought, for receiving the access request sent from client;Wherein, target ip address is carried in access request; Target network interface determining module, for determining target network interface corresponding with target ip address by preset adaptive routing engine; It wherein, include multiple network interfaces in adaptive routing engine;Each network interface is corresponding with multiple IP address;Access modules, being used for will The access request of client is forwarded to target network interface, so that client accesses to the corresponding network service of target network interface.
The third aspect is deposited in memory the embodiment of the invention provides a kind of electronic equipment, including memory and processor The computer program that can be run on a processor is contained, processor realizes first aspect to first aspect when executing computer program The step of 6th kind of possible embodiment described in any item methods.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, computer readable storage mediums On be stored with computer program, when computer program is run by processor execute first aspect to first aspect the 6th kind of possibility Embodiment described in any item methods the step of.
The embodiment of the invention provides a kind of adaptive access method, apparatus and electronic equipment, this method is applied to gateway, The access request for carrying target ip address sent from client is received first;Then drawn by preset adaptive routing It holds up, determines target network interface corresponding with target ip address;It wherein, include multiple network interfaces in adaptive routing engine;Each net Mouth is corresponding with multiple IP address;And then the access request of client is forwarded to target network interface, so that client is to target network interface Corresponding network service accesses.Aforesaid way provided in an embodiment of the present invention being capable of q determination by adaptive routing engine Client initiates target network interface corresponding to the target ip address carried in access request, is supplied to its mesh of being accessed of client Mark the corresponding network service of network interface, compared to the prior art in need user's manual switching address path to access current address path The mode of corresponding network service, it is more convenient, it can effectively promote the Experience Degree of user.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of adaptive access method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another adaptive access method provided in an embodiment of the present invention;
Fig. 3 is a kind of method flow diagram for updating broadcasting and TV Intranet IP aggregate list provided in an embodiment of the present invention;
Fig. 4 is a kind of interactive structure schematic diagram of client and gateway provided in an embodiment of the present invention;
Fig. 5 is a kind of data flow diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of structural block diagram of adaptive access device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
With the development of internet technology, broadcasting and TV operation industry is in addition to carrying out traditional broadcasting and TV digital television business, such as SD program, high-definition program, TV playback and program request etc.;Internet service and third party's network service such as wisdom are also carried out The value-added services such as family, video communication, it is desirable to accomplish the multiple networks fusion of business, but be limited to industry special networks structure and show Some terminal devices (terminals such as DTV STB, home smart device) do not support user to pass through address road Diameter accesses multiclass network business simultaneously.Currently, usually passing through manual switching address path, selection current position in client by user The corresponding network service in location path accesses.For the user for often accessing different network service, need frequently into Row handover operation.Such mode, it is relatively complicated, so that the experience of user is bad.
Such as radio and TV operator is when thinking to carry out the value-added services such as broadcasting and TV traditional business and other internets or communication simultaneously, it must Three must be needed to access to throw the net network: broadcasting and TV Intranet, internet and third party's network.Due to the specific safety security properties of radio, TV and film industries It determines, broadcasting and TV Intranet must be an independent network system, it is desirable that it cannot directly access internet and third party's network.Base In the particularity of above-mentioned radio, TV and film industries, when radio and TV operator carries out a variety of emerging value-added services, it is necessary to based on guarantee broadcasting and TV Intranet Requirement premised on the safety operation of getting off.Existing broadcasting and TV Operation Network framework is usually to set in broadcasting and TV set-top box or gateway Set broadcasting and TV Intranet, internet and the corresponding SSID of third party's network (Service Set Identifier, services set mark Know);It, just must be by clients such as mobile phone, television set and tablet computers when user wants access to the business under heterogeneous networks WIFI (WIreless FIdelity, wireless network) accesses different SSID and just can be achieved, for example user wants to see internet news Deng, it is necessary to " Internet service SSID " in the WIFI access set-top box or gateway of manual switching client, which just may have access to, to be corresponded to Business;When user wants to see the live telecast or request program of broadcasting and TV, it is necessary to which the WIFI of manual switching client accesses set-top box Or " the broadcasting and TV business SSID " of gateway just may have access to corresponding business;Lead to the third party's network industry for using broadcasting and TV when user looks on the bright side of things Business, whens video communication, wisdom family etc., it is necessary to which the WIFI of manual switching client accesses set-top box/gateway " communications industry Being engaged in, SSID " is just addressable to correspond to business.Such mode can cause when carrying out the business under different network environments simultaneously to user Big inconvenience and puzzlement, especially child and the elderly are even more to be difficult to grasp above-mentioned relevant network environment handover operation, together When also to radio and TV operator run related service cause greatly promote obstacle.
Based on this, a kind of adaptive access method, apparatus provided in an embodiment of the present invention and electronic equipment can be mentioned effectively Rise the Experience Degree of user.
For convenient for understanding the present embodiment, first to a kind of adaptive access method disclosed in the embodiment of the present invention It describes in detail, is applied to gateway, when practical application, such as DTV STB, TVOS intelligent machine can also be applied to The broadcasting and TV bilateral construction net equipment such as top box, this method comprises:
Step S102 receives the access request sent from client;Wherein, Target IP is carried in access request Location;The target ip address for the client network service to be accessed address.
Step S104 determines target network interface corresponding with target ip address by preset adaptive routing engine;
It wherein, include multiple network interfaces in adaptive routing engine;Each network interface is corresponding with multiple IP address.
The access request of client is forwarded to target network interface by step S106, so that client is corresponding to target network interface Network service accesses.
The embodiment of the invention provides a kind of adaptive access methods, receive carry mesh from what client was sent first Mark the access request of IP address;Then by preset adaptive routing engine, target network corresponding with target ip address is determined Mouthful;It wherein, include multiple network interfaces in adaptive routing engine;Each network interface is corresponding with multiple IP address;In turn by client Access request be forwarded to target network interface so that client accesses to the corresponding network service of target network interface.The present invention is real The aforesaid way for applying example offer can determine that client initiates the Target IP carried in access request by adaptive routing engine Target network interface corresponding to address is supplied to the corresponding network service of client its wanted access target network interface, compared to existing The mode of the corresponding network service in user's manual switching address path access current address path is needed in technology, it is more convenient, The Experience Degree of user can effectively be promoted.
Specifically, there are many IP aggregate lists for setting in above-mentioned adaptive routing engine;Every kind of IP aggregate list with it is multiple One in network interface is corresponding;Multiple IP address set are stored in every kind of IP aggregate list;To save space, improve transmission and Storage efficiency, IP address set in IP aggregate list is preferable to be indicated with IP address section.Such as: 192.168.1.1~192.168.1.255 or 192.168.1.0/24.
Dynamic routing table is additionally provided in adaptive routing engine;Multiple IP address and every are stored in dynamic routing table The corresponding relationship of a IP address and network interface.When practical application, dynamic routing table be can be based on aforementioned a variety of IP aggregate list institutes Building namely in dynamic routing table data source stores multiple in aforementioned a variety of IP aggregate lists, dynamic routing table IP address is that client has accessed IP address corresponding to network service historical record.
Based on this, the embodiment of the invention provides another adaptive access methods, are shown in detail on the basis of Fig. 1 Step S104, namely by preset adaptive routing engine, determine a kind of tool of target network interface corresponding with target ip address The embodiment of body, as shown in Fig. 2, this method comprises:
Step S202 receives the access request sent from client;Wherein, Target IP is carried in access request Location.
Step S204 judges that target ip address whether there is in dynamic routing table;If so, step S206 is executed, if It is no, execute step S208.
Step S206 finds out network interface corresponding with target ip address, and the network interface that will be found out from dynamic routing table It is determined as target network interface.
Step S208 is based on a variety of IP aggregate lists, determines target network interface corresponding with target ip address.
The access request of client is forwarded to target network interface by step S210, so that client is corresponding to target network interface Network service accesses.
Aforesaid way provided in an embodiment of the present invention is being deposited first when determining target network interface corresponding with target ip address Have in the corresponding dynamic routing table of access network service historical record and search, if being not present in dynamic routing table, then from multiple IP It is searched in aggregate list.Such mode is able to ascend the efficiency of routing forwarding, and the access request of quick response client helps In the Experience Degree for promoting user.
When it is implemented, aforementioned network interface includes the first network interface, the second network interface and third network interface;IP aggregate list includes and The corresponding broadcasting and TV Intranet IP aggregate list of one network interface and third party's network IP aggregate list corresponding with the second network interface;Its In, broadcasting and TV Intranet IP aggregate list and third party's network IP aggregate list is are established based on server associated with gateway 's.
In a kind of optional embodiment, above-mentioned steps S208, namely a variety of IP aggregate lists are based on, determining and target The corresponding target network interface of IP address can refer to following steps implementation:
Step (1), judges whether target ip address is matched in multiple IP address set of broadcasting and TV Intranet IP aggregate list One;If so, executing step (2);If not, executing step (2).
First network interface is determined as the corresponding target network interface of target ip address by step (1).
Step (2), judges whether target ip address is matched to multiple IP address set of third party's network IP aggregate list In one;If so, executing step (3);If not, executing step (4).
Second network interface is determined as the corresponding target network interface of target ip address by step (3);
Third network interface is determined as the corresponding target network interface of target ip address by step (4);The corresponding network industry of third network interface Business is Internet service.
In actual use, for being both not belonging to broadcasting and TV Intranet IP aggregate list, third party's network IP set column are also not belonging to Table, that is, it is considered as belonging to internet ip aggregate list.Specifically, judging whether target ip address is matched to broadcasting and TV Intranet IP set The sequencing of list or third party's network IP aggregate list can be arranged according to actual conditions such as user's habits, and the present invention is real The aforesaid way of example offer is applied in view of user in most cases wants access to the network service of broadcasting and TV Intranet, thus it is above-mentioned can Broadcasting and TV Intranet IP aggregate list is first passed through in the embodiment of choosing to match target ip address.
Further, after determining target network interface corresponding with target ip address, the above method further includes to dynamic routing The update of table specifically can refer under type such as and implement:
(1) judge whether the memory of dynamic routing table is less than default memory threshold;If so, executing (2);If not, holding Row (3).
Wherein, default memory threshold can limit setting according to practical application, the maximum memory of such as dynamic routing table, herein It is not limited.In addition, it is contemplated that be likely to occur multiple client while initiating access request, and there are two or more visitors The network service to be accessed of family end is identical, namely may generate same target ip address pass corresponding with network interface simultaneously System, when practical application before whether the memory for judging dynamic routing table is less than default memory threshold, the above method further includes sentencing It whether there is target ip address in disconnected dynamic routing table, if so, terminating;If not, judge dynamic routing table memory whether Less than default memory threshold.
(2) corresponding relationship of the corresponding target network interface of target ip address and target ip address is loaded onto dynamic road By in table, to update dynamic routing table.
(3) from deleting the first IP address and the first IP address being stored in dynamic routing table at first in dynamic routing table After the corresponding relationship of corresponding network interface, by the correspondence of the corresponding target network interface of target ip address and target ip address Relationship is loaded onto dynamic routing table, to update dynamic routing table.
Further, judging whether target ip address is matched in multiple IP address set of broadcasting and TV Intranet IP aggregate list One before, the above method further include: to server associated with gateway send update request, with by server to wide Electric Intranet IP aggregate list and third party's network IP aggregate list are updated and save.
For ease of understanding, it is illustrated for updating broadcasting and TV Intranet IP aggregate list.In gateway system starting, system Initialization process forward end management server (that is, server associated with gateway), which is sent, updates request, activly request number According to update broadcasting and TV Intranet IP aggregate list.Specifically, the embodiment of the invention provides a kind of update broadcasting and TV Intranet IP set to arrange The method of table, as shown in figure 3, this method comprises the following steps:
Step S302 initializes the IP list of broadcasting and TV Intranet, obtains multiple IP address set.
Step S304 is sent by network protocol forward end management server and updates request.
Step S306 judges whether corresponding data update in front end management server;If so, executing step S308; If not, re-executeing the steps S306.
Step S308 updates the IP address in the IP list of broadcasting and TV Intranet based on the data updated in front end management server Collection, which merges, to be saved.
The method of above-mentioned update broadcasting and TV Intranet IP aggregate list provided in an embodiment of the present invention, by looping to determine front tube Whether the data in reason server update, can the IP address collection in real-time update broadcasting and TV Intranet IP list merge and save.It can Guarantee the accuracy of the corresponding target network interface of subsequent determining target ip address.
When practical application, it is contemplated that the renewal frequency one of broadcasting and TV routing table (that is, aforementioned broadcasting and TV Intranet IP aggregate list) As it is lower, broadcasting and TV routing table can be the file data being stored in built in memory device, will not lose when restarting system.It is aforementioned Dynamic routing table and third party's network IP aggregate list are preferably stored as the data in memory, and when system closedown empties note in table Record re-starts initialization after booting next time.
Further, for ease of understanding, the embodiment of the invention provides the interactive structure schematic diagram of a kind of client and gateway, As shown in figure 4, show 3 clients in figure, user client A respectively in family, user client B and family in family Interior user client C.WIFI module and more WAN (Wide Area Network, wide area network) mouth routing dynamic are provided in gateway Management module namely aforementioned adaptive routing engine.3 network interfaces are provided in more WAN mouthfuls of routing dynamic management modules, respectively For the corresponding WAN mouthfuls of A of Internet business, the corresponding WAN mouthfuls of B of broadcasting and TV inner-mesh network business and such as intelligent domestic, view The corresponding WAN mouthfuls of C of network service of third parties' networks such as frequency communication;It is virtual to be additionally provided with the Intranet connecting with aforementioned WIFI module WAN mouthfuls.
When practical application, user client A in foregoing home, user client C in user client B and family in family After connecting family SSID namely being connected into aforementioned WIFI module, gateway receives the access request of client, according to the access request The target ip address of middle carrying, by more WAN mouthfuls of routing dynamic management modules by access request from the corresponding mesh of target ip address WAN mouthfuls of mark forwards, so that client successful access is to WAN mouthfuls of corresponding network services of target.When practical application, above-mentioned net Pass can also be replaced by set-top box.User connects a SSID of set-top box or gateway by operation client, that is, may have access to wide The overall networks business such as electric Intranet, internet, third party's network, and no longer need frequent switching SSID.Such mode, can be with Radio and TV operator is greatly helped to promote the experience that the multiple business of user accesses simultaneously;Radio and TV operator is facilitated to guarantee Broadcasting Cable Network Under the premise of network individual secure, carries out and run a variety of third party's value-added services.I.e. CHINA RFTCOM Co Ltd is still with other Network Isolations It is independent, but the demand of multiple networks fusion is realized by terminal software.
In addition, the embodiment of the invention also provides a kind of data flow diagrams, as shown in figure 5, being with Household intelligent gateway Example, specifically illustrates the data interaction process between the gateway and client and the gateway and each network service.Wherein, scheme Front end shown in 5 include broadcasting and TV Intranet business module (that is, broadcasting and TV Intranet shown in Fig. 5), Internet service module ( That is, internet shown in Fig. 5) and third party's network service module (that is, third party's network shown in Fig. 5);Terminal I.e. aforementioned client.Specifically, in front end each module by AM access module in Household intelligent gateway and Household intelligent gateway into Row connection extracts related data for Household intelligent gateway and is transmitted to terminal.All TS about live streaming or program request as illustrated in the drawing Flow data, by modules such as demodulation, demultiplexing, descrambling, multichannel IP distribution, HTTP services in Household intelligent gateway, finally with The data format of IP is supplied to terminal use;The data such as EPG, CA information are supplied to end after obtaining in code stream with http protocol End uses.
Each subsystem, intermodule are communicated inside Household intelligent gateway with IP agreement, and the main comprising modules of data portion are to connect Enter module (network interface/CM/EOC/ONU), router/switch (the soft routing of master chip or individually AP module), firewall etc..Eventually End access broadband IP data or access broadcasting and TV Intranet IP video, the live video of gateway forwards etc., from router/switch (the soft routing of master chip or individually AP module) passes through.All data that gateway externally provides, service are IP agreement, to external Mouth includes: RJ45*2, USB*4, WiFi*2, MoCA*1, and the IP address of the subsequent each terminal of gateway is from the DHCP of intra-gateway Server dynamic acquisition IP;Gateway terminal side network is with the Dynamic Host Configuration Protocol server of intra-gateway (DHCP-Home namely gateway in figure It is local) based on dynamic IP address allocation, while supporting terminal can be directly from local side Dynamic Host Configuration Protocol server (DHCP-TV, DHCP- in figure Partner) IP address is obtained, to meet the operation demand under the various specific conditions of operator.
Intelligent household terminal module, household endowment terminal module and home security terminal mould in Household intelligent gateway inside Block is value-added service data portion, and for this part of module external interface based on IP or usb expansion, working principle is from front end dynamic Download each value-added service client, plug-in unit wait until gateway run, by IP terminal directly with value-added service server end communicate.Family WiFi module in intelligent gateway inside supports two kinds of configurations, and one kind can be to obtain IP address from DHCH-Home (gateway is local); Another kind can be to obtain IP address from DHCH- partner, and mainly operator cooperates operation use with other network operators.
Above-mentioned gateway provided in an embodiment of the present invention can be managed collectively and handle more WAN mouthfuls of IP address and routing table etc. The network information, built-in adaptive routing engine can such as pass through parsing according to the terminal type of access or the difference of type of service Client sends the target ip address carried in access request and forwards data to the purpose network of its needs automatically;Autonomous judgement With update dynamic routing table, it is based on associated server update routing rule namely IP address aggregate list.
The corresponding above method, the embodiment of the invention provides a kind of adaptive access devices, are set to gateway, can also set It is placed in the broadcasting and TV bilateral construction net equipment such as DTV STB, TVOS Intelligent set top box, as shown in fig. 6, the device packet It includes:
Access request receiving module 602, for receiving the access request sent from client;Wherein, in access request Carry target ip address;
Target network interface determining module 604, for by preset adaptive routing engine, determination to be corresponding with target ip address Target network interface;It wherein, include multiple network interfaces in adaptive routing engine;Each network interface is corresponding with multiple IP address;
Access modules 606, for the access request of client to be forwarded to target network interface, so that client is to target network interface Corresponding network service accesses.
The embodiment of the invention provides a kind of adaptive access devices, receive carry mesh from what client was sent first Mark the access request of IP address;Then by preset adaptive routing engine, target network corresponding with target ip address is determined Mouthful;It wherein, include multiple network interfaces in adaptive routing engine;Each network interface is corresponding with multiple IP address;In turn by client Access request be forwarded to target network interface so that client accesses to the corresponding network service of target network interface.The present invention is real It applies example and can determine that client initiates mesh corresponding to the target ip address carried in access request by adaptive routing engine Mark network interface, be supplied to the corresponding network service of client its wanted access target network interface, compared to the prior art in need user Manual switching address path accesses the mode of the corresponding network service in current address path, more convenient, can effectively promote use The Experience Degree at family.
The technical effect of device provided by the present embodiment, realization principle and generation is identical with previous embodiment, for letter It describes, Installation practice part does not refer to place, can refer to corresponding contents in preceding method embodiment.
Further, the present embodiment additionally provides a kind of electronic equipment, including memory, processor, is stored in memory The computer program that can be run on a processor, processor realize the step of above-mentioned adaptive access method when executing computer program Suddenly.
The structural schematic diagram of a kind of electronic equipment shown in Figure 7 shows electronic equipment 700, comprising: processor 70, memory 71, bus 72 and communication interface 73, processor 70, communication interface 73 and memory 71 are connected by bus 72;Place Reason device 70 is for executing the executable module deposited and stored in 71, such as computer program.
Wherein, memory 71 may include high-speed random access memory (RAM, Random Access Memory), It may further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.By extremely A few communication interface 73 (can be wired or wireless) is realized logical between the system network element and at least one other network element Letter connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 72 can be isa bus, pci bus or eisa bus etc..It is total that bus can be divided into address bus, data Line, control bus etc..Only to be indicated with a four-headed arrow in Fig. 7, it is not intended that an only bus or one convenient for indicating The bus of seed type.
Wherein, memory 71 is for storing program 701, and processor 70 executes program 701 after receiving and executing instruction, Method performed by the device that the stream process that aforementioned any embodiment of the embodiment of the present invention discloses defines can be applied to processor In 70, or realized by processor 70.
Processor 70 may be a kind of IC chip, the processing capacity with signal.During realization, above-mentioned side Each step of method can be completed by the integrated logic circuit of the hardware in processor 70 or the instruction of software form.Above-mentioned Processor 70 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable Logical device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute in the embodiment of the present invention Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to appoint What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing Device executes completion, or in decoding processor hardware and software module combination execute completion.Software module can be located at Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally In the storage medium of field maturation.The storage medium is located at memory 71, and processor 70 reads the information in memory 71, in conjunction with Its hardware completes the step of above method.
Further, the embodiment of the invention also provides a kind of computer readable storage medium, computer readable storage mediums On be stored with computer program, when which is run by processor execute any of the above-described adaptive access method step Suddenly.Specific implementation can be found in embodiment of the method, and details are not described herein.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, of the invention Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with Store the medium of program code.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of adaptive access method, which is characterized in that be applied to gateway, comprising:
Receive the access request sent from client;Wherein, target ip address is carried in the access request;
By preset adaptive routing engine, target network interface corresponding with the target ip address is determined;Wherein, described adaptive Answering in routing engine includes multiple network interfaces;Each network interface is corresponding with multiple IP address;
The access request of the client is forwarded to the target network interface, so that the client is corresponding to the target network interface Network service access.
2. the method according to claim 1, wherein there are many IP to gather for setting in the adaptive routing engine List;Every kind of IP aggregate list is corresponding with one in multiple network interfaces;It is stored in every kind of IP aggregate list There are multiple IP address set;
Dynamic routing table is additionally provided in the adaptive routing engine;Be stored in the dynamic routing table multiple IP address with And the corresponding relationship of each IP address and the network interface.
3. according to the method described in claim 2, it is characterized in that, described by preset adaptive routing engine, determine with The step of target ip address corresponding target network interface, comprising:
Judge that the target ip address whether there is in the dynamic routing table;
If so, the institute that finds out network interface corresponding with the target ip address from the dynamic routing table, and will find out It states network interface and is determined as target network interface;
If not, being based on a variety of IP aggregate lists, target network interface corresponding with the target ip address is determined.
4. according to the method described in claim 3, it is characterized in that, the network interface includes the first network interface, the second network interface and third Network interface;
The IP aggregate list includes broadcasting and TV Intranet IP aggregate list corresponding with first network interface and with described second The corresponding third party's network IP aggregate list of network interface;Wherein, the broadcasting and TV Intranet IP aggregate list and third party's network IP aggregate list is established based on server associated with the gateway.
5. according to the method described in claim 4, it is characterized in that, described be based on a variety of IP aggregate lists, determining and institute The step of stating target ip address corresponding target network interface, comprising:
Judge whether the target ip address is matched in multiple IP address set of the broadcasting and TV Intranet IP aggregate list one It is a;
If so, first network interface is determined as the corresponding target network interface of the target ip address;
If not, judging whether the target ip address is matched to multiple IP address collection of third party's network IP aggregate list One in conjunction;
If so, second network interface is determined as the corresponding target network interface of the target ip address;
If not, the third network interface is determined as the corresponding target network interface of the target ip address;The third network interface is corresponding Network service be Internet service.
6. according to the method described in claim 5, it is characterized in that, determining target network interface corresponding with the target ip address Later, the method also includes:
Judge whether the memory of the dynamic routing table is less than default memory threshold;
If so, the corresponding relationship of the corresponding target network interface of the target ip address and the target ip address is loaded Extremely in the dynamic routing table, to update the dynamic routing table;
If not, from the first IP address being stored in the dynamic routing table at first and institute is deleted in the dynamic routing table After the corresponding relationship for stating the corresponding network interface of the first IP address, by the target ip address and the target ip address and its The corresponding relationship of corresponding target network interface is loaded onto the dynamic routing table, to update the dynamic routing table.
7. according to the method described in claim 5, it is characterized in that, judging it is described wide whether the target ip address is matched to Before one in multiple IP address set of electric Intranet IP aggregate list, the method also includes:
To server associated with the gateway send update request, with by the server to the broadcasting and TV Intranet IP collection It closes list and third party's network IP aggregate list is updated and saves.
8. a kind of adaptive access device, which is characterized in that be set to gateway, comprising:
Access request receiving module, for receiving the access request sent from client;Wherein, it is carried in the access request There is target ip address;
Target network interface determining module, for by preset adaptive routing engine, determination to be corresponding with the target ip address Target network interface;It wherein, include multiple network interfaces in the adaptive routing engine;Each network interface is with being corresponding with multiple IP Location;
Access modules, for the access request of the client to be forwarded to the target network interface, so that the client is to institute The corresponding network service of target network interface is stated to access.
9. a kind of electronic equipment, which is characterized in that including memory and processor, being stored in the memory can be at the place The computer program run on reason device, the processor realize that the claims 1 to 7 are any when executing the computer program The step of method described in item.
10. a kind of computer readable storage medium, computer program, feature are stored on the computer readable storage medium The step of being, the described in any item methods of the claims 1 to 7 executed when the computer program is run by processor.
CN201811522058.7A 2018-12-12 2018-12-12 Self-adaptive access method and device and electronic equipment Active CN109672613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811522058.7A CN109672613B (en) 2018-12-12 2018-12-12 Self-adaptive access method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811522058.7A CN109672613B (en) 2018-12-12 2018-12-12 Self-adaptive access method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109672613A true CN109672613A (en) 2019-04-23
CN109672613B CN109672613B (en) 2021-06-18

Family

ID=66144252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811522058.7A Active CN109672613B (en) 2018-12-12 2018-12-12 Self-adaptive access method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109672613B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493252A (en) * 2019-08-30 2019-11-22 深圳前海微众银行股份有限公司 Overseas small routine cut-in method, device, equipment and medium
CN112350845A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Wide area network port configuration method, network device and computer readable storage medium
CN113468890A (en) * 2021-07-20 2021-10-01 南京信息工程大学 Sedimentology literature mining method based on NLP information extraction and part-of-speech rules
CN115051950A (en) * 2022-06-23 2022-09-13 南京邮电大学 Adaptive data forwarding system and method for different service types

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106473A (en) * 2006-07-14 2008-01-16 株式会社日立制作所 Receiving system or terminal for contents via ip network
CN106789526A (en) * 2016-11-29 2017-05-31 北京元心科技有限公司 Method and device for connecting multiple system networks
WO2018034172A1 (en) * 2016-08-19 2018-02-22 ソニー株式会社 Information processing device, client device, and data processing method
CN108777722A (en) * 2018-04-25 2018-11-09 广州视源电子科技股份有限公司 Multisystem group-net communication method, apparatus, mobile terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106473A (en) * 2006-07-14 2008-01-16 株式会社日立制作所 Receiving system or terminal for contents via ip network
WO2018034172A1 (en) * 2016-08-19 2018-02-22 ソニー株式会社 Information processing device, client device, and data processing method
CN106789526A (en) * 2016-11-29 2017-05-31 北京元心科技有限公司 Method and device for connecting multiple system networks
CN108777722A (en) * 2018-04-25 2018-11-09 广州视源电子科技股份有限公司 Multisystem group-net communication method, apparatus, mobile terminal and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112350845A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Wide area network port configuration method, network device and computer readable storage medium
CN112350845B (en) * 2019-08-09 2022-05-17 华为技术有限公司 Wide area network port configuration method, network device and computer readable storage medium
CN110493252A (en) * 2019-08-30 2019-11-22 深圳前海微众银行股份有限公司 Overseas small routine cut-in method, device, equipment and medium
CN113468890A (en) * 2021-07-20 2021-10-01 南京信息工程大学 Sedimentology literature mining method based on NLP information extraction and part-of-speech rules
CN113468890B (en) * 2021-07-20 2023-05-26 南京信息工程大学 Sedimentology literature mining method based on NLP information extraction and part-of-speech rules
CN115051950A (en) * 2022-06-23 2022-09-13 南京邮电大学 Adaptive data forwarding system and method for different service types
CN115051950B (en) * 2022-06-23 2023-08-18 南京邮电大学 Self-adaptive data forwarding system and method for different service types

Also Published As

Publication number Publication date
CN109672613B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN109672613A (en) Adaptive access method, apparatus and electronic equipment
CN108064442B (en) Intelligent equipment control method, control device and control system
KR100796865B1 (en) Mobile Terminal, System and Method for connecting Network by using the same
US20180219771A1 (en) Method for managing services chaining at a network equipment, corresponding network equipment
CN110266537A (en) Equipment distribution method, apparatus, system, to distribution net equipment and terminal
CN102710811B (en) Realize method and the switch of dhcp address safety distribution
CN110881207A (en) Network slice selection method and related product
US10404760B2 (en) Providing network connectivity to at least one client device connected to a telecommunications network via an access gateway device and an internet protocol edge function
CN101843056A (en) Packet level prioritization in interconnection networks
KR20180089571A (en) Mme reselection method and mme
CN109862437B (en) Forwarding table item creating method and BRAS
CN101146047A (en) A method, system and gateway for controlling quantity of network access terminal under routing mode
CN111163469A (en) Network distribution method of intelligent household appliance, wireless module and intelligent household appliance
CN105392185A (en) Intelligent equipment networking method and device, and system
CN105100955A (en) Set top box switching network method and device, and set top box provided with device
CN105791019A (en) A method for realizing simultaneous support of wired and wireless network applications in an intelligent set top box
CN111107605A (en) Network distribution method of household electrical appliance and household electrical appliance
CN107154877B (en) Configuration management method of convergence terminal and convergence terminal
CN105721189A (en) Network port configuration method and device for network equipment
CN105323128B (en) method, device and system for accessing front-end equipment to server
CN105812495B (en) Message forwarding method and equipment
WO2018218822A1 (en) Wireless network frequency band connection method and wireless access device
CN105656674A (en) IPTV (Internet Protocol Television) private network and Internet dual-network access method
CN107786441B (en) Communication method, OpenFlow switch and communication system
CN105187387B (en) A kind of service discovery method 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
GR01 Patent grant
GR01 Patent grant