CN105337752B - Program error information BUG transmission and received method and apparatus between local area network - Google Patents

Program error information BUG transmission and received method and apparatus between local area network Download PDF

Info

Publication number
CN105337752B
CN105337752B CN201410371242.1A CN201410371242A CN105337752B CN 105337752 B CN105337752 B CN 105337752B CN 201410371242 A CN201410371242 A CN 201410371242A CN 105337752 B CN105337752 B CN 105337752B
Authority
CN
China
Prior art keywords
mail
local area
equipment
area network
program error
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.)
Active
Application number
CN201410371242.1A
Other languages
Chinese (zh)
Other versions
CN105337752A (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

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides program error information BUG transmission and received method and apparatus between a kind of local area network, the local area network includes the first local area network and the second local area network being isolated with external network, it include the first equipment in first local area network, the permission that there is first equipment external network to send Email, it include the second equipment in second local area network, second equipment has the permission for receiving external network Email, and the method includes: the program error information BUG obtained in the first equipment implementation of test cases;Described program error message BUG is organized as specific e-mail according to preset format;The specific e-mail is sent to second equipment.The present invention improves the transmission efficiency of program error information BUG to transmit the program error information BUG between Different LANs.

Description

Program error information BUG transmission and received method and apparatus between local area network
Technical field
The present invention relates to Internet technical fields, transmit more particularly to program error information BUG between a kind of local area network Method and a kind of local area network between program error information BUG transmission device, and, program error letter between a kind of local area network Cease the received device of program error information BUG between the received method of BUG and a kind of local area network.
Background technique
Large-scale R & D Enterprises usually geographically establish research and development centre in different, such as may be respectively in Tianjin and north Research and development centre is established in capital.For enterprise, requirement of the research and development of new product to secrecy is very high, so research and development centre generally uses Independent local area network, thus enterprises development environment and external the Internet are disconnected, let out to avoid the research and development content of new product Leakage.
When the research and development centre of different geographical needs work in coordination completion research and development, due to using independent local area network and outside Internet disconnects, therefore cannot transmit mutually research and development information by internet.For example, when a game is carried out while being tested When, it is assumed that the R&D team in Tianjin thinks that the program error information BUG that will be tested out passes to R&D team of Pekinese In order to carry out subsequent whole debugging and improvement, but since the network between Tianjin and research and development centre of Pekinese is to disconnect, It therefore cannot be by internet come transmission procedure error message BUG.Current mode is to carry out program error letter by phone Cease the record of BUG, such as R&D team's program error information for passing through R&D team of the Pekinese game that tells by telephone of Tianjin BUG, then R&D team of Pekinese is recorded and is arranged, but this mode efficiency is too low, is not able to satisfy at present for new The requirement of product development.
Therefore, a technical problem that needs to be urgently solved by technical personnel in the field at present is exactly: proposing a kind of program error The transmission policy of false information BUG improves program error information to transmit the program error information BUG between Different LANs The transmission efficiency of BUG.
Summary of the invention
The technical problem to be solved is that provide program error information BUG transmission between a kind of local area network for the embodiment of the present invention Method and a kind of local area network between the received method of program error information BUG, to transmit the program between Different LANs Error message BUG improves the transmission efficiency of program error information BUG.
Correspondingly, the embodiment of the invention also provides between a kind of local area network program error information BUG transmit device and The received device of program error information BUG between a kind of local area network, to guarantee the implementation and application of the above method.
To solve the above-mentioned problems, the invention discloses between a kind of local area network program error information BUG transmit method, The local area network includes the first local area network and the second local area network being isolated with external network, includes the in first local area network One equipment, the permission that there is first equipment external network to send Email, interior second local area network includes second Equipment, second equipment have the permission for receiving external network Email, and the method includes:
Obtain the program error information BUG in the first equipment implementation of test cases;
Described program error message BUG is organized as specific e-mail according to preset format;
The specific e-mail is sent to second equipment.
Preferably, the first integrated event of management system TestLink, the TestLink is installed in first equipment The step of barrier tracking Mantis component, the program error information BUG obtained in the first equipment implementation of test cases Include:
When the first equipment implementation of test cases finds program error information BUG, opening instruction is received;
The Mantis component is opened according to opening instruction;
Described program error message BUG is received in the Mantis component.
Preferably, the specific e-mail includes mail header and message body, includes mail in the preset format Mark and mail format, described the step of organizing described program error message BUG for specific e-mail according to preset format Include:
Mail header is generated using the mail piece identifiers;
Described program error message BUG is generated into message body using the mail format;
It is specific e-mail by the mail header and message body tissue.
Preferably, described program error message BUG include program error abstract, finder's information, program error seriousness, At least one of program error Production Version, program error details.
The embodiment of the invention also discloses the received method of program error information BUG, the locals between a kind of local area network Net includes the first local area network and the second local area network being isolated with external network, includes the first equipment in first local area network, The permission that there is first equipment external network to send Email, interior second local area network includes the second equipment, institute Stating the first equipment has the permission for receiving external network Email, and the method includes:
Receive the Email that first equipment is sent;Judge whether the Email is specific e-mail;
If so, parsing the specific e-mail obtains program error information BUG.
Preferably, the Email includes mail header;It is described to judge whether the Email is specific electron postal The step of part includes:
Mail header is extracted from the Email;
Judge whether the mail header is preset mail piece identifiers;
If so, determining the Email for specific e-mail.
Preferably, the specific e-mail further includes message body;The second management is installed in second equipment The step of system TestTrack, the parsing specific e-mail obtains program error information BUG includes:
Message body is extracted from the specific e-mail, and temporary file is generated using the message body;
It parses the temporary file and obtains program error information BUG;
Described program error message BUG is imported in the TestTrack.
The embodiment of the invention also discloses the device that program error information BUG between a kind of local area network is transmitted, the locals Net includes the first local area network and the second local area network being isolated with external network, includes the first equipment in first local area network, The permission that there is first equipment external network to send Email, interior second local area network includes the second equipment, institute Stating the second equipment has the permission for receiving external network Email, and the device includes:
Module is obtained, for obtaining the program error information BUG in the first equipment implementation of test cases;
Molded tissue block, for organizing described program error message BUG for specific e-mail according to preset format;
Sending module, for the specific e-mail to be sent to second equipment.
Preferably, the first integrated event of management system TestLink, the TestLink is installed in first equipment Barrier tracking Mantis component, the acquisition module include:
It indicates receiving submodule, is used for when the first equipment implementation of test cases finds program error information BUG, Receive opening instruction;
Component opens submodule, for opening the Mantis component according to opening instruction;
Failure receiving submodule, for receiving described program error message BUG in the Mantis component.
The embodiment of the invention also discloses the received device of program error information BUG, the locals between a kind of local area network Net includes the first local area network and the second local area network being isolated with external network, includes the first equipment in first local area network, The permission that there is first equipment external network to send Email, interior second local area network includes the second equipment, institute Stating the first equipment has the permission for receiving external network Email, and the device includes:
Receiving module, the Email sent for receiving first equipment;
Judgment module, for judging whether the Email is specific e-mail;If so, calling generation module;
Generation module, for generating program error information BUG according to the specific e-mail.
Compared with prior art, the embodiment of the present invention includes following advantages:
It is related to independent first local area network and the second local area network in embodiments of the present invention, is arranged inside the first local area network The equipment of one permission only with external network transmission Email, setting one only has and connects inside the second local area network The equipment for receiving the permission of external network Email.When program error letter occurs in the equipment implementation of test cases in the first local area network When ceasing BUG, program error information BUG is recorded, and program error information BUG is informed into second game in the form of E-mail The equipment of domain net.Since program error information BUG is not high for confidentiality requirement, therefore electronics is used in embodiments of the present invention The form of mail is transmitted, and after the equipment of the second local area network receives the Email, can parse electricity with automatic trigger The task of sub- mail, analyzing E-mail obtain program error information BUG, and the program error information BUG based on Email is passed Mode is passed, simply and is easily achieved, and transmission efficiency is high.
Detailed description of the invention
Fig. 1 is the step process for the embodiment of the method that program error information BUG is transmitted between a kind of local area network of the invention Figure;
Fig. 2 is the step process of the received embodiment of the method for program error information BUG between a kind of local area network of the invention Figure;
Fig. 3 is the structural block diagram for the embodiment of the method that program error information BUG is transmitted between a kind of local area network of the invention;
Fig. 4 is the structural block diagram of the received embodiment of the method for program error information BUG between a kind of local area network of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
After the carefully analyzing of inventor, it is contemplated that the confidentiality requirement of program error information BUG is not high, therefore at this Come transmission procedure error message BUG in the form of Email in inventive embodiments.Therefore, a core of the embodiment of the present invention Heart design is, in independent first local area network and the second local area network, it is contemplated that internal information safety, in the first local area network The equipment that inside setting one only sends the permission of Email with external network, is arranged one inside the second local area network Only there is the equipment for the permission for receiving external network Email.When journey occurs in the equipment implementation of test cases in the first local area network When sequence error message BUG, program error information BUG is recorded, and program error information BUG is transformed to Email, led to The equipment for sending the permission of Email with external network is crossed, the equipment inside the second local area network is passed to and is set as only having There is the equipment for the permission for receiving external network Email, and after receiving Email, automatic trigger task, parsing electricity Sub- mail obtains program error information BUG.
Referring to Fig.1, the embodiment of the method that program error information BUG is transmitted between a kind of local area network of the invention is shown Flow chart of steps, the local area network may include the first local area network and the second local area network being isolated with external network, described It may include the first equipment in one local area network, first equipment can have the permission that external network sends Email, It may include the second equipment in second local area network, second equipment can have the power for receiving external network Email Limit;
It in the concrete realization, may include one or more equipment inside local area network.Wherein, equipment in a local network can To be computer, server etc..
It should be noted that local area network in embodiments of the present invention is independent of each other, and it is isolated with external the Internet, Therefore the equipment in local area network cannot arbitrarily be connect with external the Internet.For the equipment inside internet, ground based on actual Different permissions can be accordingly arranged in hair demand.For example, can only allow a certain equipment to have sends electronics with external network The permission of mail, alternatively, a certain equipment is only allowed to have the permission for receiving external network Email, the embodiment of the present invention is to this It is without restriction.
The method can specifically include following steps:
Step 101, the program error information BUG in the first equipment implementation of test cases is obtained;
In one preferred embodiment of the invention, the first management system can be installed in first equipment TestLink, the TestLink can integrate failure tracking Mantis component, and the step 101 may include following sub-step It is rapid:
Sub-step S11 is received and is beaten when the first equipment implementation of test cases finds program error information BUG Open instruction;
Sub-step S12 opens the Mantis component according to opening instruction;
Sub-step S13 receives described program error message BUG in the Mantis component.
In the concrete realization, when tester is in implementation of test cases, if it find that program error information BUG, then may be used To record the program error information BUG of the test case.
In a kind of example of concrete application of the present invention, it is assumed that enterprise establishes in Tianjin and Beijing research and development centre, and Tianjin and research and development centre of Pekinese use two independent local area networks.
There is platform equipment (abbreviation A equipment) to be mounted with management system TestLink in the local area network of Tianjin, in TestLink It is integrated with failure tracking Mantis component, only A equipment has the permission toward outer net hair mail in the Tianjin local area network, other set It is standby to transmit any data to outer net, therefore can guarantee the information security inside the local area network of Tianjin.
There is platform equipment (abbreviation B device) to be mounted with management system TestTrack in the local area network of Beijing, in the local area network of Beijing The TestTrack on B device can be used as Fault Management System in examination personnel.All devices are without normal direction in the local area network of Beijing External the Internet sends any information, but can receive the Email of external the Internet transmission.In practice, TestTrack can be deployed in one or more equipment in the local area network of Beijing.
In the concrete realization, when the tester of Tianjin local area network is according to TestLink implementation of test cases, if hair Existing program error information BUG, then open the program error information BUG of the Mantis component record of the TestLink test case, And Mantis component will also be according to preset configuration information, and in the form of E-mail or other forms notify Beijing local area network It was found that program error information BUG.
It should be noted that other information, such as test case can also be transmitted in the embodiment of the present invention between local area network Etc., the embodiments of the present invention are not limited thereto.
Step 102, described program error message BUG is organized as specific e-mail according to preset format;
In one preferred embodiment of the invention, the specific e-mail may include mail header and mail just Text may include mail piece identifiers and mail format in the preset format, and the step 102 may include following sub-step:
Sub-step S21 generates mail header using the mail piece identifiers;
Described program error message BUG is generated message body using the mail format by sub-step S22;
The mail header and message body tissue are specific e-mail by sub-step S23.
In a kind of example of concrete application of the present invention, it is assumed that recorded in the Mantis component in the local area network A equipment of Tianjin The program error information BUG of test case then can arrange Email according to program error information BUG, inform Beijing local The program error information BUG of the net B device test case.
Specifically, the mail header in Email can use " [TestTrack]: " for prefix, to indicate the electricity Sub- mail is the Email for specifically carrying test case program error information BUG, in addition can also be increased after prefix Other information, such as record time or the logging program mistake abstract, program error product letter of program error information BUG Breath and program error seriousness etc., certainly, mail header can also be only with prefix.It is then filled out in the message body of Email Write specific program error information BUG, every a line content in message body can indicating one of them or multinomial, or Program error information BUG of the person in terms of some, alternatively, multiple line content in message body can also be to indicate one program Error message BUG.
In embodiments of the present invention, it may include journey that described program error message BUG, which may include program error information BUG, Sequence mistake abstract, finder's information, program error seriousness, program error Production Version, program error details are extremely Few one kind, it is, of course, also possible to include other relevant informations.In order to make those skilled in the art more fully understand implementation of the present invention Example, below using specific Email as example.
Email
Mail header: [TestTrack]: role can not log in 2014-6-15
Message body: the first row program error abstract: role can not log in;
Second row finder's information: zhangbingpeng;
The third line program error severity: very serious
Fourth line program erroneous products version number: 0.42.0616.0700;
Fifth line program error details
It should be noted that can according to actual needs in the Email, corresponding addition or reduction mail mark The content of topic or message body, the embodiments of the present invention are not limited thereto.
Step 103, the specific e-mail is sent to second equipment.
In embodiments of the present invention, if program error information occurs in the equipment implementation of test cases in a certain local area network Transmission Email is informed the program error information BUG of the equipment of another local area network test case by BUG.For example, it is assumed that Implementation of test cases and when there is program error information BUG in the equipment of Tianjin local area network, can be according to program error information BUG Email is generated, and the Email is sent to the specified account AutoTest@* * * .com of Beijing local area network.
Certainly, it can also inform what other local area networks occurred in implementation of test cases using other modes in practice Program error information BUG, the embodiment of the present invention need not be limit to this.
In embodiments of the present invention, the equipment in local area network cannot arbitrarily connect external network, be just for actual demand Permission is arranged in equipment in local area network, for example is set as only sending the permission of Email with external network, only has and connects The permission of external network Email is received, the way that limiting device is connect with external network can be with number inside effective protection local area network According to safety.
Referring to Fig. 2, the embodiment of the method that program error information BUG is transmitted between a kind of local area network of the invention is shown Flow chart of steps, the local area network may include the first local area network and the second local area network being isolated with external network, described It may include the first equipment in one local area network, first equipment can have the permission that external network sends Email, It may include the second equipment in second local area network, second equipment can have the power for receiving external network Email Limit, the method can specifically include following steps:
Step 201, the Email that first equipment is sent is received;
When occurring program error information BUG in certain local area network, other local area networks, which can receive, carries program error The Email of false information BUG.Specifically, other local area networks can pass through SMPT (Simple Mail Transport Protocol, Simple Mail Transfer protocol) mail server receive the Email from external interconnections network.
It should be noted that periodic cleaning electronics postal can be set since the Email transmitted between local area network is more Part avoids the accumulation due to Email, and the problem of other subsequent Emails can not be received.
Step 202, judge whether the Email is specific e-mail;If so, thening follow the steps 203;
In one preferred embodiment of the invention, the Email may include mail header;The step 202 can To include following sub-step:
Sub-step S31 extracts mail header from the Email;
Sub-step S32 judges whether the mail header is preset mail piece identifiers;If so, executing sub-step S33;
Sub-step S33 determines the Email for specific e-mail.
In the concrete realization, for the Email received, can be judged according to the mail header of the Email Whether whether the Email is specific Email, i.e., be the Email for carrying program error information BUG.
Plug-in unit in the used Outlook mailbox of equipment in a local network realizes automatic trigger mechanism, realizes electronics postal The real time monitoring and automatic trigger task of part can be with automatic trigger analyzing E-mails when receiving specific Email Task.Specifically, if it find that mail header is consistent with preset mail piece identifiers, then it can be determined that the Email is to carry The Email of program error information BUG, can continue to execute the task of the message body of analyzing E-mail later, conversely, If it find that mail header and preset mail piece identifiers are inconsistent, then it can be determined that the Email is not required to the carrying of parsing There is the Email of program error information BUG, can not further process.
Step 203, it parses the specific e-mail and obtains program error information BUG.
In one preferred embodiment of the invention, the Email can also include message body;Described second Second management system TestTrack can be installed, the step 203 may include following sub-step in equipment:
Sub-step S41 extracts message body from the Email, and generates interim text using the message body Part;
Sub-step S42 parses the temporary file and obtains program error information BUG;
Sub-step S43 imports described program error message BUG in the TestTrack.
In embodiments of the present invention, program error information BUG can store in message body, therefore determine that Email is When carrying the Email of program error information BUG, the automatically parsing Email of the task can be triggered, according to message body Sort out program error information BUG.
In a kind of example of concrete application of the present invention, it is assumed that the equipment (assuming that being B device) in the local area network of Beijing can To receive the Email from external network by SMPT mail server.
Test case management system TestTrack can be disposed on the B device of Beijing local area network, installed on B device Outlook mailbox simultaneously configures a specified Email Accounts (being assumed to be the specified Email Accounts is AutoTest@* * * .com), the Email for carrying program error information BUG is reported from Tianjin local area network dedicated for receiving.
The TestTrack disposed on the B device of Beijing local area network may include OutLook plug-in unit and TestLink plug-in unit two Part, OutLook plug-in unit are mounted on the Outlook mailbox on B device, and TestLink plug-in unit then can be with the shape of a script Formula is deployed in TestTrack institute under the root directory
When implementation of test cases in the A equipment in Tianjin local area network and when there is program error information BUG, in Tianjin local Mantis component carries program error to the particular account number AutoTest@* * * .com transmission of Beijing local area network in the A equipment of net The Email of information BUG.Specifically, the mail header of the Email is prefix with " [TestTrack]: ", for indicating This Email is specific e-mail, in addition, the message body of the Email includes program error information BUG, wherein often One defect content of a line content representation, such as the first row are " program error abstract: role can not log in ", and the second row is " hair Existing people: zhangbingpeng ", the third line are " program error seriousness: very serious ", and fourth line is " program error product version This number: 0.42.0616.0700 ", fifth line is " program error details " etc. content.
The OutLook mailbox that B device is disposed in the local area network of Beijing installs mail automatic trigger plug-in unit, due to registering in plug-in unit NewMailEx event, then any new Email arrival can all trigger the plug-in unit, therefore whenever specified mailbox When AutoTest@* * * .com receives new e-mail, meeting automatic trigger plug-in unit executes the detection program of Email.
Outlook mailbox on B device in the local area network of Beijing, which receives, issues specified account AutoTest@* * * .com after Email, execute detection program go to detect first the Email mail header whether with " [TestTrack]: " being that prefix starts, if it is, indicating to be the electronics to be treated for carrying program error information BUG Mail then needs to carry out next step operation, if it is not, then can abandon, does not need to be further processed.
Specifically, extracting the electricity when being the discovery that the Email to be treated for carrying program error information BUG The message body content of sub- mail reads every row content, for example the first row is " program error abstract: role can not log in ", the Two rows are " finders: zhangbingpeng ", and the third line is " program error seriousness: very serious ", and fourth line is " program Erroneous products version number: 0.42.0616.0700 ", fifth line is " program error details " etc. content, by reading of content It is filled into order into a txt temporary file, and records the filename of the txt temporary file.
After the plug-in unit of OutLook mailbox generates txt temporary file, run on B device using Process process mechanism The script that the filename of txt temporary file is transmitted to TestTrack as parameter is run program by the plug-in script of TestTrack. TestTrack script runs program and gets txt temporary file according to filename, and starts to parse txt temporary file, calls API (Application Programming Interface, application programming interfaces) interface function that TestTrack is provided, root The program error abstract provided according to txt temporary file, finder's information, program error seriousness, the version of program error product Number, the information structurings such as program error details go out a program error BUG example, then call api interface function that will construct In good program error BUG example deposit TestLink.So far, the importing process of the program error information BUG between local area network It completes, the fault diagnosis example created according to program error information BUG newly imported can be checked in TestTrack.
The api interface that TestTrack is provided in embodiments of the present invention can support language such as C#, Python etc., Api interface can be rewritten in practice, such as C# type structure rewritable for the api interface of C# type, this Inventive embodiments are without restriction to this.
It is related to independent first local area network and the second local area network in embodiments of the present invention, is arranged inside the first local area network The equipment of one permission only with external network transmission Email, setting one only has and connects inside the second local area network The equipment for receiving the permission of external network Email.When program error letter occurs in the equipment implementation of test cases in the first local area network When ceasing BUG, program error information BUG is recorded, and program error information BUG is informed into second game in the form of E-mail The equipment of domain net.Since program error information BUG is not high for confidentiality requirement, therefore electronics is used in embodiments of the present invention The form of mail is transmitted, and after the equipment of the second local area network receives the Email, can parse electricity with automatic trigger The task of sub- mail, analyzing E-mail obtain program error information BUG, and the program error information BUG based on Email is passed Mode is passed, simply and is easily achieved, and transmission efficiency is high.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 3, the knot of the Installation practice of program error information BUG transmission between a kind of local area network of the present invention is shown Structure block diagram, the local area network may include the first local area network and the second local area network being isolated with external network, in the first game It may include the first equipment in the net of domain, first equipment can have the permission that external network sends Email, described It may include the second equipment in second local area network, second equipment can have the permission for receiving external network Email, The device can specifically include following module:
Module 301 is obtained, for obtaining the program error information BUG in the first equipment implementation of test cases;
Molded tissue block 302, for organizing described program error message BUG for Email according to preset format;
Sending module 303, for the Email to be sent to second equipment.
In one preferred embodiment of the invention, the first management system can be installed in first equipment TestLink, the TestLink may include failure tracking Mantis component, and the acquisition module 301 may include following son Module:
It indicates receiving submodule, is used for when the first equipment implementation of test cases finds program error information BUG, Receive opening instruction;
Component opens submodule, for opening the Mantis component according to opening instruction;
Failure receiving submodule, for receiving described program error message BUG in the Mantis component.
In one preferred embodiment of the invention, the Email may include mail header and message body, institute Stating may include mail piece identifiers and mail format in preset format, and the molded tissue block 302 may include following submodule:
Mail header generates submodule, for generating mail header using the mail piece identifiers;
Message body generates submodule, for described program error message BUG to be generated mail using the mail format Text;
Mail tissue submodule, for being Email by the mail header and message body tissue.
In one preferred embodiment of the invention, described program error message BUG may include program error abstract, hair The now at least one of people's information, program error seriousness, program error Production Version, fault detail information.
Referring to Fig. 4, the knot of the Installation practice of program error information BUG transmission between a kind of local area network of the present invention is shown Structure block diagram, the local area network may include the first local area network and the second local area network being isolated with external network, in the first game It may include the first equipment in the net of domain, first equipment can have the permission that external network sends Email, described It may include the second equipment in second local area network, second equipment can have the permission for receiving external network Email, The device can specifically include following module:
Receiving module 401, the Email sent for receiving first equipment;Judgment module 402, for judging State whether Email is specific e-mail;If so, calling generation module 403;
In one preferred embodiment of the invention, the Email may include mail header;The judgment module 402 may include following submodule:
Mail piece identifiers extracting sub-module, for extracting mail header from the Email;
Mail piece identifiers judging submodule, for judging whether the mail header is preset mail piece identifiers;If so, adjusting With the first decision sub-module, if it is not, then calling the second decision sub-module;
First decision sub-module, for determining the Email for specific e-mail.
Generation module 403 obtains program error information BUG for parsing the specific e-mail;
In one preferred embodiment of the invention, the Email can also include message body;Described second Second management system TestTrack can be installed, the generation module 403 may include following submodule in equipment:
Message body extracting sub-module for extracting message body from the specific e-mail, and uses the postal Part text generates temporary file;
Analyzing sub-module obtains program error information BUG for parsing the temporary file;
Submodule is imported, for importing described program error message BUG in the TestTrack.
In one preferred embodiment of the invention, described program error message BUG may include program error abstract, hair The now at least one of people's information, program error seriousness, program error Production Version, program error details.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate an equipment, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to the method for program error information BUG transmission and a kind of local between a kind of local area network provided by the present invention The device that program error information BUG is transmitted between net, and, a kind of received method of program error information BUG between local area network The received device of program error information BUG, is described in detail between a kind of local area network, specific case used herein Principle and implementation of the present invention are described, the above embodiments are only used to help understand side of the invention Method and its core concept;At the same time, for those skilled in the art, according to the thought of the present invention, in specific embodiment And there will be changes in application range, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (8)

1. a kind of method that program error information BUG is transmitted between local area network, which is characterized in that the local area network includes and outside The first local area network and the second local area network of Network Isolation include the first equipment, first equipment in first local area network The permission of Email is sent with external network, includes the second equipment in second local area network, the second equipment tool There is the permission for receiving external network Email, the method includes:
Obtain the program error information BUG in the first equipment implementation of test cases;
Described program error message BUG is organized as specific e-mail according to preset format;
The specific e-mail is sent to second equipment;
Wherein, the specific e-mail includes mail header and message body, include in the preset format mail piece identifiers and Mail format, it is described described program error message BUG is organized according to preset format include: for the step of specific e-mail
Mail header is generated using the mail piece identifiers;
Described program error message BUG is generated into message body using the mail format;
It is specific e-mail by the mail header and message body tissue.
2. the method according to claim 1, wherein being equipped with the first management system in first equipment TestLink, the TestLink integrate failure and track Mantis component, and described obtain is used in first equipment execution test Example when program error information BUG the step of include:
When the first equipment implementation of test cases finds program error information BUG, opening instruction is received;
The Mantis component is opened according to opening instruction;
Described program error message BUG is received in the Mantis component.
3. the method according to claim 1, wherein described program error message BUG include program error abstract, Finder's information, program error seriousness, program error Production Version, program error details at least one.
4. a kind of received method of program error information BUG between local area network, which is characterized in that the local area network includes and outside The first local area network and the second local area network of Network Isolation include the first equipment, first equipment in first local area network The permission of Email is sent with external network, includes the second equipment in second local area network, the first equipment tool There is the permission for receiving external network Email, the method includes:
Receive the Email that first equipment is sent;Judge whether the Email is specific e-mail;
If so, parsing the specific e-mail obtains program error information BUG;
Wherein, the Email includes mail header;It is described judge the Email whether be specific e-mail step Suddenly include:
Mail header is extracted from the Email;
Judge whether the mail header is preset mail piece identifiers;
If so, determining the Email for specific e-mail.
5. according to the method described in claim 4, it is characterized in that, the specific e-mail further includes message body;Institute It states and the second management system TestTrack is installed in the second equipment, the parsing specific e-mail obtains program error The step of information BUG includes:
Message body is extracted from the specific e-mail, and temporary file is generated using the message body;
It parses the temporary file and obtains program error information BUG;
Described program error message BUG is imported in the TestTrack.
6. the device that program error information BUG is transmitted between a kind of local area network, which is characterized in that the local area network includes and outside The first local area network and the second local area network of Network Isolation include the first equipment, first equipment in first local area network The permission of Email is sent with external network, includes the second equipment in second local area network, the second equipment tool There is the permission for receiving external network Email, the device includes:
Module is obtained, for obtaining the program error information BUG in the first equipment implementation of test cases;
Molded tissue block, for organizing described program error message BUG for specific e-mail according to preset format;
Sending module, for the specific e-mail to be sent to second equipment;
Wherein, the Email includes mail header and message body, and the preset format includes mail piece identifiers and mail lattice Formula, the molded tissue block include:
Mail header generates submodule, for generating mail header using the mail piece identifiers;
Message body generates submodule, for described program error message BUG to be generated message body using the mail format;
Mail tissue submodule, for being Email by the mail header and message body tissue.
7. device according to claim 6, which is characterized in that be equipped with the first management system in first equipment TestLink, the TestLink integrate failure and track Mantis component, and the acquisition module includes:
Receiving submodule is indicated, for receiving when the first equipment implementation of test cases finds program error information BUG It is indicated to opening;
Component opens submodule, for opening the Mantis component according to opening instruction;
Failure receiving submodule, for receiving described program error message BUG in the Mantis component.
8. the received device of program error information BUG between a kind of local area network, which is characterized in that the local area network includes and outside The first local area network and the second local area network of Network Isolation include the first equipment, first equipment in first local area network The permission of Email is sent with external network, includes the second equipment in second local area network, the first equipment tool There is the permission for receiving external network Email, the device includes:
Receiving module, the Email sent for receiving first equipment;
Judgment module, for judging whether the Email is specific e-mail;If so, calling generation module;
Generation module, for generating program error information BUG according to the specific e-mail;
Wherein, the Email includes mail header, and the judgment module includes:
Mail piece identifiers extracting sub-module, for extracting mail header from the Email;
Mail piece identifiers judging submodule, for judging whether the mail header is preset mail piece identifiers;If so, calling the One decision sub-module, if it is not, then calling the second decision sub-module;
First decision sub-module, for determining the Email for specific e-mail.
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 CN105337752A (en) 2016-02-17
CN105337752B true 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 (2)

* 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
CN102098321A (en) * 2009-12-11 2011-06-15 北大方正集团有限公司 Remote data query method, system and device

Family Cites Families (1)

* 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

Patent Citations (2)

* 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
CN102098321A (en) * 2009-12-11 2011-06-15 北大方正集团有限公司 Remote data query method, system and device

Also Published As

Publication number Publication date
CN105337752A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
JP6526895B2 (en) Automatic mitigation of electronic message based security threats
CN108141390B (en) Cloud-based system and method for managing messages regarding cable test equipment operation
CN104202201B (en) A kind of log processing method, device and terminal
CN109361548B (en) IMS network behavior diagnosis early warning method and device based on active security
CN107018526B (en) The method and apparatus of remote terminal Wi-Fi fault diagnosis based on Android smart television
CN109639631A (en) A kind of network security cruising inspection system and method for inspecting
US11509704B1 (en) Product validation based on simulated enhanced calling or messaging communications services in telecommunications network
CN106789625A (en) A kind of loop detecting method and device
US11490432B1 (en) Unified query tool for network function virtualization architecture
US11546243B1 (en) Unified interface and tracing tool for network function virtualization architecture
CN109639630A (en) A kind of terminal prot managing and control system and management-control method
CN105827469A (en) MODBUS TCP implementation defect tester and detection method thereof
CN106789234B (en) Automatic alarm test system and method for call center
CN105306303B (en) The real-time monitoring system of failure and terminal network appliance based on terminal network appliance
CN107968727A (en) A kind of detection method, device and the medium of CIFS services
EP4361863A1 (en) Apparatus and method for monitoring of data for attack detection and prevention
CN107612735A (en) A kind of broadband On-line Fault processing method, server and user terminal
CN105337752B (en) Program error information BUG transmission and received method and apparatus between local area network
CN104363160B (en) It is a kind of to carry the email processing method of document attachment, device and system
CN106856599B (en) Terminal, detection service device, short message receiving-transmitting fault detection method and system
CN105337816B (en) The method and apparatus that data consistency guarantees between local area network
CN109412851A (en) Link layer path detection method, apparatus and system
CN105577418A (en) Telecommunication network fault information acquisition method and device
CN108880920A (en) Cloud service management method, device and electronic equipment
CN109699041A (en) A kind of RRU channel failure diagnosis processing method and RRU device

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