CN108337146A - Terminal debugging apparatus, system and method - Google Patents
Terminal debugging apparatus, system and method Download PDFInfo
- Publication number
- CN108337146A CN108337146A CN201810086609.3A CN201810086609A CN108337146A CN 108337146 A CN108337146 A CN 108337146A CN 201810086609 A CN201810086609 A CN 201810086609A CN 108337146 A CN108337146 A CN 108337146A
- Authority
- CN
- China
- Prior art keywords
- networking equipment
- terminal
- server
- ethernet frame
- network interface
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4604—LAN interconnection over a backbone network, e.g. Internet, Frame Relay
- H04L12/462—LAN interconnection over a bridge based backbone
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2294—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/004—Diagnosis, testing or measuring for television systems or their details for digital television systems
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Biomedical Technology (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of terminal debugging apparatus, system and method, terminal debugging apparatus includes:Client networking equipment and server-side networking equipment, client networking equipment are in the first LAN, and server-side networking equipment is in the second LAN belonging to terminal;Server-side networking equipment receives the request instruction that terminal is sent, and request instruction is forwarded to client networking equipment;Client networking equipment obtains ethernet frame in response to request instruction from the first LAN, and ethernet frame is sent to server-side networking equipment;The ethernet frame received is sent to terminal by server-side networking equipment, so that terminal is debugged according to ethernet frame.The client networking equipment and server-side networking equipment that the present invention passes through low cost, the ethernet frame of first LAN is sent to the terminal in the second LAN, so that terminal realizes remote debugging, avoids developer from going on business to the field adjustable residing for the first LAN, reduce debugging cost.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of terminal debugging apparatus, system and methods.
Background technology
Since every two-way services of telecom operators and radio and TV operator are erected in private network, in current commercial interaction
Formula Web TV (Internet Protocol Television, IPTV) set-top box and broadcasting and TV set-top box, the overwhelming majority all exist
It can only work in operator's private network.The business structure of this private network is given due to can only be accessed in carrier network environment
Set-top box and the debugging of other terminal traffics and exploitation increase many costs.It is generally necessary to which technical support personnel carries out at the scene
Daily record crawl and network packet capturing pass to research staff by internet and carry out reciprocal debugging and confirmation.When necessary,
Research staff is also needed to go on business to carrier network progress field adjustable.The remote debugging mode of this terminal is time-consuming and laborious, mesh
Preceding terminal remote inconvenient debugging is a technical problem to be solved urgently.
Above- mentioned information is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above- mentioned information is existing skill
Art.
Invention content
The main purpose of the present invention is to provide a kind of terminal debugging apparatus, system and methods, it is intended to solve above-mentioned current
The technical issues of terminal remote inconvenient debugging.
To achieve the above object, the present invention provides a kind of terminal debugging apparatus, and the terminal debugging apparatus includes:Client
Networking equipment and server-side networking equipment, the client networking equipment are in the first LAN, and the server-side networking is set
In standby the second LAN in belonging to terminal;
The server-side networking equipment, the request instruction for receiving terminal transmission, and the request instruction is forwarded to
The client networking equipment;
The client networking equipment obtains ether for instructing in response to the request from first LAN
The ethernet frame is sent to the server-side networking equipment by net frame;
The server-side networking equipment, the ethernet frame for being additionally operable to receive are sent to the terminal, so that the end
It is debugged according to the ethernet frame at end.
Preferably, the client networking equipment is additionally operable to the ethernet frame being packaged, and encapsulation is obtained
Encapsulated frame is sent to the server-side networking equipment;
The server-side networking equipment, the encapsulated frame for being additionally operable to receive are sealed off and are assembled, and ethernet frame is obtained,
And the ethernet frame is sent to the terminal, so that the terminal is debugged according to the ethernet frame.
Preferably, the client networking equipment includes the first network interface and the second network interface, described in first network interface connection
First LAN, the second network interface connection outer net;
The client networking equipment is additionally operable to obtain Ethernet from first LAN by first network interface
Frame;
The client networking equipment is additionally operable to when second network interface accesses the outer net, with the server-side group
Net equipment connects, and establishes virtual link, and the encapsulated frame that encapsulation obtains is sent to the server-side group by the virtual link
Net equipment.
Preferably, the server-side networking equipment includes third network interface and the 4th network interface, described in the third network interface connection
Outer net, terminal described in the 4th network interface connection;
The server-side networking equipment is additionally operable to receive the encapsulated frame by the third network interface;
The server-side networking equipment is additionally operable to that the ethernet frame is sent to the end by the 4th network interface
End, so that the terminal is debugged according to the ethernet frame.
In addition, to achieve the above object, the present invention also proposes a kind of terminal debugging system, the terminal debugging system packet
It includes:Terminal and terminal debugging apparatus as described above, the terminal are connected with the terminal debugging apparatus;
The terminal, for being debugged according to the ethernet frame.
In addition, to achieve the above object, the present invention also proposes that a kind of terminal debugging method, the terminal debugging method are based on
Terminal debugging apparatus, the terminal debugging apparatus include:Client networking equipment and server-side networking equipment, the groups of clients
Net equipment is in the first LAN, and the server-side networking equipment is in the second LAN belonging to terminal;
The terminal debugging method includes the following steps:
The server-side networking equipment receives the request instruction that terminal is sent, and the request instruction is forwarded to the visitor
Family end networking equipment;
The client networking equipment instructs in response to the request, and ethernet frame is obtained from first LAN,
The ethernet frame is sent to the server-side networking equipment;
The ethernet frame received is sent to the terminal by the server-side networking equipment, so that the terminal is according to institute
Ethernet frame is stated to be debugged.
Preferably, the client networking equipment instructs in response to the request, from first LAN obtain with
The ethernet frame is sent to the server-side networking equipment, specifically included by too net frame:
The client networking equipment instructs in response to the request, and ethernet frame is obtained from first LAN,
The ethernet frame is packaged, and the encapsulated frame that encapsulation obtains is sent to the server-side networking equipment;
Correspondingly, the ethernet frame received is sent to the terminal by the server-side networking equipment, so that the end
End is debugged according to the ethernet frame, is specifically included:
The encapsulated frame received is sealed off and is assembled by the server-side networking equipment, obtains ethernet frame, and by institute
It states ethernet frame and is sent to the terminal, so that the terminal is debugged according to the ethernet frame.
Preferably, the client networking equipment includes the first network interface and the second network interface, described in first network interface connection
First LAN, the second network interface connection outer net;
The client networking equipment instructs in response to the request, and ethernet frame is obtained from first LAN,
It specifically includes:
The client networking equipment instructs in response to the request, by first network interface from first LAN
Obtain ethernet frame;
Correspondingly, the ethernet frame is packaged by the client networking equipment, and the encapsulated frame that encapsulation is obtained
It is sent to the server-side networking equipment, is specifically included:
The client networking equipment connects when second network interface accesses the outer net with the server-side networking equipment
It connects, establishes virtual link, the ethernet frame is packaged, and the encapsulated frame that encapsulation obtains is sent out by the virtual link
It send to the server-side networking equipment.
Preferably, the server-side networking equipment includes third network interface and the 4th network interface, described in the third network interface connection
Outer net, terminal described in the 4th network interface connection;
The encapsulated frame received is sealed off and is assembled by the server-side networking equipment, before obtaining ethernet frame, institute
Stating terminal debugging method further includes:
The server-side networking equipment receives the encapsulated frame by the third network interface;
Correspondingly, the encapsulated frame received is sealed off and is assembled by the server-side networking equipment, obtains ethernet frame,
And the ethernet frame is sent to the terminal, so that the terminal is debugged according to the ethernet frame, specifically include:
The encapsulated frame received is sealed off and is assembled by the server-side networking equipment, is obtained ethernet frame, is passed through institute
It states the 4th network interface and the ethernet frame is sent to the terminal, so that the terminal is debugged according to the ethernet frame.
The present invention is by inexpensive client networking equipment and server-side networking equipment, by the Ethernet of the first LAN
Frame is sent to the terminal in the second LAN, so that terminal realizes remote debugging, avoids developer and goes on business to first game
Net residing scene in domain is debugged, to reduce debugging cost.
Description of the drawings
Fig. 1 is a kind of structural schematic diagram of terminal debugging apparatus first embodiment of the present invention;
Fig. 2 is a kind of flow diagram of terminal debugging method first embodiment of the present invention;
Fig. 3 is a kind of flow diagram of terminal debugging method second embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal debugging system of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is a kind of structural schematic diagram of terminal debugging apparatus first embodiment of the present invention, proposes the present invention
A kind of terminal debugging apparatus first embodiment.
In the present embodiment, the terminal debugging apparatus includes:Client networking equipment 10 and server-side networking equipment 20, institute
It states client networking equipment 10 to be in the first LAN, the server-side networking equipment 20 is in the second local belonging to terminal
In net;The server-side networking equipment 20, the request instruction for receiving terminal transmission, and the request instruction is forwarded to institute
State client networking equipment 10;The client networking equipment 10, for instructing in response to the request, from first local
Ethernet frame is obtained in net, and the ethernet frame is sent to the server-side networking equipment 20;The server-side networking equipment
20, the ethernet frame for being additionally operable to receive is sent to the terminal, so that the terminal is adjusted according to the ethernet frame
Examination.
It should be understood that the terminal includes set-top box, personal computer (personal computer, PC) or machine
The combination etc. of top box and PC, the present embodiment does not limit this.Client networking equipment 10 and server-side networking equipment 20 exist
Fractional hardware configuration is upper completely the same, and client and server-side are divided by software configuration.Client networking equipment 10 or clothes
Business end networking equipment 20 is the double netcard embedded device that can run (SuSE) Linux OS, and one of network interface card is used for and this
Ground network is communicated, another network interface card is used for linking Internet.Wherein, client networking equipment 10 and server-side networking equipment
20 are specifically as follows the electronic equipments such as gateway or routing.
It should be noted that Chang Zhi operators of first local Netcom private network, since software function pertains only to Ethernet
Frame forwards, and is not related to specific business, so being all suitable for IPTV operators and radio and TV operator's two-way services;As long as and client
After end networking equipment 10 is configured with the access way of local internet, so that it may with repeated application different operators entity.It is described
Second local Netcom often refers to remote debugging environment, server-side networking equipment 20 and terminal all in second LAN, thus
So that the debugging of terminal, can be debugged in remote debugging environment, without being obtained to the scene residing for the first LAN
Data again debug terminal.
In the concrete realization, terminal needs are debugged according to the ethernet frame of operator's private network, and usual terminal is needing
When debugging, the request instruction of debugging is sent to the client networking equipment 10, the client networking equipment 10 is receiving
When the request instruction of terminal, ethernet frame is obtained from first LAN, the client networking equipment 10 is by itself
Bridge is established on two pieces of network interface cards, operator's private network ethernet frame is penetrated into virtual link Internet-based, is forwarded to server-side
Networking equipment 20.The ethernet frame of first LAN received is sent to the terminal by server-side networking equipment 20,
So that the terminal is debugged according to the ethernet frame of first LAN received, the terminal is in described second
In LAN.The efficiency of terminal remote debugging is can effectively improve, in the prior art, in order to utilize the number of operator's private network
According to terminal is generally arranged in the first LAN, when being debugged, technical staff is needed to go on business to live residing for the first LAN
It is debugged, it is constantly reciprocal to carry out Debugging message during the remote debugging for avoiding manual type using the scheme of the present embodiment
The link of transmission and software verification, directly can be achieved with the debugging of terminal in the second LAN.
The present embodiment, by low cost client networking equipment and server-side networking equipment, by the first LAN with
Too net frame is sent to the terminal in the second LAN, so that terminal realizes remote debugging, avoids developer and goes on business to the
Scene residing for one LAN is debugged, to reduce debugging cost.
A kind of terminal debugging apparatus of the present invention the is proposed based on a kind of terminal debugging apparatus first embodiment of aforementioned present invention
Two embodiments.
In the present embodiment, the client networking equipment 10 is additionally operable to the ethernet frame being packaged, and will encapsulation
The encapsulated frame of acquisition is sent to the server-side networking equipment 20;The server-side networking equipment 20 is additionally operable to will to receive
Encapsulated frame is sealed off and is assembled, and ethernet frame is obtained, and the ethernet frame is sent to the terminal, so that the terminal
It is debugged according to the ethernet frame.
It should be understood that in order to enable server-side networking equipment 20 receives the data of the format of support, client networking
Equipment 10 needs the ethernet frame to first LAN to be packaged after the ethernet frame for getting the first LAN,
The encapsulated frame of acquisition is sent to the server-side networking equipment 20, the envelope that the server-side networking equipment 20 will receive again again
Binding and layout are sealed off, and are re-assemblied, and ethernet frame is obtained, and the server-side networking equipment 20 sends out the ethernet frame
It send to the terminal, the ethernet frame is the data format that terminal is supported, terminal can be debugged according to the ethernet frame.
It should be noted that in order to realize the data transmission of the first LAN to the server-side networking equipment of the second LAN
20, it needs to establish virtual link between the client networking equipment 10 and the server-side networking equipment 20 by outer net,
The transmission of data is carried out by the virtual link, the outer net is often referred to internet, and client networking equipment 10 is positioned over fortune
It seeks in quotient's private network environment, one of network interface and the first LAN connection, another network interface or 4G modules access internet.When
Client networking equipment is once linked into internet, begins to automatic Connection Service end networking equipment, establishes virtual link.This reality
It applies in example, the client networking equipment 10 includes the first network interface and the second network interface, first game described in first network interface connection
Domain net, the second network interface connection outer net;The client networking equipment 10 is additionally operable to through first network interface from described
Ethernet frame is obtained in one LAN;The client networking equipment 10 is additionally operable to access the outer net in second network interface
When, it is connect with the server-side networking equipment 20, establishes virtual link, the encapsulated frame that encapsulation obtains is passed through into the virtual link
It is sent to the server-side networking equipment 20.
It should be understood that server-side networking equipment 20 is positioned in remote debugging environment, one of network interface with need to adjust
The terminal of examination connects, and is typically connect with the terminals physical, can also be and carries out void by the second LAN or internet
Quasi- connection, another network interface connection outer net, the outer net are often referred to internet.In the present embodiment, the server-side networking equipment
20 include third network interface and the 4th network interface, outer net described in the third network interface connection, terminal described in the 4th network interface connection;Institute
Server-side networking equipment 20 is stated, is additionally operable to receive the encapsulated frame by the third network interface;The server-side networking equipment 20,
It is additionally operable to that the ethernet frame is sent to the terminal by the 4th network interface, so that the terminal is according to the Ethernet
Frame is debugged.
In the concrete realization, the server-side networking equipment 20 can connect outer net, be penetrated by Intranet, intercept always
Request of data from internet, the server-side networking equipment 20 can also be by connections such as the external routers of third network interface outside
Net realizes that Intranet penetrates together with the router of remote debugging environment, is intercepting the request of data from internet, this reality always
Example is applied not limit this.Client networking equipment 10 and server-side networking equipment 20 all can be used Intranet and penetrate mode, solution
The effect that certainly equipment interconnects in real time in two LANs.Simultaneously after network disaster recovery, it can reach and to reconnect automatically
Function.In the present embodiment, the terminal debugging apparatus further includes router, and the router is connected to the server-side networking and sets
For between 20 and the outer net;The router penetrates for passing through Intranet and obtains the encapsulated frame from the outer net, by institute
It states encapsulated frame and is sent to the server-side networking equipment 20.
It will be appreciated that client networking equipment can be specifically gateway or gateway and router feature alternative
Equipment, the present embodiment do not limit this.Client networking equipment 10 and server-side networking equipment 20 cooperate, and complete
The Intranet of both ends LAN penetrates, and establishes network tunnel, client networking equipment 10 will be obtained from the first LAN with
Too net frame encapsulates, and obtains encapsulated frame, and the encapsulated frame is forwarded to server-side networking equipment 20.Server-side networking equipment 20 will
Encapsulated frame is sealed off and is assembled, and obtains ethernet frame, and the ethernet frame is sent to the terminal 30, the terminal 30
It is debugged according to the ethernet frame, to realize the ethernet frame realized in the second LAN using the first LAN
Data carry out the debugging process of terminal, avoid technical staff and go on business to the scene residing for the first LAN and debug.
The present embodiment is packaged by the ethernet frame to the first LAN so that server-side networking equipment 20 receives
To the data of the format of support, the encapsulated frame received is sealed off and assembled, obtains ethernet frame, and ethernet frame is sent out
It send to the terminal 30, terminal 30 is debugged according to the ethernet frame, and profit is realized in the second LAN to realize
The debugging process that terminal is carried out with the ethernet frame data of the first LAN avoids technical staff and goes on business to the first LAN institute
The scene at place is debugged, and debugging cost is reduced.
As shown in Fig. 2, Fig. 2 is a kind of flow diagram of terminal debugging method first embodiment of the present invention;Reference Fig. 2,
It is proposed a kind of terminal debugging method first embodiment of the present invention.
In the present embodiment, the terminal debugging method is based on terminal debugging apparatus, and the terminal debugging apparatus includes:Visitor
Family end networking equipment and server-side networking equipment, the client networking equipment are in the first LAN, the server-side group
Net equipment is in the second LAN belonging to terminal;
The terminal debugging method includes the following steps:
Step S10, the server-side networking equipment receives the request instruction that terminal is sent, and the request instruction is forwarded
To the client networking equipment.
Step S20, the client networking equipment instruct in response to the request, from first LAN obtain with
The ethernet frame is sent to the server-side networking equipment by too net frame.
Step S30, the ethernet frame received is sent to the terminal by the server-side networking equipment, so that the end
It is debugged according to the ethernet frame at end.
It should be understood that client networking equipment and server-side networking equipment are upper completely the same in fractional hardware configuration, lead to
It crosses software configuration and divides into client and server-side.Client networking equipment or server-side networking equipment are can to run Linux
The double netcard embedded device of operating system, for being communicated with local network, another network interface card is used for one of network interface card
Linking Internet.
It should be noted that Chang Zhi operators of first local Netcom private network, since software function pertains only to Ethernet
Frame forwards, and is not related to specific business, so being all suitable for IPTV operators and radio and TV operator's two-way services;As long as and client
After end networking equipment is configured with the access way of local internet, so that it may with repeated application different operators entity.Described
Two LANs are often referred to remote debugging environment, server-side networking equipment and terminal all in second LAN, so that
The debugging of terminal can be debugged in remote debugging environment, without obtaining data to the scene residing for the first LAN
Terminal is debugged again.
In the concrete realization, terminal needs are debugged according to the ethernet frame of operator's private network, and usual terminal is needing
When debugging, the request instruction of debugging is sent to the client networking equipment, the client networking equipment is receiving terminal
Request instruction when, obtain ethernet frame from first LAN, the client networking equipment passes through in itself two pieces of net
Bridge is established on card, and operator's private network ethernet frame is penetrated into virtual link Internet-based, server-side networking is forwarded to and sets
It is standby.The ethernet frame of first LAN received is sent to the terminal by server-side networking equipment, so that the end
End is debugged according to the ethernet frame of first LAN received, and the terminal is in second LAN.
The efficiency of terminal remote debugging is can effectively improve, in the prior art, in order to which using the data of operator's private network, terminal is logical
It is normally placed in the first LAN, when being debugged, needs technical staff to go on business to scene residing for the first LAN and debug,
It is constantly reciprocal to carry out Debugging message transmission and soft during the remote debugging for avoiding manual type using the scheme of the present embodiment
The link of part verification, directly can be achieved with the debugging of terminal in the second LAN.
The present embodiment, by low cost client networking equipment and server-side networking equipment, by the first LAN with
Too net frame is sent to the terminal in the second LAN, so that terminal realizes remote debugging, avoids developer and goes on business to the
Scene residing for one LAN is debugged, to reduce debugging cost.
As shown in figure 3, Fig. 3 is a kind of flow diagram of terminal debugging method second embodiment of the present invention;Based on Fig. 2's
Embodiment proposes a kind of terminal debugging method second embodiment of the present invention with reference to Fig. 3.
In the present embodiment, the step S20 is specifically included:
Step S201, the client networking equipment instruct in response to the request, are obtained from first LAN
The ethernet frame is packaged by ethernet frame, and the encapsulated frame that encapsulation obtains is sent to the server-side networking equipment.
Correspondingly, the step S30, specifically includes:
The encapsulated frame received is sealed off and is assembled by step S301, the server-side networking equipment, obtains Ethernet
Frame, and the ethernet frame is sent to the terminal, so that the terminal is debugged according to the ethernet frame.
It should be understood that in order to enable server-side networking equipment receives the data of the format of support, client networking is set
It is standby to need the ethernet frame to first LAN to be packaged after the ethernet frame for getting the first LAN, then will
The encapsulated frame of acquisition is sent to the server-side networking equipment, and the server-side networking equipment again carries out the encapsulated frame received
It seals off, and is re-assemblied, obtain ethernet frame, the ethernet frame is sent to the end by the server-side networking equipment
End, the ethernet frame are the data format that terminal is supported, terminal can be debugged according to the ethernet frame.
It should be noted that in order to realize that the server-side networking of data transmission to the second LAN of the first LAN is set
It is standby, it needs to establish virtual link between the client networking equipment and the server-side networking equipment by outer net, pass through
The virtual link carries out the transmission of data, and the outer net is often referred to internet, and it is special that client networking equipment is positioned over operator
In net environment, one of network interface and the first LAN connection, another network interface or 4G modules access internet.Work as client
Networking equipment is once linked into internet, begins to automatic Connection Service end networking equipment, establishes virtual link.The present embodiment
In, the client networking equipment includes the first network interface and the second network interface, the first LAN described in first network interface connection, institute
State the second network interface connection outer net;The client networking equipment instructs in response to the request, is obtained from first LAN
Ethernet frame is taken, is specifically included:The client networking equipment instructs in response to the request, by first network interface from institute
It states the first LAN and obtains ethernet frame;Correspondingly, the ethernet frame is packaged by the client networking equipment, and will
The encapsulated frame that encapsulation obtains is sent to the server-side networking equipment, specifically includes:The client networking equipment is described
When two network interfaces access the outer net, it is connect with the server-side networking equipment, establishes virtual link, the ethernet frame is carried out
Encapsulation, and the encapsulated frame that encapsulation obtains is sent to the server-side networking equipment by the virtual link.
It should be understood that server-side networking equipment is positioned in remote debugging environment, one of network interface with need to debug
Terminal connection, typically connect with the terminals physical, can also be and carried out virtually by the second LAN or internet
Connection, another network interface connection outer net, the outer net are often referred to internet.In the present embodiment, the server-side networking equipment packet
Include third network interface and the 4th network interface, outer net described in the third network interface connection, terminal described in the 4th network interface connection;The clothes
The encapsulated frame received is sealed off and is assembled by business end networking equipment, before obtaining ethernet frame, the terminal debugging method
Further include:The server-side networking equipment receives the encapsulated frame by the third network interface;Correspondingly, the server-side networking
The encapsulated frame received is sealed off and is assembled by equipment, obtains ethernet frame, and the ethernet frame is sent to the end
End, so that the terminal is debugged according to the ethernet frame, specifically includes:The server-side networking equipment will receive
Encapsulated frame is sealed off and is assembled, and obtains ethernet frame, the ethernet frame is sent to the end by the 4th network interface
End, so that the terminal is debugged according to the ethernet frame.
In the concrete realization, the third network interface of the server-side networking equipment connects outer net, server-side by router etc.
Networking equipment realizes that Intranet penetrates together with the router of remote debugging environment, asks always intercepting the data from internet
It asks, client networking equipment and server-side networking equipment all can be used Intranet and penetrate mode, and it is real to solve equipment in two LANs
When the effect that interconnects.Simultaneously after network disaster recovery, the function of reconnecting automatically can be reached.It is described in the present embodiment
Terminal debugging apparatus further includes router, and the router is connected between the server-side networking equipment and the outer net;Institute
It states router and is penetrated by Intranet and obtain the encapsulated frame from the outer net, the encapsulated frame is sent to the server-side group
Net equipment.
It will be appreciated that client networking equipment and server-side networking equipment cooperate, the interior of both ends LAN is completed
Net penetrates, and establishes network tunnel, and client networking equipment encapsulates the ethernet frame obtained from the first LAN, is sealed
Binding and layout, and the encapsulated frame is forwarded to server-side networking equipment.Encapsulated frame is sealed off and is assembled by server-side networking equipment,
Ethernet frame is obtained, and the ethernet frame is sent to the terminal, the terminal receives the ethernet frame, and according to institute
Ethernet frame is stated to be debugged, to realize in the second LAN realize using the first LAN ethernet frame data into
The debugging process of row terminal avoids technical staff and goes on business to the scene residing for the first LAN and debugs.
The present embodiment is packaged by the ethernet frame to the first LAN so that server-side networking equipment receives
The encapsulated frame received is sealed off and is assembled by the data of the format of support, obtains ethernet frame, and ethernet frame is sent
To the terminal, terminal is debugged according to the ethernet frame, and first is utilized to realize the realization in the second LAN
The ethernet frame data of LAN carries out the debugging process of terminal, avoids technical staff and goes on business to showing residing for the first LAN
Field is debugged, and debugging cost is reduced.
In addition, to achieve the above object, with reference to Fig. 4, Fig. 4 is a kind of structural schematic diagram of terminal debugging system of the present invention,
The present invention also proposes that a kind of terminal debugging system, the terminal debugging system include:Terminal 30 and terminal tune as described above
Trial assembly is set, and the terminal is connected with the terminal debugging apparatus;The terminal 30, for being adjusted according to the ethernet frame
Examination.
It should be understood that the terminal 30 is connected with the server-side networking equipment 20 in the terminal debugging apparatus.It is described
Terminal includes the combination etc. of set-top box, personal computer (personal computer, PC) or set-top box and PC, this implementation
Example does not limit this.The terminal debugging system concrete operating principle and application can refer to the above various embodiments, herein not
It repeats again.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Herein, the use of word first, second, and third does not indicate that any sequence.It can be by these word solutions
It is interpreted as title.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in storage medium as above
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and attached drawing information is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (9)
1. a kind of terminal debugging apparatus, which is characterized in that the terminal debugging apparatus includes:Client networking equipment and server-side
Networking equipment, the client networking equipment are in the first LAN, and the server-side networking equipment is in belonging to terminal
In second LAN;
The server-side networking equipment, the request instruction for receiving terminal transmission, and the request instruction is forwarded to described
Client networking equipment;
The client networking equipment obtains ethernet frame for instructing in response to the request from first LAN,
The ethernet frame is sent to the server-side networking equipment;
The server-side networking equipment, the ethernet frame for being additionally operable to receive are sent to the terminal, so that the terminal root
It is debugged according to the ethernet frame.
2. terminal debugging apparatus as described in claim 1, which is characterized in that the client networking equipment is additionally operable to institute
It states ethernet frame to be packaged, and the encapsulated frame that encapsulation obtains is sent to the server-side networking equipment;
The server-side networking equipment, the encapsulated frame for being additionally operable to receive are sealed off and are assembled, and obtain ethernet frame, and will
The ethernet frame is sent to the terminal, so that the terminal is debugged according to the ethernet frame.
3. terminal debugging apparatus as claimed in claim 2, which is characterized in that the client networking equipment includes the first network interface
And second network interface, the first LAN described in first network interface connection, the second network interface connection outer net;
The client networking equipment is additionally operable to obtain ethernet frame from first LAN by first network interface;
The client networking equipment is additionally operable to, when second network interface accesses the outer net, set with the server-side networking
Standby connection, establishes virtual link, and the encapsulated frame that encapsulation obtains is sent to the server-side networking by the virtual link to be set
It is standby.
4. terminal debugging apparatus as claimed in claim 3, which is characterized in that the server-side networking equipment includes third network interface
And the 4th network interface, outer net described in the third network interface connection, terminal described in the 4th network interface connection;
The server-side networking equipment is additionally operable to receive the encapsulated frame by the third network interface;
The server-side networking equipment is additionally operable to that the ethernet frame is sent to the terminal by the 4th network interface, with
The terminal is set to be debugged according to the ethernet frame.
5. a kind of terminal debugging system, which is characterized in that the terminal debugging system includes:Terminal and such as Claims 1-4 times
Terminal debugging apparatus described in one, the terminal are connected with the terminal debugging apparatus;
The terminal, for being debugged according to the ethernet frame.
6. a kind of terminal debugging method, which is characterized in that the terminal debugging method is based on terminal debugging apparatus, the terminal tune
Trial assembly set including:Client networking equipment and server-side networking equipment, the client networking equipment are in the first LAN,
The server-side networking equipment is in the second LAN belonging to terminal;
The terminal debugging method includes the following steps:
The server-side networking equipment receives the request instruction that terminal is sent, and the request instruction is forwarded to the client
Networking equipment;
The client networking equipment instructs in response to the request, and ethernet frame is obtained from first LAN, by institute
It states ethernet frame and is sent to the server-side networking equipment;
The ethernet frame received is sent to the terminal by the server-side networking equipment so that the terminal according to it is described with
Too net frame is debugged.
7. terminal debugging method as claimed in claim 6, which is characterized in that the client networking equipment is asked in response to described
Instruction is asked, ethernet frame is obtained from first LAN, the ethernet frame is sent to the server-side networking equipment,
It specifically includes:
The client networking equipment instructs in response to the request, and ethernet frame is obtained from first LAN, by institute
It states ethernet frame to be packaged, and the encapsulated frame that encapsulation obtains is sent to the server-side networking equipment;
Correspondingly, the ethernet frame received is sent to the terminal by the server-side networking equipment, so that the terminal root
It is debugged, is specifically included according to the ethernet frame:
The encapsulated frame received is sealed off and is assembled by the server-side networking equipment, obtains ethernet frame, and will it is described with
Too net frame is sent to the terminal, so that the terminal is debugged according to the ethernet frame.
8. terminal debugging method as claimed in claim 7, which is characterized in that the client networking equipment includes the first network interface
And second network interface, the first LAN described in first network interface connection, the second network interface connection outer net;
The client networking equipment instructs in response to the request, obtains ethernet frame from first LAN, specifically
Including:
The client networking equipment instructs in response to the request, is obtained from first LAN by first network interface
Ethernet frame;
Correspondingly, the ethernet frame is packaged by the client networking equipment, and the encapsulated frame that encapsulation is obtained is sent
To the server-side networking equipment, specifically include:
The client networking equipment is connect when second network interface accesses the outer net with the server-side networking equipment,
Virtual link is established, the ethernet frame is packaged, and the encapsulated frame that encapsulation obtains is sent by the virtual link
To the server-side networking equipment.
9. terminal debugging method as claimed in claim 8, which is characterized in that the server-side networking equipment includes third network interface
And the 4th network interface, outer net described in the third network interface connection, terminal described in the 4th network interface connection;
The encapsulated frame received is sealed off and is assembled by the server-side networking equipment, before obtaining ethernet frame, the end
End adjustment method further include:
The server-side networking equipment receives the encapsulated frame by the third network interface;
Correspondingly, the encapsulated frame received is sealed off and is assembled by the server-side networking equipment, obtains ethernet frame, and will
The ethernet frame is sent to the terminal, so that the terminal is debugged according to the ethernet frame, specifically includes:
The encapsulated frame received is sealed off and is assembled by the server-side networking equipment, obtains ethernet frame, passes through described the
The ethernet frame is sent to the terminal by four network interfaces, so that the terminal is debugged according to the ethernet frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810086609.3A CN108337146B (en) | 2018-01-29 | 2018-01-29 | Terminal debugging device, system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810086609.3A CN108337146B (en) | 2018-01-29 | 2018-01-29 | Terminal debugging device, system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108337146A true CN108337146A (en) | 2018-07-27 |
CN108337146B CN108337146B (en) | 2020-12-08 |
Family
ID=62926633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810086609.3A Active CN108337146B (en) | 2018-01-29 | 2018-01-29 | Terminal debugging device, system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108337146B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035278A (en) * | 2019-03-29 | 2019-07-19 | 网御安全技术(深圳)有限公司 | Digital video monitoring method, system and its monitoring device, monitoring center |
CN110661691A (en) * | 2019-10-21 | 2020-01-07 | 山东浪潮人工智能研究院有限公司 | Remote debugging system and method for embedded Linux equipment |
CN111007839A (en) * | 2019-12-20 | 2020-04-14 | 高新兴物联科技有限公司 | Vehicle remote diagnosis method, device, system and storage medium |
CN111026502A (en) * | 2019-11-21 | 2020-04-17 | 新浪网技术(中国)有限公司 | Business debugging architecture creating method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070160068A1 (en) * | 2006-01-12 | 2007-07-12 | Ciena Corporation | Methods and systems for managing digital cross-connect matrices using virtual connection points |
CN103595603A (en) * | 2012-08-13 | 2014-02-19 | 成都思迈科技发展有限责任公司 | An Ethernet remote network bridge based on the SOPC technique |
CN103856361A (en) * | 2012-11-29 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Method and system for realizing remote debugging |
CN105791061A (en) * | 2016-03-07 | 2016-07-20 | 四川长虹电器股份有限公司 | IPTV remote development testing method |
CN106534130A (en) * | 2016-11-21 | 2017-03-22 | 深圳创维数字技术有限公司 | Method and system for debugging set-top box based on embedded web |
-
2018
- 2018-01-29 CN CN201810086609.3A patent/CN108337146B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070160068A1 (en) * | 2006-01-12 | 2007-07-12 | Ciena Corporation | Methods and systems for managing digital cross-connect matrices using virtual connection points |
CN103595603A (en) * | 2012-08-13 | 2014-02-19 | 成都思迈科技发展有限责任公司 | An Ethernet remote network bridge based on the SOPC technique |
CN103856361A (en) * | 2012-11-29 | 2014-06-11 | 腾讯科技(深圳)有限公司 | Method and system for realizing remote debugging |
CN105791061A (en) * | 2016-03-07 | 2016-07-20 | 四川长虹电器股份有限公司 | IPTV remote development testing method |
CN106534130A (en) * | 2016-11-21 | 2017-03-22 | 深圳创维数字技术有限公司 | Method and system for debugging set-top box based on embedded web |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035278A (en) * | 2019-03-29 | 2019-07-19 | 网御安全技术(深圳)有限公司 | Digital video monitoring method, system and its monitoring device, monitoring center |
CN110661691A (en) * | 2019-10-21 | 2020-01-07 | 山东浪潮人工智能研究院有限公司 | Remote debugging system and method for embedded Linux equipment |
CN111026502A (en) * | 2019-11-21 | 2020-04-17 | 新浪网技术(中国)有限公司 | Business debugging architecture creating method and device, electronic equipment and storage medium |
CN111026502B (en) * | 2019-11-21 | 2023-04-07 | 新浪技术(中国)有限公司 | Business debugging architecture creating method and device, electronic equipment and storage medium |
CN111007839A (en) * | 2019-12-20 | 2020-04-14 | 高新兴物联科技有限公司 | Vehicle remote diagnosis method, device, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108337146B (en) | 2020-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108337146A (en) | Terminal debugging apparatus, system and method | |
CN109600246B (en) | Network slice management method and device | |
US9065556B2 (en) | Methods, systems, and computer readable media for processing multiple control and user data flows at a port processor | |
CN102196015B (en) | Manuscript system-based internal and external network data transmission method and system | |
EP3879779A1 (en) | Bearer side network system, fixed-mobile coexistence and convergence system, and deployment method therefor | |
CN101431447B (en) | Method and apparatus for testing capacity and performance of virtual special network server | |
WO2020210807A1 (en) | Methods and systems for 5g traffic routing in ipx with network slicing | |
CN113301106A (en) | Operation and maintenance processing system, method and device | |
CN107819649A (en) | A kind of proprietary protocol method of testing of the satellite communication network based on magnanimity terminal | |
CN109039709A (en) | A kind of mobile wireless network emulation and experiment porch based on virtualization | |
CN108650232A (en) | Unmanned plane media data real-time transmission system and method | |
CN103368783B (en) | Method, system and equipment for network communication process monitoring | |
CN104488232B (en) | Device and method for interconnecting two sub-networks | |
CN114040408A (en) | Shooting range system based on 4G mobile network simulation environment | |
CN105791061B (en) | IPTV remotely develops test method | |
JP2009260754A (en) | Communication test device, network with communication test function, communication test method and communication test program | |
CN107018444A (en) | A kind of telecommunications head end clear stream acquisition methods based on PPPoE dial-up accesses | |
CN107835449A (en) | Based on the real-time performance multiple terminals method that synchronously connection shields in Android platform | |
CN106304166A (en) | A kind of test system and method for wireless router concurrent user number | |
CN102123305A (en) | Method and system for realizing network transmission troubleshooting | |
US9531631B2 (en) | Multilink-based data transmission method and device | |
CN114071467A (en) | Shooting range system based on 4G mobile network simulation environment | |
CN108111376B (en) | Method for gateway passive IP to access internet based on bridge mode | |
CN103167546A (en) | Mobile G net wireless service testing system with data acquisition server and method | |
CN107948028B (en) | Gateway passive IP access internet system based on bridge mode |
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 |