Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for realizing Tclsh instruction long-distance call

A remote calling and remote technology, applied in transmission systems, digital transmission systems, software testing/debugging, etc., to achieve the effect of improving testing capabilities

Inactive Publication Date: 2009-01-28
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem that the remote call of Tclsh instruction cannot be realized in the prior art, the embodiment of the present invention provides a method for realizing the remote call of Tclsh instruction, which specifically includes the following steps:

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for realizing Tclsh instruction long-distance call
  • Method and system for realizing Tclsh instruction long-distance call
  • Method and system for realizing Tclsh instruction long-distance call

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but the present invention is not limited to the following embodiments.

[0023] see figure 2 , the embodiment of the present invention does not change the code of Tclsh self, by adding Socket thread in Tclsh process, and utilize the function of Socket self, the instruction that Socket thread receives is converted into Tclsh thread (in the prior art, be Tclsh process, In the embodiment of the present invention, it is the input of the Tclsh thread), thereby realizing the remote calling of the Tclsh instruction.

[0024] see image 3 and Figure 4 , the embodiment of the present invention provides a kind of method that realizes the remote invocation of Tclsh order, communicates between local Tclsh process and remote Tclsh process, specifically comprises the following steps:

[0025] Step 101: Create a local Tclsh process and a remote Tclsh proce...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is used for solving the issue of currently-used technology that is the Tclsh instruction can't be remotely called. The method comprises: creates a Tclsh thread containing Tclsh and Socket threads in local end and remote end; remote Socket thread receives the operation order from local Tclsh thread, and after conversion, transmits it to the remote Tclsh thread; remote Tclsh thread receives the order of getting result from local end through the Socket thread, and transmits the result to the local Tclsh thread through local Socket. The system thereof comprises: thread creating module, operation order transmitting module, operation order executing module, acquired result transmitting module, and acquired result executing module.

Description

technical field [0001] The invention relates to the field of communication testing, in particular to a method and a system for realizing remote calling of Tclsh commands. Background technique [0002] TCL (Tool Command Language) is a string-based command language with a complete infrastructure, relatively few syntax and a powerful inherent core command set, which is very easy to learn and use. Since TCL's interpreter is implemented with a C\C++ language procedure library, it has good scalability; at the same time, TCL is a language with a higher abstraction level than C\C++ language, and it is interpreted and executed, so Greatly increased the speed of developing debug scripts. For these two reasons, TCL has become a common tool language in the testing industry and a de facto standard in automated testing. TCL is executed through Tclsh, the command line program carrier of TCL language. see figure 1 , The Tclsh process interacts with the user through standard input (STDIO...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/26G06F11/22G06F11/36H04L12/24
Inventor 许健翔
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More