CN106921716A - The method and device of the network service process of debugging embedded equipment - Google Patents
The method and device of the network service process of debugging embedded equipment Download PDFInfo
- Publication number
- CN106921716A CN106921716A CN201511001560.XA CN201511001560A CN106921716A CN 106921716 A CN106921716 A CN 106921716A CN 201511001560 A CN201511001560 A CN 201511001560A CN 106921716 A CN106921716 A CN 106921716A
- Authority
- CN
- China
- Prior art keywords
- address
- request message
- party
- embedded device
- machine
- 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
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/14—Arrangements for monitoring or testing data switching networks using software, i.e. software packages
-
- 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
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to field of computer technology, more particularly to a kind of method and device of the network service process of debugging embedded equipment, to solve the debugging that cannot be applied to the embedded device for not providing setting agency service parameter that existing adjustment method is present, or intrusive mood ground increases debugging logic and causes the unstable problem of operation system in the application.Method includes:Router receives the network request message that embedded device sends;The destination address and source address of network request message are respectively converted into third party debug and use machine with sending to third party to debug after the IP address of machine and the IP address of router.Due to adding router in debugging system, original proxy parameter that set in embedded device is realized debugging to be transferred to the function of machine transmission network request to third party realizing in the router, therefore, proxy parameter need not be both set in embedded device, also without debugging logic is increased outside service logic, above mentioned problem is solved.
Description
Technical field
The application is related to field of computer technology, more particularly to a kind of network service of debugging embedded equipment
The method and device of journey.
Background technology
It is (mobile phone, flat for embedded system with mobile Internet and the ecological development of family digital amusement
Plate, internet television etc.) application and development demand it is more and more vigorous.Application program based on embedded system
Or generally existing network service between Web page and corresponding server, in order to ensure the application program
The realization of network communicating function, then be accomplished by stream to embedded device and embedded device
On the network service process of application program etc. debugged.The debugging of network service process is mainly to look at leading to
The network request packet and network response data of letter process.
Be typically to be debugged with machine by embedded device, third party for the debugging system of debugging embedded equipment and
The webserver (namely applying corresponding remote server) is constituted.Because by embedded device in itself
Or the limitation of the display output condition of application program, data and infeasible are directly viewable on embedded device,
These data need to be exported third party and debugged by certain mode to be represented with machine.
The network communication network of existing debugging embedded equipment into method generally have following two:
The first:Set in embedded device by active proxy parameter (such as IP of proxy server and
Port or a pac URL file) debugged:
Step 11:Proxy parameter is set:Debugged with proxy server software is started on machine in third party, recorded
Port numbers shared by proxy server software;Agency service parameter is set in embedded device afterwards,
Will third party debug the address of the proxy server that embedded device is set to the IP address of machine, will remember
The port numbers of record are used as embedded agent port;
Step 12:Embedded device sends network request message to the webserver;
Now, due to third party is debugged into the proxy server that embedded device is set to machine in step 1,
Therefore, the network request message for being sent in step 2 can turn to third party and debug uses machine, is debugged by third party
Serve as " go-between " with the proxy server software started on machine to be contacted with the external world.
Step 13:Third party debugs and intercepts and captures the network request message with the proxy server software on machine, will
The network request message is sent to the webserver, and shows the network service number in network request message
According to so as to reach debugging purpose.
After step 13, the webserver will be debugged to third party and returned for the network request report with machine
The network response of text.
Step 14:Third party debugs and intercepts and captures the webserver for the net with the proxy server software on machine
The network response that network request message sends, is sent to embedded device, and show described by network response
Network communication data in network response, so as to reach debugging purpose.
Above-mentioned steps 12 to step 14 process namely as shown in Figure 1.In Fig. 1, C represents embedded setting
Standby, M represents third party and debugs machine of using, and S represents the webserver.
Second:Implantation specializes in the redundant code of debugging (with industry in application program or Web page in advance
Business is unrelated, realizes the code of debugging logic) and reached the standard grade with service logic:
When needing to be debugged, following steps are performed:
Step 21:Beaten in the Web page run in the APP or browser that are installed in embedded device
Drive debugging switch;
Step 22:On the one hand APP or Web page carry out proper communication with server, on the other hand pass through
Debugging logic, debugs to third party and sends data with machine;
Step 23:Third party debugs the information for being received with machine and being shown and received.
Above-mentioned steps 21 to step 23 process namely as shown in Figure 2.C, M, S's in Fig. 2 contains
Justice is identical with Fig. 1.
Above two method can realize the network service process to the application program based on embedded system
Debugged, however, being directed to above-mentioned the first adjustment method, its needs carries out correlation on embedded device
The setting of proxy parameter, but because embedded system is more closed compared to the computer operating system of x86 systems,
Function or entrance that agency service parameter is actively set are not provided very likely (for example, android system
4.0 and following system do not support be input into proxy parameter), therefore, there is limitation in this method.For upper
Second adjustment method is stated, it needs to increase debugging logic, and this increase has intrusion to normal service logic
Property (be in APP or Web page should not exist debugging logic), increased the unstable of operation system
Factor.
As can be seen here, existing two kinds of adjustment method presence cannot be suitable for not providing setting agency service parameter
Embedded device debugging, or in the application intrusive mood ground increase debugging logic and cause business system
The unstable problem of system, it would therefore be highly desirable to a kind of new adjustment method is proposed, to overcome drawbacks described above.
The content of the invention
The embodiment of the present application provides a kind of method and device of the network service process of debugging embedded equipment, with
Solve cannot being set suitable for not providing setting the embedded of agency service parameter for existing adjustment method presence
Standby debugging, or intrusive mood ground increases debugging logic and causes operation system unstable in the application
Problem.
A kind of method of the network service process of debugging embedded equipment, including:
Router receives the network request message that embedded device sends, the source address of the network request message
It is the IP address of the embedded device, destination address is the IP address of the webserver, for asking net
Network server provides network service;
The destination address and source address of the network request message are respectively converted into third party to debug with machine
The IP address of IP address and the router;
The network request message that transmission converted source address and destination address is debugged to third party and uses machine, so that the
Tripartite debugs the network request packet shown with machine in the network request message.
A kind of method of the network service process of debugging embedded equipment, including:
Embedded device determines the IP address of the webserver;
The IP address of the webserver to determine is purpose address, with the IP address of the embedded device
It is source address, generates network request message, the network request message is used to ask the webserver to carry
For network service;
The network request message for generating is sent to the webserver by router, wherein, the road
Send to third party to debug after the network request message is carried out into source address and destination address conversion by device and use
Machine.
A kind of method of the network service process of debugging embedded equipment, including:
Third party debugs and receives the network request message that embedded device is sent by router, the net with machine
The source address of network request message is the IP address of the router, and destination address is debugged with machine for third party
IP address, for asking the webserver to provide network service;
The network request message for receiving is parsed, network request packet is obtained;
Show the network request packet.
A kind of device of the network service process of debugging embedded equipment, including:
Receiving unit, the network request message for receiving embedded device transmission, the network request message
Source address be the embedded device IP address, destination address for the webserver IP address, use
Network service is provided in the request webserver;
Converting unit, for the destination address and source address of the network request message to be respectively converted into the 3rd
The IP address of side's debugging machine and the IP address of the router;
Transmitting element, the network request message of source address and destination address is converted for sending and is adjusted to third party
Machine on probation, so that third party debugs the network request packet shown with machine in the network request message.
A kind of device of the network service process of debugging embedded equipment, including:
Determining unit, the IP address for determining the webserver;
Message generation unit, the IP address of the webserver for being determined with determining unit is purpose address,
IP address with the embedded device generates network request message, the network request report as source address
Text provides network service for asking the webserver;
Transmitting element, for the network request message for generating to be sent into network service by router
Device, wherein, the router sends after the network request message is carried out into source address and destination address conversion
Debugged to third party and use machine.
A kind of device of the network service process of debugging embedded equipment, including:
Receiving unit, for receiving the network request message that embedded device is sent by router, the net
The source address of network request message is the IP address of the router, and destination address is debugged with machine for third party
IP address, for asking the webserver to provide network service;
Resolution unit, for parsing the network request message for receiving, obtains network request packet;
Display unit, for showing the network request packet.
In the scheme of the embodiment of the present application, due to adding router in debugging system, by original embedding
Setting proxy parameter realizes that the function of sending network request with machine is debugged to third party to be transferred in entering formula equipment
Realize in the router, therefore, proxy parameter need not be both set in embedded device, it is not required that
Increase debugging logic outside service logic, solve cannot being applied to for existing adjustment method presence and do not provide
The debugging of the embedded device of agency service parameter is set, or increases debugging service logic in the application
The unstable problem of caused operation system.
Brief description of the drawings
The debugging process schematic diagram of the first adjustment method provided in Fig. 1 the application background technologies;
The debugging process schematic diagram of the first adjustment method provided in Fig. 2 the application background technologies;
The application schematic diagram of the NAT technologies of the prior art that Fig. 3 is given for the embodiment of the present application;
The debugging system of the network service process for debugging embedded equipment that Fig. 4 is provided for the embodiment of the present application
The structural representation of system;
The method of the network service process of the debugging embedded equipment that Fig. 5 is provided for the embodiment of the present application is illustrated
Figure;
The workflow schematic diagram of the middleware mechanism that Fig. 6 is provided for the embodiment of the present application;
Network request/response message that Fig. 7 is provided for the embodiment of the present application source address and mesh in communication process
Address change schematic diagram;
Fig. 8 is the device of the network service process of the first debugging embedded equipment that the embodiment of the present application is provided
Structural representation;
The device of the network service process of the second debugging embedded equipment that Fig. 9 is provided for the embodiment of the present application
Structural representation;
The dress of the network service process of the third debugging embedded equipment that Figure 10 is provided for the embodiment of the present application
The structural representation put.
Specific embodiment
The embedding of setting agency service parameter is not provided to solve cannot being applied to for existing adjustment method presence
Enter the debugging of formula equipment, or intrusive mood ground increases debugging logic and causes operation system not in the application
The problem of stabilization, what the embodiment of the present application provided a kind of network service process of new debugging embedded equipment is
System, method and device.
In order to the scheme of the embodiment of the present application is explicitly described, first pair have with the scheme of the embodiment of the present application below
Network address translation of the prior art (Network Address Translation, NAT) technology of pass,
The concept and implication of go-between and OpenSSL are illustrated, the tune for then providing the embodiment of the present application again
The system and debugging principle for trying the network service process of embedded device are described, finally by each implementation
Example describes the adjustment method and device of the application offer in detail.
First, related notion
NAT:It is a kind of rewriting source address or destination address when IP messages pass through router or fire wall
Technology.The conversion side of the private ip that NAT occurs as a kind of solution IPv4 Address Run Shorts and publicly-owned IP
Case is applied among router.As shown in figure 3, comprising source address (SA) and target ground in IP messages
Location (DA), when request message is sent from Intranet to outer net, by after the treatment of NAT, SA will occur
Change, when Intranet receives the response message that outer net is replied, by after the treatment of NAT, DA will change
Become.
Go-between:In cryptography and computer safety field, go-between (Man-in-the-middle,
MITM refer to) to be respectively created the role that independently contacts with the two ends of communication, and exchange its data for being received,
The two ends of communication are made to think that they are passing through a connection for secret and other side's direct dialogue, but it is in fact whole
Individual session is all controlled completely by go-between.
OpenSSL:OpenSSL is a powerful security socket layer cryptographic libraries, is realized including safety
Socket layer (Secure Sockets Layer, SSL) and Transport Layer Security (Transport Layer Security,
TLS) agreement is in interior basic encryption and decryption functions.
2nd, the system and debugging principle of the network service process of the debugging embedded equipment that the application is provided
As shown in figure 4, the system of the network service process of its debugging embedded equipment provided for the application
Structural representation.Debugged with machine M and the webserver including embedded device C, router R, third party
S;
The application has increased router R newly herein relative to existing debugging system, and router R is special
It is the router of this debugging system design, can be to set matched rule and carry out the network address (mesh of message
Address) conversion router, this point is different from the function of ordinary router.
Under normal circumstances, C sends network request message to S, can be by the 1-4-5-8's shown in Fig. 4
Sequential is carried out, and R asks the IP address of S to forward request strictly according to the facts according to C, the response of S via after R again
Return to C.
When debugging is needed, by the way that the NAT rules of R, the net that C is sent to S are set on C in advance
Network request message, is intercepted when by R and is changed destination address, will be also mainly network request
The destination address of message by S IP address conversion/be rewritten as M IP address, realize network request report
Text imported into M.So M can just replace S, and service is provided to C as the service end of C, realize
It has been altered on M to all requests all unawares that C sends, C becomes " go-between ".
M intactly can turn the network request message after the network request message that R sends is intercepted and captured
S is dealt into, S sends network response message to M after intercepting and capturing the request that M is transferred, and M is again by the network of S
Response message is forwarded to C.The sequential of this process is the 1-2-3-4-5-6-7-8 shown in Fig. 4, due to net
Network request message and network response flow through M, therefore, M can just get complete network service process
Data, and then showed in the display output equipment of M.Now, commissioning staff just can be on M
The network request packet and network response data of communication process are checked, follow-up related commissioning work is carried out.
M can also be without for the network request message being forwarded to S after the network request message that C sends is intercepted and captured,
But simulation S sends network response message to C.The sequential of this process is the 1-2-3-8 shown in Fig. 4,
Because network request message and network response flow through M, therefore, M can just get complete network and lead to
Letter process data, and then showed in the display output equipment of M.Now, commissioning staff just can be with
The network request packet and network response data of communication process are checked on M, follow-up related commissioning is carried out
Work.
It should be noted that the above-mentioned NAT that R is set on C is regular regular with NAT of the prior art
Differ:The NAT rules for being set on C in the prior art, C is only weighed to the network request message for receiving
Source address is write, destination address is not rewritten, and the NAT set on C in the application is regular, on the one hand will
C rewrites source address to the network request message for receiving, and on the other hand also the network request message for receiving is rewritten
Destination address, also will C destination address rewrite Function out, for the tune of network service process
Examination process.Also, the NAT rules of prior art are the conversions for private network IP address and public network IP address,
And belong between C, R and M in the application and communicated between router interior, public network is not related to, R
NAT conversion be not just related to the conversion of private network IP address and public network IP address yet.
Additionally, according to the demand of debugging, in the embodiment of the present application, other parameters can also be set on C,
For example:Whether in C log, applicable agreement, C white lists to be debugged (NAT rules are only suitable
For the IP in white list) or blacklist (NAT rules are not suitable for the IP in blacklist) etc..Set
The method of NAT rules is connected with C with program, by the parameter of the Interface Controller C of C.
Above-mentioned debugging system can be distributed deployment form, or center type disposes form.It is distributed
The difference of both deployment and center type deployment is essentially consisted in:In distribution, M is the electricity of developer oneself
Brain, each respective computer of using by oneself is debugged.In center type, M is the server in high in the clouds, everybody
Common server is debugged.
The 3rd, the network service of the debugging embedded equipment of the application offer is provided in detail below by embodiment
The embodiment of the method and apparatus of process:
As shown in figure 5, the network service process of its debugging embedded equipment provided for the embodiment of the present application
The flow chart of method, comprises the following steps:
Step 501:Embedded device determines the IP address of the webserver;
After the network service for needing to provide is determined, you can from the webserver for providing the network service
An IP address for the webserver is selected in IP address as the IP address of the webserver for determining.
Step 502:The IP address of the webserver of the embedded device to determine is purpose address, with described
The IP address of embedded device is source address, generates network request message;
Wherein, the network request message is used to ask the webserver to provide network service;
Here network request message is IP messages.
Step 503:The network request message for generating is sent to network by embedded device by router
Server;
Here, the purpose of embedded device is intended to for the network request message to be sent to network clothes by router
Business device device, and successive router is converted to the destination address of network request message, is converted to third party
The IP address of debugging machine, therefore, router will send out the network request message for having carried out address conversion
Give third party and debug machine of using, network request message can be sent to network service by subsequent third side's debugging machine
Device.
Step 504:Router receives the network request message that embedded device sends;
Preferably, in order to ensure the accuracy and security of debugging, it will not be by mistake to be debugged embedded set to prevent
Standby network request message is forwarded to third party to be debugged and uses machine, can also be pre-set in the router to be debugged
Embedded device address white list or embedded device address blacklist to be debugged;
Now, if what is set is embedded device address white list to be debugged, after this step 504,
Before following step 506, judge whether the source address of the network request message belongs to insertion to be debugged
Formula device address white list;If the determination result is YES, then step 506 is performed;If judged result is no,
Normal forwarding operation is performed, normal forwarding operation belongs to prior art, repeats no more here.
If what is set is embedded device address blacklist to be debugged, after this step 504, Xia Shubu
Before rapid 506, judge whether the source address of the network request message belongs to embedded device address to be debugged
Blacklist;If judged result is no, step 506 is performed;If the determination result is YES, then perform normal
Forwarding operation, normal forwarding operation belongs to prior art, repeats no more here.
Step 505:The destination address and source address of the network request message are respectively converted into by router
Tripartite debugs the IP address of the IP address and the router with machine;
In this step 505, destination address and the third party of network request message are debugged with the IP address of machine
Conversion, and network request message source address and router IP address conversion be constitute the application in
NAT rule.
Here white list address or blacklist address can be not provided with, all of network request message is performed both by
Step 505, it is also possible to which white list or blacklist are set.It is being not provided with the white name of embedded device address to be debugged
When list or blacklist, third party debugs with the IP address of machine the major parameter of the NAT rules for being the application;
When embedded device address white list to be debugged or blacklist is set, third party is debugged with the IP address of machine
With the call parameter of the NAT rules that embedded device address white list to be debugged or blacklist are the application;
Determination/the acquisition with the IP address and embedded device address white list to be debugged of machine is debugged to third party below
Illustrate:
Can be debugged to be sent to router with machine from third party and be debugged with the IP address of machine and embedding comprising third party
The destination address adjust instruction for entering the IP address of formula equipment is configured.Third party is debugged with machine to router
When sending instruction, it is known that third party is debugged with the IP address of machine, it is necessary to obtain the IP address of embedded device,
The acquisition of the IP address of embedded device has following two modes:
First way:The IP address of C is directly inputted in M, namely receives the embedded of user input
The IP address of equipment;Refer to the IP address of the embedded device of user input as destination address adjustment
The IP address of the embedded device included in order.
The second way:Debugged with a Quick Response Code is generated in machine in third party, its content is dedicated for embedding
Enter formula equipment and third party and debug the Web service address bound with machine, by embedded device scan this two
Dimension code, and then access third party debugs machine of using, third party debugs please in the access for intercepting and capturing embedded device with machine
The IP address of embedded device is obtained when asking.Detailed process is also following step 1) to step 5):
Step 1):Third party is debugged with generating a Quick Response Code on machine, the content of the Quick Response Code be dedicated for
The embedded device and the third party debug the Web service address bound with machine;
Step 2):Embedded device scans the third party to be debugged with the Quick Response Code shown on machine;
Step 3):Embedded device is debugged to the third party and sends access request message with machine, accesses described
Web service address;
Step 4):Third party debugs and receives the access request message that embedded device sends with machine;
Step 5):Third party debugs source address in the access request message that will be received with machine as transmission
To the IP address of the embedded device included in the destination address adjust instruction of the router.
Hereafter, router can receive third party and debug the above-mentioned purpose address adjust instruction sent with machine;Will
The third party included in destination address adjust instruction debugs the IP address of the IP address and embedded device with machine
Third party respectively as address conversion debugs white with the IP address and embedded device address to be debugged of machine
List.
Further, it is contemplated that after the NAT taking effect rules of the application, Embedded source IP address can quilt
The IP address of router is replaced with, this results in third party debugs and will be unable to distinguish from different embedding with machine
Enter the network request message of formula equipment, because the destination address and source address of network request message are by router
It is converted to the IP address that third party debugs IP address and router with machine.
In order that third party debugs distinguishes different embedded devices with function, set by embedded in the application
Standby debugging with third party is tied up time opening with machine and independently debugs port to distinguish, that is to say, that a NAT is advised
Then on the basis of describing the IP address of embedded device and a third party is debugged with machine address,
A corresponding debugging port is also set up, IP address and the debugging port of such embedded device have right
Should be related to, third party debugs the IP address that can just obtain embedded device by debugging port correspondence with machine
, namely distinguished different embedded devices.
Certainly, when different embedded devices are needed not distinguish between or when embedded device there was only one,
Independent debugging port can be opened to be debugged.
Specifically, when the NAT rule settings of the application (before NAT taking effect rules), in NAT rules
Middle addition debugging port parameter, correspondingly, third party debugs only with opening one in machine on the debugging port
Vertical process, service is provided exclusively for the embedded device corresponding to this NAT rules, embedded device
IP address is also recorded at this moment, can thus solve service end the 3rd after NAT taking effect rules
Square debugging machine cannot be distinguished by the problem of embedded device.Realize the detailed of the different embedded device of above-mentioned differentiation
Thin interaction is as follows:
The first step:Embedded device is debugged to the third party and sends bind request message with machine;
The source address of the bind request message is the IP address of embedded device, and destination address is adjusted for third party
The IP address of machine on probation.
Preferably, can also include that the application layer that embedded device is supported is assisted in the bind request message
View;
Second step:Third party debugs and receives the bind request message that the embedded device sends with machine;
3rd step:It is that the embedded device distributes debugging port that third party is debugged with machine;
Third party debugs can subsequently open an independent process with machine on the debugging port, be tied up exclusively for this
Determine request message from embedded device provide service;And third party debugs the tune that will be distributed with machine
Examination port numbers also carry and router are sent in destination address adjust instruction, router records embedded device
IP address, third party are debugged with the corresponding relation between machine and debugging port numbers three.
4th step:Third party is debugged the port numbers of the debugging port and the IP of the embedded device with machine
Address binding is simultaneously stored;
If the bind request message includes the application layer protocol that embedded device is supported, above-mentioned
In three steps and the 4th step, it is that the different application layer protocol that the embedded device is supported divides that third party is debugged with machine
With different debugging ports, IP address and the application of the port numbers and the embedded device of port will be debugged
Layer protocol is bound and is stored.
Now, third party debugs to be debugged at each with machine and an independent process is opened on port, specially
For the bind request message from embedded device an application layer protocol provide service;And the 3rd
The debugging port numbers distributed and corresponding application layer protocol are also carried and adjusted in destination address by square debugging machine
Router, router records embedded equipment I P address, application layer protocol, the 3rd are sent in whole instruction
Corresponding relation between side's debugging machine and debugging port numbers.
5th step:Third party debugs and sends binding response message, the binding to the embedded device with machine
Binding result is included in response message;
6th step:Embedded device receives the third party and debugs the binding response message sent with machine.
Here can terminate when binding result is binding success.When binding result is unsuccessful, again
The above-mentioned first step is performed, until binding success.
Now, in order that third party debugs can distinguish different embedded devices with machine, in above-mentioned steps 504
Afterwards, before following step 505, determine that third party is debugged with the debugging that machine is the embedded device distribution
The port numbers of port, wherein, it is that different embedded devices distribute different tune that the third party is debugged with machine
Examination port;Debugging port numbers are carried in the network request message, wherein, third party's debugging is used
Machine is that different embedded devices distribute different debugging ports.
Preferably, the difference of the application layer protocol used in view of network request message, for example:Using super
Text Transfer Protocol (HyperText Transfer Protocol, HTTP) agreement, FTP (File
Transfer Protocol, FTP), simple message transfer protocol (SMTP) (Simple Mail Transfer Protocol,
SMTP), the debugging of the network service process of the agreement of different application layer is used for the ease of differentiation, above-mentioned
After step 504, determine that third party is debugged with the port that machine is the debugging port that the embedded device is distributed
Number before, router also determines the application layer protocol that the network request message is used;
Now, determine that third party debugs the port numbers with the debugging port that machine is the embedded device distribution,
Specifically include:
It is that the embedded device is sent out using the application layer protocol for determining to determine that third party is debugged with machine
The debugging port numbers distributed during SCN Space Cable Network request message, wherein, third party is debugged with eedle to same embedded
Equipment, different debugging ports are distributed when network request message is sent using different application layer protocols.
Here, third party debugs and is distributed with each application layer protocol of the support that machine is different embedded devices
Different debugging ports, for example, it is assumed that have embedded device C1 and C2, wherein, the application that C1 is supported
Layer protocol is HTTP, FTP and SNMP, and the application layer protocol that C2 is supported is HTTP and FTP, then the
Tripartite debugs and is respectively allocated port numbers P1, P2 and P3 with HTTP, FTP and SNMP that machine is C1;
For the application layer protocol that C2 is supported is that the port numbers that HTTP and FTP are respectively allocated are P4 and P5.
Step 506:Router sends and converted the network request message of source address and destination address to third party
Debugging machine;
If in above-mentioned steps, router will debug port numbers and carry in the network request message, then exist
This step 506 is specifically, router transmission converted source address and destination address and carry debugging port numbers
Network request message.
Step 507:Third party debugs and receives the network request report that embedded device is sent by router with machine
Text;
Because router has carried out address conversion, therefore, the network request report received in this step 507
The source address of text is the IP address of the router, and destination address is debugged with the IP address of machine for third party;
Step 508:Third party debugs the network request message for being parsed with machine and being received, and obtains network request
Data;
If in this step 508, the network request message of reception includes debugging port numbers, then in this step 508
Afterwards, before following step 509, third party is debugged with machine also using the port numbers and embedded device of storage
IP ground between binding relationship, the debugging port numbers that include are tied up in searching the network request message for receiving
The IP address of fixed embedded device;
There are two embedded devices, respectively C1 and C2 in Fig. 7, if it is C1 that third party is debugged with machine M
The port numbers of the debugging port of distribution are P1, and the port numbers for being the debugging port of C1 distribution are P1, then, and this
When, it is P1 and C1-IP (IP address of C1) that third party is debugged with the binding relationship recorded in machine M
Binding relationship, the binding relationship of P2 and C2-IP (IP address of C2).
When finding, namely it is that find embedded sets that the sender of the network request message of reception is determined
Embedded device represented by standby IP address, namely identification has been distinguished from different embedded devices
Data.
Step 509:Third party debugs and shows the network request packet with machine.
If before step 509, having found the debugging port numbers institute included in the network request message for receiving
The IP address of the embedded device of binding, then in this step 509, can correspond to and show that the network please
Seek the IP address of data and the embedded device for finding.So that the network from different embedded devices please
Ask data to separate to be represented, so as to support multiple embedded devices while accessing debugging, be also convenient for adjusting
Examination personnel carry out the differentiation of embedded device, targetedly check the communication process of embedded device.
After above-mentioned step 507, third party debugs any that can be utilized with machine in following two modes
The mode of kind processes the network request message of reception:
The first processing mode:
The network request message for receiving is transmitted to the webserver, normal data transmit-receive is carried out.
Specific implementation includes following two:
Implementation 111):The network request message is sent to the webserver;The webserver is received
Afterwards, third party will be returned to for the network response message of the network request message and debugs machine of using, third party
Debugging machine receives the network response message that the webserver sends;The network response message is parsed,
Obtain network response data;Show the network response data;
Implementation 112):By the mechanism of middleware form expansion service logic, each layer of middleware according to
The message information (network request message and network response message) for being passed through completes some treatment work, passes through
Work is given next middleware and continued with by execution next methods, and its workflow is as shown in Figure 6;In
Between part mechanism can make the extension for the treatment of logic become it is very convenient flexibly.
During specific to above-mentioned the first processing mode, debugged with 2 middlewares of establishment in machine in third party:Generation
Reason middleware and resolution response middleware;Wherein, Proxy middleware is used to send the network request message
To the webserver;Resolution response middleware is used to parse the network response message for receiving, and display parsing is obtained
Network response data;
Now, third party debugs can pass to Proxy middleware with machine by the network request message, to touch
The network request message is sent to the webserver by hair Proxy middleware;Afterwards, the network clothes are received
The network response message that business device sends;The network response message is passed into resolution response middleware, to touch
The network response message that the middleware parsing of hair resolution response is received, the network response data that display parsing is obtained.
Source address and purpose of the network request/response message in communication process in above-mentioned the first processing mode
The change of address is specifically as shown in Figure 7.
Two R are drawn in Fig. 7, a R in being seen as to Fig. 4 has carried out function fractionation,
2 R have been split into, the change that two R are source address and destination address for convenience of explanation, figure has been split into
7 essence is identical with the implication in Fig. 4.What C1-IP was represented in Fig. 7 is the IP ground of embedded device C1
Location, what S-IP was represented is the IP address of the webserver, and P1 represents on M to be the debugging port of C1 distribution
Number, what R-IP was represented is the IP address of router R, and what M-IP was represented is that third party debugs and uses machine M
IP address, the network service process of embedded device C2 is similar with C1, concise for Fig. 7,
Do not draw.Network service process in Fig. 7 between M and S is turned using NAT of the prior art
Bring realization, draw NAT conversions that two frames of oblique line are intended to emphasize in the application with it is of the prior art
The difference of NAT conversions.
When third party debugs and is forwarded the network request message of reception with machine, specifically can be by the network
Request message is sent to router, and the third party of reception is debugged into the network request report sent with machine by router
Text is sent to the webserver with the network transmission speed being pre-configured with.
Here, in the adjustment method of the application, router can carry out fine control to network transmission speed,
Network service can be better controled over relative to existing adjustment method, various scenes are simulated, concrete reason is such as
Under:
In order to carry out exploitation, debugging and the test job of embedded system application program or Web page, generally
Can using acting on behalf of instrument, but it is traditional act on behalf of instrument and designed to meet user's online demand, apply
Developer is then debugging network communication process using the purpose of agency.Prior art is in tradition substantially
Act on behalf of the function of adding auxiliary development to debug on the basis of instrument.
From the angle analysis of TCP/IP network hierarchies it is traditional act on behalf of instrument, it is only operated in application layer, category
In farthest one layer of the bottom from network service, it is clear that network service is controlled in application layer be not most
Good selection.For example, in application debugging, be often required to be controlled network speed to simulate weak net environment, however,
Application level proxy has the ability to limit network speed, can only export the approximate network speed of method for responding by by time delay
Limit.And the application be in Internet solve problem, Internet have the ability control network speed, in addition other on
The precise controlling of network service process can be realized in Internet.
Topmost four layers are from top to bottom in ICP/IP protocol:Data link layer, Internet, transport layer,
Application layer.Router is the equipment run in Internet, and traditional proxy runs on application layer.
The Internet of router operation, more can effectively controlling network communication relative to application layer more bottom in the application.
Except network speed control, route test, self-defined DNS, self-defined firewall rule etc. can also be carried out.
Above-mentioned precise controlling network speed refers to up, the descending Mean Speed of network, flank speed, minimum
Speed can be set;Both the network speed that a certain specific equipment can be directed to is configured, it is also possible to all
The network speed of equipment is configured;The various networks such as GPRS, 3G, 4G can be modeled to by arrange parameter
Environment.
Second processing mode:
Retain the network request message for receiving, the generation of analog network server is directed to the network request report
The network response message of text, the network response message that will be simulated is sent to described embedded by router
Equipment;
Specific implementation includes following two:
Implementation 211):It is determined that the application layer protocol that the network request message for receiving is used;From answering for configuration
The application layer protocol matched with the application layer protocol selected in layer protocol with determine;Using selecting
The application layer protocol, analog network server be the embedded device generate network response message;Will
The network response message of generation is sent to the embedded device by router;It is described that parsing is generated
Network response message, obtains network response data;Show the network response data.
Implementation 212):Using the form of middleware, with above-mentioned implementation 12) basic thought phase
Together.Specially:Debugged in third party and create three middlewares for each application layer protocol with machine:Simulation
Data middleware, Proxy middleware and resolution response middleware, and these three middlewares are placed on establishment
In application layer services framework this container;For example, being directed to application layer protocol FTP, application layer services frame is created
Analogue data middleware, Proxy middleware and resolution response middleware these three middlewares are placed in frame 1, the inside,
Service is provided exclusively for the network request message using application layer protocol FTP;For reference layer protocol HTTP,
Application layer services framework 2 is created, the inside is placed in analogue data middleware, Proxy middleware and resolution response
Between part these three middlewares, provide service exclusively for the network request message using application layer protocol FTP.
The application layer services framework is used for the application layer protocol that the network request message of determination reception is used, from
The application layer protocol matched with the application layer protocol for determining is selected in the application layer protocol of configuration;
Analogue data middleware is used to skip Proxy middleware according to the analogue data of configured in advance interception rule
Directly generate network response message;Proxy middleware is used for according to the request message for receiving, and it is right to reconfigure
The response message transmission of the webserver is simultaneously sent to the embedded device by the request of the webserver;Solution
Analysis response middleware is used to parse the network response message of generation, network response data is obtained, the 3rd
The network response data is shown in square debugging machine;
Now, the network request message of reception is passed into analogue data middleware, analogue data middleware is tasted
The received network request message of examination matching, if intercept rule with the analogue data of configured in advance matching,
Trigger analogue data middleware generation network response message;
If analogue data middleware does not match received network request message, continue to pass request message
Proxy middleware is passed, the request to the webserver is reconfigured and is incited somebody to action long-range to trigger the Proxy middleware
The response message transmission of server is sent to the embedded device;
During the network response message that analogue data middleware or Proxy middleware send passed into resolution response
Between part, parse the network response message to trigger resolution response middleware, the network that display parsing is obtained rings
Answer data.
On the one hand above-mentioned second processing mode realize with response intercept and depth to the request of network
Control, for example, according to certain description of developer, intercepting specific network request and making specified data
It is response.On the other hand relative to traditional mode debugged third party with machine as proxy server
Speech, improves the autgmentability of agreement, because:For embedded device, the third party of the application
The identity of debugging machine is exactly a normal webserver, needs to support that what is assisted in the webserver
View can be configured, therefore autgmentability is high, and traditional agent way, and third party is debugged with machine for insertion
It is a proxy server for formula equipment, some agreements after agency by that can not support.
Further, for network security in terms of consideration, network service process would generally be carried out in business
Encryption, this also increases application program in embedded system or the difficulty of Web page exploitation debugging, in debugging
During, the main frame and non-real server of encrypted content are obtained or intercepted, it is necessary to pass through internuncial side
Formula (as third party debugs and uses machine in the application) intercepts and captures request and then carries out debugging efforts, accordingly, it would be desirable to
Embedded device is solved to debug the third party that this is not yet trusted with the trust problem of machine.
Therefore, it is that the third party for trusting is debugged with machine that the application gives a kind of determination third party and debugs with machine
Method, comprises the following steps 301 to step 313:
Step 301:One root certificate of generation is signed and issued using OpenSSL, third party's debugging of trust is deposited in
Use machine;
Step 302:Embedded device is debugged to the third party for trusting and sends download request message with machine;
Step 303:Third party debugs and receives the download request message that embedded device sends with machine;
Step 304:Third party debugs the download service for providing root certificate for embedded device with machine;
Step 305:Embedded device is debugged the download service provided with machine using the third party for trusting and downloads root
Certificate;
Step 306:Embedded device installs the root certificate downloaded;
Step 307:Embedded device is debugged to third party by router and sends CIPHERING REQUEST message with machine,
Domain name is included in the header of the CIPHERING REQUEST message;
Step 308:Third party debugs and receives the CIPHERING REQUEST message that the embedded device sends with machine;
Step 309:It is that domain name is signed and issued corresponding domain name and demonstrate,proved that third party is debugged with machine using the root certificate
Book;
Step 310:Third party debugs to be debugged to the third party with machine and sends encrypted response with machine, described to add
Domain name certificate is carried in close response message.
Step 311:Embedded device receives third party and debugs the encrypted response message sent with machine;
Step 312:Embedded device is using the root certificate identification domain name certificate installed;
Step 313:Embedded device will send the encrypted response report when domain name certificate is identified
The third party of text debugs to be debugged as the third party for trusting with machine and uses machine;
So far, solve the problems, such as that third party of the embedded device to not yet trusting is debugged with the trust of machine.
After trust, each embedded device is debugged with the third party for trusting and communicated with machine, there is ciphersuite negotiation
Process, the password for consulting is a symmetric cryptography, and embedded device utilizes the symmetric password encryption, the
Tripartite debugs and is decrypted with the machine symmetric cryptography, specifically refers to the logical of the HTTPS that is introduced in following network address
Letter process:http://www.cnblogs.com/ttltry-air/archive/2012/08/20/2647898.html.
On the basis of trust is set up, for coded communication (such as HTTPS agreements), the application is also achieved
Plaintext parsing to encryption network communication data, detailed process is similar to step 509 with above-mentioned steps 501,
Difference is:
After above-mentioned steps 502, before step 503, embedded device is added using the symmetric cryptography consulted
The network request message of close generation, the network request message after being encrypted;
Above-mentioned steps 503 are replaced with:Embedded device sends out the network request message after encryption by router
Give the webserver.
In above-mentioned steps 507, third party debug with machine receive for embedded device is sent by router
Network request message after encryption, after above-mentioned steps 507, before step 508, third party's debugging is used
Machine is also using the network request message after the encryption of the symmetric cryptography decryption reception consulted, the net after being decrypted
Network request message;
Above-mentioned steps 508 are replaced with:Third party debugs and parses the network request message after decryption with machine, obtains
Network request packet.
Additionally, third party debugs is transmitted to net as go-between with machine by the network request message of embedded device
Network server, after the webserver returns to network response message, because it is network request that third party is debugged with machine
Initiator, the network response message that the ciphertext form of receipts can be docked naturally is decrypted, and obtains network response
Clear data.
So far the request encrypted and response data are all debugged by third party and parsed in plain text with machine.
Additionally, the embodiment of the present application can reach optimal implementation result in the configuration of following hardware and software:
Hardware:RouterBOARD (MikroTik be based on RouterOS exploitation route mainboard) or other
Carry the hardware platform of RouterOS systems;
Software:Programming language uses Node.js, and it is good at the intensive concurrent requests for the treatment of I/O.
In the scheme of the embodiment of the present application, by the translation function of NAT rules, originally needing embedding
Enter the process of arrange parameter in formula equipment, have been moved to go to set in router, complete the network service of unaware
Parameter setting, minimizes the setting requirements of embedded device, can almost support all of embedded system of networking
System.
Further, debugged with setting debugging port on machine and start corresponding process by third party,
Allow that third party debugs and distinguish multiple embedded devices with machine, namely support multiple embedded devices simultaneously
Debugged.
Additionally, running on this function on Internet with reference to router, the net to embedded device is realized
Effective control of network communication process;And debugged with the configurable work(of the application layer protocol of machine with reference to third party
Can, the extended pattern supported various agreements in application layer is improved, and the network request message to receiving is used
Application layer protocol it is supportive preferably.
Finally, when processing networking request message, with middleware form expansion service logic, realize
Easily and flexibly severity control network service.
Based on same inventive concept, the embodiment of the present application additionally provides three kinds of networks of debugging embedded equipment and leads to
The device of letter process, wherein, the structure of the device of the network service process of the first debugging embedded equipment is shown
Be intended to as shown in figure 8, including:Receiving unit 81, converting unit 82 and transmitting element 83;Wherein:
Receiving unit 81, the network request message for receiving embedded device transmission, the network request report
The source address of text is the IP address of the embedded device, and destination address is the IP address of the webserver,
For asking the webserver to provide network service;
Converting unit 82, for the destination address and source address of the network request message to be respectively converted into
Tripartite debugs the IP address of the IP address and the router with machine;
Transmitting element 83, the network request message of source address and destination address to third party is converted for sending
Debugging machine, so that third party debugs the network request packet shown with machine in the network request message.
Preferably, described device also includes:
Judging unit 84, after receiving the network request message that embedded device sends in receiving unit,
Transmitting element send converted the network request message of source address and destination address to third party debug with machine it
Before, judge whether the source address of the network request message belongs to embedded device address white list to be debugged,
If belonging to embedded device address white list to be debugged, transmitting element is triggered;
The transmitting element 83, the network request message of source address and destination address is converted specifically for sending
Debugged to third party and use machine.
Preferably, described device also includes:
First determining unit 85, for receiving unit receive embedded device send network request message it
Afterwards, transmitting element sends and converted the network request message of source address and destination address and debugged to third party and use machine
Before, determine that third party debugs the port numbers with the debugging port that machine is the embedded device distribution, wherein,
It is that different embedded devices distribute different debugging ports that the third party is debugged with machine;
The converting unit 82, is additionally operable to carry debugging port numbers in the network request message;
The transmitting element 83, end is debugged specifically for sending to converted source address and destination address and carry
The network request message of slogan.
Preferably, described device also includes:
Second determining unit 86, for receiving the network request message that embedded device sends in receiving unit
Afterwards, the first determining unit determines that third party is debugged with the end that machine is the debugging port that the embedded device is distributed
The application layer protocol that the network request message is used is determined before slogan;
First determining unit 85 is specific to determine that third party is debugged with machine as the embedded device is being used
The application layer protocol for determining sends the debugging port numbers distributed during network request message, wherein, third party
Debugging eedle to same embedded device, when network request messages are sent using different application layer protocols
The different debugging port of distribution.
Preferably, described device also includes:
3rd determining unit 87, debugs with the IP address of machine and treats for obtaining third party in the following manner
Debugging embedded device address white list:Receive third party and debug the destination address adjust instruction sent with machine,
The IP address of the machine of using and the IP ground of embedded device are debugged in the destination address adjust instruction comprising third party
Location;The third party included in destination address adjust instruction is debugged with the IP address of machine and embedded device
IP address is debugged with the IP address and embedded device to be debugged of machine respectively as the third party of address conversion
Address white list.
Preferably, the receiving unit 81, is additionally operable to reception third party and debugs the network request report sent with machine
Text;
The transmitting element 83, be additionally operable to by the third party of reception debug with machine send network request message with
The network transmission speed being pre-configured with is sent to the webserver.
The knot of the device of the network service process of the second debugging embedded equipment that the embodiment of the present application is provided
Structure schematic diagram as shown in figure 9, including:Determining unit 91, message generation unit 92 and transmitting element 93;
Wherein:
Determining unit 91, the IP address for determining the webserver;
Message generation unit 92, for the IP address of the webserver that is determined with determining unit as destination
Location, the IP address with the embedded device generates network request message as source address, and the network please
Message is sought for asking the webserver to provide network service;
Transmitting element 93, for the network request message for generating to be sent into network service by router
Device, wherein, the router sends after the network request message is carried out into source address and destination address conversion
Debugged to third party and use machine.
Preferably, described device also includes:
Scanning element 94, the network request message for will be generated in transmitting element is sent by router
Before the webserver, the scanning third party debugs the Quick Response Code with display on machine, the Quick Response Code
Content is to debug the Web service bound with machine dedicated for the embedded device and the third party
Address;
The transmitting element 93, is additionally operable to debug to be sent with machine to the third party access the Web service
The access request message of address so that the third party debug with machine by the access request message source ground
Location is used as the IP address for being sent to the embedded device included in the destination address adjust instruction of the router.
Preferably, the transmitting element 93, is additionally operable in the network request message that will be generated by route
Before device is sent to the webserver, is debugged to the third party and send bind request message with machine, so that the
It is that the embedded device distributes debugging port that tripartite is debugged with machine, and by the port numbers of the debugging port and
The IP address binding of the embedded device;
Described device also includes:
Receiving unit 95, the binding response message sent with machine is debugged for receiving the third party, described to tie up
Binding result is included in provisioning response message.
Preferably, the transmitting element 93, is additionally operable in the network request message that will be generated by route
Before device is sent to the webserver, is debugged to the third party for trusting and send download request message with machine;
Described device also includes:Download unit 96, installation unit 97, receiving unit 95 and recognition unit 98;
Download unit 96, root card is downloaded for debugging the download service provided with machine using the third party for trusting
Book;
The installation unit 97, for installing the root certificate downloaded;
The transmitting element 93, is additionally operable to be debugged with machine transmission CIPHERING REQUEST report to third party by router
Text, includes domain name in the header of the CIPHERING REQUEST message;
The receiving unit 95, the encrypted response message sent with machine is debugged for receiving third party, described to add
Domain name certificate is carried in close response message, domain name certificate is using root certificate with machine for third party debugs
The certificate that domain name is signed and issued;
Recognition unit 98, the root certificate for being installed using installation unit recognizes domain name certificate, in identification
When going out domain name certificate, the third party for sending the encrypted response message is debugged with machine as for trusting
Tripartite debugs and uses machine.
The knot of the device of the network service process of the third debugging embedded equipment that the embodiment of the present application is provided
Structure schematic diagram is as shown in Figure 10, including:Receiving unit 101, resolution unit 102 and display unit 103;
Wherein:
Receiving unit 101, for receiving the network request message that embedded device is sent by router, institute
The source address for stating network request message is the IP address of the router, and destination address is that third party debugs use
The IP address of machine, for asking the webserver to provide network service;
Resolution unit 102, for parsing the network request message for receiving, obtains network request packet;
Display unit 103, for showing the network request packet.
Preferably, described device also includes:Transmitting element 104, for receiving embedded setting in receiving unit
Before the standby network request message by router transmission, refer to router sending destination location adjustment
Order, debugs with the IP address of machine and embedded device in the destination address adjust instruction comprising third party
IP address, for the network request message from the embedded device for indicating the router to receive
Destination address is revised as the third party to be debugged with the IP address of machine.
Preferably, described device also includes:First determining unit 105, for being obtained by following either type
Obtain the IP address of the embedded device:Mode one:Receive the IP address of the embedded device of user input;
Mode two:The access request message of embedded device is received, the access request message is that embedded device exists
Scan the third party to debug with what is sent after the Quick Response Code shown on machine, the content of the Quick Response Code is special
The Web service address bound with machine is debugged for the embedded device and the third party;To receive
The access request message in source address as the embedded device IP address.
Preferably, the receiving unit 101, is additionally operable to receiving what embedded device was sent by router
Before network request message, the bind request message that the embedded device sends is received;
Described device also includes:Allocation unit 106, binding unit 107, transmitting element 104 and lookup are single
Unit 108;
The allocation unit 106, for being embedded device distribution debugging port;
The binding unit 107, for the port numbers of debugging port that will be distributed and the embedded device
IP address is bound;
The transmitting element 104, for sending binding response message, the binding to the embedded device
Binding result is included in response message;
The searching unit 108, for receiving the net that embedded device is sent by router in receiving unit
After network request message, before display unit shows the network request packet, stored using binding unit
Binding relationship between port numbers and the IP ground of embedded device, searches bag in the network request message for receiving
The IP address of the embedded device bound in debugging port numbers for containing;
The display unit 103, specifically for the correspondence display network request packet and the insertion for finding
The IP address of formula equipment.
Preferably, also including the application layer protocol that embedded device is supported in the bind request message;
The allocation unit 106, specifically for the different application layer protocol point supported for the embedded device
With different debugging ports;
The binding unit 107, specifically for by the port numbers of the debugging port distributed, described embedded set
Standby IP address and application layer protocol is bound and is stored.
Preferably, the receiving unit 101, is additionally operable to receive the download request message that embedded device sends;
Described device also includes:Service rendering units 109, sign and issue unit 110 and transmitting element 104;
Service rendering units 109, the download service for providing root certificate for embedded device;
The receiving unit 101, is additionally operable to receive the CIPHERING REQUEST message that the embedded device sends, institute
State in CIPHERING REQUEST heading comprising domain name;
Sign and issue unit 110, for using the root certificate for domain name signs and issues corresponding domain name certificate;
Transmitting element 104, encrypted response, the encrypted response are sent for being debugged to the third party with machine
In carry domain name certificate;
The receiving unit 101, specifically for receiving embedded device by after the encryption that router sends
Network request message.
Preferably, described device also includes:
Transmitting element 104, please by the network that router sends for receiving embedded device in receiving unit
Ask after message, the network request message is sent to the webserver;
The receiving unit 101, is additionally operable to receive the network response message that the webserver sends;
The resolution unit 102, is additionally operable to parse the network response message, obtains network response data;
The display unit 103, is additionally operable to show the network response data.
Preferably, described device also includes:Second determining unit 111, select unit 112, analogue unit
113 and transmitting element 104;
Second determining unit 111, is sent for receiving embedded device in receiving unit by router
Network request message after, it is determined that the application layer protocol that uses of network request message for receiving;
The select unit 112, for being selected from the application layer protocol of configuration and the application for determining
The application layer protocol that layer protocol matches;
The analogue unit 113, for using the application layer protocol selected, analog network server
For the embedded device generates network response message;
The transmitting element 104, for the network response message for generating to be sent into institute by router
State embedded device;
The resolution unit 102, is additionally operable to parse the network response message, obtains network response data;
The display unit 103, is additionally operable to show the network response data.
In the scheme of the embodiment of the present application, due to adding router in debugging system, by original embedding
Setting proxy parameter realizes that the function of sending network request with machine is debugged to third party to be transferred in entering formula equipment
Realize in the router, therefore, proxy parameter need not be both set in embedded device, it is not required that
Increase debugging logic outside service logic, solve cannot being applied to for existing adjustment method presence and do not provide
The debugging of the embedded device of agency service parameter is set, or increases debugging service logic in the application
The unstable problem of caused operation system.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can using complete hardware embodiment, complete application software embodiment,
Or the form of the embodiment in terms of connected applications software and hardware.And, the present invention can be used at one or many
Individual computer-usable storage medium (the including but not limited to disk for wherein including computer usable program code
Memory, CD-ROM, optical memory etc.) on implement computer program product form.
The present invention is produced with reference to method according to embodiments of the present invention, equipment (system) and computer program
The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions realize flow chart and
/ or block diagram in each flow and/or the flow in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions to all-purpose computer, special-purpose computer, insertion can be provided
The processor of formula processor or other programmable data processing devices is producing a machine so that by calculating
The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one
The device of the function of being specified in individual flow or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or the treatment of other programmable datas to set
In the standby computer-readable memory for working in a specific way so that storage is in the computer-readable memory
Instruction produce include the manufacture of command device, the command device realization in one flow of flow chart or multiple
The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made
Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place
Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one
The step of function of being specified in flow or multiple one square frame of flow and/or block diagram or multiple square frames.
, but those skilled in the art once know base although preferred embodiments of the present invention have been described
This creative concept, then can make other change and modification to these embodiments.So, appended right will
Ask and be intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this Shen to the application
Spirit and scope please.So, if the application these modification and modification belong to the application claim and
Within the scope of its equivalent technologies, then the application is also intended to comprising these changes and modification.
Claims (37)
1. a kind of method of the network service process of debugging embedded equipment, it is characterised in that including:
Router receives the network request message that embedded device sends, the source address of the network request message
It is the IP address of the embedded device, destination address is the IP address of the webserver, for asking net
Network server provides network service;
The destination address and source address of the network request message are respectively converted into third party to debug with machine
The IP address of IP address and the router;
The network request message that transmission converted source address and destination address is debugged to third party and uses machine, so that the
Tripartite debugs the network request packet shown with machine in the network request message.
2. the method for claim 1, it is characterised in that router receives embedded device and sends
Network request message after, transmission converted the network request message of source address and destination address to third party
Before debugging machine, methods described also includes:Judge whether the source address of the network request message belongs to treat
Debugging embedded device address white list;
The network request message that transmission converted source address and destination address is debugged to third party and uses machine, specific bag
Include:
If the source address of the network request message belongs to embedded device address white list to be debugged, send
The network request message that converted source address and destination address is debugged to third party and uses machine.
3. method as claimed in claim 1 or 2, it is characterised in that receive embedded setting in router
After the network request message that preparation is sent, transmission converted source address and destination address network request message it
Before, methods described also includes:
Determine that third party debugs the port numbers with the debugging port that machine is the embedded device distribution, wherein,
It is that different embedded devices distribute different debugging ports that the third party is debugged with machine;
Debugging port numbers are carried in the network request message;
Transmission converted the network request message of source address and destination address, including:
Transmission converted source address and destination address and carry the network request message of debugging port numbers.
4. method as claimed in claim 3, it is characterised in that receive embedded device hair in router
After the network request message for sending, determine that third party is debugged with the debugging port that machine is the embedded device distribution
Port numbers before, methods described also includes:
Determine the application layer protocol that the network request message is used;
Determine that third party debugs the port numbers with the debugging port that machine is the embedded device distribution, including:
It is that the embedded device is sent out using the application layer protocol for determining to determine that third party is debugged with machine
The debugging port numbers distributed during SCN Space Cable Network request message, wherein, third party is debugged with eedle to same embedded
Equipment, different debugging ports are distributed when network request message is sent using different application layer protocols.
5. method as claimed in claim 2, it is characterised in that obtain third party in the following manner and adjust
The IP address and embedded device address white list to be debugged of machine on probation:
Receive third party and debug the destination address adjust instruction sent with machine, in the destination address adjust instruction
The IP address of the IP address and embedded device with machine is debugged comprising third party;
The third party included in destination address adjust instruction is debugged with the IP address of machine and embedded device
IP address is debugged with the IP address and embedded device to be debugged of machine respectively as the third party of address conversion
Address white list.
6. the method for claim 1, it is characterised in that methods described also includes:
Receive third party and debug the network request message sent with machine;
The third party of reception is debugged network transmission speed of the network request message sent with machine to be pre-configured with
Rate is sent to the webserver.
7. a kind of method of the network service process of debugging embedded equipment, it is characterised in that including:
Embedded device determines the IP address of the webserver;
The IP address of the webserver to determine is purpose address, with the IP address of the embedded device
It is source address, generates network request message, the network request message is used to ask the webserver to carry
For network service;
The network request message for generating is sent to the webserver by router, wherein, the road
Send to third party to debug after the network request message is carried out into source address and destination address conversion by device and use
Machine.
8. method as claimed in claim 7, it is characterised in that the network request message that will be generated
Before being sent to the webserver by router, methods described also includes:
The third party is scanned to debug with the Quick Response Code shown on machine, the content of the Quick Response Code be dedicated for
The embedded device and the third party debug the Web service address bound with machine;
Debugged to the third party and send access request message with machine, the access request message is used to access institute
State Web service address so that the third party debug with machine using the source address of the access request message as
It is sent to the IP address of the embedded device included in the destination address adjust instruction of the router.
9. method as claimed in claim 7, it is characterised in that the network request message that will be generated
Before being sent to the webserver by router, methods described also includes:
Debugged to the third party and send bind request message with machine, so that it is described embedding that third party is debugged with machine
Enter formula equipment distribution debugging port and the IP ground by the port numbers of the debugging port and the embedded device
Bind location;
Receive the third party and debug the binding response message sent with machine, included in the binding response message
Binding result.
10. method as claimed in claim 9, it is characterised in that also include in the bind request message
The application layer protocol that embedded device is supported, so that third party is debugged with machine as the embedded device is supported
Different application layer protocol distribute different debugging ports and by the port numbers for debugging port and the insertion
IP address and the application layer protocol binding of formula equipment.
11. methods as claimed in claim 7, it is characterised in that the network request message that will be generated
Before being sent to the webserver by router, methods described also includes:
Debugged to the third party for trusting and send download request message with machine;
The download service provided with machine is provided using the third party for trusting and downloads root certificate;
The root certificate downloaded is installed;
Debugged to third party by router and send CIPHERING REQUEST message, the report of the CIPHERING REQUEST message with machine
Domain name is included in head;
Receive third party and debug the encrypted response message sent with machine, the encryption rings during message is answered and carries domain
Name certificate, domain name certificate is certificate that domain name is signed and issued for third party is debugged with machine using root certificate;
Domain name certificate is recognized using the root certificate installed;
When domain name certificate is identified, the third party for sending the encrypted response message is debugged and is made with machine
Machine is used for the third party for trusting debugs.
A kind of 12. methods of the network service process of debugging embedded equipment, it is characterised in that including:
Third party debugs and receives the network request message that embedded device is sent by router, the net with machine
The source address of network request message is the IP address of the router, and destination address is debugged with machine for third party
IP address, for asking the webserver to provide network service;
The network request message for receiving is parsed, network request packet is obtained;
Show the network request packet.
13. methods as claimed in claim 12, it is characterised in that third party debugs to be received with machine and is embedded in
Before the network request message that formula equipment is sent by router, methods described also includes:
To the router sending destination location adjust instruction, the 3rd is included in the destination address adjust instruction
The IP address of side's debugging machine and the IP address of embedded device, for indicating the router by reception
The destination address of the network request message from the embedded device is revised as the third party to be debugged and uses machine
IP address.
14. methods as claimed in claim 13, it is characterised in that the third party debugs and passed through with machine
Following either type determines the IP address of the embedded device:
Mode one:
Receive the IP address of the embedded device of user input;
Using the IP address of the embedded device of user input as including in the destination address adjust instruction
The IP address of embedded device;
Mode two:
The access request message that embedded device sends is received, the access request message is that embedded device exists
Scan the third party to debug with what is sent after the Quick Response Code shown on machine, the content of the Quick Response Code is special
The Web service address bound with machine is debugged for the embedded device and the third party;
Source address in the access request message that will be received is wrapped as in the destination address adjust instruction
The IP address of the embedded device for containing.
15. methods as claimed in claim 12, it is characterised in that the network request message includes
Debugging port numbers, debug in third party and receive the network request report that embedded device is sent by router with machine
Before text, methods described also includes:
Receive the bind request message that the embedded device sends;
It is embedded device distribution debugging port;
The port numbers of debugging port distributed and the IP address of the embedded device are bound and stored;
Binding response message is sent to the embedded device, is tied comprising binding in the binding response message
Really;
After the network request message that embedded device is sent by router is received, show that the network please
Before seeking data, methods described also includes:
Using the binding relationship between the port numbers and the IP ground of embedded device of storage, the net for receiving is searched
The IP address of the embedded device bound in debugging port numbers included in network request message;
The network request packet is shown, including:
The IP address of the correspondence display network request packet and the embedded device for finding.
16. methods as claimed in claim 15, it is characterised in that also wrapped in the bind request message
Include the application layer protocol that embedded device is supported;
It is embedded device distribution debugging port, including:
For the different application layer protocol that the embedded device is supported distributes different debugging ports;
The port numbers of debugging port distributed and the IP address of the embedded device are bound and stored, is wrapped
Include:
The port numbers of the debugging port distributed, the IP address of the embedded device and application layer protocol are tied up
It is fixed.
17. methods as claimed in claim 12, it is characterised in that methods described also includes:
Receive the download request message that embedded device sends;
The download service of root certificate is provided for embedded device;
The CIPHERING REQUEST message that the embedded device sends is received, domain is included in the CIPHERING REQUEST heading
Name;
Using the root certificate for domain name signs and issues corresponding domain name certificate;
Debugged to the third party and send encrypted response with machine, the domain is carried in the encrypted response message
Name certificate.
18. methods as claimed in claim 12, it is characterised in that third party debugs to be received with machine and is embedded in
After the network request message that formula equipment is sent by router, methods described also includes:
The network request message is sent to the webserver;
Receive the network response message that the webserver sends;
The network response message is parsed, network response data is obtained;
Show the network response data.
19. methods as claimed in claim 12, it is characterised in that third party debugs to be received with machine and is embedded in
After the network request message that formula equipment is sent by router, methods described also includes:
It is determined that the application layer protocol that the network request message for receiving is used;
The application layer matched with the application layer protocol for determining is selected from the application layer protocol of configuration
Agreement;
Using the application layer protocol selected, analog network server is that the embedded device generates net
Network response message;
The network response message for generating is sent to the embedded device by router;
The network response message of generation is parsed, network response data is obtained;
Show the network response data.
A kind of 20. devices of the network service process of debugging embedded equipment, it is characterised in that including:
Receiving unit, the network request message for receiving embedded device transmission, the network request message
Source address be the embedded device IP address, destination address for the webserver IP address, use
Network service is provided in the request webserver;
Converting unit, for the destination address and source address of the network request message to be respectively converted into the 3rd
The IP address of side's debugging machine and the IP address of the router;
Transmitting element, the network request message of source address and destination address is converted for sending and is adjusted to third party
Machine on probation, so that third party debugs the network request packet shown with machine in the network request message.
21. devices as claimed in claim 20, it is characterised in that described device also includes:
Judging unit, after receiving the network request message that embedded device sends in receiving unit, hair
Send unit send converted source address and destination address network request message debugged with machine to third party before,
Judge whether the source address of the network request message belongs to embedded device address white list to be debugged, if category
In embedded device address white list to be debugged, then transmitting element is triggered;
The transmitting element, the network request message of source address and destination address is converted specifically for sending extremely
Third party debugs and uses machine.
22. device as described in claim 20 or 21, it is characterised in that described device also includes:
First determining unit, for receiving unit receive embedded device send network request message it
Afterwards, transmitting element sends and converted the network request message of source address and destination address and debugged to third party and use machine
Before, determine that third party debugs the port numbers with the debugging port that machine is the embedded device distribution, wherein,
It is that different embedded devices distribute different debugging ports that the third party is debugged with machine;
The converting unit, is additionally operable to carry debugging port numbers in the network request message;
The transmitting element, port is debugged specifically for sending to converted source address and destination address and carry
Number network request message.
23. devices as claimed in claim 22, it is characterised in that described device also includes:
Second determining unit, for receiving unit receive embedded device send network request message after,
First determining unit determines that third party is debugged with the port that machine is the debugging port that the embedded device is distributed
Number the application layer protocol that the network request message is used is determined before;
First determining unit, it is that the embedded device is being used really specifically to determine that third party is debugged with machine
The fixed application layer protocol sends the debugging port numbers distributed during network request message, wherein, third party adjusts
Eedle on probation is sending the network request message time-division to same embedded device using different application layer protocols
With different debugging ports.
24. devices as claimed in claim 21, it is characterised in that described device also includes:
3rd determining unit, debugs with the IP address of machine and waits to adjust for obtaining third party in the following manner
Examination embedded device address white list:Receive third party and debug the destination address adjust instruction sent with machine, institute
State in destination address adjust instruction and the IP address of IP address and embedded device with machine is debugged comprising third party;
The third party included in destination address adjust instruction is debugged the IP ground of the IP address and embedded device with machine
Debugged with the IP address and embedded device address to be debugged of machine respectively as the third party of address conversion location
White list.
25. devices as claimed in claim 20, it is characterised in that the receiving unit, are additionally operable to connect
Receive third party and debug the network request message sent with machine;
The transmitting element, is additionally operable to for the third party of reception to debug the network request message with machine transmission with pre-
The network transmission speed for first configuring is sent to the webserver.
A kind of 26. devices of the network service process of debugging embedded equipment, it is characterised in that including:
Determining unit, the IP address for determining the webserver;
Message generation unit, the IP address of the webserver for being determined with determining unit is purpose address,
IP address with the embedded device generates network request message, the network request report as source address
Text provides network service for asking the webserver;
Transmitting element, for the network request message for generating to be sent into network service by router
Device, wherein, the router sends after the network request message is carried out into source address and destination address conversion
Debugged to third party and use machine.
27. devices as claimed in claim 26, it is characterised in that described device also includes:
Scanning element, for being sent to the network request message for generating by router in transmitting element
Before the webserver, scan the third party and debug with the Quick Response Code shown on machine, the Quick Response Code it is interior
Appearance is that the Web service ground bound with machine is debugged dedicated for the embedded device and the third party
Location;
The transmitting element, is additionally operable to debug to be sent with machine to the third party access the Web service address
Access request message so that the third party debug with machine by the access request message source address make
To be sent to the IP address of the embedded device included in the destination address adjust instruction of the router.
28. devices as claimed in claim 26, it is characterised in that the transmitting element, are additionally operable to
Before the network request message for generating is sent into the webserver by router, to the third party
Debugging sends bind request message with machine, so that it is that the embedded device distributes debugging that third party is debugged with machine
Port and the IP address binding by the port numbers of the debugging port and the embedded device;
Described device also includes:
Receiving unit, the binding response message sent with machine, the binding are debugged for receiving the third party
Binding result is included in response message.
29. devices as claimed in claim 26, it is characterised in that the transmitting element, are additionally operable to
Before the network request message for generating is sent into the webserver by router, to the 3rd for trusting
Square debugging sends download request message with machine;
Described device also includes:Download unit, installation unit, receiving unit and recognition unit;
Download unit, root certificate is downloaded for debugging the download service provided with machine using the third party for trusting;
The installation unit, for installing the root certificate downloaded;
The transmitting element, be additionally operable to by router to third party debug with machine send CIPHERING REQUEST message,
Domain name is included in the header of the CIPHERING REQUEST message;
The receiving unit, the encrypted response message sent with machine, the encryption are debugged for receiving third party
Carry domain name certificate in response message, domain name certificate is institute for third party is debugged with machine using root certificate
State the certificate that domain name is signed and issued;
Recognition unit, the root certificate for being installed using installation unit recognizes domain name certificate, is identifying
During domain name certificate, the third party for sending the encrypted response message is debugged with machine as the 3rd for trusting
Side's debugging machine.
A kind of 30. devices of the network service process of debugging embedded equipment, it is characterised in that including:
Receiving unit, for receiving the network request message that embedded device is sent by router, the net
The source address of network request message is the IP address of the router, and destination address is debugged with machine for third party
IP address, for asking the webserver to provide network service;
Resolution unit, for parsing the network request message for receiving, obtains network request packet;
Display unit, for showing the network request packet.
31. devices as claimed in claim 30, it is characterised in that described device also includes:Send single
Unit, for before receiving unit receives the network request message that is sent by router of embedded device, to
The router sending destination location adjust instruction, debugs in the destination address adjust instruction comprising third party
With the IP address and the IP address of embedded device of machine, for indicating the router to receive from institute
The destination address for stating the network request message of embedded device is revised as the IP ground that the third party debugs the machine of using
Location.
32. devices as claimed in claim 31, it is characterised in that described device also includes:First is true
Order unit, the IP address for obtaining the embedded device by following either type:Mode one:Connect
Receive the IP address of the embedded device of user input;Mode two:Receive the access request report of embedded device
Text, the access request message is that embedded device is debugged with the two dimension shown on machine in the scanning third party
Sent after code, the content of the Quick Response Code is to be debugged dedicated for the embedded device and the third party
The Web service address bound with machine;Source address in the access request message that will be received is used as institute
State the IP address of the embedded device included in destination address adjust instruction.
33. devices as claimed in claim 30, it is characterised in that the receiving unit, are additionally operable to
Before receiving the network request message that embedded device is sent by router, the reception embedded device is sent out
The bind request message for sending;
Described device also includes:Allocation unit, binding unit, transmitting element and searching unit;
The allocation unit, for being embedded device distribution debugging port;
The binding unit, for the port numbers for debugging port and the IP of the embedded device that will distribute
Address binding is simultaneously stored;
The transmitting element, for sending binding response message, the binding response to the embedded device
Binding result is included in message;
The searching unit, please by the network that router sends for receiving embedded device in receiving unit
After seeking message, before display unit shows the network request packet, the port stored using binding unit
Number and the binding relationship between the IP ground of embedded device, search and include in the network request message for receiving
The IP address of the embedded device bound in debugging port numbers;
The display unit, specifically for the correspondence display network request packet and embedded setting of finding
Standby IP address.
34. devices as claimed in claim 32, it is characterised in that also wrapped in the bind request message
Include the application layer protocol that embedded device is supported;
The allocation unit, the different application layer protocol specifically for being supported for the embedded device is distributed not
Same debugging port;
The binding unit, specifically for the debugging port numbers of port, the embedded device that will distribute
IP address and application layer protocol are bound and are stored.
35. devices as claimed in claim 30, it is characterised in that the receiving unit, are additionally operable to connect
Receive the download request message that embedded device sends;
Described device also includes:Service rendering units, sign and issue unit and transmitting element;
Service rendering units, the download service for providing root certificate for embedded device;
The receiving unit, is additionally operable to receive the CIPHERING REQUEST message that the embedded device sends, described to add
Domain name is included in close request message head;
Sign and issue unit, for using the root certificate for domain name signs and issues corresponding domain name certificate;
Transmitting element, encrypted response is sent for being debugged to the third party with machine, is taken in the encrypted response
With domain name certificate;
The receiving unit, specifically for receiving embedded device by the network after the encryption that router sends
Request message.
36. devices as claimed in claim 30, it is characterised in that described device also includes:
Transmitting element, for receiving the network request report that embedded device is sent by router in receiving unit
After text, the network request message is sent to the webserver;
The receiving unit, is additionally operable to receive the network response message that the webserver sends;
The resolution unit, is additionally operable to parse the network response message, obtains network response data;
The display unit, is additionally operable to show the network response data.
37. devices as claimed in claim 30, it is characterised in that described device also includes:Second is true
Order unit, select unit, analogue unit and transmitting element;
Second determining unit, for receiving the net that embedded device is sent by router in receiving unit
After network request message, it is determined that the application layer protocol that the network request message for receiving is used;
The select unit, assists for being selected from the application layer protocol of configuration with the application layer for determining
The application layer protocol that view matches;
The analogue unit, for using the application layer protocol selected, analog network server to be institute
State embedded device generation network response message;
The transmitting element, it is described embedding for the network response message for generating to be sent to by router
Enter formula equipment;
The resolution unit, is additionally operable to parse the network response message, obtains network response data;
The display unit, is additionally operable to show the network response data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511001560.XA CN106921716B (en) | 2015-12-28 | 2015-12-28 | Method and device for debugging network communication process of embedded equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511001560.XA CN106921716B (en) | 2015-12-28 | 2015-12-28 | Method and device for debugging network communication process of embedded equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106921716A true CN106921716A (en) | 2017-07-04 |
CN106921716B CN106921716B (en) | 2020-07-31 |
Family
ID=59455259
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511001560.XA Active CN106921716B (en) | 2015-12-28 | 2015-12-28 | Method and device for debugging network communication process of embedded equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106921716B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107302476A (en) * | 2017-08-04 | 2017-10-27 | 上海爱数信息技术股份有限公司 | A kind of automated testing method and system for testing asynchronous interactive system |
CN108924951A (en) * | 2018-06-01 | 2018-11-30 | 晶晨半导体(上海)股份有限公司 | A kind of information interacting method |
CN109508287A (en) * | 2018-10-16 | 2019-03-22 | 平安普惠企业管理有限公司 | Page adjustment method and terminal device |
CN111416792A (en) * | 2019-01-08 | 2020-07-14 | 杭州海康威视数字技术股份有限公司 | Internal authentication-free method of embedded equipment and embedded equipment |
CN112154417A (en) * | 2018-05-21 | 2020-12-29 | 微软技术许可有限责任公司 | Sharing a code base between a stand-alone version and a Web-based version of an application via an emulated network communication channel |
CN113992407A (en) * | 2021-10-27 | 2022-01-28 | 北京天融信网络安全技术有限公司 | Security policy configuration method and device |
CN115037795A (en) * | 2022-06-16 | 2022-09-09 | 上海睿赛德电子科技有限公司 | Multi-machine communication method for embedded equipment |
CN116132194A (en) * | 2023-03-24 | 2023-05-16 | 杭州海康威视数字技术股份有限公司 | Method, system and device for detecting and defending unknown attack intrusion of embedded equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030208480A1 (en) * | 2002-05-03 | 2003-11-06 | Netbotz, Inc. | Method and apparatus for collecting and displaying network device information |
US20040136388A1 (en) * | 2002-12-26 | 2004-07-15 | Schaff Glen D. | Video-monitor/recording/playback system |
CN201163777Y (en) * | 2007-12-03 | 2008-12-10 | 北京康拓科技开发总公司 | Networking test equipment |
CN103136095A (en) * | 2011-11-28 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Method, device and system of test application program interface |
CN103475637A (en) * | 2013-04-24 | 2013-12-25 | 携程计算机技术(上海)有限公司 | Network access control method and system based on IP access behaviors |
CN103856774A (en) * | 2014-02-28 | 2014-06-11 | 北京航科威视光电信息技术有限公司 | Intelligent detection system and method for video surveillance |
CN104378382A (en) * | 2014-11-28 | 2015-02-25 | 上海斐讯数据通信技术有限公司 | Multiple client wireless authentication system and authentication method thereof |
-
2015
- 2015-12-28 CN CN201511001560.XA patent/CN106921716B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030208480A1 (en) * | 2002-05-03 | 2003-11-06 | Netbotz, Inc. | Method and apparatus for collecting and displaying network device information |
US20040136388A1 (en) * | 2002-12-26 | 2004-07-15 | Schaff Glen D. | Video-monitor/recording/playback system |
CN201163777Y (en) * | 2007-12-03 | 2008-12-10 | 北京康拓科技开发总公司 | Networking test equipment |
CN103136095A (en) * | 2011-11-28 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Method, device and system of test application program interface |
CN103475637A (en) * | 2013-04-24 | 2013-12-25 | 携程计算机技术(上海)有限公司 | Network access control method and system based on IP access behaviors |
CN103856774A (en) * | 2014-02-28 | 2014-06-11 | 北京航科威视光电信息技术有限公司 | Intelligent detection system and method for video surveillance |
CN104378382A (en) * | 2014-11-28 | 2015-02-25 | 上海斐讯数据通信技术有限公司 | Multiple client wireless authentication system and authentication method thereof |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107302476A (en) * | 2017-08-04 | 2017-10-27 | 上海爱数信息技术股份有限公司 | A kind of automated testing method and system for testing asynchronous interactive system |
CN112154417A (en) * | 2018-05-21 | 2020-12-29 | 微软技术许可有限责任公司 | Sharing a code base between a stand-alone version and a Web-based version of an application via an emulated network communication channel |
CN108924951A (en) * | 2018-06-01 | 2018-11-30 | 晶晨半导体(上海)股份有限公司 | A kind of information interacting method |
CN108924951B (en) * | 2018-06-01 | 2021-11-26 | 晶晨半导体(上海)股份有限公司 | Information interaction method |
CN109508287A (en) * | 2018-10-16 | 2019-03-22 | 平安普惠企业管理有限公司 | Page adjustment method and terminal device |
CN111416792A (en) * | 2019-01-08 | 2020-07-14 | 杭州海康威视数字技术股份有限公司 | Internal authentication-free method of embedded equipment and embedded equipment |
CN113992407A (en) * | 2021-10-27 | 2022-01-28 | 北京天融信网络安全技术有限公司 | Security policy configuration method and device |
CN113992407B (en) * | 2021-10-27 | 2023-10-13 | 北京天融信网络安全技术有限公司 | Security policy configuration method and device |
CN115037795A (en) * | 2022-06-16 | 2022-09-09 | 上海睿赛德电子科技有限公司 | Multi-machine communication method for embedded equipment |
CN115037795B (en) * | 2022-06-16 | 2024-02-02 | 上海睿赛德电子科技有限公司 | Multi-machine communication method for embedded equipment |
CN116132194A (en) * | 2023-03-24 | 2023-05-16 | 杭州海康威视数字技术股份有限公司 | Method, system and device for detecting and defending unknown attack intrusion of embedded equipment |
CN116132194B (en) * | 2023-03-24 | 2023-06-27 | 杭州海康威视数字技术股份有限公司 | Method, system and device for detecting and defending unknown attack intrusion of embedded equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106921716B (en) | 2020-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106921716A (en) | The method and device of the network service process of debugging embedded equipment | |
US11362986B2 (en) | Resolution of domain name requests in heterogeneous network environments | |
Bartal et al. | Firmato: A novel firewall management toolkit | |
CN104506670B (en) | Establish method, equipment and the system of network game connection | |
CN109936547A (en) | Identity identifying method, system and calculating equipment | |
CN106487556B (en) | Service function SF deployment method and device | |
US20180375841A1 (en) | Systems and methods for enterprise communications | |
CN108259642A (en) | Public service virtual machine access method and device based on private clound | |
CN108769292A (en) | Message data processing method and processing device | |
CN107426339A (en) | A kind of cut-in method, the apparatus and system of data interface channel | |
CN112866077B (en) | Large-scale automatic networking method, management system, equipment and storage medium for modality fusion | |
CN103179100A (en) | Method and device for preventing the attack on a domain name system tunnel | |
CN112437100A (en) | Vulnerability scanning method and related equipment | |
CN105516397B (en) | Method for accessing multiple operating system terminals into network and multiple operating system terminals | |
CN111786989B (en) | Communication processing method and device and electronic equipment | |
KR100779259B1 (en) | Method and system for unified session control of multiple management servers on network appliances | |
CN106027387B (en) | A kind of processing method of voice service, gateway and system | |
CN110971701B (en) | Internet of things communication method and device | |
Li | Policy-based IPsec management | |
AU2013300091B2 (en) | Method and apparatus for using rendezvous server to make connections to fire alarm panels | |
CN110049024A (en) | A kind of data transmission method, transfer server and access site server | |
CN115361125A (en) | VPN network system based on quantum key technology | |
CN110266715B (en) | Remote access method, device, equipment and computer readable storage medium | |
CN101124548A (en) | Virtual private network with pseudo server | |
CN106789344A (en) | Data transmission method, system, CDN and client |
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 |