Edge computing and carrying capacity testing method and system for intelligent converged terminals

By installing the test module and business function module in the intelligent converged terminal, the number of concurrent users, response time and working status are tested, and uploaded to the IoT cloud platform using the MQTT protocol, which solves the problem of the lack of effective testing methods in the existing technology and achieves It provides fast and accurate testing and long-term dynamic monitoring of edge computing capabilities and carrying capacity.

CN114679691BActive Publication Date: 2025-01-21STATE GRID HENAN ELECTRIC POWER ELECTRIC POWER SCI RES INST +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210263913.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-15
Publication Date
2025-01-21
Estimated Expiration
2042-03-15

AI Technical Summary

Technical Problem

There is a lack of effective testing methods for the edge computing capacity and carrying capacity of intelligent service terminals in the station area in the prior art, and most testing methods only conduct dynamic testing for static or short-term time, which cannot meet the needs of long-term dynamic testing and monitoring.

Method used

Provide edge computing capabilities and load capacity testing methods and systems for intelligent converged terminals. By installing test modules and business function modules in intelligent converged terminals, test the number of concurrent users, response time and working status, and use the MQTT protocol to upload test data to the IoT cloud platform to achieve long-term dynamic testing and monitoring.

Benefits of technology

It realizes fast and accurate testing of the edge computing capabilities and carrying capacity of intelligent converged terminals, provides real-time and historical data viewing functions, supports long-term dynamic testing and monitoring, and provides important guidance for the specific implementation and development of intelligent services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114679691B_ABST
    Figure CN114679691B_ABST
Patent Text Reader

Abstract

The present invention provides an edge computing and carrying capacity testing method and system for intelligent fusion terminals. First, the edge computing capability and carrying capacity of the intelligent fusion terminal are tested, and a communication mode of 4G or NB-IoT is selected to connect to the Internet of Things platform as needed. The test data is uploaded to the Huawei Cloud Internet of Things platform for storage through the MQTT protocol, and then the test data is sent to the Zhuo client, so that the staff can conveniently and quickly view the real-time data and historical data through the Android client, providing guidance for the specific implementation and development of subsequent intelligent services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power distribution automation, and specifically relates to an edge computing and carrying capacity testing method and system for an intelligent fusion terminal. Background Art

[0002] With the continuous progress of power industry technologies such as energy storage and transmission technology, communication technology, Internet technology, and new generation information and communication technology, the distribution network will continue to develop towards a new open, intelligent, flexible, and clean operation mode with a high degree of integration of information flow, power flow, and energy flow. However, due to the characteristics of low-voltage distribution networks with many points, wide coverage, large volume, and low economic value of a single point, as well as the investment costs, human resources, and technical level of power grid companies, the distribution network work has been mainly focused on 10kV and above systems. As the "last mile", the low-voltage distribution network has long been in a monitoring blind spot.

[0003] In the distribution substation area, the scale of the current distribution network is constantly expanding. On the low-voltage distribution substation side, with the development of the distribution network, the low-voltage distribution network is widely distributed, the total amount of equipment is large, the power supply and consumption forms are complex, and the human resources for the front-line operation and maintenance management of the distribution network do not match the growth rate of the distribution network. These problems have impacted the progress of the intelligent distribution network. For a long time, the low-voltage side of the distribution network has lacked intelligent and efficient monitoring and operation and maintenance methods.

[0004] In the face of the above problems, State Grid Corporation proposed in the "White Paper on the Development of Power Distribution Internet of Things Technology" that the edge layer adopts the technical architecture of "unified hardware platform + edge operating system + APP business application software", integrating the core capabilities of network, computing, storage, and application, and improving the real-time nature of business processing through edge computing technology, reducing the pressure of cloud master station communication and computing; through software-defined terminals, flexible deployment of power system production business and customer service application functions is achieved. This solution is applied in the distribution substation, which uses the substation intelligent business terminal as the edge layer carrier, and the intelligent substation business terminal based on the concept of edge computing of the Internet of Things as the substation data center, to build a set of distribution substation integrated management and control system with centralized computing and distributed intelligent analysis and collaborative decision-making, to promote the transformation of the management mode from "production-oriented" to "service-oriented", and to build the distribution substation into an edge intelligent decision-maker for intelligent self-balancing, self-optimization and automated operation and maintenance of the low-voltage distribution network.

[0005] However, on the one hand, the testing methods for the edge computing capabilities and carrying capabilities of smart business terminals in the substation are still in the preliminary stage and are rarely used in practice; on the other hand, most testing methods are static or short-term dynamic tests on products. The present invention proposes an effective testing method for the edge computing capabilities and carrying capabilities of smart business terminals in the substation, and uses the Internet of Things technology to perform long-term dynamic testing and monitoring on them, providing guidance for the specific implementation and development of subsequent smart businesses, which has important theoretical research value and practical significance. Summary of the invention

[0006] In order to address the deficiencies in the prior art, the purpose of the present invention is to provide a testing method and system for the edge computing capability and carrying capacity of intelligent converged terminals. The invention can test the edge computing capability and carrying capacity of intelligent converged terminals, and can select a communication method of 4G or NB-IoT to connect to the Internet of Things platform as needed, upload the test data to the Huawei Cloud Internet of Things platform for storage through the MQTT protocol, and then send the test data to the Android client, so that the staff can easily and quickly view the real-time data and historical data through the Android client, and conduct long-term dynamic testing and monitoring on them, providing guidance for the specific implementation and development of subsequent intelligent services.

[0007] The present invention adopts the following technical solution. On the one hand, the present invention provides an edge computing and carrying capacity testing method for intelligent fusion terminals, comprising the following steps:

[0008] Step 1: Install the test module and the business function module in the intelligent converged terminal. Through the interaction between the test module and the business function module, three indicators are tested: the number of concurrent users, response time, and working status. The interaction includes: topic publishing and topic subscription.

[0009] Step 2: After the test module receives the number of concurrent users, response time, and working status, the transport layer of the intelligent fusion terminal connects to the IoT cloud platform server by wireless communication, and then uploads the number of concurrent users, response time, and working status to the IoT cloud platform server for storage based on the MQTT protocol;

[0010] Step 3: The Android client establishes a communication connection with the IoT cloud platform server through the MQTT protocol and performs data transmission;

[0011] Step 4: The IoT cloud platform server receives and stores the number of concurrent users, response time, and working status from the intelligent fusion terminal transmission layer, and sends it to the Android client.

[0012] Preferably, in step 1,

[0013] The business function module includes: a concurrent user number function module, a response time function module and a working status function module; wherein the concurrent user number function module and the response time function module are both used to test the hardware capability and edge computing capability of the intelligent fusion terminal; the working status function module is used to test the carrying capacity of the intelligent fusion terminal;

[0014] The test module is used to publish test topics, interact with business function modules, and receive the number of concurrent users, response time and working status.

[0015] The number of concurrent users refers to the number of online users who interacted with the IoT cloud platform server in the same period;

[0016] The response time refers to the time required from when a user sends a request to when a response is received;

[0017] The working status indicates whether the test module and the business function module can operate normally. If the test module can normally subscribe to the topic published by the business function module, the value of the working status is 1, otherwise the value of the working status is 0.

[0018] Preferably, in step 1, the testing method for the number of concurrent users is: the test module publishes topics with themes CL1, CL2, and CL3 to simulate online users, the concurrent user number function module subscribes to topics with themes CL1, CL2, and CL3, and the maximum number of subscriptions to topics with themes CL1, CL2, and CL3 is selected as the number of concurrent users. The concurrent user number function module publishes a topic with the theme cl to transmit the number of concurrent users to the test module.

[0019] Preferably, in step 1, the test method of the response time is: the test module publishes a topic with the subject RT1, the response time function module subscribes to the topic with the subject RT1 and starts to calculate the factorial of 999999 to obtain the calculation time and then uses the calculation time to simulate the response time, and the response time function module publishes a topic with the subject rt to transmit the response time to the test module.

[0020] Preferably, in step 1, the working status test method is: the test module publishes a topic with the subject WC1, and after the working status function module subscribes to the topic with the subject WC1, the working status function module publishes a topic with the subject wc. If the test module can subscribe to the topic with the subject wc published by the working status function module, the working status value is 1, otherwise it is 0.

[0021] Preferably, in step 2, when the transmission data is not greater than 100KB or the transmission speed requirement is not greater than 250Kbps, the transmission layer of the intelligent converged terminal uses NB-IoT to connect to the Internet of Things cloud platform server;

[0022] When the transmission data is greater than 100KB or the transmission speed requirement is greater than 250Kbps, the transmission layer of the intelligent converged terminal uses 4G to connect to the IoT cloud platform server.

[0023] Preferably, in step 2, the number of concurrent users, response time, and working status are published to the IoT cloud platform server in JSON format.

[0024] Preferably, in step 4, the functions provided by the Android client to the staff include: registration and login, subscription to the intelligent fusion terminal, query of real-time data, and viewing of historical data.

[0025] On the other hand, the present invention provides an edge computing and carrying capacity testing system for intelligent fusion terminals based on the testing method for edge computing and carrying capacity of intelligent fusion terminals, including: a perception layer module, a transport layer module, a service layer module and a user layer module, wherein:

[0026] The perception layer module is used for the interaction between the test module installed in the intelligent converged terminal and the business function module, and tests three indicators: the number of concurrent users, response time, and working status; the test interaction work includes: topic publishing and topic subscription;

[0027] The transport layer module is used to select NB-IoT or 4G to realize the connection between the intelligent converged terminal and the IoT cloud platform server, and then upload the number of concurrent users, response time, and working status to the IoT cloud platform server for storage using the MQTT protocol;

[0028] The service layer module is used to receive and store the number of concurrent users, response time, and working status from the intelligent converged terminal, and send it to the Android client;

[0029] The user layer module is used to provide services for staff, including: registration and login, subscription to intelligent fusion terminal, query of real-time data, and viewing of historical data.

[0030] The beneficial effect of the present invention is that, compared with the prior art, the present invention proposes a method for testing the edge computing capability and carrying capacity of the intelligent fusion terminal on the distribution network station side, and uses the Internet of Things technology to establish an integrated functional framework of data acquisition, wireless system communication, cloud platform storage and mobile client, and realizes the data information transfer between remote data and the cloud platform, so that the staff can conveniently and quickly view the real-time data and historical data through the Android client, and conduct long-term dynamic testing and monitoring on them, providing guidance for the specific implementation and development of subsequent intelligent business. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a structural schematic diagram of the testing system of the edge computing capability and carrying capacity for the intelligent fusion terminal of the present invention.

[0032] Figure 2 It is a flow chart of testing and data interaction between business function modules and test modules.

[0033] Figure 3 This is the transport layer workflow diagram of the intelligent converged terminal.

[0034] Figure 4 This is the workflow diagram of the service layer module.

[0035] Figure 5 To query the real-time data flow diagram.

[0036] Figure 6 To obtain real-time data interface diagram.

[0037] Figure 7 Flowchart for obtaining historical data.

[0038] Figure 8 To obtain the historical data interface.

[0039] Fig. 9 Implement communication flow chart between IoT platform and Android client. DETAILED DESCRIPTION

[0040] The present application is further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present application.

[0041] The terms mentioned in the present invention are explained as follows:

[0042] 1. MQTT (Message Queuing Telemetry Transport) is a "lightweight" communication protocol based on the publish / subscribe model. The protocol is built on the TCP / IP protocol and was released by IBM in 1999. The biggest advantage of MQTT is that it can provide real-time and reliable message services for connecting remote devices with very little code and limited bandwidth. As an instant messaging protocol with low overhead and low bandwidth usage, it is widely used in the Internet of Things, small devices, mobile applications, etc. It has the following main features:

[0043] (1) Use the publish / subscribe messaging model to provide one-to-many message publishing and decouple applications. This is very similar to XMPP, but the information redundancy of MQTT is much less than that of XMPP because XMPP uses XML format text to transmit data.

[0044] (2) Message transmission with payload content shielded.

[0045] (3) Use TCP / IP to provide network connection. The mainstream MQTT is based on TCP connection for data push, but there is also a UDP-based version called MQTT-SN. Since these two versions are based on different connection methods, their advantages and disadvantages are naturally different.

[0046] (4) There are three types of message publishing service quality:

[0047] "At most once", message publishing completely depends on the underlying TCP / IP network. Message loss or duplication may occur. This level can be used in the following situations, such as environmental sensor data, where it does not matter if a read record is lost, because a second send will be sent soon.

[0048] "At least once" ensures that messages arrive, but message duplication may occur.

[0049] "Exactly once" ensures that the message arrives once. This level can be used in some billing systems with strict requirements. In the billing system, duplicate or lost messages will lead to incorrect results.

[0050] (5) Small transmission, small overhead (fixed-length header is 2 bytes), and minimized protocol exchange to reduce network traffic. This makes it very suitable for "In the field of Internet of Things, the communication between sensors and servers, information collection, and the computing power and bandwidth of embedded devices are relatively weak, so using this protocol to transmit messages is the most suitable.

[0051] (6) A mechanism that uses the Last Will and Testament features to notify relevant parties of abnormal client interruptions.

[0052] 2. NB-IoT (Narrow Band Internet of Things) is a low-power, low-cost narrowband wireless network technology based on mobile cellular networks jointly proposed by Huawei and related international communications companies in 2014. NB-IoT was called narrowband cellular Internet of Things in 2014 and named LTEM. It evolved into NB-CIoT in June 2015. In September of the same year, NB-CIoT and NB-LTE technologies merged to form NB-IoT WID. In December of the same year, the NB-IoT ecosystem was officially formed. In June 2016, the commercialization of NB-IoT technology officially began. The main advantages of NB-IoT as a long-distance wide-area IoT communication technology are:

[0053] (1) Massive access: When the cell capacity is 200kHz, the number of user devices can reach 100k;

[0054] (2) Wide coverage: Compared with the GPRS system, the signal gain is increased by 20dB, and the coverage capability is improved by 100 times, which can cover places such as underground environments where ordinary wireless signals cannot reach;

[0055] (3) Ultra-low power consumption: The battery life of the terminal node can reach 10 years;

[0056] (4) Low cost: NB-IoT technology works in half-duplex mode, so the RF cost is low. The terminal module is priced at US$2.

[0057] 3. Edge computing refers to the use of an open platform that integrates network, computing, storage, and application core capabilities on the side close to the source of objects or data to provide the nearest service. Its application is initiated on the edge side, resulting in faster network service response, meeting the industry's basic needs in real-time business, application intelligence, security and privacy protection, etc.

[0058] Aiming at the difficulty of testing the edge computing capability and carrying capacity of intelligent fusion terminals, the present invention proposes a testing method and system for the edge computing capability and carrying capacity of intelligent fusion terminals, which enables the staff to quickly test the edge computing capability and carrying capacity of intelligent fusion terminals, and conveniently view real-time and historical data through the Android client. Figure 1 As shown, it is divided into four parts: perception layer module, transport layer module, service layer module and user layer module.

[0059] Embodiment 1 of the present invention provides a test method for edge computing and carrying capacity of intelligent converged terminals, which specifically includes the following steps:

[0060] Step 1: Install the test module and business function module in the intelligent converged terminal. Through the interaction of these two modules, three indicators can be tested: concurrent user number, response time, and working status. The business function module can be further divided into concurrent user number function module, response time function module, and working status function module. The test results of the concurrent user number function module and the response time function module can show the hardware capabilities of the intelligent converged terminal to a certain extent, such as memory and processor, and then reflect the edge computing capabilities of the intelligent converged terminal; while the working status function module is used to reflect the carrying capacity of the converged terminal.

[0061] The number of concurrent users (Concurrency Level) means the number of online users who interacted with the server in the same period. In this test method, the test module publishes topics with the subject "CL1", "CL2", "CL3", etc. to simulate online users, and then allows the concurrent user function module to subscribe to the above topics as much as possible. Finally, a current maximum number of subscribed topics is obtained to represent the number of concurrent users, and a topic with the subject "cl" is published to transmit the number of concurrent users to the test module.

[0062] Response time means the time from when a user sends a request to when a response is received. In this test method, the test module publishes a topic with the subject "RT1". After the response time function module subscribes, it starts to calculate the factorial of 999999, and then simulates the response time with the calculation time. It publishes a topic with the subject "rt" to transmit the response time to the test module.

[0063] Working condition is the most basic function of the test module and the business function module, that is, whether it can run normally. In this test method, the test module publishes a topic with the subject "WC1". After the working status function module subscribes, the working status function module publishes a topic with the subject "wc". If the test module can normally subscribe to the topic published by the business function module, the working status value is "1", otherwise it is "0".

[0064] The number of concurrent users and response time are typical test indicators in the test. With the help of the interaction between the test module and the business function module in the intelligent converged terminal, their values ​​can be tested more conveniently, thereby reflecting the edge computing capabilities of the intelligent converged terminal; as for testing the carrying capacity of the intelligent converged terminal, the goal is to "minimize engineering applications", that is, to verify whether the test module and the business function module can be used normally.

[0065] The test and data interaction between the business function module and the test module is as follows Figure 2 shown.

[0066] Step 2: After the test module receives the test data of concurrent user number, response time and working status, it can select one of the wireless communication methods of NB-IoT and 4G to connect to the IoT cloud platform server as needed, and then upload the three test indicators of concurrent user number, response time and working status to the IoT cloud platform server for storage using the MQTT protocol. Figure 3 shown.

[0067] When the transmission data is no larger than 100KB or the transmission speed requirement is no larger than 250Kbps, the transmission layer of the intelligent converged terminal uses NB-IoT to connect to the IoT cloud platform server;

[0068] When the transmission data is greater than 100KB or the transmission speed requirement is greater than 250Kbps, the transmission layer of the intelligent converged terminal uses 4G to connect to the IoT cloud platform server.

[0069] Step 3: The IoT cloud platform server provides a powerful platform technology support for remote terminal devices to access the IoT. It has the functions of realizing the access and communication of massive devices, supporting device registration, and forwarding data information. On the one hand, it receives and stores the test data from the intelligent fusion terminal, and on the other hand, it sends the required data to the Android client. The service layer module workflow is as follows: Figure 4 shown.

[0070] Step 4: Use Android Studio to develop an Android client and establish a communication connection with the IoT cloud platform server through the MQTT protocol. The Android client provides four functions for staff: registration and login, subscription to intelligent fusion terminal, query of real-time data, and viewing of historical data.

[0071] Embodiment 2 of the present invention provides a test system for edge computing capability and carrying capacity for intelligent fusion terminals, and runs a test method for edge computing capability and carrying capacity for intelligent fusion terminals. The test system includes a perception layer module, a transport layer module, a service layer module, and a user layer module, wherein:

[0072] The perception layer module is used for the interaction between the test module installed in the intelligent converged terminal and the business function module, and tests three indicators: the number of concurrent users, response time, and working status; the test interaction work includes: topic publishing and topic subscription;

[0073] The transport layer module is used to select NB-IoT or 4G to realize the connection between the intelligent converged terminal and the IoT cloud platform server, and then upload the number of concurrent users, response time, and working status to the IoT cloud platform server for storage using the MQTT protocol;

[0074] The service layer module is used to receive and store the number of concurrent users, response time, and working status from the intelligent converged terminal, and send it to the Android client;

[0075] The user layer module is used to provide services for staff, including: registration and login, subscription to intelligent fusion terminal, query of real-time data, and viewing of historical data.

[0076] Embodiment 3 of the present invention uses an intelligent fusion terminal as the edge terminal, selects the Huawei Cloud IoT platform as the cloud, creates a product on the platform with the device_id 5fed8387aaafca02dba396b2_123456, saves the test data with the service_id centertest, uses mosquitto as the agent in the MQTT protocol, and connects the intelligent fusion terminal and the Android client. The present invention specifically takes the edge computing capability and carrying capacity of the intelligent fusion terminal as an example, and demonstrates the test effect through the constructed test system.

[0077] 1. Perception layer design

[0078] The perception layer is the intelligent fusion terminal. The intelligent fusion terminal uses the open source Linux kernel. To meet the needs of the ubiquitous power Internet of Things and the easy expansion of the Internet of Things, it implements the edge computing framework, which enables edge devices to have cloud computing capabilities and can be used for multi-type device access and message forwarding, achieving interconnection and interoperability, and facilitating instant changes and on-demand iterations of edge applications.

[0079] In the perception layer, the system has designed a total of three indicators to test the edge computing capability and carrying capacity of the intelligent converged terminal, namely the number of concurrent users, response time, and working status.

[0080] (1) Number of concurrent users: the number of topics subscribed by the business app;

[0081] (2) Response time: The time it takes to calculate the factorial of 999999 after the business app subscribes to the topic “RT1”;

[0082] (3) Working status: Use the "status value" to indicate whether the business APP function can be used normally. When the business APP function is normal, the status value returns 1; otherwise, it returns 0.

[0083] 2. Transport layer design

[0084] When the test APP receives the test data, the intelligent fusion terminal can select one of the wireless communication methods, NB-IoT and 4G, to connect to the IoT cloud platform server as needed. Both NB-IoT and 4G can achieve long-distance wireless transmission, but each has its own advantages and disadvantages.

[0085] (1) 4G: Fast transmission speed and large data transmission capacity, but high power consumption and high price;

[0086] (2) NB-IoT: low power consumption, cheap chip modules and packages, small data transmission, and low transmission speed.

[0087] When the transmission data is small and the transmission speed is not high, the transmission layer can use NB-IoT to connect to the Huawei Cloud IoT platform; when the transmission data is large and the transmission speed is high, 4G can be used. This can reduce costs and power consumption while taking into account the needs of big data and high transmission speed.

[0088] The intelligent fusion terminal then connects to the cloud through the MQTT protocol and publishes three test data, namely the number of concurrent users, response time, and working status, to the IoT platform in JSON format. The flow chart of test data publishing to the IoT platform is as follows: Figure 4As shown in Figure 1, after the IoT platform reads the real-time test data of the intelligent fusion terminal, it connects to the database storing the test data and stores the test data in the database. The feature publishing format is shown in Table 1.

[0089]

[0090] 3. Service layer design

[0091] Huawei's IoT cloud platform provides a powerful platform technology support for remote terminal devices to access the IoT, and has functions such as access and communication of massive devices, support for device registration, and forwarding data information. On the one hand, the IoT platform accepts and stores test data from intelligent converged terminals, and on the other hand, it develops applications through the rich API interfaces of the IoT platform and sends the required data to the Android client.

[0092] 4. User layer design

[0093] The Android client establishes a communication connection with the Huawei Cloud IoT platform through the MQTT protocol and transmits data. This client provides users with four functions: registration and login, subscription to intelligent fusion terminals, query of real-time data, and viewing of historical data.

[0094] 4.1. Login and registration functions

[0095] When users open this APP, they need to register and log in. Registration means setting a username and password, and then re-entering the password to confirm whether it is correct. Then click Confirm according to the prompt information on the page and enter the homepage of the APP. When logging in again, you can directly enter the username and password, or you can choose to log out of the current account or switch to another account in the settings bar on the screen.

[0096] 4.2. Subscription function of intelligent converged terminal

[0097] First, you need to register a unique number for the smart fusion terminal in the Android client. The user can enter the device ID number to be subscribed in the information bar above the client device, and click "Subscribe Device" to successfully subscribe.

[0098] 4.3. Query real-time data function

[0099] When the user pulls down the client page, the value is refreshed and the real-time data of the IoT platform is obtained. The user completes the process of querying historical data as follows: Figure 5 As shown, the effect of obtaining real-time data is as follows Figure 6 shown.

[0100] 4.4. Get historical data function

[0101] The user can view the historical data line chart of the test data collected by the intelligent fusion terminal. The line chart can be used to observe the historical dynamic changes of each parameter over time. The process of the user completing the query of historical data is shown in Figure 7. The effect of obtaining historical data is as follows: Figure 8 shown.

[0102] 4.5. Communication between IoT platform and Android client

[0103] During the communication between the IoT platform and the Android client, the user completes registration and login on the Android client, and after establishing a connection with the cloud server through the MQTT protocol, the client creates a message and sends it to the cloud server. After receiving the message, the cloud server returns a message to the client to confirm whether the previous message was sent successfully. Fig. 9 shown.

[0104] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.

Claims

1. The edge computing and carrying capacity testing method for intelligent converged terminals is characterized by: The method comprises the following steps: Step 1: Install the test module and the business function module in the intelligent converged terminal. Through the interaction between the test module and the business function module, three indicators are tested: the number of concurrent users, response time, and working status. The interaction includes: topic publishing and topic subscription. The business function modules include: concurrent user number function module, response time function module and working status function module; The testing method for the number of concurrent users is as follows: the test module publishes topics with the themes CL1, CL2, and CL3 to simulate online users, the concurrent user function module subscribes to the topics with the themes CL1, CL2, and CL3, selects the maximum number of subscriptions to the topics with the themes CL1, CL2, and CL3 as the number of concurrent users, and the concurrent user function module publishes a topic with the theme cl to transmit the number of concurrent users to the test module; Step 2: After the test module receives the number of concurrent users, response time, and working status, the transport layer of the intelligent fusion terminal connects to the IoT cloud platform server by wireless communication, and then uploads the number of concurrent users, response time, and working status to the IoT cloud platform server for storage based on the MQTT protocol; Step 3: The Android client establishes a communication connection with the IoT cloud platform server through the MQTT protocol and performs data transmission; Step 4: The IoT cloud platform server receives and stores the number of concurrent users, response time, and working status from the intelligent fusion terminal transmission layer, and sends it to the Android client.

2. The edge computing and carrying capacity testing method for intelligent fusion terminals according to claim 1 is characterized in that: In step 1, The concurrent user number function module and the response time function module are used to test the hardware capabilities and edge computing capabilities of the intelligent converged terminal; the working status function module is used to test the carrying capacity of the intelligent converged terminal; The test module is used to publish test topics, interact with business function modules, and receive the number of concurrent users, response time and working status.

3. The edge computing and carrying capacity testing method for intelligent fusion terminals according to claim 2 is characterized in that: In step 1, the number of concurrent users refers to the number of online users who interacted with the IoT cloud platform server in the same period; Response time indicates the time it takes from when a user sends a request to when a response is received; The working status indicates whether the test module and the business function module can operate normally. If the test module can normally subscribe to the topic published by the business function module, the working status value is 1, otherwise the working status value is 0.

4. The edge computing and carrying capacity testing method for intelligent fusion terminals according to claim 2 is characterized in that: In step 1, the test method of response time is: the test module publishes a topic with the subject RT1, the response time function module subscribes to the topic with the subject RT1 and starts to calculate the factorial of 999999 to obtain the calculation time and then uses the calculation time to simulate the response time, and the response time function module publishes a topic with the subject rt to transmit the response time to the test module.

5. The edge computing and carrying capacity testing method for intelligent fusion terminals according to claim 2 is characterized in that: In step 1, the test method of the working status is: the test module publishes a topic with the subject WC1, and after the working status function module subscribes to the topic with the subject WC1, the working status function module publishes a topic with the subject wc. If the test module can subscribe to the topic with the subject wc published by the working status function module, the working status value is 1, otherwise it is 0.

6. The edge computing and carrying capacity testing method for intelligent fusion terminals according to claim 1 is characterized in that: In step 2, when the transmission data is no more than 100KB or the transmission speed requirement is no more than 250Kbps, the transport layer of the intelligent converged terminal uses NB-IoT to connect to the IoT cloud platform server; When the transmission data is greater than 100KB or the transmission speed requirement is greater than 250Kbps, the transmission layer of the intelligent converged terminal uses 4G to connect to the IoT cloud platform server.

7. The edge computing and carrying capacity testing method for intelligent fusion terminals according to claim 6 is characterized in that: In step 2, the number of concurrent users, response time, and work status are published to the IoT cloud platform server in JSON format.

8. The edge computing and carrying capacity testing method for intelligent converged terminals according to claim 7 is characterized in that: In step 4, the functions provided by the Android client for the staff include: registration and login, subscription to intelligent fusion terminal, query of real-time data, and viewing of historical data.

9. An edge computing and carrying capacity testing system for intelligent fusion terminals implemented by using the edge computing and carrying capacity testing method for intelligent fusion terminals according to any one of claims 1 to 8, comprising: The perception layer module, the transport layer module, the service layer module and the user layer module are characterized by: The perception layer module is used for the interaction between the test module installed in the intelligent converged terminal and the business function module, and tests three indicators: the number of concurrent users, response time, and working status; the test interaction work includes: topic publishing and topic subscription; The transport layer module is used to select NB-IoT or 4G to realize the connection between the intelligent converged terminal and the IoT cloud platform server, and then upload the number of concurrent users, response time, and working status to the IoT cloud platform server for storage using the MQTT protocol; The service layer module is used to receive and store the number of concurrent users, response time, and working status from the intelligent converged terminal, and send it to the Android client; The user layer module is used to provide services for staff, including: registration and login, subscription to intelligent fusion terminal, query of real-time data, and viewing of historical data.

Citation Information

Patent Citations

  • Method for testing concurrency property of cloud platform based on federated research

    CN104331477A

  • Plant factory intelligent control system based on cloud platform

    CN112925276A