CN104243282B - A kind of information notice method and server - Google Patents

A kind of information notice method and server Download PDF

Info

Publication number
CN104243282B
CN104243282B CN201410466557.4A CN201410466557A CN104243282B CN 104243282 B CN104243282 B CN 104243282B CN 201410466557 A CN201410466557 A CN 201410466557A CN 104243282 B CN104243282 B CN 104243282B
Authority
CN
China
Prior art keywords
test
server
test report
notification
notification message
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
CN201410466557.4A
Other languages
Chinese (zh)
Other versions
CN104243282A (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software 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 Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201410466557.4A priority Critical patent/CN104243282B/en
Publication of CN104243282A publication Critical patent/CN104243282A/en
Application granted granted Critical
Publication of CN104243282B publication Critical patent/CN104243282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of information notice methods, including:Server obtains test client and carries out the test report that automatic test is generated;The server generates notification message according to the test report;The target device that the server is identified to default identification information sends the notification message.Using the embodiment of the present invention, can the test notification message of test client be quickly and efficiently sent to target device, it is easy to operate, it is intelligent high.

Description

Information notification method and server
Technical Field
The present invention relates to the field of network technologies, and in particular, to an information notification method and a server.
Background
With the continuous development of testing technology, a company or an organization usually has a plurality of testing clients to run an automated testing program, thereby implementing automated testing. When each test client terminal completes the test task in sequence, a notification sound is sent out. However, the test client does not notify the automation manager of the first time of the test report, and when the manager needs to check the test report of each test client, the manager needs to manually check the running state and the test report of each test client at regular time, which is very inefficient and high in labor cost.
Disclosure of Invention
The embodiment of the invention provides an information notification method and a server, which can quickly and efficiently send a test notification message of a test client to a target device, are convenient to operate and have high intelligence.
The embodiment of the invention provides an information notification method, which comprises the following steps:
the server acquires a test report generated by the test client for automatic test;
the server generates a notification message according to the test report;
and the server sends the notification message to the target equipment identified by the preset identification information.
An embodiment of the present invention further provides a server, including:
the acquisition module is used for acquiring a test report generated by the test client for automatic test;
the generating module is used for generating a notification message according to the test report;
and the sending module is used for sending the notification message to the target equipment identified by the preset identification information.
In the embodiment of the invention, the server acquires the test report generated by the test client for the automatic test, generates the notification message according to the test report, and sends the notification message to the target equipment identified by the preset identification information. According to the embodiment, after the test client ends the automatic test, the test report is uploaded to the server, the server sends the notification message to the target device, and an administrator can conveniently and quickly obtain the test result of the test client.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an information notification method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another information notification method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a further information notification method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a further information notification method according to an embodiment of the present invention;
FIG. 5 is a diagram of an information notification system architecture provided by an embodiment of the present invention;
FIG. 6 is a detailed system architecture diagram for information notification provided by an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of an information notification method according to an embodiment of the present invention; as shown in fig. 1, an information notification method according to this embodiment includes the steps of:
s100, a server acquires a test report generated by an automatic test of a test client;
in a specific embodiment, when an automated test is required, a test client is started, the test client performs a test by using an automated function test module, and the automated function test module includes a code set for implementing automated tests of various functions.
The automatic test system realizes automatic test by automatically running a test script through a test client, wherein the test script comprises the functions of three modules, an automatic function test module, an automatic test report forming module and an automatic test report uploading module. The automatic function testing module executes an automatic testing function test, the automatic testing report forming module is used for forming a testing report with a specific format and a specific file format in the testing process of the automatic function testing module, and the automatic testing report uploading module is used for uploading the formed testing report to a storage file appointed by the server after the testing client executes an automatic task. The test client uploads the test report to the server, and the server can obtain the test report, wherein the test client and the server can be in the same local area network, and the server is connected with the internet, so that the test client can avoid the attack and interference of an external network when carrying out an automatic test, and the safety is higher.
S101, the server generates a notification message according to the test report;
in a specific embodiment, the server generates the notification message according to the acquired test report, where the notification message may or may not include the test report, and whether the test report needs to be carried may be determined according to the existence form of the notification message. For example, if the notification message exists in the form of a notification email, the test report may be attached to the test email, and if the notification message exists in the form of a notification short message, the test report does not need to be attached to the notification short message. It should be noted that each test report has a name, each test client has a specific number, the name of the test report may be the specific number of the test client + the time point when the test task is automatically completed, and optionally, the name of the test report may further include 4 random values, so that each test report uploaded by each test client is unique. The notification message may also be in the form of notification information sent in APP, for example, transmitted by WeChat or transmitted by QQ.
S102, the server sends the notification message to the target equipment identified by the preset identification information.
In a specific embodiment, the server sends a notification message to the target device identified by the preset identification information, where the preset identification information may be mailbox address information, mobile phone number information, APP account information, or the like. The server sends the notification message to the target device identified by the preset identification information, so that an administrator can view the notification message from the target device, the server is efficient and convenient, and the server can send the notification message to the target device through the internet.
Optionally, the preset identifier information may be preset by an administrator, and each client may set a plurality of preset identifiers, that is, the notification message is sent to the target device in a plurality of ways. For example, if the mode value set by the administrator is 0, no notification message is automatically transmitted, if the mode value is 1, the notification message is transmitted only by mail, if the mode value is 2, the notification message is transmitted only by short message, if the mode value is 3, the notification message is transmitted by mail and short message, and when the notification message is transmitted by mail, a plurality of receiving mailbox addresses may be set. If the test report is passed through the mailbox mode, the test report can be included, and if the test report is passed through the short message mode, the test report does not need to be included.
In the embodiment of the invention, the server acquires the test report generated by the test client for the automatic test, generates the notification message according to the test report, and sends the notification message to the target equipment identified by the preset identification information. According to the embodiment, after the test client ends the automatic test, the test report is uploaded to the server, the server sends the notification message to the target device, and an administrator can conveniently and quickly obtain the test result of the test client.
Fig. 2 is a schematic flow chart of another information notification method according to an embodiment of the present invention; the information notification method described in this embodiment includes the steps of:
s200, a server acquires a test report generated by the test client for automatic test;
s201, the server stores the test report into a storage file of a designated storage path, and the storage file stores unprocessed test reports;
in a specific embodiment, after obtaining a test report generated by an automated test performed by a test client, a server stores the test report in a storage file of a specified storage path, where the specified storage path may be set in the server in advance by an administrator. Optionally, when the test client needs to upload the test report, an inquiry request is sent to the server, where the inquiry request is used to confirm the specified storage path that the test report needs to be uploaded to the server, and the server returns the specified storage path to the test client according to the inquiry request, so that the test client uploads the test report according to the specified storage path.
The server receives the test reports uploaded by the test client and stores the test reports into a storage file of a specified storage path, wherein the test reports stored in the storage file are unprocessed test reports, and if one test report is processed, the test report is removed from the storage file, so that all the test reports stored in the storage file are ensured to be unprocessed test reports.
S202, the server inquires whether an unprocessed test report is stored in the storage file or not according to a preset period, and if the unprocessed test report is stored in the storage file, the server generates a notification message according to the test report;
in a specific embodiment, the frequency of processing the unprocessed test report stored in the storage file by the server is a preset period, that is, the server queries whether the unprocessed test report is stored in the storage file in the preset period, where the preset period may be set by an administrator, for example, 10 minutes may be set as a preset period, that is, every 10 minutes, the server queries whether the unprocessed test report is stored in the storage file, and if the unprocessed test report exists in the storage file, a notification message is generated according to the test report, where the presence form of the notification message may be a notification mail or a notification short message, and the like.
Optionally, the server records the names of the processed test reports in a specific table, the names recorded in the specific table are the names of the processed test reports, the server checks whether the names of the test reports recorded in the specific table are the same as the names of the unprocessed test reports stored in the storage file at regular time, and if the names of the test reports recorded in the specific table are the same as the names of the unprocessed test reports stored in the storage file, it is determined that a system has a fault, and a fault report is sent. The failure may be due to a sudden power down of the server, resulting in the test report not being removed from the stored file, or due to a network reason, resulting in a notification message not being sent, etc.
S203, the server sends the notification message to the target device identified by the preset identification information.
S204, the server removes the test report from the storage file.
In a specific embodiment, after the server sends the notification message to the target device identified by the preset identification information, the server removes the test report from the storage file, so as to ensure that the test reports stored in the storage file are all unprocessed test reports.
In the embodiment of the invention, the server acquires the test report generated by the test client for the automatic test, generates the notification message according to the test report, and sends the notification message to the target equipment identified by the preset identification information. According to the embodiment, after the test client ends the automatic test, the test report is uploaded to the server, the server sends the notification message to the target device, and an administrator can conveniently and quickly obtain the test result of the test client.
Fig. 3 is a schematic flow chart of another information notification method according to an embodiment of the present invention; as shown in fig. 3, an information notification method according to this embodiment includes the steps of:
s300, the server obtains a test report generated by the test client for automatic test;
s301, the server generates a notification mail according to the test report, wherein the notification mail comprises the test report;
in a specific embodiment, after obtaining a test report generated by an automated test performed by a test client, a server generates a notification mail according to the test report, that is, the existence mode of the notification message is the existence mode of the notification mail. The notification email may include a test report, and the test report may be an attachment of the notification email or a body of the notification email.
S302, the server sends the notification mail to the mailbox identified by the preset mail address information.
In a specific embodiment, the server sends the notification mail to a mailbox identified by preset mail address information, where the preset mail address information may be set by an administrator in the server, and the preset mail address information may be mail address information of multiple mailboxes. It should be noted that the server obtains the test report of the test client through the local area network, and sends the notification email to the mailbox identified by the preset email address information through the internet, so as to avoid the attack of the external network on the test client in the automatic test process.
In the embodiment of the invention, the server acquires the test report generated by the test client for the automatic test, generates the notification message according to the test report, and sends the notification message to the target equipment identified by the preset identification information. According to the embodiment, after the test client ends the automatic test, the test report is uploaded to the server, the server sends the notification message to the target device, and an administrator can conveniently and quickly obtain the test result of the test client.
Fig. 4 is a schematic flow chart of another information notification method according to an embodiment of the present invention; as shown in fig. 4, an information notification method according to this embodiment includes the steps of:
s400, the server obtains a test report generated by the test client for automatic test;
s401, the server generates a notification short message according to the test report;
in a specific embodiment, after obtaining a test report generated by an automated test performed by a test client, a server generates a notification short message according to the test report, that is, the existence mode of the notification message is the mode of the notification short message. The notification short message does not include a complete test report, and the content of the notification short message can be set by an administrator, for example, the notification short message may include part of key content information of the test report, or the notification short message only notifies a certain test report to be generated, or a certain test client completes an automated test, and the like.
S402, the server sends the notification short message to the mobile phone terminal identified by the preset mobile phone number information.
In a specific embodiment, the server sends the notification short message to the mobile phone terminal identified by the preset mobile phone number information, where the preset mobile phone number information may be set in the server by an administrator, and the preset mobile phone number information may be multiple pieces of mobile phone number information. It should be noted that the server obtains the test report of the test client through the local area network, and sends the notification short message to the mobile phone terminal identified by the preset mobile phone number information through the cellular network, so as to avoid the attack of the external network on the test client in the automatic test process.
In the embodiment of the invention, the server acquires the test report generated by the test client for the automatic test, generates the notification message according to the test report, and sends the notification message to the target equipment identified by the preset identification information. According to the embodiment, after the test client ends the automatic test, the test report is uploaded to the server, the server sends the notification message to the target device, and an administrator can conveniently and quickly obtain the test result of the test client.
Referring to fig. 5, an architecture diagram of an information notification system according to an embodiment of the present invention is shown, where the architecture diagram of the information notification system includes at least one test client and a server, the test client is connected to the server through a local area network, the server is connected to the internet, and the server sends a notification message to a target device through the internet.
Each test client comprises three serial ports, a video acquisition card, a computer for automatically testing system programs, an analog remote controller with the serial ports and test equipment, the automatic test client executes an automatic test program to perform automatic function tests, automatically forms an automatic test report after test tasks are executed, and automatically sends the formed test report to a storage file of a designated storage path in a server in a local area network. Specifically, as shown in fig. 6, the test client may include an automatic function test module, an automatic test report forming module, and an automatic test report uploading module, where the automatic function test module is configured to execute an automatic function test, the automatic test report forming module is configured to form a test report in a specific format and a specific file format during an automatic test executed by the automatic function test module, and the automatic test report uploading module is configured to upload the formed test report to a storage file in a storage path specified by the server after the test client executes an automatic test task.
The server receives the test reports uploaded by each test client and stores the test reports into a storage file of an appointed storage path, the server stores the storage file for inquiring whether a newly finished automatic test report exists or not according to a preset period, if yes, whether a related notification message needs to be sent or not is judged according to related contents set by an automatic test administrator, and if yes, a notification mail or a notification short message and the like are sent through the Internet. Specifically, referring to fig. 6, the server includes an automatic test report analysis module and an automatic test report notification module, where the automatic test report analysis module is to determine whether there is a newly completed test report in the storage file, and the automatic test report notification module is to send a notification message.
In the embodiment of the invention, the server acquires the test report generated by the test client for the automatic test, generates the notification message according to the test report, and sends the notification message to the target equipment identified by the preset identification information. According to the embodiment, after the test client ends the automatic test, the test report is uploaded to the server, the server sends the notification message to the target device, and an administrator can conveniently and quickly obtain the test result of the test client.
Referring to fig. 7, a schematic structural diagram of a server according to an embodiment of the present invention is shown, where the server according to the embodiment of the present invention includes an obtaining module 100, a generating module 101, and a sending module 102, and each module is described in detail below.
An obtaining module 100, configured to obtain a test report generated by an automated test performed by a test client;
in a specific embodiment, when an automated test is required, a test client is started, the test client performs a test by using an automated function test module, and the automated function test module includes a code set for implementing automated tests of various functions.
The automatic test system realizes automatic test by automatically running a test script through a test client, wherein the test script comprises the functions of three modules, an automatic function test module, an automatic test report forming module and an automatic test report uploading module. The automatic function testing module executes an automatic testing function test, the automatic testing report forming module is used for forming a testing report with a specific format and a specific file format in the testing process of the automatic function testing module, and the automatic testing report uploading module is used for uploading the formed testing report to a storage file appointed by the server after the testing client executes an automatic task. The test client uploads the test report to the server, and the server obtaining module 100 can obtain the test report, it should be noted that the test client and the server can be in the same local area network, and the server is connected to the internet, so that the test client can avoid the attack and interference of the external network when performing the automated test, and the security is relatively high.
A generating module 101, configured to generate a notification message according to the test report;
in a specific embodiment, the server generation module 101 generates a notification message according to the obtained test report, where the notification message may include the test report or may not include the test report, and whether the test report needs to be carried may be determined according to the existence form of the notification message. For example, if the notification message exists in the form of a notification email, the test report may be attached to the test email, and if the notification message exists in the form of a notification short message, the test report does not need to be attached to the notification short message. It should be noted that each test report has a name, each test client has a specific number, the name of the test report may be the specific number of the test client + the time point when the test task is automatically completed, and optionally, the name of the test report may further include 4 random values, so that each test report uploaded by each test client is unique. The notification message may also be in the form of notification information sent in APP, for example, transmitted by WeChat or transmitted by QQ.
Optionally, the generating module 101 is specifically configured to generate a notification email according to the test report, where the notification email includes the test report;
in a specific embodiment, after the server obtains the test report generated by the test client performing the automated test, the generating module 101 generates a notification mail according to the test report, that is, the existence mode of the notification message is the existence mode of the notification mail. The notification email may include a test report, and the test report may be an attachment of the notification email or a body of the notification email.
Optionally, the generating module 101 is specifically configured to generate a notification short message according to the test report;
in a specific embodiment, after the server obtains a test report generated by the test client performing the automated test, the generating module 101 generates a notification short message according to the test report, that is, the existence mode of the notification message is the existence mode of the notification short message. The notification short message does not include a complete test report, and the content of the notification short message can be set by an administrator, for example, the notification short message may include part of key content information of the test report, or the notification short message only notifies a certain test report to be generated, or a certain test client completes an automated test, and the like.
A sending module 102, configured to send the notification message to a target device identified by preset identification information.
In a specific embodiment, the server sending module 102 sends a notification message to a target device identified by preset identification information, where the preset identification information may be mailbox address information, mobile phone number information, APP account information, or the like. The server sends the notification message to the target device identified by the preset identification information, so that an administrator can view the notification message from the target device, the server is efficient and convenient, and the server can send the notification message to the target device through the internet.
Optionally, the preset identifier information may be preset by an administrator, and each client may set a plurality of preset identifiers, that is, the notification message is sent to the target device in a plurality of ways. For example, if the mode value set by the administrator is 0, no notification message is automatically transmitted, if the mode value is 1, the notification message is transmitted only by mail, if the mode value is 2, the notification message is transmitted only by short message, if the mode value is 3, the notification message is transmitted by mail and short message, and when the notification message is transmitted by mail, a plurality of receiving mailbox addresses may be set. If the test report is passed through the mailbox mode, the test report can be included, and if the test report is passed through the short message mode, the test report does not need to be included.
Optionally, the sending module 102 is specifically configured to send the notification mail to a mailbox identified by preset mail address information.
In a specific embodiment, the server sending module 102 sends the notification mail to a mailbox identified by preset mail address information, where the preset mail address information may be set by an administrator in the server, and the preset mail address information may be mail address information of multiple mailboxes. It should be noted that the server obtains the test report of the test client through the local area network, and sends the notification email to the mailbox identified by the preset email address information through the internet, so as to avoid the attack of the external network on the test client in the automatic test process.
Optionally, the sending module 102 is specifically configured to send the notification short message to a mobile phone terminal identified by preset mobile phone number information.
In a specific embodiment, the server sending module 102 sends the notification short message to a mobile phone terminal identified by preset mobile phone number information, where the preset mobile phone number information may be set in the server by an administrator, and the preset mobile phone number information may be multiple pieces of mobile phone number information. It should be noted that the server obtains the test report of the test client through the local area network, and sends the notification short message to the mobile phone terminal identified by the preset mobile phone number information through the cellular network, so as to avoid the attack of the external network on the test client in the automatic test process.
In the embodiment of the invention, the server acquires the test report generated by the test client for the automatic test, generates the notification message according to the test report, and sends the notification message to the target equipment identified by the preset identification information. According to the embodiment, after the test client ends the automatic test, the test report is uploaded to the server, the server sends the notification message to the target device, and an administrator can conveniently and quickly obtain the test result of the test client.
Referring to fig. 8, which is a schematic structural diagram of another server according to an embodiment of the present invention, as shown in the drawing, the server according to the embodiment includes an obtaining module 100, a generating module 101, a sending module 102, a storing module 103, an inquiring module 104, and a removing module 105. The obtaining module 100, the generating module 101, and the sending module 102 please refer to the description of fig. 7, which is not described herein again.
A storage module 103, configured to store the test report acquired by the acquisition module 100 in a storage file of a specified storage path, where the storage file stores unprocessed test reports;
in a specific embodiment, after the server obtains a test report generated by the automated test performed by the test client, the storage module 103 stores the test report in a storage file of a specified storage path, where the specified storage path may be set in the server in advance by an administrator. Optionally, when the test client needs to upload the test report, an inquiry request is sent to the server, where the inquiry request is used to confirm the specified storage path that the test report needs to be uploaded to the server, and the server returns the specified storage path to the test client according to the inquiry request, so that the test client uploads the test report according to the specified storage path.
The server storage module 103 receives the test reports uploaded by the test client and stores the test reports into a storage file of the specified storage path, where it should be noted that all the test reports stored in the storage file are unprocessed test reports, and if one test report is processed, the test report is removed from the storage file, so as to ensure that all the test reports stored in the storage file are unprocessed test reports.
The query module 104 is configured to query whether the unprocessed test report is stored in the storage file in a preset period;
in a specific embodiment, the frequency of the server processing the unprocessed test reports stored in the storage file is a preset period, that is, the server query module 104 queries whether the unprocessed test reports are stored in the storage file in the preset period, where the preset period may be set by an administrator, for example, 10 minutes may be set as a preset period, that is, every 10 minutes, the server queries whether the unprocessed test reports are stored in the storage file, and if the unprocessed test reports exist in the storage file, a notification message is generated according to the test report, where the existence form of the notification message may be a notification mail or a notification short message, and the like.
Optionally, the server records the names of the processed test reports in a specific table, the names recorded in the specific table are the names of the processed test reports, the server checks whether the names of the test reports recorded in the specific table are the same as the names of the unprocessed test reports stored in the storage file at regular time, and if the names of the test reports recorded in the specific table are the same as the names of the unprocessed test reports stored in the storage file, it is determined that a system has a fault, and a fault report is sent. The failure may be due to a sudden power down of the server, resulting in the test report not being removed from the stored file, or due to a network reason, resulting in a notification message not being sent, etc.
The generating module 101 is configured to generate a notification message according to the test report if the query module 104 queries that the unprocessed test report exists in the storage file.
The removing module 105 is configured to remove the test report from the storage file.
In a specific embodiment, after the server sends the notification message to the target device identified by the preset identification information, the server removing module 105 removes the test report from the storage file, so as to ensure that the test reports stored in the storage file are all unprocessed test reports.
In the embodiment of the invention, the server acquires the test report generated by the test client for the automatic test, generates the notification message according to the test report, and sends the notification message to the target equipment identified by the preset identification information. According to the embodiment, after the test client ends the automatic test, the test report is uploaded to the server, the server sends the notification message to the target device, and an administrator can conveniently and quickly obtain the test result of the test client.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units or units in the terminal of the embodiment of the invention can be combined, divided and deleted according to actual needs.
The components such as the microcontroller according to the embodiment of the present invention may be implemented by a general-purpose integrated circuit (e.g., a central processing unit CPU) or an Application Specific Integrated Circuit (ASIC).
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (9)

1. An information notification method, comprising:
the server acquires a test report generated by the test client for automatic test;
the server stores the test report into a storage file of a designated storage path, and the storage file stores unprocessed test reports;
the server generates a notification message according to the test report;
the server sends the notification message to target equipment identified by preset identification information;
the server removing the test report from the storage file;
the server records the names of the processed test reports in a specific table, and the names recorded in the specific table are the names of the processed test reports;
and the server checks whether the name of the test report recorded in the specific table is the same as the unprocessed test report stored in the storage file at regular time, and if so, the server is determined to have a fault.
2. The method of claim 1, wherein the server stores the test report in a storage file of a specified storage path, the storage file storing the unprocessed test report comprising:
and the server inquires whether an unprocessed test report is stored in the storage file or not according to a preset period, and if the unprocessed test report exists, the server generates a notification message according to the test report.
3. The method of claim 2, wherein the server generates a notification message based on the test report, comprising:
the server generates a notification mail according to the test report, wherein the notification mail comprises the test report;
the server sends the notification message to the target device identified by the preset identification information, and the notification message includes:
and the server sends the notification mail to a mailbox identified by preset mail address information.
4. The method of claim 2, wherein the server generates a notification message based on the test report, comprising:
the server generates a notification short message according to the test report;
the server sends the notification message to the target device identified by the preset identification information, and the notification message includes:
and the server sends the notification short message to the mobile phone terminal identified by the preset mobile phone number information.
5. A server, comprising:
the acquisition module is used for acquiring a test report generated by the test client for automatic test;
the storage module is used for storing the test report into a storage file of a specified storage path, and the storage file stores unprocessed test reports;
the generating module is used for generating a notification message according to the test report;
the sending module is used for sending the notification message to the target equipment identified by the preset identification information;
a removing module, configured to remove the test report from the storage file, and record the name of the processed test report in a specific table, where the names recorded in the specific table are names of the processed test report; and regularly checking whether the name of the test report recorded in the specific table is the same as the unprocessed test report stored in the storage file, and if so, determining that the server fails.
6. The server of claim 5, wherein the server further comprises:
the query module is used for querying whether the unprocessed test report is stored in the storage file in a preset period;
the generating module is used for generating a notification message according to the test report if the unprocessed test report exists in the storage file.
7. The server according to claim 6,
the generating module is specifically configured to generate a notification email according to the test report, where the notification email includes the test report;
the sending module is specifically configured to send the notification email to a mailbox identified by preset email address information.
8. The server according to claim 6,
the generating module is specifically used for generating a notification short message according to the test report;
the sending module is specifically used for sending the notification short message to the mobile phone terminal identified by the preset mobile phone number information.
9. An information notification system comprising at least one test client and a server according to any one of claims 5 to 8; the test client is connected with the server through a local area network, and the server is connected with the Internet; wherein,
the test client is used for carrying out automatic test to generate a test report and transmitting the test report to the server through the local area network;
and the server is used for generating a notification message according to the test report and sending the notification message to the target equipment identified by the preset identification information through the Internet.
CN201410466557.4A 2014-09-12 2014-09-12 A kind of information notice method and server Active CN104243282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410466557.4A CN104243282B (en) 2014-09-12 2014-09-12 A kind of information notice method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410466557.4A CN104243282B (en) 2014-09-12 2014-09-12 A kind of information notice method and server

Publications (2)

Publication Number Publication Date
CN104243282A CN104243282A (en) 2014-12-24
CN104243282B true CN104243282B (en) 2018-09-21

Family

ID=52230672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410466557.4A Active CN104243282B (en) 2014-09-12 2014-09-12 A kind of information notice method and server

Country Status (1)

Country Link
CN (1) CN104243282B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539607A (en) * 2014-12-25 2015-04-22 深圳创维数字技术有限公司 Information checking method, terminal and server
CN108459956A (en) * 2017-11-29 2018-08-28 平安科技(深圳)有限公司 Test report automatic management method, apparatus, equipment and storage medium
CN108616389B (en) * 2018-04-10 2021-09-17 深信服科技股份有限公司 Network evaluation method, equipment, storage medium and device based on cloud server
CN110971447A (en) * 2019-10-22 2020-04-07 视联动力信息技术股份有限公司 Test information management method and device, electronic equipment and readable storage medium
CN112069057A (en) * 2020-08-07 2020-12-11 长沙市到家悠享网络科技有限公司 Code testing method, device, apparatus and storage medium
CN115038054B (en) * 2022-01-27 2023-05-26 同方有云(北京)科技有限公司 Automatic sending method and device for short messages and mails

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727389A (en) * 2009-11-23 2010-06-09 中兴通讯股份有限公司 Automatic test system and method of distributed integrated service
CN103544100A (en) * 2012-07-12 2014-01-29 腾讯科技(深圳)有限公司 Method, system and client side for testing APP of portable data processing equipment
CN103617118A (en) * 2013-11-28 2014-03-05 北京奇虎科技有限公司 Method, device and system for uniformly processing test results

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8719419B2 (en) * 2005-04-21 2014-05-06 Qualcomm Incorporated Methods and apparatus for determining aspects of multimedia performance of a wireless device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727389A (en) * 2009-11-23 2010-06-09 中兴通讯股份有限公司 Automatic test system and method of distributed integrated service
CN103544100A (en) * 2012-07-12 2014-01-29 腾讯科技(深圳)有限公司 Method, system and client side for testing APP of portable data processing equipment
CN103617118A (en) * 2013-11-28 2014-03-05 北京奇虎科技有限公司 Method, device and system for uniformly processing test results

Also Published As

Publication number Publication date
CN104243282A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN104243282B (en) A kind of information notice method and server
US9930632B2 (en) M2M application remote registration method, device, system and storage medium
CN107239381B (en) Method, device and system for processing crash information
CN109684155B (en) Monitoring configuration method, device, equipment and readable storage medium
CN109361525B (en) Method, device, control terminal and medium for restarting distributed deployment of multiple services
CN111038906B (en) Order sorting method and device
CN110753091A (en) Cloud platform management method and device
CN104320325A (en) Information push method and device
CN110300026A (en) A kind of network connectivity fai_lure processing method and processing device
CN109600257B (en) Tool deployment method, device and storage medium
CN105357267A (en) Method, device and system for obtaining server information
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
CN111008209B (en) Data reconciliation method, device and system, storage medium and electronic device
CN114363334A (en) Network configuration method, device and equipment for cloud system and cloud desktop virtual machine
CN106446138B (en) Data packet storage method and device
CN110309028B (en) Monitoring information acquisition method, service monitoring method, device and system
CN111240904A (en) Database backup method and device, electronic equipment and storage medium
CN105721231A (en) Service quality sensing detection method and service quality sensing detection device
CN104407846B (en) Information processing method and device
CN110769462B (en) Network access control method and device
CN114338794A (en) Service message pushing method and device, electronic equipment and storage medium
CN113316183A (en) Bluetooth equipment testing method, device and system
CN107506220B (en) Installation package decompression method and device based on software product
CN106547679B (en) Script management method and script management platform
CN106341480B (en) Data packet uploading method and 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