CN113890846A - Distribution network detection method, device and system, storage medium and terminal equipment - Google Patents

Distribution network detection method, device and system, storage medium and terminal equipment Download PDF

Info

Publication number
CN113890846A
CN113890846A CN202111115443.1A CN202111115443A CN113890846A CN 113890846 A CN113890846 A CN 113890846A CN 202111115443 A CN202111115443 A CN 202111115443A CN 113890846 A CN113890846 A CN 113890846A
Authority
CN
China
Prior art keywords
distribution network
detection
interface
target
target application
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
CN202111115443.1A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111115443.1A priority Critical patent/CN113890846A/en
Publication of CN113890846A publication Critical patent/CN113890846A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network

Abstract

The embodiment of the invention discloses a distribution network detection method, a distribution network detection device, a distribution network detection system, a storage medium and terminal equipment, and is applied to the technical field of testing. The distribution network detection device integrates distribution network detection cases of various system types, and displays a detection parameter interface to a user, wherein the detection parameter interface comprises a first input interface of the system type and a detection initiating interface. Therefore, the distribution network executed by the target application terminals of various target system types can be detected through one distribution network detection device without using a plurality of sets of distribution network detection devices, and the detection of the distribution network of the intelligent equipment to be distributed is simplified.

Description

Distribution network detection method, device and system, storage medium and terminal equipment
Technical Field
The invention relates to the technical field of testing, in particular to a distribution network detection method, a distribution network detection device, a distribution network detection system, a storage medium and terminal equipment.
Background
In recent years, networking of home appliances has become an increasingly essential function of home appliances, and the intellectualization of home appliances is a necessary trend, and the networking capability of intelligent home appliances also becomes one of the key indexes affecting the satisfaction degree of customers. Based on the current background, it is very important to detect the networking capability of the intelligent home appliance, and the automatic detection is also a necessary selection trend, so as to have higher efficiency and excellent accuracy.
At present, when the intelligent household appliances are networked, the intelligent household appliances need to be firstly connected with a network, the network is mainly connected in a mode that the intelligent household appliances are connected to an application terminal, and when the network for the intelligent household appliances is detected, the operation log of the application terminal in the network distribution process of the intelligent household appliances is mainly obtained, and the network distribution capacity of the intelligent household appliances is analyzed based on the operation log.
However, in practical applications, the systems applied by the application terminals are different, so that the detection of the distribution network requires deployment of a corresponding detection system, and if the number of the application terminals to be detected is large, a large amount of equipment cost and labor maintenance and execution cost are inevitably consumed, and the efficiency cannot meet the requirement of rapid iteration of daily versions.
Disclosure of Invention
The embodiment of the invention provides a distribution network detection method, a distribution network detection device, a distribution network detection system, a storage medium and terminal equipment, and the distribution network detection efficiency is improved.
An embodiment of the present invention provides a distribution network detection method, including:
displaying a detection parameter interface, wherein the detection parameter interface comprises a first input interface of a system type and a detection initiating interface;
receiving a distribution network test request from the detection initiating interface, wherein the distribution network test request comprises a target system type input by a user from the first input interface;
acquiring a distribution network test case corresponding to the type of the target system;
and detecting a distribution network of the intelligent equipment to be distributed connected to a target application terminal according to the distribution network test case, wherein the target application terminal corresponds to the type of a target system.
Another aspect of the embodiments of the present invention provides a distribution network detection apparatus, including:
the interface display unit is used for displaying a detection parameter interface, and the detection parameter interface comprises a first input interface of a system type and a detection initiating interface;
a request receiving unit, configured to receive a distribution network test request from the detection initiating interface, where the distribution network test request includes a target system type input by a user from the first input interface;
the case acquisition unit is used for acquiring a distribution network test case corresponding to the type of the target system;
the detection unit is used for detecting a distribution network of the intelligent equipment to be distributed, which is connected to a target application terminal, according to the distribution network test case, wherein the target application terminal corresponds to the type of a target system.
Another aspect of the embodiments of the present invention provides a distribution network detection system, including a plurality of distribution network execution machines, a test server, a plurality of application terminals, and a plurality of intelligent devices to be distributed;
a plurality of distribution network execution machines are respectively connected to the test server, and each distribution network execution machine is the distribution network detection device according to another aspect of the embodiment;
the application terminals are respectively connected to the test server, and the intelligent device to be networked is connected to the application terminals.
Another aspect of the embodiments of the present invention provides a distribution network detection system, including a distribution network execution machine, a plurality of application terminals, and a plurality of intelligent devices to be distributed, where the plurality of application terminals are respectively connected to the distribution network execution machine, and the intelligent devices to be distributed are connected to the application terminals;
the distribution network executing machine is a distribution network detection device according to another aspect of the embodiment of the invention.
In another aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a plurality of computer programs, and the computer programs are suitable for being loaded by a processor and executing the distribution network detection method according to an aspect of the embodiment of the present invention.
In another aspect, an embodiment of the present invention further provides a terminal device, including a processor and a memory;
the memory is used for storing a plurality of computer programs, and the computer programs are used for being loaded by the processor and executing the distribution network detection method according to the aspect of the embodiment of the invention; the processor is configured to implement each of the plurality of computer programs.
Therefore, in the embodiment of the invention, distribution network detection cases of various system types are integrated in the distribution network detection device, and a detection parameter interface is displayed for a user, wherein the detection parameter interface comprises a first input interface of the system type and a detection initiating interface. Therefore, the distribution network executed by the target application terminals of various target system types can be detected through one distribution network detection device without using a plurality of sets of distribution network detection devices, so that the detection of the distribution network of the intelligent equipment to be distributed is simplified, and the distribution network detection efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1a is a schematic diagram of a system to which a distribution network detection method according to an embodiment of the present invention is applied;
fig. 1b is a schematic diagram of another system to which a distribution network detection method according to an embodiment of the present invention is applied;
fig. 1c is a schematic diagram of a distribution network detection method according to an embodiment of the present invention;
fig. 2 is a flowchart of a distribution network detection method according to an embodiment of the present invention;
FIG. 3 is a schematic view of a detection parameter interface displayed by the distribution network detection apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic view of another inspection parameter interface displayed by the distribution network inspection device in accordance with one embodiment of the present invention;
fig. 5a is a schematic view of a scenario in which the distribution network detection method is applied in an application embodiment of the present invention;
fig. 5b is a schematic view of another scenario in which the distribution network detection method is applied in an application embodiment of the present invention;
fig. 6 is a flowchart of a distribution network detection method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a distributed system to which a distribution network detection method is applied in another embodiment of the present invention;
FIG. 8 is a block diagram illustrating an exemplary block structure according to another embodiment of the present invention;
fig. 9 is a schematic logical structure diagram of a distribution network detection apparatus according to an embodiment of the present invention;
fig. 10 is a schematic logical structure diagram of a terminal device 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention provides a distribution network detection method, which is mainly used for automatically testing a distribution network of intelligent equipment, and can be applied to a distribution network detection system shown in fig. 1a or fig. 1b, wherein:
the system shown in FIG. 1a includes: the distribution network detection device comprises a distribution network detection device, a plurality of application terminals (illustrated by m1 in the figure) and a plurality of intelligent devices to be distributed (illustrated by m2 in the figure), wherein m2 is greater than or equal to m1, and the plurality of intelligent devices to be distributed can be connected to the same application terminal to be distributed. The intelligent device to be distributed with the network can complete the configuration of the network parameters thereof by accessing to the application terminal, namely the distribution network; the application terminals can be connected with the distribution network detection device in a wired mode respectively, and the distribution network detection device initiates a process of detecting a distribution network of the intelligent equipment to be distributed.
In the system shown in FIG. 1b, this includes: the system comprises a test server, a plurality of distribution network detection devices (illustrated by taking n as an example in the figure), a plurality of application terminals and a plurality of intelligent devices to be distributed, wherein each distribution network detection device can be connected with the test server through a local area network, each application terminal is connected to the test server through a wired mode, and the distribution network detection devices initiate a distribution network test process. Therefore, the distribution network detection device can conveniently initiate a distribution network test flow to the application terminal connected with other equipment (namely, a test server).
Specifically, as shown in fig. 1c, the distribution network detection device may implement an automatic test of a distribution network by the following steps:
displaying a detection parameter interface, wherein the detection parameter interface comprises a first input interface of a system type and a detection initiating interface; receiving a distribution network test request from the detection initiating interface, wherein the distribution network test request comprises a target system type input by a user from the first input interface; acquiring a distribution network test case corresponding to the type of the target system; and detecting a distribution network of the intelligent equipment to be distributed connected to a target application terminal according to the distribution network test case, wherein the target application terminal corresponds to the type of a target system.
In specific applications, the types of systems applied by different application terminals in the multiple application terminals may be different, such as an android or apple system, and specifically, the application terminals may be mobile phones and the like installed with application programs; the intelligent equipment to be networked can be intelligent household appliances and the like; the distribution network detection device can be a computer of a Microsoft system or an apple system and the like. For the case shown in FIG. 1b, the test server may be a Microsoft or apple computer, etc.
Therefore, the distribution network executed by the target application terminals of various target system types can be detected through one distribution network detection device without using a plurality of sets of distribution network detection devices, so that the detection of the distribution network of the intelligent equipment to be distributed is simplified, and the distribution network detection efficiency is improved.
The embodiment of the invention provides a distribution network detection method, which is mainly a method executed by the distribution network detection device, and the flow chart is shown in fig. 2, and comprises the following steps:
step 101, displaying a detection parameter interface, wherein the detection parameter interface comprises a first input interface of a system type and a detection initiating interface.
It can be understood that the distribution network detection device provides an interaction interface between a user and the distribution network detection device, and the user can initiate the distribution network detection process according to this embodiment through the interaction interface, specifically, the distribution network detection device displays a detection parameter interface as shown in fig. 3, where the detection parameter interface may include a first input interface (specifically, an input box) and a detection initiation interface (specifically, a button for "start detection") of a system type, and may further include a second input interface (specifically, an input box) of the number of distribution networks, and the like, where the system type refers to a type of a system applied by an application terminal used in the distribution network process, such as an android system or an apple system, and the number of distribution networks refers to the number of application terminals. Thus, when the user inputs the target system type through the first input interface, and inputs the target number through the second input interface, and operates the detection initiating interface, the distribution network detecting device will execute the following step 102.
When the intelligent device to be networked performs network distribution by accessing to the application terminal, the intelligent device to be networked can be connected to the application terminal through a near field communication protocol (such as Bluetooth) and the application terminal can send network configuration information to the intelligent device to be networked, the intelligent device to be networked performs network configuration according to the network configuration information, and the intelligent device to be networked can be connected to the cloud system, so that the network distribution of the intelligent device to be networked is completed.
And 102, receiving a distribution network test request from the detection initiating interface, wherein the distribution network test request comprises a target system type input by a user from the first input interface.
If the detection parameter interface comprises a second input interface for the number of distribution networks, the distribution network test request may further comprise the target number input by the user from the second input interface.
And 103, acquiring a distribution network test case corresponding to the type of the target system.
Specifically, distribution network test cases corresponding to multiple system types are preset in the distribution network detection device, so that when the distribution network detection device executes the step 103, the locally stored distribution network test cases corresponding to the target system types can be directly extracted.
And 104, detecting a distribution network of the intelligent equipment to be distributed, which is connected to a target application terminal according to the distribution network test case, wherein the target application terminal corresponds to the type of the target system.
Specifically, the distribution network detection device may first acquire communication interface information of a target application terminal corresponding to the type of the target system, then send the distribution network test case to the target application terminal through the communication interface information, and receive distribution network process information returned by the target application terminal according to the distribution network test case, so that the distribution network detection device may analyze the distribution network process information, and further obtain errors and the like in the distribution network process of the intelligent device to be distributed with the network through the target application terminal. The distribution network test case is used for controlling the target application terminal to automatically start a process of distributing the network to the intelligent equipment to be distributed, and indicating the target application terminal to record and output distribution network process information in the process of executing distribution network.
In the case shown in fig. 1a, the communication interface information acquired by the distribution network detection device is: interface information of the distribution network detection device directly connected with the target application terminal, and in the case shown in fig. 1b, the communication interface information acquired by the distribution network detection device is: and routing to interface information of the target application terminal through an interface directly connected with the test server by the distribution network detection device. The distribution network test case is used for indicating the target application terminal to be automatically connected with the intelligent equipment to be distributed so as to distribute the network for the intelligent equipment to be distributed, and generating distribution network process information to be returned to the distribution network detection device, wherein the distribution network process information is information generated in the distribution network process, such as logs of the target application terminal, an interface displayed by the target application terminal in the distribution network process, and the like.
It should be noted that, if the distribution network test request further includes the target number input by the user and the target number is greater than 1, it is indicated that the distribution network of the to-be-distributed intelligent device connected to the multiple target application terminals needs to be detected, in this case, when the distribution network detection apparatus executes this step 104, the distribution networks of the to-be-distributed intelligent devices respectively connected to the multiple target application terminals may be detected according to the distribution network test case, and the number of the multiple target application terminals is the target number. Specifically, in order to save detection time, the distribution network detection device may start a plurality of threads simultaneously, and each thread is responsible for detecting a distribution network of the to-be-distributed intelligent device connected to one target application terminal.
In addition, it should be noted that, in order to simultaneously detect the distribution network of the intelligent device to be distributed with the application terminals of multiple types of systems, in one case, the distribution network detection device may sequentially initiate the distribution network detection processes in the above steps 101 to 104 multiple times, and each time a process is initiated, the distribution network executed by a target application terminal corresponding to one target system type is initiated through one detection parameter interface to detect, so that the distribution network of the intelligent device to be distributed with the application terminals of multiple types of systems can be simultaneously detected through the multiple initiated distribution network detection processes.
In another case, the distribution network detection apparatus may initiate the processes of steps 101 to 104 only once, that is, one displayed detection parameter interface may include a plurality of first input interfaces and a plurality of second input interfaces, so that a user may set a plurality of target system types and the number of application terminals of each target system type through one detection parameter interface, and directly initiate distribution networks executed by target application terminals corresponding to a plurality of target system types to perform detection. The multiple target system types are target system types respectively input by a user through the multiple first input interfaces.
For example, the distribution network detection apparatus may display a detection parameter interface as shown in fig. 4, where the detection parameter interface includes two sets of setting interfaces for parameters and a detection initiation interface (specifically, a "start detection" button), and the setting interface for each set of parameters includes a first input interface and a second input interface, so that a user may input two target system types and the number of application terminals of each target system type through the setting interfaces for the two sets of parameters, respectively.
Therefore, in the embodiment of the invention, distribution network detection cases of various system types are integrated in the distribution network detection device, and a detection parameter interface is displayed for a user, wherein the detection parameter interface comprises a first input interface of the system type and a detection initiating interface. Therefore, the distribution network executed by the target application terminals of various target system types can be detected through one distribution network detection device without using a plurality of sets of distribution network detection devices, so that the detection of the distribution network of the intelligent equipment to be distributed is simplified, and the distribution network detection efficiency is improved.
The distribution network detection method according to the embodiment of the present invention is described below with a specific application example, and the method according to the embodiment may be applied to a scenario shown in fig. 5a, where the scenario includes a plurality of distribution network execution machines 10, a router 11, a test server 12, a plurality of application terminals 13, and a plurality of intelligent devices 14 to be distributed, where:
the distribution network executor 10, that is, the distribution network detection apparatus, may be a terminal device of a windows or Mac system, and is installed with a python environment, and is configured to provide an interface for initiating a distribution network test flow for a user, and provide a service logic processing core component for executing the distribution network test in steps 101 to 104.
Specifically, as shown in fig. 5b, the distribution network execution machine 10 may mainly include a test case module, a python script module, and a UI automation framework module. The test case module is used for storing distribution network test cases of various system types, can be generally stored in an excel file format and is used as a distribution network execution test parameter and data input source, and after the system is built, only the file needs to be changed when different tests are executed each time; the UI automation frame module is used for providing a detection parameter interface for a user; and the python script module is used for receiving a distribution network test request from the detection parameter interface and detecting a distribution network of the intelligent equipment to be distributed, which is connected to the target application terminal, according to the distribution network test request.
The router 11 is a local area network transit path of the distribution network executor 10 and the test server 12, and a distribution network test flow may be initiated by one user or by multiple users through their respective distribution network executors 10.
The test server 12 may be a terminal device of a windows or Mac system, and is configured to directly connect to the plurality of application terminals 13, and may enable the distribution network execution machine 10 to route to the application terminals 13 in a local area network manner by means of device local area network port mapping. And is also used for storing and forwarding the distribution network process information generated by the application terminal 13.
Specifically, as shown in fig. 5b, the test server 12 may include a device lan port mapping module, which is used to enable the distribution network execution machine 10 to access the application terminal 13 through the lan; and the log recording module is used for recording information such as logs of the application terminal 13 in the distribution network process of the intelligent device 14 so as to find errors, problem positioning and the like in the distribution network process.
The application terminal 13, which may be specifically an android phone or an IOS phone, is configured to connect to the test server 12 in a wired manner, receive a distribution network test case sent by the distribution network execution machine 10 through the test server 12, execute the distribution network test case, thereby automatically initiating a distribution network of the intelligent device 14 to be distributed, and after the distribution network is completed, obtain distribution network process information and return the information to the distribution network execution machine 10 through the test server 12. The distribution network process information may include information such as a log and a displayed interface of the application terminal 13 in the distribution network process.
Specifically, for the application terminal 13 of the Android system, a distribution network test case sent by the distribution network execution machine 10 needs to be received and processed through a debugging Bridge (Android Debug Bridge, ADB); for the application terminal 13 of the IOS system, a network Driver Agent (WDA) needs to be installed, and the application terminal can receive and process the distribution network test case sent by the distribution network execution machine 10.
And the intelligent device to be networked 14 is used for connecting to the application terminal 13 to complete network configuration.
Specifically, as shown in fig. 6, the distribution network execution machine 10 in this embodiment may implement automatic distribution network detection through the following steps:
in step 201, a user operates the distribution network executing machine 10, so that the distribution network executing machine 10 displays a detection parameter interface, where the detection parameter interface includes a first input interface of a system type, a second input interface of the distribution network number, and a detection initiating interface. Therefore, a user can input the type of a target system through the first input interface, input the target quantity through the second input interface and operate the detection initiating interface to initiate the distribution network testing process of the following steps.
In step 202, the distribution network executive machine 10 receives a distribution network test request from the detection initiating interface, where the distribution network test request includes a target system type and a target number.
Step 203, the distribution network executing machine 10 judges whether the application terminals 13 connected with the test server 12 correspond to the target system type and whether the number of the application terminals 13 is consistent with the target number according to the target system type and the target number, and if the application terminals 13 are not corresponding to the target system type and the number is not consistent with the target number, a user prompt is performed to prompt that the user is not connected with the application terminals 13 corresponding to the target system type or the number of the connected application terminals 13 is not consistent with the target data; if the number corresponds to the target system type and the number is equal to or greater than the target number, the following step 204 is performed.
In step 204, the distribution network executor 10 obtains the communication interface information of the application terminal 13 corresponding to the target system type, specifically, in this embodiment, obtains the interface information routed to the application terminal 13 through the interface connected to the test server 12, and the distribution network executor 10 further obtains a distribution network test case corresponding to the target system type.
In step 205, the distribution network execution machine 10 starts a thread for an application terminal 13, where the thread is used to detect a distribution network of the to-be-distributed network smart device 14 connected to the application terminal 13 according to a distribution network test case, where the application terminal 13 corresponds to a target system type. In this way, the distribution network execution machine 10 can be responsible for detecting the distribution network executed by the plurality of application terminals by starting the plurality of threads for the plurality of application terminals 13.
Specifically, the thread started in the distribution network execution machine 10 sends the distribution network test case to the application terminal 13 through the test server 12, the application terminal 13 executes the distribution network test case to automatically distribute the network to the intelligent device 14 to be distributed, and generates distribution network process information, and the application terminal 13 returns the distribution network process information to the distribution network execution machine 10 through the test server 12.
In step 206, the distribution network executing machine 10 receives and outputs the distribution network process information.
As can be seen, in the method of this embodiment, the distribution network executed by the application terminals 13 of any system type can be detected by one set of system in the distribution network execution machine 10, and meanwhile, the plurality of application terminals 13 can be directly connected to the test server 12 in a wired manner, so that the detection of the cluster-type automatic distribution network can be realized, that is, the detection of the distribution networks executed by the application terminals 13 in large quantities can be simultaneously started, thereby reducing the cost of distribution network index quality detection and improving the detection efficiency.
In the following, another specific application example is used to describe the distribution network detection method of the present invention, the distribution network detection apparatus in the embodiment of the present invention is mainly a distributed system 100, the distributed system may include a client 300 and a plurality of nodes 200 (any form of computing devices in an access network, such as servers and user terminals), and the client 300 and the nodes 200 are connected in a network communication manner.
Taking a distributed system as an example of a blockchain system, referring To fig. 7, which is an optional structural schematic diagram of the distributed system 100 applied To the blockchain system provided in the embodiment of the present invention, the system is formed by a plurality of nodes 200 (computing devices in any form in an access network, such as servers and user terminals) and clients 300, a Peer-To-Peer (P2P, Peer To Peer) network is formed between the nodes, and the P2P Protocol is an application layer Protocol operating on a Transmission Control Protocol (TCP). In a distributed system, any machine, such as a server or a terminal, can join to become a node, and the node comprises a hardware layer, a middle layer, an operating system layer and an application layer.
Referring to the functions of each node in the blockchain system shown in fig. 7, the functions involved include:
1) routing, a basic function that a node has, is used to support communication between nodes.
Besides the routing function, the node may also have the following functions:
2) the application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization function to form recording data, carrying a digital signature in the recording data to represent a source of task data, and sending the recording data to other nodes in the block chain system, so that the other nodes add the recording data to a temporary block when the source and integrity of the recording data are verified successfully.
For example, the service implemented by the application includes a code for implementing a distribution network detection function, and the distribution network detection function mainly includes:
displaying a detection parameter interface, wherein the detection parameter interface comprises a first input interface of a system type and a detection initiating interface; receiving a distribution network test request from the detection initiating interface, wherein the distribution network test request comprises a target system type input by a user from the first input interface; acquiring a distribution network test case corresponding to the type of the target system; and detecting a distribution network of the intelligent equipment to be distributed connected to a target application terminal according to the distribution network test case, wherein the target application terminal corresponds to the type of a target system.
3) And the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, new blocks cannot be removed once being added into the Block chain, and recorded data submitted by nodes in the Block chain system are recorded in the blocks.
Referring to fig. 8, an optional schematic diagram of a Block Structure (Block Structure) provided in the embodiment of the present invention is shown, where each Block includes a hash value of a transaction record stored in the Block (hash value of the Block) and a hash value of a previous Block, and the blocks are connected by the hash values to form a Block chain. The block may include information such as a time stamp at the time of block generation. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using cryptography, and each data block contains related information for verifying the validity (anti-counterfeiting) of the information and generating a next block.
An embodiment of the present invention further provides a distribution network detection apparatus, for example, the distribution network execution machine described above, a schematic structural diagram of which is shown in fig. 9, and specifically includes:
and the interface display unit 20 is configured to display a detection parameter interface, where the detection parameter interface includes a first input interface of a system type and a detection initiation interface.
A request receiving unit 21, configured to receive a distribution network test request from a detection initiating interface on the detection parameter interface displayed by the interface display unit 20, where the distribution network test request includes a target system type input by a user from the first input interface.
A use case obtaining unit 22, configured to obtain a distribution network test use case corresponding to the target system type in the distribution network test request received by the request receiving unit 21.
The detection unit 23 is configured to detect a distribution network of the to-be-distributed intelligent device connected to a target application terminal according to the distribution network test case acquired by the case acquisition unit 22, where the target application terminal corresponds to a target system type.
Further, the detection parameter interface further includes a second input interface for the number of distribution networks, and the distribution network test request further includes the target number input by the user from the second input interface; the detecting unit 23 is specifically configured to detect, according to the distribution network test case, distribution networks of the to-be-distributed intelligent devices that are respectively connected to the multiple target application terminals, where the number of the multiple target application terminals is the target number.
The detecting unit 23 is specifically configured to start a plurality of threads when detecting distribution networks of to-be-distributed network intelligent devices respectively connected to a plurality of target application terminals according to a distribution network test case, where each thread is configured to detect a distribution network of to-be-distributed network intelligent devices connected to one target application terminal according to the distribution network test case.
Further, the distribution network detection device of this embodiment may further include:
an interface obtaining unit 24, configured to obtain communication interface information of a target application terminal corresponding to the target system type; the detecting unit 23 is specifically configured to send the distribution network test case to the target application terminal according to the communication interface information acquired by the interface acquiring unit 24; and receiving the distribution network process information returned by the target application terminal according to the distribution network test case.
The interface obtaining unit 24 is specifically configured to obtain interface information directly connected to the target application terminal; or acquiring interface information which is routed to the target application terminal through an interface connected with the test server.
Therefore, the distribution network executed by the target application terminals of various target system types can be detected through one distribution network detection device without using a plurality of sets of distribution network detection devices, so that the detection of the distribution network of the intelligent equipment to be distributed is simplified, and the distribution network detection efficiency is improved.
The present invention further provides a terminal device, a schematic structural diagram of which is shown in fig. 10, where the terminal device may generate a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 30 (e.g., one or more processors) and a memory 31, and one or more storage media 32 (e.g., one or more mass storage devices) for storing applications 321 or data 322. The memory 31 and the storage medium 32 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 32 may include one or more modules (not shown), each of which may include a series of instruction operations for the terminal device. Still further, the central processor 30 may be configured to communicate with the storage medium 32 to execute a series of instruction operations in the storage medium 32 on the terminal device.
Specifically, the application 321 stored in the storage medium 32 includes an application for distribution network detection, and the application may include the interface display unit 20, the request receiving unit 21, the use case obtaining unit 22, the detecting unit 23, and the interface obtaining unit 24 in the distribution network detection apparatus, which will not be described herein again. Further, the central processor 30 may be configured to communicate with the storage medium 32, and execute a series of operations corresponding to the distribution network detection application stored in the storage medium 32 on the terminal device.
The terminal equipment may also include one or more power supplies 33, one or more wired or wireless network interfaces 34, one or more input-output interfaces 35, and/or one or more operating systems 323, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and the like.
The steps executed by the distribution network detection apparatus in the above method embodiment may be based on the structure of the terminal device shown in fig. 10.
The embodiment of the invention also provides a distribution network detection system, which can be structurally shown in the figure 1b and comprises a plurality of distribution network execution machines, a test server, a plurality of application terminals and a plurality of intelligent devices to be distributed;
a plurality of distribution network execution machines are respectively connected to the test server, and a distribution network detection device as shown in the above fig. 9 is applied to each distribution network execution machine; the plurality of application terminals are respectively connected to the test server, and the intelligent equipment to be networked is connected to the application terminals; the test server is mainly used for connecting the communication between the distribution network execution machine and the application terminal.
The embodiment of the present invention further provides another distribution network detection system, which may have a structure as shown in fig. 1a and includes a distribution network execution machine, a plurality of application terminals, and a plurality of to-be-distributed network intelligent devices, where the plurality of application terminals are respectively connected to the distribution network execution machine, and the to-be-distributed network intelligent devices are connected to the application terminals; the distribution network executing machine is applied with the distribution network detection device shown in the figure 9.
In another aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a plurality of computer programs, and the computer programs are suitable for being loaded by a processor and being used for executing the distribution network detection method executed by the distribution network detection apparatus.
In another aspect, an embodiment of the present invention further provides a terminal device, including a processor and a memory;
the memory is used for storing a plurality of computer programs, and the computer programs are used for being loaded by the processor and executing the distribution network detection method executed by the distribution network detection device; the processor is configured to implement each of the plurality of computer programs.
Further, according to an aspect of the application, a computer program product or a computer program is provided, comprising computer instructions, which are stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the computer device executes the distribution network detection method provided in the above-mentioned various optional implementations.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The distribution network detection method, the distribution network detection device, the distribution network detection system, the storage medium and the terminal device provided by the embodiment of the invention are described in detail, a specific embodiment is applied in the description to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A distribution network detection method is characterized by comprising the following steps:
displaying a detection parameter interface, wherein the detection parameter interface comprises a first input interface of a system type and a detection initiating interface;
receiving a distribution network test request from the detection initiating interface, wherein the distribution network test request comprises a target system type input by a user from the first input interface;
acquiring a distribution network test case corresponding to the type of the target system;
and detecting a distribution network of the intelligent equipment to be distributed connected to a target application terminal according to the distribution network test case, wherein the target application terminal corresponds to the type of a target system.
2. The method of claim 1, wherein before detecting the distribution network of the to-be-distributed intelligent device connected to the target application terminal according to the distribution network test case, the method further comprises:
acquiring communication interface information of a target application terminal corresponding to the type of the target system;
the method for detecting the distribution network of the intelligent device to be distributed connected to the target application terminal according to the distribution network test case specifically comprises the following steps:
sending a distribution network test case to the target application terminal according to the communication interface information;
and receiving the distribution network process information returned by the target application terminal according to the distribution network test case.
3. The method of claim 2, wherein the obtaining of the communication interface information of the target application terminal corresponding to the target system type specifically includes:
acquiring interface information directly connected with the target application terminal;
or acquiring interface information which is routed to the target application terminal through an interface connected with the test server.
4. The method of any of claims 1 to 3, wherein the detection parameter interface further comprises a second input interface for distribution network number, and the distribution network test request further comprises a target number input by a user from the second input interface;
the method for detecting the distribution network of the intelligent device to be distributed connected to the target application terminal according to the distribution network test case specifically comprises the following steps:
and detecting distribution networks of intelligent equipment to be distributed, which are respectively connected to a plurality of target application terminals according to the distribution network test case, wherein the number of the target application terminals is the target number.
5. The method of claim 4, wherein the detecting the distribution network of the intelligent device to be distributed, which is connected to the plurality of target application terminals respectively, according to the distribution network test case specifically comprises:
and starting a plurality of threads, wherein each thread is used for detecting the distribution network of the intelligent equipment to be distributed connected to a target application terminal according to the distribution network test case.
6. A distribution network detection device, comprising:
the interface display unit is used for displaying a detection parameter interface, and the detection parameter interface comprises a first input interface of a system type and a detection initiating interface;
a request receiving unit, configured to receive a distribution network test request from the detection initiating interface, where the distribution network test request includes a target system type input by a user from the first input interface;
the case acquisition unit is used for acquiring a distribution network test case corresponding to the type of the target system;
the detection unit is used for detecting a distribution network of the intelligent equipment to be distributed, which is connected to a target application terminal, according to the distribution network test case, wherein the target application terminal corresponds to the type of a target system.
7. The apparatus of claim 6, comprising:
the interface acquisition unit is used for acquiring communication interface information of a target application terminal corresponding to the type of the target system;
the detection unit is specifically configured to send the distribution network test case to the target application terminal according to the communication interface information; and receiving the distribution network process information returned by the target application terminal according to the distribution network test case.
8. A distribution network detection system is characterized by comprising a plurality of distribution network execution machines, a test server, a plurality of application terminals and a plurality of intelligent devices to be distributed;
wherein a plurality of distribution network execution machines are respectively connected to the test server, and each distribution network execution machine is the distribution network detection device according to claim 6 or 7;
the application terminals are respectively connected to the test server, and the intelligent device to be networked is connected to the application terminals.
9. A distribution network detection system is characterized by comprising a distribution network execution machine, a plurality of application terminals and a plurality of intelligent devices to be distributed, wherein the application terminals are respectively connected to the distribution network execution machine, and the intelligent devices to be distributed are connected to the application terminals;
the distribution network execution machine is the distribution network detection device of claim 6 or 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a plurality of computer programs adapted to be loaded by a processor and to perform the distribution network detection method according to any of the claims 1 to 5.
11. A terminal device comprising a processor and a memory;
the memory is used for storing a plurality of computer programs, and the computer programs are used for being loaded by the processor and executing the distribution network detection method according to any one of claims 1 to 5; the processor is configured to implement each of the plurality of computer programs.
CN202111115443.1A 2021-09-23 2021-09-23 Distribution network detection method, device and system, storage medium and terminal equipment Pending CN113890846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111115443.1A CN113890846A (en) 2021-09-23 2021-09-23 Distribution network detection method, device and system, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111115443.1A CN113890846A (en) 2021-09-23 2021-09-23 Distribution network detection method, device and system, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN113890846A true CN113890846A (en) 2022-01-04

Family

ID=79010338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111115443.1A Pending CN113890846A (en) 2021-09-23 2021-09-23 Distribution network detection method, device and system, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN113890846A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107154859A (en) * 2016-03-02 2017-09-12 美的集团股份有限公司 Intelligent electric appliance distribution method of testing, system and control terminal
CN108614774A (en) * 2018-04-24 2018-10-02 百度在线网络技术(北京)有限公司 Automated testing method and device
CN108804300A (en) * 2017-04-27 2018-11-13 龙芯中科技术有限公司 Automated testing method and system
CN110493812A (en) * 2019-08-23 2019-11-22 上海庆科信息技术有限公司 Processing method, device, system, processor and the main control device of distribution test
CN110659198A (en) * 2018-06-28 2020-01-07 亿度慧达教育科技(北京)有限公司 Application program test case execution method and device and software test system
CN111506502A (en) * 2020-04-13 2020-08-07 杭州涂鸦信息技术有限公司 System and method for testing mobile terminal UI automation distribution network process
CN112202951A (en) * 2020-09-29 2021-01-08 中国银行股份有限公司 Mobile phone compatibility testing method and related device
CN112291801A (en) * 2020-11-30 2021-01-29 四川虹美智能科技有限公司 Network distribution system and method of intelligent device
CN112333057A (en) * 2020-08-21 2021-02-05 深圳Tcl新技术有限公司 Intelligent household equipment distribution network testing method and device, execution machine and storage medium
CN112596750A (en) * 2020-12-28 2021-04-02 上海安畅网络科技股份有限公司 Application testing method and device, electronic equipment and computer readable storage medium
WO2021135809A1 (en) * 2019-12-30 2021-07-08 北京金山云网络技术有限公司 Testing method, device, terminal apparatus, and storage medium
CN113133086A (en) * 2021-04-20 2021-07-16 宁波奥克斯电气股份有限公司 Intelligent device network distribution method and device, electronic device and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107154859A (en) * 2016-03-02 2017-09-12 美的集团股份有限公司 Intelligent electric appliance distribution method of testing, system and control terminal
CN108804300A (en) * 2017-04-27 2018-11-13 龙芯中科技术有限公司 Automated testing method and system
CN108614774A (en) * 2018-04-24 2018-10-02 百度在线网络技术(北京)有限公司 Automated testing method and device
CN110659198A (en) * 2018-06-28 2020-01-07 亿度慧达教育科技(北京)有限公司 Application program test case execution method and device and software test system
CN110493812A (en) * 2019-08-23 2019-11-22 上海庆科信息技术有限公司 Processing method, device, system, processor and the main control device of distribution test
WO2021135809A1 (en) * 2019-12-30 2021-07-08 北京金山云网络技术有限公司 Testing method, device, terminal apparatus, and storage medium
CN111506502A (en) * 2020-04-13 2020-08-07 杭州涂鸦信息技术有限公司 System and method for testing mobile terminal UI automation distribution network process
CN112333057A (en) * 2020-08-21 2021-02-05 深圳Tcl新技术有限公司 Intelligent household equipment distribution network testing method and device, execution machine and storage medium
CN112202951A (en) * 2020-09-29 2021-01-08 中国银行股份有限公司 Mobile phone compatibility testing method and related device
CN112291801A (en) * 2020-11-30 2021-01-29 四川虹美智能科技有限公司 Network distribution system and method of intelligent device
CN112596750A (en) * 2020-12-28 2021-04-02 上海安畅网络科技股份有限公司 Application testing method and device, electronic equipment and computer readable storage medium
CN113133086A (en) * 2021-04-20 2021-07-16 宁波奥克斯电气股份有限公司 Intelligent device network distribution method and device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN108696399B (en) Business service test method and device
CN112988608B (en) Data testing method and device, computer equipment and storage medium
CN108228444B (en) Test method and device
CN110519127B (en) Network delay detection method, device and storage medium
CN107070752B (en) Testing method and testing system for long connection capacity
CN106339273A (en) Application program restoration method, terminal and server
CN112860569A (en) Automatic testing method and device, electronic equipment and storage medium
CN109218048A (en) To the performance test methods and device of an industrial system being deployed on cloud
CN117278434A (en) Flow playback method and device and electronic equipment
CN115422048A (en) Link stability testing method and device, computer equipment and storage medium
CN115391219A (en) Test case generation method and device, electronic equipment and storage medium
CN112202647A (en) Test method, device and test equipment in block chain network
CN117234916A (en) Workflow application testing method and device, electronic equipment and storage medium
CN109274533B (en) Web service fault positioning device and method based on rule engine
CN113890846A (en) Distribution network detection method, device and system, storage medium and terminal equipment
CN114598680B (en) Domain name management method, device and storage medium
CN110868341A (en) In-place protection intelligent management unit testing method and device
CN115904388A (en) Application program protocol analysis method, device, equipment and storage medium
CN113032255B (en) Response noise identification method, model, electronic device and computer storage medium
CN106294146B (en) Parameter replacement test method and device
CN113869989A (en) Information processing method and device
CN108737162B (en) Test method, test system and test equipment
CN109167826B (en) Method, device and system for putting WEB application on shelf
CN112650815A (en) Method and device for synchronizing environmental data, storage medium and electronic device
FR3028973A1 (en) SYSTEM AND METHOD FOR PERFORMANCE TESTING OF A COMPUTER INFRASTRUCTURE

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220104