CN112463604A - APP detection system based on electric power integration terminal - Google Patents

APP detection system based on electric power integration terminal Download PDF

Info

Publication number
CN112463604A
CN112463604A CN202011342732.0A CN202011342732A CN112463604A CN 112463604 A CN112463604 A CN 112463604A CN 202011342732 A CN202011342732 A CN 202011342732A CN 112463604 A CN112463604 A CN 112463604A
Authority
CN
China
Prior art keywords
test
module
detection system
system based
scene
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.)
Pending
Application number
CN202011342732.0A
Other languages
Chinese (zh)
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.)
Anhui Jiyuan Examination And Detection Technology Co ltd
Electric Power Research Institute of State Grid Fujian Electric Power Co Ltd
Original Assignee
Anhui Jiyuan Examination And Detection Technology Co ltd
Electric Power Research Institute of State Grid Fujian Electric Power 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 Anhui Jiyuan Examination And Detection Technology Co ltd, Electric Power Research Institute of State Grid Fujian Electric Power Co Ltd filed Critical Anhui Jiyuan Examination And Detection Technology Co ltd
Priority to CN202011342732.0A priority Critical patent/CN112463604A/en
Publication of CN112463604A publication Critical patent/CN112463604A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The invention discloses an APP detection system based on an electric power fusion terminal, which is characterized by comprising a Web display module, a test management module, a test logic control module, a test execution module, a signal conversion module and a test result processing module; according to the invention, after the test management module further processes the scripts for testing functions, performances, protocols and the like, the logic control module executes judgment and cooperates with the Web display module and the test execution module, corresponding tests are carried out on the APP in the fusion terminal, and the test results are fed back to the Web display module for display through the test result processing module, namely, the system can carry out various tests on the APP in the fusion terminal according to the scripts embedded with different tests for functions, performances, protocols and the like.

Description

APP detection system based on electric power integration terminal
Technical Field
The invention relates to the technical field of electric power intelligent terminal testing, in particular to an APP detection system based on an electric power fusion terminal.
Background
The intelligent integration terminal is edge equipment of a 'cloud management side end' framework of a smart internet of things system in an electric power system, has the functions of information acquisition, internet of things proxy and edge calculation, supports marketing, power distribution and emerging services, can meet the requirements of high-performance concurrency, large-capacity storage and multiple acquisition objects, and is emerging intelligent terminal equipment.
Because intelligent integration terminal belongs to emerging business field, its inside business APP test still lacks unified test method, and the test technique is still immature, and existing detection tool can only test APP's realization function on the current market, and the test to performance and agreement involves fewly, and in addition, existing detection tool price is all more expensive, and the reliability of integration terminal APP can not be verified to the test result, is unfavorable for the online popularization of integration terminal to a certain extent.
Disclosure of Invention
In order to achieve the purpose, the invention adopts the technical scheme that:
an APP detection system based on an electric power fusion terminal comprises a Web display module, a test management module, a test logic control module, a test execution module, a signal conversion module and a test result processing module;
the Web display module collects scripts containing tests such as functions, performances, protocols and the like and sends the scripts to the test management module, and information fed back by the test structure processing module is visually displayed;
the test management module receives the script sent by the Web display module, normalizes the script, and sends a ready message to the test logic control module after the processing is finished;
the logic control module executes judgment and sends a judgment message to the Web display module or the test execution module;
the test execution module processes the scripts of each test, the scripts are transmitted to an MQTT Broker in the fusion terminal through the signal conversion module to be forwarded, the MQTT Broker sends an execution instruction to an APP in the fusion terminal to carry out corresponding tests, the MQTT Broker returns an execution message, the logic control module collects the returned messages, and after the messages are processed, the results are sent to the test result processing module;
and after the test result processing module collects the message, the result is further processed and then sent to the Web display module for visual display.
Furthermore, as an IOT (Internet of things) protocol detection tool, the system can support the IOT protocols such as MQTT, CoAP, LwM2M and the like, innovativeness provides a solution for the function and performance test of the MQTT asynchronous protocol, and effective tool support is improved for high-concurrency scenes of the IOT
Furthermore, the test execution module adopts a streaming real-time big data processing technology, can support large-scale performance test, and simulates million-level users and equipment.
Further, the logic control module performs the judgment: whether the number of the current execution engines is larger than the number of the requested servers or not is judged, if not, the message is directly transmitted back to the Web display module, and reminding is carried out on the page; and if so, sending the signal to a test execution module.
Further, the APP detection system can set the test scene:
(1) supporting user scene setting: a plurality of scripts can be added into a scene, and the transaction ratio is configured according to the number of virtual concurrent users or the service proportion;
(2) supporting scene operation setting: supporting the running settings of common scenes such as a virtual user loading strategy, iteration times, duration, paging, thinktime and the like;
(3) supporting scene problem tracking: newly adding and tracking performance problems found in a scene;
(4) scene history information tracking is supported: tracking scene historical information and trend tracking are supported;
(5) and supporting scene result comparison: and two-wheel or multi-wheel comparison of the test results is supported. Alarm settings can be set for various indexes, including different indexes such as cpu, memory, network, success rate and the like.
Further, the test management module comprises: the test execution module is connected with the Web display module, the second-level created test environment is used for dynamically distributing the test execution task and managing the progress of the test plan.
Further, the logic control module comprises: the device comprises a test result acquisition unit, a performance monitoring unit and a Collectd on the performance monitoring unit, wherein monitoring information data on each machine are simultaneously sent to a test result processing module.
Furthermore, the signal conversion module mainly performs mutual conversion of the analog signal and the digital signal.
Furthermore, the test result processing module assembles the test results into data with specified sampling intervals by adopting a multi-working mode, and stores the data into the database of the test result processing module one by one, so that an industry standardized graph performance test report can be generated and sent to the Web display module.
Further, the test management module can perform resource management on the press machine for performance test:
(1) unified management of the press machine is supported, the press machine is added, modified and deleted, and an information list, configuration details and the like of the press machine are checked;
(2) and automatic scheduling of the number of the presses is supported. By setting the number of the press machines, the platform automatically selects an idle press machine;
(3) supporting the selection of the press ip and realizing the test of machines in different network segments;
(4) and automatic scheduling of the press machine resources is supported, and the pressure resources are dynamically allocated.
The working principle and the beneficial effects are as follows: after scripts of the functions, the performances, the protocols and the like are further processed by the test management module, the logic control module executes judgment and cooperates with the Web display module and the test execution module, corresponding tests are carried out on the APP in the fusion terminal, test results are fed back to the Web display module for display through the test result processing module, and the APP in the fusion terminal can be tested according to the scripts embedded with the tests of the different functions, the performances, the protocols and the like in the system.
Drawings
FIG. 1 is a schematic view of the working process of the present invention.
Detailed Description
The invention will be better understood from the following examples.
The structures, proportions, and dimensions shown in the drawings and described in the specification are for understanding and reading the present disclosure, and are not intended to limit the scope of the present disclosure, which is defined in the claims, and are not essential to the skilled in the art. In addition, the terms "upper", "lower", "front", "rear" and "middle" used in the present specification are for clarity of description, and are not intended to limit the scope of the present invention, and the relative relationship between the terms and the relative positions may be changed or adjusted without substantial technical changes.
As shown in fig. 1, an APP detection system based on an electric power convergence terminal includes a Web display module, a test management module, a test logic control module, a test execution module, a signal conversion module, and a test result processing module;
the Web display module collects scripts containing tests such as functions, performances, protocols and the like and sends the scripts to the test management module, and information fed back by the test structure processing module is visually displayed;
the test management module receives the script sent by the Web display module, normalizes the script, and sends a ready message to the test logic control module after the processing is finished;
the logic control module executes judgment and sends a judgment message to the Web display module or the test execution module;
the test execution module processes the scripts of each test, the scripts are transmitted to an MQTT Broker in the fusion terminal through the signal conversion module to be forwarded, the MQTT Broker sends an execution instruction to an APP in the fusion terminal to carry out corresponding tests, the MQTT Broker returns an execution message, the logic control module collects the returned messages, and after the messages are processed, the results are sent to the test result processing module;
and after the test result processing module collects the message, the result is further processed and then sent to the Web display module for visual display.
As an IOT (Internet of things) protocol detection tool, the system can support the IOT protocols such as MQTT, CoAP, LwM2M and the like, innovativeness provides a solution for the function and performance test of the MQTT asynchronous protocol, and effective tool support is improved for high-concurrency scenes of the IOT
The test execution module adopts a streaming real-time big data processing technology, can support large-scale performance test, and simulates million-level users and equipment.
Wherein, the logic control module executes judgment: whether the number of the current execution engines is larger than the number of the requested servers or not is judged, if not, the message is directly transmitted back to the Web display module, and reminding is carried out on the page; and if so, sending the signal to a test execution module.
Wherein, APP detecting system can set up the test scenario:
(1) supporting user scene setting: a plurality of scripts can be added into a scene, and the transaction ratio is configured according to the number of virtual concurrent users or the service proportion;
(2) supporting scene operation setting: supporting the running settings of common scenes such as a virtual user loading strategy, iteration times, duration, paging, thinktime and the like;
(3) supporting scene problem tracking: newly adding and tracking performance problems found in a scene;
(4) scene history information tracking is supported: tracking scene historical information and trend tracking are supported;
(5) and supporting scene result comparison: and two-wheel or multi-wheel comparison of the test results is supported. Alarm settings can be set for various indexes, including different indexes such as cpu, memory, network, success rate and the like.
Wherein, the test management module includes: the test execution module is connected with the Web display module, the second-level created test environment is used for dynamically distributing the test execution task and managing the progress of the test plan.
Wherein, the logic control module includes: the device comprises a test result acquisition unit, a performance monitoring unit and a Collectd on the performance monitoring unit, wherein monitoring information data on each machine are simultaneously sent to a test result processing module.
The signal conversion module mainly performs mutual conversion of an analog signal and a digital signal.
The test result processing module collects the test results into data with specified sampling intervals by adopting a multi-working mode, and stores the data into a database of the test result processing module one by one, so that an industry standardized graph performance test report can be generated and sent to the Web display module.
Wherein, the test management module can carry out resource management to the press of capability test:
(1) unified management of the press machine is supported, the press machine is added, modified and deleted, and an information list, configuration details and the like of the press machine are checked;
(2) and automatic scheduling of the number of the presses is supported. By setting the number of the press machines, the platform automatically selects an idle press machine;
(3) supporting the selection of the press ip and realizing the test of machines in different network segments;
(4) and automatic scheduling of the press machine resources is supported, and the pressure resources are dynamically allocated.

Claims (10)

1. An APP detection system based on an electric power fusion terminal is characterized by comprising a Web display module, a test management module, a test logic control module, a test execution module, a signal conversion module and a test result processing module;
the Web display module collects scripts containing tests such as functions, performances, protocols and the like and sends the scripts to the test management module, and information fed back by the test structure processing module is visually displayed;
the test management module receives the script sent by the Web display module, normalizes the script, and sends a ready message to the test logic control module after the processing is finished;
the logic control module executes judgment and sends a judgment message to the Web display module or the test execution module;
the test execution module processes the scripts of each test, the scripts are transmitted to an MQTT Broker in the fusion terminal through the signal conversion module to be forwarded, the MQTT Broker sends an execution instruction to an APP in the fusion terminal to carry out corresponding tests, the MQTT Broker returns an execution message, the logic control module collects the returned messages, and after the messages are processed, the results are sent to the test result processing module;
and after the test result processing module collects the message, the result is further processed and then sent to the Web display module for visual display.
2. The APP detection system based on the power convergence terminal as claimed in claim 1, wherein: as an IOT (Internet of things) protocol detection tool, IOT protocols such as MQTT, CoAP, LwM2M and the like can be supported, a solution is provided for function and performance testing of the MQTT asynchronous protocols with innovativeness, and effective tool support is improved for high-concurrency scenes of the IOT.
3. The APP detection system based on the power convergence terminal as claimed in claim 1, wherein: the test execution module adopts a streaming real-time big data processing technology, can support large-scale performance test, and simulates million-level users and equipment.
4. The APP detection system based on the power convergence terminal as claimed in claim 1, wherein: the logic control module executes judgment: whether the number of the current execution engines is larger than the number of the requested servers or not is judged, if not, the message is directly transmitted back to the Web display module, and reminding is carried out on the page; and if so, sending the signal to a test execution module.
5. The APP detection system based on the power convergence terminal as claimed in claim 1, wherein: the APP detection system can set a test scene:
(1) supporting user scene setting: a plurality of scripts can be added into a scene, and the transaction ratio is configured according to the number of virtual concurrent users or the service proportion;
(2) supporting scene operation setting: supporting the running settings of common scenes such as a virtual user loading strategy, iteration times, duration, paging, thinktime and the like;
(3) supporting scene problem tracking: newly adding and tracking performance problems found in a scene;
(4) scene history information tracking is supported: tracking scene historical information and trend tracking are supported;
(5) and supporting scene result comparison: and two-wheel or multi-wheel comparison of the test results is supported. Alarm settings can be set for various indexes, including different indexes such as cpu, memory, network, success rate and the like.
6. The APP detection system based on the power convergence terminal as claimed in claim 1, wherein: the test management module comprises: the test execution module is connected with the Web display module, the second-level created test environment is used for dynamically distributing the test execution task and managing the progress of the test plan.
7. The APP detection system based on the power convergence terminal as claimed in claim 1, wherein: the logic control module comprises: the device comprises a test result acquisition unit, a performance monitoring unit and a Collectd on the performance monitoring unit, wherein monitoring information data on each machine are simultaneously sent to a test result processing module.
8. The APP detection system based on the power convergence terminal as claimed in claim 1, wherein: the signal conversion module mainly performs mutual conversion of analog signals and digital signals.
9. The APP detection system based on the power convergence terminal as recited in claim 1, wherein: the test result processing module assembles the test results into data with specified sampling intervals by adopting a multi-working mode, and stores the data into a database of the test result processing module one by one, so that an industry standard graphic performance test report can be generated and sent to the Web display module.
10. The APP detection system based on the power convergence terminal as claimed in claim 1, wherein: the test management module can perform resource management on the press machine for performance test:
(1) unified management of the press machine is supported, the press machine is added, modified and deleted, and an information list, configuration details and the like of the press machine are checked;
(2) and automatic scheduling of the number of the presses is supported. By setting the number of the press machines, the platform automatically selects an idle press machine;
(3) supporting the selection of the press ip and realizing the test of machines in different network segments;
(4) and automatic scheduling of the press machine resources is supported, and the pressure resources are dynamically allocated.
CN202011342732.0A 2020-11-26 2020-11-26 APP detection system based on electric power integration terminal Pending CN112463604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011342732.0A CN112463604A (en) 2020-11-26 2020-11-26 APP detection system based on electric power integration terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011342732.0A CN112463604A (en) 2020-11-26 2020-11-26 APP detection system based on electric power integration terminal

Publications (1)

Publication Number Publication Date
CN112463604A true CN112463604A (en) 2021-03-09

Family

ID=74809669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011342732.0A Pending CN112463604A (en) 2020-11-26 2020-11-26 APP detection system based on electric power integration terminal

Country Status (1)

Country Link
CN (1) CN112463604A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360182A (en) * 2021-06-04 2021-09-07 建信金融科技有限责任公司 Method and apparatus for system performance diagnostics
CN115208791A (en) * 2022-09-16 2022-10-18 江苏橙智云信息技术有限公司 Method for testing functions of Internet of things equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170048120A1 (en) * 2015-08-11 2017-02-16 Txmq, Inc. Systems and Methods for WebSphere MQ Performance Metrics Analysis
CN109960619A (en) * 2019-02-12 2019-07-02 众安在线财产保险股份有限公司 A kind of Testing Platform and method
CN110636131A (en) * 2019-09-25 2019-12-31 北京中广瑞波科技股份有限公司 Internet of things testing system based on cloud technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170048120A1 (en) * 2015-08-11 2017-02-16 Txmq, Inc. Systems and Methods for WebSphere MQ Performance Metrics Analysis
CN109960619A (en) * 2019-02-12 2019-07-02 众安在线财产保险股份有限公司 A kind of Testing Platform and method
CN110636131A (en) * 2019-09-25 2019-12-31 北京中广瑞波科技股份有限公司 Internet of things testing system based on cloud technology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360182A (en) * 2021-06-04 2021-09-07 建信金融科技有限责任公司 Method and apparatus for system performance diagnostics
CN115208791A (en) * 2022-09-16 2022-10-18 江苏橙智云信息技术有限公司 Method for testing functions of Internet of things equipment

Similar Documents

Publication Publication Date Title
CN103281366B (en) A kind of support real-time running state to obtain embedded agent supervising device and method
CN102769709B (en) A kind of for providing the method and apparatus of service contact information to user
CN112463604A (en) APP detection system based on electric power integration terminal
CN107766509B (en) Method and device for static backup of webpage
CN110309231B (en) Cross-machine-room data synchronization method and system
CN102497427B (en) Method and device for realizing data acquisition services of renewable energy source monitoring system
CN112925646A (en) Electric power data edge calculation system and calculation method
CN105183299A (en) Human-computer interface service processing system and method
CN109660421A (en) Method, apparatus, server and the storage medium of flexible scheduling resource
CN112994972B (en) Distributed probe monitoring platform
CN112380399A (en) Cloud platform-based power consumption big data processing system and processing method thereof
CN111625419A (en) Log acquisition method, system, equipment and computer readable storage medium
CN112749940A (en) Electric power operation supporting platform
CN103117878A (en) Design method of Nagios-based distribution monitoring system
CN107463490B (en) Cluster log centralized collection method applied to platform development
CN113452667A (en) Edge Internet of things terminal access method suitable for multiple protocol types
CN111224817A (en) Distributed micro-acquisition system and method thereof
CN104468248A (en) Service performance monitoring method, reverse proxy server, statistical analysis server and system
CN114201294A (en) Task processing method, device and system, electronic equipment and storage medium
CN116319404A (en) Multifunctional monitoring system management system for mobile phone application
CN110932393A (en) Substation information protection master station system and data initialization method thereof
CN115081413A (en) Report generation method, device, system, equipment and medium
CN116974655A (en) Capability scheduling method and capability scheduling functional entity
CN113515425A (en) Method and device for dynamically reporting data
CN110768855B (en) Method and device for testing linkmzation performance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination