CN105337752A - Method and apparatus for transmitting and receiving program error information BUG between local area networks - Google Patents

Method and apparatus for transmitting and receiving program error information BUG between local area networks Download PDF

Info

Publication number
CN105337752A
CN105337752A CN201410371242.1A CN201410371242A CN105337752A CN 105337752 A CN105337752 A CN 105337752A CN 201410371242 A CN201410371242 A CN 201410371242A CN 105337752 A CN105337752 A CN 105337752A
Authority
CN
China
Prior art keywords
local area
lan
equipment
area network
mail
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410371242.1A
Other languages
Chinese (zh)
Other versions
CN105337752B (en
Inventor
洪晓健
张丙鹏
罗运鹏
董威一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Changyou Tianxia Network Technologies Co Ltd
Original Assignee
Beijing Changyou Tianxia Network Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Changyou Tianxia Network Technologies Co Ltd filed Critical Beijing Changyou Tianxia Network Technologies Co Ltd
Priority to CN201410371242.1A priority Critical patent/CN105337752B/en
Publication of CN105337752A publication Critical patent/CN105337752A/en
Application granted granted Critical
Publication of CN105337752B publication Critical patent/CN105337752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Embodiments of the invention provide a method and an apparatus for transmitting and receiving program error information BUG between local area networks. The local area networks comprise a first local area network and a second local area network, which are isolated from an external network, the first local area network comprises a first device, the first device has the authority of sending an E-mail to the external network, the second local area network comprises a second device, the second device has the authority of receiving the E-mail of the external network, and the method comprises the following steps: obtaining program error information BUG of the first device when executing a test case; organizing the program error information BUG to a specified E-mail according to a preset format; and sending the specified E-mail to the second device. The method provided by the invention is used for transmitting the program error information BUG between different local area networks and improving the transmission efficiency of the program error information BUG.

Description

The method and apparatus that between local area network (LAN), program error information BUG transmits and receives
Technical field
The present invention relates to Internet technical field, particularly relate to the device that between method and a kind of local area network (LAN), program error information BUG transmits that between a kind of local area network (LAN), program error information BUG transmits, and, the device that between a kind of method that between local area network (LAN), program error information BUG receives and a kind of local area network (LAN), program error information BUG receives.
Background technology
Large-scale R & D Enterprises geographically all sets up research and development centre different usually, such as may set up research and development centre in Tianjin and Beijing respectively.For enterprise, the research and development of new product are very high to the requirement of maintaining secrecy, so the independent local area network (LAN) that research and development centre generally adopts, enterprises development environment and external the Internet disconnected thus, leak to avoid the research and development content of new product.
When the research and development centre of different geographical needs to have worked in coordination research and development, owing to adopting independently local area network (LAN) and external the Internet to disconnect, therefore do not transmit mutually research and development information by the Internet.Such as, when a game is tested simultaneously time, suppose to want the program error information BUG tested out to pass to R&D team of Pekinese so that carry out debugging and the improvement of follow-up entirety in the R&D team of Tianjin, but because the network between Tianjin and research and development centre of Pekinese disconnects, therefore do not carry out transmission procedure error message BUG by the Internet.Current mode is the record being carried out program error information BUG by phone, the R&D team of such as Tianjin is by the program error information BUG of R&D team of the Pekinese game that tells by telephone, then R&D team of Pekinese carries out recording and arranging, but this mode efficiency is too low, can not meet at present for the requirement of new product development.
Therefore, the technical problem needing those skilled in the art urgently to solve at present is exactly: the transmission policy proposing a kind of program error information BUG, in order to transmit the program error information BUG between LAN, improve the transmission efficiency of program error information BUG.
Summary of the invention
Embodiment of the present invention technical problem to be solved is to provide a kind of a kind of method that between method and local area network (LAN), program error information BUG receives that between local area network (LAN), program error information BUG transmits, in order to transmit the program error information BUG between LAN, improve the transmission efficiency of program error information BUG.
Accordingly, the embodiment of the present invention additionally provides the device that between device and a kind of local area network (LAN), program error information BUG receives that between a kind of local area network (LAN), program error information BUG transmits, in order to ensure the implementation and application of said method.
In order to solve the problem, the invention discloses a kind of method that between local area network (LAN), program error information BUG transmits, described local area network (LAN) comprises first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment is comprised in described first local area network (LAN), described first equipment has externally network and sends the authority of Email, comprise the second equipment in described second local area network (LAN), described second equipment has the authority receiving external network Email, and described method comprises:
Obtain the program error information BUG when described first equipment implementation of test cases;
According to preset format, described program error information BUG is organized as specific e-mail;
Described specific e-mail is sent to described second equipment.
Preferably, in described first equipment, be provided with the first management system TestLink, the integrated fault of described TestLink follows the tracks of Mantis assembly, and the step of the program error information BUG of described acquisition when described first equipment implementation of test cases comprises:
When described first equipment implementation of test cases discovery procedure error message BUG, receive and open instruction;
Open instruction described in foundation and open described Mantis assembly;
Described program error information BUG is received in described Mantis assembly.
Preferably, described specific e-mail comprises mail header and message body, and described preset format comprises mail piece identifiers and mail format, describedly the step that described program error information BUG is organized as specific e-mail is comprised according to preset format:
Described mail piece identifiers is adopted to generate mail header;
Described mail format is adopted by described program error information BUG to generate message body;
Described mail header and message body are organized as specific e-mail.
Preferably, described program error information BUG comprises at least one of program error summary, finder's information, program error seriousness, program error Production Version, program error details.
The embodiment of the invention also discloses a kind of method that between local area network (LAN), program error information BUG receives, described local area network (LAN) comprises first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment is comprised in described first local area network (LAN), described first equipment has externally network and sends the authority of Email, the second equipment is comprised in described second local area network (LAN), described first equipment has the authority receiving external network Email, and described method comprises:
Receive the Email that described first equipment sends; Judge whether described Email is specific e-mail;
If so, then resolve described specific e-mail and obtain program error information BUG.
Preferably, described Email comprises mail header; Describedly judge that whether described Email is that the step of specific e-mail comprises:
Mail header is extracted from described Email;
Judge whether described mail header is preset mail piece identifiers;
If so, then judge that described Email is as specific e-mail.
Preferably, described specific e-mail also comprises message body; In described second equipment, be provided with the second management system TestTrack, the step that the described specific e-mail of described parsing obtains program error information BUG comprises:
From described specific e-mail, extract message body, and adopt described message body to generate temporary file;
Resolve described temporary file and obtain program error information BUG;
Described program error information BUG is imported in described TestTrack.
The embodiment of the invention also discloses the device that between a kind of local area network (LAN), program error information BUG transmits, described local area network (LAN) comprises first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment is comprised in described first local area network (LAN), described first equipment has externally network and sends the authority of Email, the second equipment is comprised in described second local area network (LAN), described second equipment has the authority receiving external network Email, and described device comprises:
Obtain module, for obtaining the program error information BUG when described first equipment implementation of test cases;
Molded tissue block, for being organized as specific e-mail according to preset format by described program error information BUG;
Sending module, for being sent to described second equipment by described specific e-mail.
Preferably, in described first equipment, be provided with the first management system TestLink, the integrated fault of described TestLink follows the tracks of Mantis assembly, and described acquisition module comprises:
Instruction receives submodule, for when when described first equipment implementation of test cases discovery procedure error message BUG, receives and opens instruction;
Submodule opened by assembly, for opening described Mantis assembly according to opening instruction;
Fault receives submodule, for receiving described program error information BUG in described Mantis assembly.
The embodiment of the invention also discloses the device that between a kind of local area network (LAN), program error information BUG receives, described local area network (LAN) comprises first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment is comprised in described first local area network (LAN), described first equipment has externally network and sends the authority of Email, the second equipment is comprised in described second local area network (LAN), described first equipment has the authority receiving external network Email, and described device comprises:
Receiver module, for receiving the Email that described first equipment sends;
Judge module, for judging whether described Email is specific e-mail; If so, then generation module is called;
Generation module, for according to described specific e-mail generator error message BUG.
Compared with prior art, the embodiment of the present invention comprises following advantage:
Relate to independently the first local area network (LAN) and the second local area network (LAN) in embodiments of the present invention, the equipment that one only has the authority of externally network transmission Email is set in the first local area network (LAN) inside, the equipment that one only has the authority receiving external network Email is set in the second local area network (LAN) inside.When there is program error information BUG in the equipment implementation of test cases of the first local area network (LAN), record this program error information BUG, and this program error information BUG is informed the equipment of the second local area network (LAN) with the form of Email.Because program error information BUG is not high for confidentiality requirement, therefore adopt the form of Email to transmit in embodiments of the present invention, after the equipment at the second local area network (LAN) receives this Email, automatically the task of analyzing E-mail can be triggered, analyzing E-mail obtains program error information BUG, based on the program error information BUG transfer mode of Email, simple and be easy to realize, and transmission efficiency is high.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the embodiment of the method that between a kind of local area network (LAN) of the present invention, program error information BUG transmits;
Fig. 2 is the flow chart of steps of the embodiment of the method that between a kind of local area network (LAN) of the present invention, program error information BUG receives;
Fig. 3 is the structured flowchart of the embodiment of the method that between a kind of local area network (LAN) of the present invention, program error information BUG transmits;
Fig. 4 is the structured flowchart of the embodiment of the method that between a kind of local area network (LAN) of the present invention, program error information BUG receives.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
After the carefully analyzing of inventor, consider that the confidentiality requirement of program error information BUG is not high, therefore adopt the form of Email to carry out transmission procedure error message BUG in embodiments of the present invention.Therefore, a core idea of the embodiment of the present invention is, for in independently the first local area network (LAN) and the second local area network (LAN), consider internal information safety, the equipment that one only has the authority of externally network transmission Email is set in the first local area network (LAN) inside, the equipment that one only has the authority receiving external network Email is set in the second local area network (LAN) inside.When there is program error information BUG in the equipment implementation of test cases of the first local area network (LAN), record this program error information BUG, and this program error information BUG is transformed to Email, the equipment of the authority of Email is sent by having externally network, the equipment passing to the second local area network (LAN) inside is set to the equipment only with the authority receiving external network Email, and after receiving Email, automatic triggering tasks, analyzing E-mail obtains program error information BUG.
With reference to Fig. 1, show the flow chart of steps of the embodiment of the method that program error information BUG transmits between a kind of local area network (LAN) of the present invention, described local area network (LAN) can comprise first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment can be comprised in described first local area network (LAN), described first equipment can have externally network and send the authority of Email, can comprise the second equipment in described second local area network (LAN), described second equipment can have the authority receiving external network Email;
In specific implementation, local area network (LAN) inside can comprise one or more equipment.Wherein, equipment in a local network can be computer, server etc.
It should be noted that, local area network (LAN) is in embodiments of the present invention mutually independently, and isolates with external the Internet, therefore the equipment in local area network (LAN) can not arbitrarily be connected with external the Internet.For the equipment of inside, the Internet, based on the research and development demand of reality, can the different authority of relative set.Such as, a certain equipment only can be allowed to have and send the authority of Email with externally network, or only allow a certain equipment to have the authority receiving external network Email, the embodiment of the present invention is not limited this.
Described method specifically can comprise the steps:
Step 101, obtains the program error information BUG when described first equipment implementation of test cases;
In one preferred embodiment of the invention, can be provided with the first management system TestLink in described first equipment, described TestLink integrated fault can follow the tracks of Mantis assembly, and described step 101 can comprise following sub-step:
Sub-step S11, when when described first equipment implementation of test cases discovery procedure error message BUG, receives and opens instruction;
Sub-step S12, opens instruction and opens described Mantis assembly described in foundation;
Sub-step S13, receives described program error information BUG in described Mantis assembly.
In specific implementation, when tester is in implementation of test cases, if discovery procedure error message BUG, then can record the program error information BUG of this test case.
In a kind of example of embody rule of the present invention, suppose that there is research and development centre in enterprise in Tianjin and Beijing foundation, and Tianjin and research and development centre of Pekinese use two independently local area network (LAN)s.
In the local area network (LAN) of Tianjin, there is platform equipment (being called for short A equipment) that management system TestLink has been installed, in TestLink, be integrated with fault follow the tracks of Mantis assembly, only have A equipment to have in this Tianjin local area network (LAN) authority that past outer net sends out mail, other equipment cannot transmit any data to outer net, therefore can ensure the information security of local area network (LAN) inside, Tianjin.
Have platform equipment (be called for short B equipment) to install management system TestTrack in the local area network (LAN) of Beijing, the examination personnel in the local area network (LAN) of Beijing all can use TestTrack on B equipment as Fault Management System.In the local area network (LAN) of Beijing, all devices externally cannot send any information in the Internet, but can receive external the Internet send Email.In practice, TestTrack can be deployed on one or more equipment in the local area network (LAN) of Beijing.
In specific implementation, when the tester of Tianjin local area network (LAN) is according to TestLink implementation of test cases, if discovery procedure error message BUG, then open the program error information BUG of this test case of Mantis component record of TestLink, and Mantis assembly also by according to the configuration information preset, notifies Beijing local area network (LAN) discovery procedure error message BUG with the form of Email or other forms.
It should be noted that, can also transmit other information between local area network (LAN) in the embodiment of the present invention, such as test case etc., the embodiment of the present invention is not limited this.
Step 102, is organized as specific e-mail according to preset format by described program error information BUG;
In one preferred embodiment of the invention, described specific e-mail can comprise mail header and message body, can comprise mail piece identifiers and mail format in described preset format, and described step 102 can comprise following sub-step:
Sub-step S21, adopts described mail piece identifiers to generate mail header;
Sub-step S22, adopts described mail format to generate message body by described program error information BUG;
Sub-step S23, is organized as specific e-mail by described mail header and message body.
In a kind of example of embody rule of the present invention, suppose the program error information BUG recording test case in the Mantis assembly on the local area network (LAN) A equipment of Tianjin, then can arrange Email according to program error information BUG, inform the program error information BUG of Beijing this test case of local area network (LAN) B equipment.
Specifically, " [TestTrack]: " can be adopted to be prefix in the mail header of Email, to represent that this Email is the Email specifically carrying test case program error information BUG, other information can also be increased in addition after prefix, the such as writing time of this program error information BUG, or logging program mistake summary, program error product information and program error seriousness etc., certainly, mail header also only can adopt prefix.Concrete program error information BUG is then filled in the message body of Email, every a line content in message body can in order to represent wherein one or multinomial, or the program error information BUG of certain aspect, or the multiple line content in message body also can in order to the program error information BUG representing.
In embodiments of the present invention, described program error information BUG can comprise at least one that program error information BUG can comprise program error summary, finder's information, program error seriousness, program error Production Version, program error details, certainly, other relevant informations can also be comprised.In order to make those skilled in the art understand the embodiment of the present invention better, below adopt concrete Email exemplarily.
Email
Mail header: [TestTrack]: role cannot log in 2014-6-15
Message body: the first row program error is made a summary: role cannot log in;
Second row finder information: zhangbingpeng;
The third line program error severity: very serious
Fourth line program error Production Version: 0.42.0616.0700;
Fifth line program error details
It should be noted that, can according to the actual requirements in described Email, the content of corresponding interpolation or minimizing mail header or message body, the embodiment of the present invention is not limited this.
Step 103, is sent to described second equipment by described specific e-mail.
In embodiments of the present invention, if program error information BUG appears in the equipment implementation of test cases in a certain local area network (LAN), transmission Email is informed the program error information BUG of this test case of equipment of another local area network (LAN).Such as, when supposing implementation of test cases in the equipment of Tianjin local area network (LAN) and occur program error information BUG, Email can be generated according to program error information BUG, and this Email is sent to the appointment account AutoTest***.com of Beijing local area network (LAN).
Certainly, other modes can also be adopted in practice to inform the program error information BUG that other local area network (LAN)s occur when implementation of test cases, the embodiment of the present invention to this without the need to being limited.
In embodiments of the present invention; equipment in local area network (LAN) arbitrarily can not connect external network; be only that equipment in local area network (LAN) arranges authority for actual demand; such as be set to only have externally network and send the authority of Email; only have the authority receiving external network Email, the way that limiting device is connected with external network can the fail safe of available protecting local area network (LAN) internal data.
With reference to Fig. 2, show the flow chart of steps of the embodiment of the method that program error information BUG transmits between a kind of local area network (LAN) of the present invention, described local area network (LAN) can comprise first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment can be comprised in described first local area network (LAN), described first equipment can have externally network and send the authority of Email, the second equipment can be comprised in described second local area network (LAN), described second equipment can have the authority receiving external network Email, and described method specifically can comprise the steps:
Step 201, receives the Email that described first equipment sends;
When there is program error information BUG in certain local area network (LAN), other local area network (LAN)s can receive the Email carrying program error information BUG.Specifically, other local area network (LAN)s can pass through the Email of mail server reception from external interconnections network of SMPT (SimpleMailTransportProtocol, Simple Mail Transfer protocol).
It should be noted that, because the Email transmitted between local area network (LAN) is more, periodic cleaning Email can be set, avoid the accumulation due to Email, and the problem of other follow-up Emails cannot be received.
Step 202, judges whether described Email is specific e-mail; If so, then step 203 is performed;
In one preferred embodiment of the invention, described Email can comprise mail header; Described step 202 can comprise following sub-step:
Sub-step S31, extracts mail header from described Email;
Sub-step S32, judges whether described mail header is preset mail piece identifiers; If so, then sub-step S33 is performed;
Sub-step S33, judges that described Email is as specific e-mail.
In specific implementation, for the Email received, whether whether what can judge this Email according to the mail header of this Email is specific Email, be namely the Email carrying program error information BUG.
Equipment in a local network use the plug-in unit in Outlook mailbox to realize automatic trigger mechanism, realizing the real-time monitoring of Email and automatic triggering tasks, when receiving specific Email, automatically can trigger the task of analyzing E-mail.Particularly, if find that mail header is consistent with preset mail piece identifiers, then can judge that this Email is as the Email carrying program error information BUG, the task of the message body performing analyzing E-mail can be continued afterwards, otherwise, if find that mail header and preset mail piece identifiers are inconsistent, then can judge that this Email is not the Email carrying program error information BUG needing parsing, can not further process.
Step 203, resolves described specific e-mail and obtains program error information BUG.
In one preferred embodiment of the invention, described Email can also comprise message body; Can be provided with the second management system TestTrack in described second equipment, described step 203 can comprise following sub-step:
Sub-step S41, extracts message body from described Email, and adopts described message body to generate temporary file;
Sub-step S42, resolves described temporary file and obtains program error information BUG;
Sub-step S43, imports described program error information BUG in described TestTrack.
In embodiments of the present invention, program error information BUG can be stored in message body, therefore judge that Email is as when carrying the Email of program error information BUG, can trigger the task of automatic analyzing E-mail, arrange out program error information BUG according to message body.
In a kind of example of embody rule of the present invention, suppose that the equipment (supposing B equipment) in the local area network (LAN) of Beijing can by the Email of SMPT mail server reception from external network.
The B equipment of Beijing local area network (LAN) can dispose test case management system TestTrack, B equipment installed Outlook mailbox and configure an Email Accounts of specifying (being assumed to be this Email Accounts of specifying is AutoTest***.com), being specifically designed to reception and reporting from Tianjin local area network (LAN) the Email carrying program error information BUG.
The TestTrack of the B its upper side administration of Beijing local area network (LAN) can comprise OutLook plug-in unit and TestLink plug-in unit two parts, OutLook plug-in unit is arranged on the Outlook mailbox on B equipment, and TestLink plug-in unit then can be deployed in TestTrack institute under the root directory with the form of a script
When implementation of test cases when there is program error information BUG on the A equipment of Tianjin local area network (LAN), on the A equipment of Tianjin local area network (LAN), Mantis assembly sends the Email carrying program error information BUG to the particular account number AutoTest***.com of Beijing local area network (LAN).Particularly, the mail header of this Email with " [TestTrack]: " for prefix, be specific e-mail for indicating this Email, in addition, the message body of this Email comprises program error information BUG, wherein every a line content representation defect content, such as the first row is " program error is made a summary: role cannot log in ", second row is " finder: zhangbingpeng ", the third line is " program error seriousness: very serious ", fourth line is " program error Production Version: 0.42.0616.0700 ", fifth line is " program error details " etc. content.
In the local area network (LAN) of Beijing, the OutLook mailbox of B deployed with devices is installed mail and is automatically triggered plug-in unit, owing to have registered NewMailEx event in plug-in unit, then any new Email arrives and all can trigger this plug-in unit, therefore, when the mailbox AutoTest***.com specified receives new e-mail, the trace routine that this plug-in unit performs Email can automatically be triggered.
After Outlook mailbox on B equipment in the local area network (LAN) of Beijing receives the Email issuing the account AutoTest***.com specified, whether perform mail header that trace routine removes first to detect this Email is prefix beginning with " [TestTrack]: ", if, then represent it is need the Email carrying program error information BUG to be processed, then need to carry out next step operation, if not, then can abandon, not need to be further processed.
Specifically, when finding it is when to be processedly need carry the Email of program error information BUG, extract the message body content of this Email, read often row content, such as the first row is " program error is made a summary: role cannot log in ", second row is " finder: zhangbingpeng ", the third line is " program error seriousness: very serious ", fourth line is " program error Production Version: 0.42.0616.0700 ", fifth line is " program error details " etc. content, reading of content is filled in order in a txt temporary file, and record the filename of this txt temporary file.
After the plug-in unit generation txt temporary file of OutLook mailbox, B equipment uses Process process mechanism run the plug-in script of TestTrack, the filename of txt temporary file is passed to the script working procedure of TestTrack as parameter.TestTrack script working procedure gets txt temporary file according to filename, and start to resolve txt temporary file, call the API (ApplicationProgrammingInterface that TestTrack provides, application programming interfaces) interface function, according to the program error summary that txt temporary file provides, finder's information, program error seriousness, the version number of program error product, the information structurings such as program error details go out a program error BUG example, then api interface function is called by the program error BUG example that constructed stored in TestLink.So far, the importing process of the program error information BUG between local area network (LAN) completes, and can check the new fault diagnosis example newly-built according to program error information BUG imported in TestTrack.
The api interface that TestTrack provides in embodiments of the present invention can support language such as C#, Python etc., again can write for api interface in practice, api interface such as C# type can rewrite C# type structure, and the embodiment of the present invention is not limited this.
Relate to independently the first local area network (LAN) and the second local area network (LAN) in embodiments of the present invention, the equipment that one only has the authority of externally network transmission Email is set in the first local area network (LAN) inside, the equipment that one only has the authority receiving external network Email is set in the second local area network (LAN) inside.When there is program error information BUG in the equipment implementation of test cases of the first local area network (LAN), record this program error information BUG, and this program error information BUG is informed the equipment of the second local area network (LAN) with the form of Email.Because program error information BUG is not high for confidentiality requirement, therefore adopt the form of Email to transmit in embodiments of the present invention, after the equipment at the second local area network (LAN) receives this Email, automatically the task of analyzing E-mail can be triggered, analyzing E-mail obtains program error information BUG, based on the program error information BUG transfer mode of Email, simple and be easy to realize, and transmission efficiency is high.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 3, show the structured flowchart of the device embodiment that program error information BUG transmits between a kind of local area network (LAN) of the present invention, described local area network (LAN) can comprise first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment can be comprised in described first local area network (LAN), described first equipment can have externally network and send the authority of Email, the second equipment can be comprised in described second local area network (LAN), described second equipment can have the authority receiving external network Email, and described device specifically can comprise as lower module:
Obtain module 301, for obtaining the program error information BUG when described first equipment implementation of test cases;
Molded tissue block 302, for being organized as Email according to preset format by described program error information BUG;
Sending module 303, for being sent to described second equipment by described Email.
In one preferred embodiment of the invention, can be provided with the first management system TestLink in described first equipment, described TestLink can comprise fault and follow the tracks of Mantis assembly, and described acquisition module 301 can comprise following submodule:
Instruction receives submodule, for when when described first equipment implementation of test cases discovery procedure error message BUG, receives and opens instruction;
Submodule opened by assembly, for opening described Mantis assembly according to opening instruction;
Fault receives submodule, for receiving described program error information BUG in described Mantis assembly.
In one preferred embodiment of the invention, described Email can comprise mail header and message body, can comprise mail piece identifiers and mail format in described preset format, and described molded tissue block 302 can comprise following submodule:
Mail header generates submodule, generates mail header for adopting described mail piece identifiers;
Message body generates submodule, generates message body for described program error information BUG being adopted described mail format;
Mail organizes submodule, for described mail header and message body are organized as Email.
In one preferred embodiment of the invention, described program error information BUG can comprise at least one of program error summary, finder's information, program error seriousness, program error Production Version, fault detail information.
With reference to Fig. 4, show the structured flowchart of the device embodiment that program error information BUG transmits between a kind of local area network (LAN) of the present invention, described local area network (LAN) can comprise first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment can be comprised in described first local area network (LAN), described first equipment can have externally network and send the authority of Email, the second equipment can be comprised in described second local area network (LAN), described second equipment can have the authority receiving external network Email, and described device specifically can comprise as lower module:
Receiver module 401, for receiving the Email that described first equipment sends; Judge module 402, for judging whether described Email is specific e-mail; If so, generation module 403 is then called;
In one preferred embodiment of the invention, described Email can comprise mail header; Described judge module 402 can comprise following submodule:
Mail piece identifiers extracts submodule, for extracting mail header from described Email;
Mail piece identifiers judges submodule, for judging whether described mail header is preset mail piece identifiers; If so, then call the first decision sub-module, if not, then call the second decision sub-module;
First decision sub-module, for judging that described Email is as specific e-mail.
Generation module 403, obtains program error information BUG for resolving described specific e-mail;
In one preferred embodiment of the invention, described Email can also comprise message body; Can be provided with the second management system TestTrack in described second equipment, described generation module 403 can comprise following submodule:
Message body extracts submodule, for extracting message body from described specific e-mail, and adopts described message body to generate temporary file;
Analyzing sub-module, obtains program error information BUG for resolving described temporary file;
Import submodule, for being imported in described TestTrack by described program error information BUG.
In one preferred embodiment of the invention, described program error information BUG can comprise at least one of program error summary, finder's information, program error seriousness, program error Production Version, program error details.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The embodiment of the present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, terminal equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce an equipment, making the instruction performed by the processor of computer or other programmable data processing terminal equipment produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computer or other programmable terminal equipment, thus the instruction performed on computer or other programmable terminal equipment is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of embodiment of the present invention scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal equipment comprising described key element and also there is other identical element.
Above between a kind of local area network (LAN) provided by the present invention program error information BUG transmit method and a kind of local area network (LAN) between program error information BUG transmit device, and, the device that between a kind of method that between local area network (LAN), program error information BUG receives and a kind of local area network (LAN), program error information BUG receives, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. the method that between a local area network (LAN), program error information BUG transmits, it is characterized in that, described local area network (LAN) comprises first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment is comprised in described first local area network (LAN), described first equipment has externally network and sends the authority of Email, comprise the second equipment in described second local area network (LAN), described second equipment has the authority receiving external network Email, and described method comprises:
Obtain the program error information BUG when described first equipment implementation of test cases;
According to preset format, described program error information BUG is organized as specific e-mail;
Described specific e-mail is sent to described second equipment.
2. method according to claim 1, it is characterized in that, in described first equipment, the first management system TestLink is installed, the integrated fault of described TestLink follows the tracks of Mantis assembly, and the step of the program error information BUG of described acquisition when described first equipment implementation of test cases comprises:
When described first equipment implementation of test cases discovery procedure error message BUG, receive and open instruction;
Open instruction described in foundation and open described Mantis assembly;
Described program error information BUG is received in described Mantis assembly.
3. method according to claim 1 and 2, it is characterized in that, described specific e-mail comprises mail header and message body, described preset format comprises mail piece identifiers and mail format, describedly the step that described program error information BUG is organized as specific e-mail is comprised according to preset format:
Described mail piece identifiers is adopted to generate mail header;
Described mail format is adopted by described program error information BUG to generate message body;
Described mail header and message body are organized as specific e-mail.
4. method according to claim 1, is characterized in that, described program error information BUG comprises at least one of program error summary, finder's information, program error seriousness, program error Production Version, program error details.
5. the method that between a local area network (LAN), program error information BUG receives, it is characterized in that, described local area network (LAN) comprises first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment is comprised in described first local area network (LAN), described first equipment has externally network and sends the authority of Email, comprise the second equipment in described second local area network (LAN), described first equipment has the authority receiving external network Email, and described method comprises:
Receive the Email that described first equipment sends; Judge whether described Email is specific e-mail;
If so, then resolve described specific e-mail and obtain program error information BUG.
6. according to the method that claim 5 is stated, it is characterized in that, described Email comprises mail header; Describedly judge that whether described Email is that the step of specific e-mail comprises:
Mail header is extracted from described Email;
Judge whether described mail header is preset mail piece identifiers;
If so, then judge that described Email is as specific e-mail.
7. the method according to claim 5 or 6, is characterized in that, described specific e-mail also comprises message body; In described second equipment, be provided with the second management system TestTrack, the step that the described specific e-mail of described parsing obtains program error information BUG comprises:
From described specific e-mail, extract message body, and adopt described message body to generate temporary file;
Resolve described temporary file and obtain program error information BUG;
Described program error information BUG is imported in described TestTrack.
8. the device that between a local area network (LAN), program error information BUG transmits, it is characterized in that, described local area network (LAN) comprises first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment is comprised in described first local area network (LAN), described first equipment has externally network and sends the authority of Email, comprise the second equipment in described second local area network (LAN), described second equipment has the authority receiving external network Email, and described device comprises:
Obtain module, for obtaining the program error information BUG when described first equipment implementation of test cases;
Molded tissue block, for being organized as specific e-mail according to preset format by described program error information BUG;
Sending module, for being sent to described second equipment by described specific e-mail.
9. device according to claim 8, is characterized in that, in described first equipment, be provided with the first management system TestLink, and the integrated fault of described TestLink follows the tracks of Mantis assembly, and described acquisition module comprises:
Instruction receives submodule, for when when described first equipment implementation of test cases discovery procedure error message BUG, receives and opens instruction;
Submodule opened by assembly, for opening described Mantis assembly according to opening instruction;
Fault receives submodule, for receiving described program error information BUG in described Mantis assembly.
10. the device that between a local area network (LAN), program error information BUG receives, it is characterized in that, described local area network (LAN) comprises first local area network (LAN) and the second local area network (LAN) of isolating with external network, the first equipment is comprised in described first local area network (LAN), described first equipment has externally network and sends the authority of Email, comprise the second equipment in described second local area network (LAN), described first equipment has the authority receiving external network Email, and described device comprises:
Receiver module, for receiving the Email that described first equipment sends;
Judge module, for judging whether described Email is specific e-mail; If so, then generation module is called;
Generation module, for according to described specific e-mail generator error message BUG.
CN201410371242.1A 2014-07-30 2014-07-30 Program error information BUG transmission and received method and apparatus between local area network Active CN105337752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410371242.1A CN105337752B (en) 2014-07-30 2014-07-30 Program error information BUG transmission and received method and apparatus between local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410371242.1A CN105337752B (en) 2014-07-30 2014-07-30 Program error information BUG transmission and received method and apparatus between local area network

Publications (2)

Publication Number Publication Date
CN105337752A true CN105337752A (en) 2016-02-17
CN105337752B CN105337752B (en) 2019-02-05

Family

ID=55288067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410371242.1A Active CN105337752B (en) 2014-07-30 2014-07-30 Program error information BUG transmission and received method and apparatus between local area network

Country Status (1)

Country Link
CN (1) CN105337752B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060031323A1 (en) * 2004-06-29 2006-02-09 International Business Machines Corporation Systems, methods, and media for database synchronization on a network
CN1843007A (en) * 2003-06-30 2006-10-04 北方电讯网络有限公司 Method and system for providing network synchronization with a unified messaging system
CN102098321A (en) * 2009-12-11 2011-06-15 北大方正集团有限公司 Remote data query method, system and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1843007A (en) * 2003-06-30 2006-10-04 北方电讯网络有限公司 Method and system for providing network synchronization with a unified messaging system
US20060031323A1 (en) * 2004-06-29 2006-02-09 International Business Machines Corporation Systems, methods, and media for database synchronization on a network
CN102098321A (en) * 2009-12-11 2011-06-15 北大方正集团有限公司 Remote data query method, system and device

Also Published As

Publication number Publication date
CN105337752B (en) 2019-02-05

Similar Documents

Publication Publication Date Title
US10528454B1 (en) Intelligent automation of computer software testing log aggregation, analysis, and error remediation
CN107294808A (en) The methods, devices and systems of interface testing
US20220321440A1 (en) Interface Service Function Monitoring Method and System Based on Data Acquisition
CN105740121A (en) Log text monitoring and early-warning method and apparatus
CN103490917B (en) The detection method of troubleshooting situation and device
CN102497427B (en) Method and device for realizing data acquisition services of renewable energy source monitoring system
CN110287119A (en) A kind of automatic interface testing method and device based on python
CN108521339A (en) A kind of reaction type node failure processing method and system based on cluster daily record
CN103246606B (en) The performance test methods of ESB platform and system
US11362912B2 (en) Support ticket platform for improving network infrastructures
CN105099755A (en) Method, device and system for monitoring performance of website system
US11849492B2 (en) Unified query tool for network function virtualization architecture
CN103200296B (en) Method for information display, device and terminal
CN109921920A (en) A kind of failure information processing method and relevant apparatus
CN111125066B (en) Method and device for detecting functions of database auditing equipment
CN105337816A (en) Method and apparatus for ensuring data consistency between local area networks
CN116980186A (en) Abnormality determination method and device, electronic equipment and storage medium
CN105337752A (en) Method and apparatus for transmitting and receiving program error information BUG between local area networks
CN103646439B (en) A kind of method for inspecting and system possessing interactive function
Christos et al. Development of an IoT early warning platform for augmented decision support in oil & gas
CN109391496A (en) Alarm log method for uploading and device
US9240968B1 (en) Autogenerated email summarization process
CN115913912A (en) Message interception and service link diagram generation method and device
US20150163348A1 (en) Debug Line Tracer
CN105634790B (en) Amending method, network management system and the equipment of managed object

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant