CN111464398A - Self-organizing centreless network high-level protocol testing method, equipment and storage medium - Google Patents

Self-organizing centreless network high-level protocol testing method, equipment and storage medium Download PDF

Info

Publication number
CN111464398A
CN111464398A CN202010273537.0A CN202010273537A CN111464398A CN 111464398 A CN111464398 A CN 111464398A CN 202010273537 A CN202010273537 A CN 202010273537A CN 111464398 A CN111464398 A CN 111464398A
Authority
CN
China
Prior art keywords
node
network model
data
level protocol
network
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
CN202010273537.0A
Other languages
Chinese (zh)
Inventor
何建伟
郭邵俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Kindroid Network Technology Co ltd
Original Assignee
Shanghai Kindroid Network 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 Shanghai Kindroid Network Technology Co ltd filed Critical Shanghai Kindroid Network Technology Co ltd
Priority to CN202010273537.0A priority Critical patent/CN111464398A/en
Publication of CN111464398A publication Critical patent/CN111464398A/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/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a self-organizing centerless network high-level protocol testing method, equipment and a storage medium, wherein the method comprises the following steps: constructing a self-organizing centerless network model, wherein the network model comprises a first node, a second node and a simulation physical layer, and the first node and the second node comprise a high-level protocol example; carrying out parameter configuration and network access setting on the network model so as to enable the network model to enter a data receiving and transmitting state; and transmitting the preset data to the network model so that the network model processes the preset data to obtain output data, and testing the high-level protocol example according to the preset data and the output data. By constructing the self-organizing centerless network model and adopting the virtual physical layer without combining with the actual physical layer which is researched and developed, the function of the high-level protocol instance can be tested in the early stage, so that the research and development period of the whole self-organizing centerless network product is shortened.

Description

Self-organizing centreless network high-level protocol testing method, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of chips, in particular to a self-organizing centerless network high-level protocol testing method, equipment and a storage medium.
Background
The self-organization centerless network is composed of a plurality of nodes with wireless communication functions, the adopted communication protocols generally comprise high-level protocols and physical-level protocols, and manufacturers must perform research and development module tests and system tests before producing and forming the self-organization centerless network products so as to ensure the working accuracy of the products after being applied.
However, at present, functional tests for a high-level protocol can only be combined with a physical layer to perform tests on hardware, so that the test for the high-level protocol cannot be usually realized without an actual physical layer as a support, but the development time of the physical layer is longer, so that the development cycle of the whole self-organizing centerless network product is increased.
Disclosure of Invention
The embodiment of the invention provides a self-organizing centerless network high-level protocol testing method, equipment and a storage medium. The method realizes the test of the function of the higher-layer protocol example without combining with an actual physical layer.
In a first aspect, an embodiment of the present invention provides a method for testing a self-organizing centerless network high layer protocol, including: constructing a self-organizing centerless network model, wherein the network model comprises a first node, a second node and a simulation physical layer, and the first node and the second node comprise a high-level protocol example;
carrying out parameter configuration and network access setting on the network model so as to enable the network model to enter a data receiving and transmitting state;
and transmitting the preset data to the network model so that the network model processes the preset data to obtain output data, and testing the high-level protocol example according to the preset data and the output data.
In a second aspect, an embodiment of the present invention provides an ad hoc centerless network high layer protocol testing apparatus, including:
the network model building module is used for building a self-organizing centerless network model, wherein the network model comprises a first node, a second node and a simulation physical layer, and the first node and the second node comprise a high-level protocol example;
the network model setting module is used for carrying out parameter configuration and network access setting on the network model so as to enable the network model to enter a data transceiving state;
and the high-level protocol instance testing module is used for transmitting the preset data to the network model so that the network model processes the preset data to obtain output data, and testing the high-level protocol instance according to the preset data and the output data.
In a third aspect, an embodiment of the present invention provides an apparatus, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the above-described methods.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium, on which a computer program is stored, which when executed by a processor implements the above method.
According to the technical scheme of the embodiment of the invention, the function of the high-level protocol instance can be tested in the early stage by constructing the self-organizing centerless network model and adopting the virtual physical layer without combining with the actual physical layer which is researched and developed, so that the research and development period of the whole self-organizing centerless network product is shortened.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1(a) is a flowchart of a method for testing an ad hoc centerless network high-level protocol according to an embodiment of the present invention;
FIG. 1(b) is a schematic structural diagram of an ad-hoc centerless network model according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for testing an ad hoc centerless network high-level protocol according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an ad hoc centerless network high-level protocol testing apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1(a) is a flowchart of a method for testing an ad hoc decentralized network high-level protocol according to an embodiment of the present invention, where the embodiment is applicable to a case of testing an ad hoc decentralized network high-level protocol, and the method may be executed by an ad hoc decentralized network high-level protocol testing apparatus according to an embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner. As shown in fig. 1(a), the method specifically includes the following operations:
step 101, constructing a self-organizing centerless network model, wherein the network model comprises a first node, a second node and a simulation physical layer, and the first node and the second node comprise a high-level protocol instance.
As shown in fig. 1(b), a schematic diagram of a self-organizing centerless network model structure in the present application is shown, a first node and a second node are built inside a terminal device in the present application through software, in fig. 1(b), a node 1 may be used as the first node, a node 2 may be used as the second node, and a node 2 may also be used as the first node, and a node 1 is used as the second node. The first node and the second node can realize mutual communication through the virtual physical layer, and therefore the self-organizing centerless network environment in a real environment is simulated in a software mode.
It should be noted that, the nodes in the embodiment of the present application are described by taking two examples, but in practical applications, different numbers of nodes may be set according to the capacity and the rate requirement of the designed ad hoc centerless network node, and in combination with the processing capability of the terminal device, so as to perform test verification on the high-layer protocol processing flow and the high-layer and physical layer interfaces, and therefore, the embodiment of the present application does not limit the specific number of nodes.
As shown in fig. 1(b), the types of the ports include a data port 1 for transmitting data information between the external device and the node 1, and a control port 1 for performing parameter configuration on a higher-level protocol instance of the node 1; and a data port 2 for transmitting data information between the external device and the node 2, and a control port 2 for configuring parameters of the node 2 higher-layer protocol instance.
And 102, performing parameter configuration and network access setting on the network model so as to enable the network model to enter a data transceiving state.
Optionally, the parameter configuration and network access setting of the network model to enable the network model to enter the data receiving state may include: carrying out parameter configuration on a high-level protocol instance through a preset control port, and determining a data processing mode of the high-level protocol instance; and carrying out networking registration on the first node and the second node through a control instruction transmitted by a preset control channel so as to enable the first node and the second node to access the network.
Specifically, in this embodiment, the first node and the second node may be controlled to send a control instruction to the emulated physical layer through a preset control channel, where the control instruction may include information of configuration parameters, a network access mode, a communication object, and the like of the node, the emulated physical layer implements networking of the first node and the second node according to the control instruction and obtains networking registration information, the obtained networking registration information is stored in the device processor, and the processor accesses the first node and the second node according to the networking registration information.
It should be noted that, in the embodiment of the present application, in the process of implementing network access of the first node and the second node based on the emulated physical layer, the transmission of the control instruction may be implemented by using a pass-through function, that is, the preset control channel is only responsible for transmitting the control instruction to be transmitted to the emulated physical layer, and does not perform any processing operation on the content of the transmitted control instruction.
Optionally, the preset control channel is located between the analog physical layer and the first node and between the analog physical layer and the second node.
Optionally, before performing networking registration on the first node and the second node through the control instruction transmitted through the preset control channel, the method may further include: and controlling the first node and the second node to start up in a simulated mode.
It should be noted that, when the network model constructed in this embodiment works normally, both the hardware support of the device processor and the software support of the operating system are required, and the same operating system of the processor can implement the simulated boot task or the implementation of other tasks in a message interaction manner for the first node and the second node. For example, for the simulated boot task of the first node, the operating system performs message interaction with the first node to complete simulated boot of the first node.
Specifically, the preset control port, such as the control port 1 and the control port 2 in fig. 1(b), performs parameter configuration on the upper layer protocol instance in the node 1 through the control port 1, and determines the data processing mode of the upper layer protocol instance in the node 1, where the determined data processing mode is coding processing in a call scenario; the method includes the steps that parameter configuration is carried out on a high-level protocol instance in a node 2 through a control port 2, a data processing mode of the high-level protocol instance in the node 2 is determined, if the determined data processing mode is decoding processing in a call scene, each set of parameters respectively correspond to one application scene, different parameters are configured in different application scenes, and the specific type of the application scenes is not limited in the implementation mode of the application.
After parameters are configured for the upper layer protocol instances in the first node and the second node, the first node and the second node need to be controlled to perform simulated startup, that is, the terminal device is powered on, the upper layer protocol of the first node and the upper layer protocol of the second node are initialized, and the initialization process of the simulated physical layer is completed, so that the interactive relationship between the simulated physical layer and the first node and the interactive relationship between the simulated physical layer and the second node are established.
Specifically, the control channels such as the control channel 1 and the control channel 2 in fig. 1(b) are preset, the function of the simulated physical layer is realized through the control instructions of the control channel 1 and the control channel 2, networking registration is performed on the node 1 and the node 2, and the node 1 and the node 2 realize network access after successful networking registration, so that the communication connection relationship among the node 1, the simulated physical layer and the node 2 is established, so that the network model enters a data transceiving state, and data transmission and reception between the node 1 and the node 2 can be performed.
And 103, transmitting the preset data to the network model so that the network model processes the preset data to obtain output data, and testing the high-level protocol example according to the preset data and the output data.
Optionally, the transmitting the preset data to the network model to enable the network model to process the preset data to obtain the output data may include: transmitting preset data to a first node through a preset data port so that the first node processes the preset data through a high-level protocol instance to obtain first node processing data, and transmitting the first node processing data to a simulation physical layer; and the control simulation physical layer forwards the first node processing data to the second node so that the second node processes the first node processing data through a high-level protocol example to obtain output data.
It should be noted that, in this embodiment, the data transmission method between the analog physical layer and the first node and the second node may specifically be a radio frequency transceiving method, and a specific type of the data transmission method is not limited in this embodiment.
Specifically, in this embodiment, after performing parameter configuration and network access setting on the network model, the first node and the second node may implement a data communication transmission process based on a simulated physical layer, and when the node 1 is used as a data sending party and the node 2 is used as a data receiving party, the specific data transmission process is as follows: the method comprises the steps that a node 1 receives preset data A transmitted by external equipment through a data port 1, the node 1 processes the preset data through a data processing mode determined by a high-level protocol example to obtain first node processing data B, and the first node processing data B is transmitted to a simulation physical layer; and the simulation physical layer forwards the first node processing data B to the node 2, the node 2 processes the first node processing data B through the data processing mode determined by the high-level protocol example to obtain output data C, and the high-level protocol example is tested according to the preset data A and the output data C. When the node 1 is determined to be the data sender, the test is mainly performed on the higher layer protocol instance in the node 1.
It should be noted that the node 2 may also be used as a data sending party, the node 1 is used as a data receiving party, and specifically, the node 2 receives preset data transmitted by an external device through the data port 2, and the node 1 sends output data through the data port 1, and a specific principle is substantially the same as that of the node 1 being a data sending party, so details are not repeated in this embodiment, and when it is determined that the node 2 is used as a data sending party, the test is mainly performed on the higher layer protocol instance in the node 2. Therefore, the present embodiment does not limit the specific node corresponding to the data sender or the data receiver.
In the present embodiment, two nodes are taken as an example for illustration, but when a network model includes two or more nodes, after all the nodes are networked, it is necessary to determine a network graph structure formed by a plurality of nodes in advance, where the network graph structure includes a communication connection relationship between each node, and a simulated physical layer transfers data between the nodes according to the constructed network graph structure.
Optionally, the testing the higher-layer protocol instance according to the preset data and the output data may include: and comparing the preset data with the output data, judging whether the preset data is the same as the output data, if so, determining that the high-level protocol instance test is passed, and otherwise, determining that the high-level protocol instance test is not passed.
Specifically, when the high-level protocol example is tested, whether the preset data A input by the data port 1 is the same as the output data C output by the data port 2 is judged, if yes, the high-level protocol example is determined to pass the normal operation test, and otherwise, the high-level protocol example is determined to fail the abnormal operation test. Therefore, the test process of the high-level protocol example can be completed without the support of an actual physical layer, and after the physical layer is put into operation through long-term research and development tests, the tested high-level protocol example can be directly put into application by combining with the actual physical layer without combining with hardware for testing, so that the research and development period of the whole self-organizing centerless network product is shortened.
According to the technical scheme of the embodiment of the invention, the function of the high-level protocol instance can be tested in the early stage by constructing the self-organizing centerless network model and adopting the virtual physical layer without combining with the actual physical layer which is researched and developed, so that the research and development period of the whole self-organizing centerless network product is shortened.
Example two
Fig. 2 is a flowchart of a self-organizing centerless network high-level protocol testing method according to a second embodiment of the present invention, where this embodiment is based on the foregoing embodiment, in this implementation, after testing a high-level protocol instance according to preset data and output data, the method further includes: and sending out alarm prompt information when the test of the high-level protocol example is determined not to pass. Correspondingly, the method of the embodiment specifically includes the following steps.
Step 201, a self-organizing centerless network model is constructed, wherein the network model comprises a first node, a second node and a simulation physical layer, and the first node and the second node comprise a high-level protocol instance.
Step 202, performing parameter configuration and network access setting on the network model so as to enable the network model to enter a data transceiving state.
Optionally, the parameter configuration and network access setting of the network model to enable the network model to enter the data receiving state may include: carrying out parameter configuration on a high-level protocol instance through a preset control port, and determining a data processing mode of the high-level protocol instance; and carrying out networking registration on the first node and the second node through a control instruction transmitted by a preset control channel so as to enable the first node and the second node to access the network.
Optionally, the preset control channel is located between the analog physical layer and the first node and between the analog physical layer and the second node.
Optionally, before performing networking registration on the first node and the second node through the control instruction transmitted through the preset control channel, the method may further include: and controlling the first node and the second node to start up in a simulated mode.
And 203, transmitting the preset data to the network model so that the network model processes the preset data to obtain output data, and testing the high-level protocol example according to the preset data and the output data.
Optionally, the transmitting the preset data to the network model to enable the network model to process the preset data to obtain the output data may include: transmitting preset data to a first node through a preset data port so that the first node processes the preset data through a high-level protocol instance to obtain first node processing data, and transmitting the first node processing data to a simulation physical layer; and the control simulation physical layer forwards the first node processing data to the second node so that the second node processes the first node processing data through a high-level protocol example to obtain output data.
Optionally, the testing the higher-layer protocol instance according to the preset data and the output data may include: and comparing the preset data with the output data, judging whether the preset data is the same as the output data, if so, determining that the high-level protocol instance test is passed, and otherwise, determining that the high-level protocol instance test is not passed.
And step 204, sending out alarm prompt information when the test of the high-level protocol example is determined not to pass.
Specifically, the alarm prompt information in this embodiment includes voice information and/or text information. When the comparison shows that the preset data is different from the output data, the test of the high-level protocol example is determined to be failed, and the terminal equipment can send out a voice alarm prompt message 'the test of the high-level protocol example is failed' so that a user can overhaul in time, and the research and development efficiency is further improved. The present embodiment is described by taking voice information as an example, but text information may also be used in practical applications, and the present embodiment does not limit the specific type of the alarm information, and is within the scope of the present application as long as the user can be prompted.
According to the technical scheme of the embodiment of the invention, the function of the high-level protocol instance can be tested in the early stage by constructing the self-organizing centerless network model and adopting the virtual physical layer without combining with the actual physical layer which is researched and developed, so that the research and development period of the whole self-organizing centerless network product is shortened. And the alarm prompt information is sent out under the condition that the test is failed so as to prompt the user to overhaul in time, thereby further improving the research and development efficiency.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an ad-hoc centerless network high-level protocol testing apparatus according to a third embodiment of the present invention, where the apparatus includes: a network model building module 301, a network model setting module 302 and a higher layer protocol instance testing module 303.
The network model building module 301 is configured to build a self-organizing centerless network model, where the network model includes a first node, a second node, and a simulation physical layer, and the first node and the second node include a higher-layer protocol instance.
A network model setting module 302, configured to perform parameter configuration and network access setting on a network model, so that the network model enters a data transceiving state;
and the high-level protocol instance testing module 303 is configured to transmit the preset data to the network model, so that the network model processes the preset data to obtain output data, and tests the high-level protocol instance according to the preset data and the output data.
The device can execute the self-organizing centerless network high-level protocol testing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technique not described in detail in this embodiment, reference may be made to the ad hoc non-centric network upper layer protocol testing method provided in any embodiment of the present invention.
Example four
A fourth embodiment of the present invention relates to an apparatus, as shown in fig. 4, which is a diagram illustrating an example of a structure of an apparatus, including at least one processor 401; and a memory 402 communicatively coupled to the at least one processor 401. Wherein the memory 402 stores instructions executable by the at least one processor 401 to be executed by the at least one processor 401 to enable the at least one processor 401 to perform an ad hoc decentralized network high level protocol testing method.
The processors 401 and the memory 402 may be connected by a bus or in other manners, and the bus may include any number of interconnected buses and bridges as an example of the bus connection in fig. 4, and the bus links various circuits of one or more of the processors 401 and the memory 402 together. The bus may also link various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory may be used to store data used by the processor in performing operations.
Those skilled in the art can understand that all or part of the steps in the method of the foregoing embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application.
EXAMPLE five
An embodiment five of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for testing a self-organizing centerless network high-level protocol provided in all embodiments of the present invention: constructing a self-organizing centerless network model, wherein the network model comprises a first node, a second node and a simulation physical layer, and the first node and the second node comprise a high-level protocol example; carrying out parameter configuration and network access setting on the network model so as to enable the network model to enter a data receiving and transmitting state; and transmitting the preset data to the network model so that the network model processes the preset data to obtain output data, and testing the high-level protocol example according to the preset data and the output data.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A self-organizing centerless network high-level protocol test method is characterized by comprising the following steps:
constructing a self-organizing centerless network model, wherein the network model comprises a first node, a second node and a simulation physical layer, and the first node and the second node comprise a high-level protocol instance;
performing parameter configuration and network access setting on the network model so as to enable the network model to enter a data transceiving state;
and transmitting preset data to the network model so that the network model processes the preset data to obtain output data, and testing the high-level protocol example according to the preset data and the output data.
2. The method of claim 1, wherein the performing parameter configuration and network access setting on the network model to enable the network model to enter a data receiving state comprises:
carrying out parameter configuration on the high-level protocol instance through a preset control port, and determining a data processing mode of the high-level protocol instance;
and carrying out networking registration on the first node and the second node through a control instruction transmitted by a preset control channel so as to enable the first node and the second node to access the network.
3. The method of claim 2, wherein the predetermined control channel is located between the simulated physical layer and the first node and the second node.
4. The method according to claim 2, wherein the transmitting preset data to the network model to enable the network model to process the preset data to obtain output data comprises:
transmitting the preset data to the first node through a preset data port so that the first node processes the preset data through the high-level protocol instance to obtain first node processing data, and transmitting the first node processing data to the simulated physical layer;
and controlling the simulated physical layer to forward the first node processing data to the second node so that the second node processes the first node processing data through the high-level protocol instance to obtain the output data.
5. The method of claim 4, wherein said testing said higher layer protocol instance based on said predetermined data and said output data comprises:
and comparing the preset data with the output data, judging whether the preset data is the same as the output data, if so, determining that the high-level protocol instance test is passed, otherwise, determining that the high-level protocol instance test is not passed.
6. The method according to claim 2, wherein before the control command transmitted through the preset control channel performs networking registration on the first node and the second node, the method further comprises:
and controlling the first node and the second node to start up in a simulated mode.
7. The method of claim 5, wherein after determining that the higher layer protocol instance test fails, the method further comprises:
and sending alarm prompt information, wherein the alarm prompt information comprises voice information and/or text information.
8. An ad-hoc centerless network high level protocol testing apparatus, comprising:
the network model building module is used for building a self-organizing centerless network model, wherein the network model comprises a first node, a second node and a simulation physical layer, and the first node and the second node comprise a high-level protocol instance;
the network model setting module is used for carrying out parameter configuration and network access setting on the network model so as to enable the network model to enter a data transceiving state;
and the high-level protocol instance testing module is used for transmitting preset data to the network model so that the network model processes the preset data to obtain output data, and testing the high-level protocol instance according to the preset data and the output data.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer storage medium on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202010273537.0A 2020-04-09 2020-04-09 Self-organizing centreless network high-level protocol testing method, equipment and storage medium Pending CN111464398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010273537.0A CN111464398A (en) 2020-04-09 2020-04-09 Self-organizing centreless network high-level protocol testing method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010273537.0A CN111464398A (en) 2020-04-09 2020-04-09 Self-organizing centreless network high-level protocol testing method, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111464398A true CN111464398A (en) 2020-07-28

Family

ID=71685189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010273537.0A Pending CN111464398A (en) 2020-04-09 2020-04-09 Self-organizing centreless network high-level protocol testing method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111464398A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112994954A (en) * 2021-04-21 2021-06-18 北京国科天迅科技有限公司 Network test system, test network construction method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625172A (en) * 2003-12-03 2005-06-08 华为技术有限公司 Protocol testing method
CN1822616A (en) * 2006-01-24 2006-08-23 北京佳讯飞鸿电气有限责任公司 High layer software system for debugging communication system
US20070242697A1 (en) * 2006-04-14 2007-10-18 Declan Caulfield Method and apparatus for processing data at physical layer
US7570648B2 (en) * 2003-02-03 2009-08-04 At&T Intellectual Property I, L.P. Enhanced H-VPLS service architecture using control word
CN102421112A (en) * 2011-11-18 2012-04-18 展讯通信(上海)有限公司 Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system
CN102420891A (en) * 2011-09-23 2012-04-18 展讯通信(上海)有限公司 Mobile terminal and test method, equipment and system thereof
CN103237321A (en) * 2013-05-08 2013-08-07 重庆金美通信有限责任公司 Physical layer channel analog method for testing network protocol stacks
CN106933734A (en) * 2015-12-30 2017-07-07 中兴通讯股份有限公司 A kind of physical layer software automated testing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7570648B2 (en) * 2003-02-03 2009-08-04 At&T Intellectual Property I, L.P. Enhanced H-VPLS service architecture using control word
CN1625172A (en) * 2003-12-03 2005-06-08 华为技术有限公司 Protocol testing method
CN1822616A (en) * 2006-01-24 2006-08-23 北京佳讯飞鸿电气有限责任公司 High layer software system for debugging communication system
US20070242697A1 (en) * 2006-04-14 2007-10-18 Declan Caulfield Method and apparatus for processing data at physical layer
CN102420891A (en) * 2011-09-23 2012-04-18 展讯通信(上海)有限公司 Mobile terminal and test method, equipment and system thereof
CN102421112A (en) * 2011-11-18 2012-04-18 展讯通信(上海)有限公司 Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system
CN103237321A (en) * 2013-05-08 2013-08-07 重庆金美通信有限责任公司 Physical layer channel analog method for testing network protocol stacks
CN106933734A (en) * 2015-12-30 2017-07-07 中兴通讯股份有限公司 A kind of physical layer software automated testing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
朱峰等,: ""LTE协议栈软件分析测试方法"", 《现代电子技术》 *
郑强,: ""DMR数字对讲机高层协议的研究与实现"", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112994954A (en) * 2021-04-21 2021-06-18 北京国科天迅科技有限公司 Network test system, test network construction method and device

Similar Documents

Publication Publication Date Title
US20220066858A1 (en) Remote debugging and management
CN110601871B (en) Virtual equipment testing method and device
KR20120106742A (en) Automatic and controllable system operation
CN108649691B (en) Plug and play method of power distribution terminal suitable for APP dynamic loading
CN111464419B (en) Data transmission control method based on bus network communication
CN105224753A (en) The multi-specialized design verification platform of non-active nuclear power plant
WO2017113848A1 (en) Testing method, testing platform and simulated testing device for test case
CN111464398A (en) Self-organizing centreless network high-level protocol testing method, equipment and storage medium
CN112511621B (en) Data transmission method and device, storage medium, and electronic device
CN106325242A (en) MES system based on modularized control units
CN106292584A (en) A kind of flexible manufacturing system based on modular control unit
CN111935767B (en) Network simulation system
CN109982315A (en) Log method for uploading and relevant device
CN113791792A (en) Application calling information acquisition method and device and storage medium
CN108574947A (en) A kind of Internet of Things test method and device
CN116418791A (en) Firmware upgrading method, firmware upgrading system, server and storage medium
CN108306757B (en) Programmable data plane virtual layer construction method and storage medium
CN114422297B (en) Multi-scene virtual network flow monitoring method, system, terminal and medium
CN116032746A (en) Information processing method and device of resource pool, storage medium and electronic device
CN107864488B (en) Method, device and system for automatically testing base station service
CN105703946A (en) Method oriented to QualNet for correcting simulated scene node information regularly
Gaitan et al. An IoT middleware framework for industrial applications
CN114461337A (en) Cloud simulation system and method, electronic equipment and storage medium
CN107466018A (en) The data transferring method and terminal device of a kind of terminal device
CN112615916A (en) File deployment method and device, electronic equipment and storage medium

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

Application publication date: 20200728