CN111585790A - Network simulation method and device - Google Patents
Network simulation method and device Download PDFInfo
- Publication number
- CN111585790A CN111585790A CN202010286121.2A CN202010286121A CN111585790A CN 111585790 A CN111585790 A CN 111585790A CN 202010286121 A CN202010286121 A CN 202010286121A CN 111585790 A CN111585790 A CN 111585790A
- Authority
- CN
- China
- Prior art keywords
- base station
- delay
- priority
- communication
- target base
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a network simulation method and a network simulation device, relates to the technical field of communication, and can intuitively show the actual network coverage condition of an area where a user is located to the user by establishing a network topological graph, so that the user can securely purchase services provided by an operator. The method comprises the following steps: determining a network topological graph of a target base station and a plurality of peripheral base stations in response to a first trigger operation of a user; determining a communication delay between each of the plurality of peripheral base stations and the target base station, and a priority of each communication delay; dividing the network topological graph into a plurality of areas according to the determined priority of each communication time delay; rendering a plurality of areas of the network topological graph by adopting a preset rendering mode; rendering modes of different areas in the plurality of areas are different; and displaying the rendered network topology map.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network simulation method and apparatus.
Background
When marketing low-latency high-reliability communication (URLLC) traffic, an operator usually needs to sign a service-level agreement (SLA) with a user. At the same time, the operator needs to commit the user to the quality of service (QoS) level of the URLLC-type traffic provided to the user in the signed SLA.
Currently, when signing an SLA, a user cannot know whether the QoS level of URLLC-type services provided by an operator in actual application can reach the QoS level in an agreement.
Disclosure of Invention
The application provides a network simulation method and a network simulation device, which can intuitively show the actual network coverage condition of the area where a user is located to the user by establishing a network topological graph, so that the user can determine whether the QoS level provided by an operator can reach the QoS level promised in an agreement.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, the present application provides a network simulation method, including: the network simulation device responds to a first trigger operation of a user and determines a network topological graph of a target base station and a plurality of peripheral base stations within a preset range of the target base station. The first trigger operation may include location information of the target base station and a preset range, which are input by a user. Then, the network simulation device determines the communication time delay between each peripheral base station and the target base station in the plurality of peripheral base stations and the priority of each communication time delay, and then divides the determined network topological graph into a plurality of areas according to the determined priority of each communication time delay. The network simulation device renders a plurality of areas of the network topology map by adopting a preset rendering mode, renders different rendering modes adopted by different areas in the plurality of areas, and finally displays the rendered network topology map.
The most key index in the QoS level is 'communication delay', the method is mainly based on the communication delay, and the terminal can divide the determined network topological graph between the target base station and a plurality of peripheral base stations into different areas according to the level of the communication delay. And rendering the divided areas by adopting different rendering modes. Therefore, the rendered network topology map finally displayed by the terminal can intuitively show the actual network coverage condition of the area where the user is located to the user. Therefore, the user can determine whether the service provided by the operator meets the requirement of the user according to the rendered network topological graph, and the service provided by the operator can be purchased with ease.
In a second aspect, the present application provides a network simulation apparatus, including: the device comprises a determining module, a processing module and a display module. The determining module is used for determining a network topological graph of the target base station and a plurality of peripheral base stations in response to a first trigger operation of a user. The first trigger operation includes: the position information of the target base station and the preset range, and the plurality of peripheral base stations are base stations within the preset range of the target base station. The determining module is further configured to determine a communication delay between each peripheral base station of the plurality of peripheral base stations and the target base station, and a priority of each communication delay. And the processing module is used for dividing the network topological graph into a plurality of areas according to the priority of each communication time delay determined by the determining module. In addition, the processing module is further configured to render a plurality of regions of the network topology map by using a preset rendering mode. The rendering modes of different areas in the plurality of areas are different. And the display module is used for displaying the network topology map rendered by the processing module.
In a third aspect, the present application provides a network simulation apparatus, which includes a processor, and the processor is configured to be coupled with a memory, read and execute instructions in the memory, so as to implement the network simulation method provided in the first aspect.
Optionally, the network simulation apparatus may further comprise a memory for storing program instructions and data of the network simulation apparatus.
Alternatively, the network simulation apparatus may be a terminal, or may be a part of the terminal, for example, a system on chip in the terminal. The system-on-chip is adapted to enable the terminal to perform the functions referred to in the first aspect, e.g. to receive, transmit or process data and/or information referred to in the above network emulation method. The chip system includes a chip and may also include other discrete devices or circuit structures.
In a fourth aspect, the present application provides a computer-readable storage medium having instructions stored therein, which when executed by a computer, implement the network simulation method as provided in the first aspect.
In a fifth aspect, the present application provides a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform the network simulation method according to the first aspect.
It should be noted that all or part of the computer instructions may be stored on the computer readable storage medium. The computer-readable storage medium may be packaged with a processor of the network simulation apparatus, or may be packaged separately from the processor of the network simulation apparatus, which is not limited in this application.
For the descriptions of the second, third, fourth and fifth aspects in this application, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects described in the second aspect, the third aspect, the fourth aspect and the fifth aspect, reference may be made to the beneficial effect analysis of the first aspect, and details are not repeated here.
In the present application, the names of the above network simulation apparatuses do not limit the devices or the functional modules themselves, and in actual implementation, the devices or the functional modules may appear by other names. Insofar as the functions of the respective devices or functional blocks are similar to those of the present invention, they are within the scope of the claims of the present application and their equivalents.
These and other aspects of the present application will be more readily apparent from the following description.
Drawings
Fig. 1 is a schematic flowchart of a network simulation method according to an embodiment of the present application;
FIG. 2 is an example of a display interface provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of another network simulation method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another network simulation method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another network simulation method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another network simulation method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a network simulation apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another network simulation apparatus according to an embodiment of the present application.
Detailed Description
The network simulation method and apparatus provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second" and the like in the description and drawings of the present application are used for distinguishing different objects or for distinguishing different processes for the same object, and are not used for describing a specific order of the objects.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the present application, the meaning of "a plurality" means two or more unless otherwise specified.
The URLLC service is one of three major application services of the fifth generation mobile communication technology (5th generation wireless systems, 5G). Currently, when an operator markets URLLC-type services, the operator usually needs to sign SLA with a user. In a signed SLA, the operator needs to commit to the user the QoS level of URLLC-like traffic provided to the user. However, currently, when signing the SLA, a user cannot know whether the QoS level in the agreement can meet the self requirement, so that the URLLC service provided by an operator cannot be purchased at ease, and marketing of the URLLC service is hindered.
In view of the above problems in the prior art, embodiments of the present application provide a network simulation method, which establishes a network topology map based on the most critical index "communication delay" in the QoS level. The network topological diagram can intuitively show the actual network coverage condition of the area where the user is located to the user, so the user can purchase the service provided by the operator at ease.
The network simulation method provided by the embodiment of the application can be applied to terminals, and the terminals can be different types of terminals such as mobile phones, tablet computers, desktop computers, laptop computers, notebook computers, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, Personal Digital Assistants (PDAs), wearable electronic devices, virtual reality devices and the like.
The terminal may execute the above network emulation method by running an embedded application (i.e., a system application of the device) or a downloadable application installed in the terminal, for example. Wherein the embedded application is an application provided as part of a terminal (e.g., handset) implementation. The downloadable application is an application that can provide its own internet protocol multimedia subsystem (IMS) connection, and is an application that can be pre-installed in the terminal or a third party application that can be downloaded by the user and installed in the terminal.
The network simulation method provided by the embodiment of the present application is described below with reference to the above terminal (e.g., mobile phone).
Referring to fig. 1, a network simulation method provided in the embodiment of the present application may include S101 to S105:
s101, the terminal responds to a first trigger operation of a user and determines a network topological graph of a target base station and a plurality of peripheral base stations.
The first trigger operation comprises position information of the target base station and a preset range.
The position information of the target base station can be determined according to the position of the use scene of the user, and the preset range is a certain area which is artificially determined in advance and takes the target base station as the center.
For example, when the usage scenario of the user is a certain industrial park, the location information of the target base station may be determined according to the geographical location of the industrial park, the preset range may be an area covered by a circle with a radius of 50 kilometers and the target base station of the industrial park as a center, and the plurality of peripheral base stations are all other base stations except the target base station in the area.
Alternatively, the first trigger operation may be a click operation of the user. As shown in fig. 2 (a), a display interface of a terminal is provided, where the display interface includes two input boxes, and a user may input location information of a target base station in a first input box, input a preset range in a second input box, and click a "next" button to trigger a first trigger operation. After the first triggering operation is triggered by the user, the terminal may determine a network topology of the target base station and the plurality of peripheral base stations in response to the first triggering operation.
Certainly, the first trigger operation may also be a sliding operation of the user, when the user clicks a button of the display interface, a pop-up box appears on the display interface, and the user may select the target base station and the preset range by sliding the pop-up box.
The terminal can obtain the position relation between the target base station and the plurality of peripheral base stations in a preset range from a database of the terminal based on a first trigger operation of a user, and then determine a network topology map of the target base station and the plurality of peripheral base stations according to a certain scale.
As shown in fig. 2, after the user clicks the "next" button in the display interface shown in (a) of fig. 2, the display interface of the terminal is shown in (b) of fig. 2. A display interface shown in (b) of fig. 2 displays a network topology diagram of a target base station and a plurality of peripheral base stations determined by the terminal. In fig. 2 (b), the target base station is connected to a plurality of peripheral base stations by straight lines.
In practical applications, the target base station is connected to each peripheral base station through one or more of the transmission equipment, the multiplexing connection equipment, the switch, the router and the like of the underlying optical fiber. In the network topology diagram of the embodiment of the present application, the above-mentioned intermediate device may be abstracted as a network element (i.e. the connection line in (b) in fig. 2).
S102, the terminal determines the communication time delay between each peripheral base station in the plurality of peripheral base stations and the target base station and the priority of each communication time delay.
For example, after determining the network topology of the target base station and the plurality of peripheral base stations, the terminal may obtain the communication delay between each peripheral base station of the plurality of peripheral base stations and the target base station by querying historical data of communication between each peripheral base station and the target base station stored in its database.
Alternatively, the highest 10% value of the communication delay between each peripheral base station and the target base station in the historical data may be filtered, and the filtered historical data may be used as the reference data for finally determining the communication delay.
Of course, in practical applications, the communication delay between each peripheral base station in the plurality of peripheral base stations and the target base station may also be determined in other manners. Illustratively, the terminal may initiate a communication request to the server of the target base station, where the communication request is used to instruct the server of the target base station to access an Internet protocol address (IP) of each peripheral base station. When the server of the target base station accesses the IP of each peripheral base station, a signal is sent to the server of each peripheral base station, and then the server of each peripheral base station feeds back a signal to the server of the target base station. The terminal may determine the communication delay between each peripheral base station of the plurality of peripheral base stations and the target base station according to a time period from when the server of the target base station transmits a signal to the server of each peripheral base station to when the server of the target base station receives the feedback signal.
Alternatively, as shown in FIG. 3, step S102 may include steps S1021-S1022:
s1021, the terminal determines the communication time delay between each peripheral base station and the target base station.
And S1022, the terminal determines the priority of the communication time delay between each peripheral base station and the target base station based on the preset grade.
The preset grade is artificially determined in advance, and each grade corresponds to a communication delay interval. Illustratively, taking a first peripheral base station of the plurality of peripheral base stations as an example, when the first communication delay between the first peripheral base station and the target base station is less than 1 millisecond, the priority of the first communication delay is 1 (the smaller the value of the priority, the higher the level of the priority is). When a first communication delay between the first peripheral base station and the target base station is greater than or equal to 1 millisecond and less than 2 milliseconds, the priority of the first communication delay is determined to be 2. When the first communication delay between the first peripheral base station and the target base station is greater than or equal to 2 msec and less than 4 msec, the priority of the first communication delay is determined to be 3. When a first communication delay between the first peripheral base station and the target base station is greater than or equal to 4 msec and less than 8 msec, the priority of the first communication delay is determined to be 4. When the first communication delay between the first peripheral base station and the target base station is greater than or equal to 8 msec and less than 16 msec, the priority of the first communication delay is determined to be 5.
It can be seen that the lower the value of the first communication delay, the higher the level of the corresponding priority. Illustratively, when the first communication delay is less than the second communication delay, the priority of the first communication delay is lower than the priority of the second communication delay. The first communication delay is a communication delay between the first peripheral base station and the target base station, and the second communication delay is a communication delay between the second peripheral base station and the target base station. The first peripheral base station and the second peripheral base station are any two of the plurality of peripheral base stations.
Alternatively, as shown in fig. 4, the step S1021 may include steps S10211-S10212:
s10211, the terminal acquires the response time delay of the target base station, the response time delay of each peripheral base station and each transmission time delay between each peripheral base station and the target base station.
For example, the response delay of the first peripheral base station may be a forwarding delay from the acquisition of a data packet to the transmission of the data packet to the target base station. The transmission delay between the first peripheral base station and the target base station may be a delay of a process of sending out the data packet from the first peripheral base station to receiving the data packet by the target base station. The forwarding delay of the target base station may be a delay from the reception of the data packet to the transmission of the data packet to the terminal by the target base station.
S10212, the terminal determines a third communication delay according to the response delay, the third response delay and the third transmission delay of the target base station.
Illustratively, the sum of the response delay of the target base station, the third response delay, and the third transmission delay may be determined as the third communication delay. Wherein the third response delay is a response delay of the third peripheral base station; the third transmission delay is the transmission delay between the third peripheral base station and the target base station; the third communication delay is a communication delay between the third peripheral base station and the target base station. The third peripheral base station is any one of a plurality of peripheral base stations.
S103, the terminal divides the network topological graph into a plurality of areas according to the determined priority of each communication time delay.
Illustratively, as shown in fig. 2, after the user clicks the "next" button in the display interface shown in (b) of fig. 2, the terminal may present a plurality of areas dividing the network topology in the display interface shown in (c) of fig. 2. As shown in (c) of fig. 2, the terminal may divide the network topology of the target base station and the plurality of peripheral base stations into a plurality of areas by using contour lines.
Alternatively, as shown in fig. 5, step S103 may include steps S1031-S1032:
and S1031, the terminal acquires the coverage of the target base station and the coverage of each peripheral base station.
In a practical communication network, the geographical area that each base station can effectively cover is certain. For example, the terminal may obtain the coverage of the target base station and the coverage of each peripheral base station recorded in the database by querying its own database.
S1032, the terminal divides the network topology map into a plurality of areas according to the coverage area of the target base station, the coverage area of each peripheral base station and the priority of each communication time delay.
After acquiring the coverage of the target base station and the coverage of each peripheral base station, the terminal may curve a plurality of areas in the network topology map based on a certain scale. Each of the plurality of regions corresponds to a priority, and the priorities corresponding to any two of the plurality of regions are different. Illustratively, as shown in fig. 2 (c), five regions surrounded by contours correspond to different priorities.
Alternatively, as shown in FIG. 6, step S1032 may include steps S10321-S10322:
s10321, the terminal acquires the priority of the first area.
S10322, if the priority of the first area includes a first priority and a second priority, and the first priority is greater than the second priority, the terminal determines that the first area belongs to an area of the second priority.
In the network simulation method provided by the embodiment of the application, the geographic ranges of effective coverage of the first peripheral base station and the second peripheral base station may overlap. When the priority of the first communication delay (i.e., the communication delay between the first peripheral base station and the target base station) is different from the priority of the second communication delay (i.e., the communication delay between the second peripheral base station and the target base station), the priority of the overlapping area includes two priorities. Therefore, in order to ensure that each of the plurality of areas divided in the network topology corresponds to only one priority level, the priority level of the overlapping area may be determined as a higher priority level (i.e., a priority level corresponding to a lower communication delay).
Illustratively, if the first area is an overlapping area of the coverage areas of the first peripheral base station and the second peripheral base station, the priority of the first communication delay is 1, and the priority of the second communication delay is 2, it is determined that the first area belongs to the area with the priority of 2.
And S104, rendering a plurality of areas of the network topology map by the terminal in a preset rendering mode.
Wherein the rendering modes of different areas in the plurality of areas are different.
Illustratively, the terminal may render multiple regions of the network topology in different colors. As shown in (d) of fig. 2, the terminal may render the first region with dark green, the second region with light green, the third region with yellow, the fourth region with orange, and the fifth region with red. Five regions surrounded by the contour lines in fig. 2 (d) from the inside to the outside are from the first region to the fifth region.
In another embodiment, the terminal may render multiple regions of the network topology using different character tags. For example, the terminal may directly mark the priority corresponding to each area in the network topology map, where the priority of the first area is 1, the priority of the second area is 2, the priority of the third area is 3, the priority of the fourth area is 4, and the priority of the fifth area is 5.
And S105, displaying the rendered network topology map by the terminal.
Illustratively, after the user clicks the "next" button in the display interface shown in (c) of fig. 2, the terminal displays the rendered network topology map in the display interface shown in (d) of fig. 2.
In the network simulation method provided in the embodiment of the present application, after a user clicks a "next" button in the display interface shown in (a) in fig. 2, a first trigger operation is triggered, and the terminal may respond to the first trigger operation to present the display interface shown in (b) in fig. 2. After the user clicks the "next" button of the display interface shown in (b) in fig. 2, the terminal presents the display interface shown in (c) in fig. 2. After the user further clicks the "next" button of the display interface shown in (c) of fig. 2, the terminal will present the final rendered network topology shown in (d) of fig. 2. In the whole process, how the terminal determines the network topology map, how the priority of each communication delay is determined, and how the network topology map is divided into a plurality of areas are all performed by the background program of the terminal.
It can be understood that, in practical applications, the display interface of the terminal may further display data such as each communication delay or a priority of each communication delay for a user to refer to, which is not limited in this application.
According to the network configuration method provided by the embodiment of the application, the most critical index 'communication delay' in the QoS level is taken as a basis, and the determined network topological graph between the target base station and the plurality of peripheral base stations is divided into different areas according to the level of the communication delay. And rendering the divided areas by adopting different rendering modes. Therefore, the finally displayed rendered network topological graph can intuitively show the actual network coverage condition of the area where the user is located to the user. Therefore, the user can determine whether the service provided by the operator meets the requirement of the user according to the rendered network topological graph, and the service provided by the operator can be purchased with ease.
As shown in fig. 7, an embodiment of the present application further provides a network simulation apparatus 01, where the network simulation apparatus 01 may include: a determination module 11, a processing module 12 and a display module 13.
Wherein, the determining module 11 executes S101 and S102 in the above-mentioned method embodiment, the processing module 12 executes S103 and S104 in the above-mentioned method embodiment, and the display module 13 executes S105 in the above-mentioned method embodiment.
Specifically, the determining module 11 is configured to determine a network topology map of the target base station and a plurality of peripheral base stations in response to a first trigger operation of the user. The first trigger operation includes: position information of the target base station and a preset range. The plurality of peripheral base stations are base stations within a preset range of the target base station.
The determining module 11 is further configured to determine a communication delay between each peripheral base station in the plurality of peripheral base stations and the target base station, and a priority of each communication delay.
The processing module 12 is configured to divide the network topology map into a plurality of areas according to the priority of each communication delay determined by the determining module 11.
The processing module 12 is further configured to render multiple regions of the network topology map by using a preset rendering manner. The rendering modes of different areas in the plurality of areas are different.
And the display module 13 is configured to display the network topology map rendered by the processing module 12.
Optionally, the determining module 11 is specifically configured to: determining the communication time delay between each peripheral base station and the target base station; and determining the priority of the communication time delay between each peripheral base station and the target base station based on the preset level. The first communication delay is smaller than the second communication delay, and the priority of the first communication delay is lower than that of the second communication delay. The first communication delay is a communication delay between the first peripheral base station and the target base station, and the second communication delay is a communication delay between the second peripheral base station and the target base station. The first peripheral base station and the second peripheral base station are any two of the plurality of peripheral base stations.
Optionally, the processing module 12 comprises a first processing sub-module and a second processing sub-module. And the first processing submodule is used for acquiring the coverage range of the target base station and the coverage range of each peripheral base station. And the second processing submodule is used for dividing the network topological graph into a plurality of areas according to the coverage area of the target base station, the coverage area of each peripheral base station and the priority of each communication time delay. Each of the plurality of regions corresponds to a priority, and the priorities corresponding to any two of the plurality of regions are different.
Optionally, the second processing sub-module is specifically configured to: acquiring the priority of a first area; and if the priority of the first area comprises a first priority and a second priority, and the first priority is higher than the second priority, determining that the first area belongs to the area with the second priority.
Optionally, the determining module 11 is further specifically configured to: acquiring the response time delay of a target base station, the response time delay of each peripheral base station and each transmission time delay between each peripheral base station and the target base station; and determining a third communication time delay according to the response time delay, the third response time delay and the third transmission time delay.
The third response delay is a response delay of the third peripheral base station, the third transmission delay is a transmission delay between the third peripheral base station and the target base station, the third communication delay is a communication delay between the third peripheral base station and the target base station, and the third communication delay is a sum of the response delay, the third response delay and the third transmission delay. The third peripheral base station is any one of a plurality of peripheral base stations.
Optionally, the network simulation apparatus 01 further includes a storage module. The storage module is used for storing the program code of the network simulation apparatus 01 and the like.
As shown in fig. 8, an embodiment of the present application further provides a network simulation apparatus, which includes a memory 41, a processor 42, a bus 43, and a communication interface 44; the memory 41 is used for storing computer execution instructions, and the processor 42 is connected with the memory 41 through a bus 43; when the network simulation apparatus is operating, the processor 42 executes the computer execution instructions stored in the memory 41 to cause the network simulation apparatus to perform the network simulation method provided in the above-described embodiments.
In particular implementations, processor 42(42-1 and 42-2) may include one or more Central Processing Units (CPUs), such as CPU0 and CPU1 shown in FIG. 8, as one example. And, as an example, the network emulation device can include a plurality of processors 42, such as processor 42-1 and processor 42-2 shown in fig. 8. Each of the processors 42 may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). Processor 42 may refer herein to one or more devices, circuits, and/or processing cores that process data (e.g., computer program instructions).
The memory 41 may be, but is not limited to, a read-only memory 41 (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disc storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 41 may be self-contained and coupled to the processor 42 via a bus 43. The memory 41 may also be integrated with the processor 42.
In a specific implementation, the memory 41 is used for storing data in the present application and computer-executable instructions corresponding to software programs for executing the present application. The processor 42 may simulate various functions of the device by running or executing software programs stored in the memory 41, as well as invoking data stored in the memory 41.
The communication interface 44 is any device, such as a transceiver, for communicating with other devices or communication networks, such as a control system, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), and the like. The communication interface 44 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.
The bus 43 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an extended ISA (enhanced industry standard architecture) bus, or the like. The bus 43 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
As an example, in connection with fig. 7, the processing module in the network emulation device implements the same functions as the processor in fig. 8, and the storage module in the network emulation device implements the same functions as the memory in fig. 8.
For the explanation of the related contents in this embodiment, reference may be made to the above method embodiments, which are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
The embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed by a computer, the computer is enabled to execute the network simulation method applied to the terminal provided in the foregoing embodiment.
The 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 thereof. 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 RAM, a ROM, an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, any suitable combination of the foregoing, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, 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.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (12)
1. A network simulation method, comprising:
determining a network topological graph of a target base station and a plurality of peripheral base stations in response to a first trigger operation of a user; the first trigger operation includes: the position information and the preset range of the target base station; the plurality of peripheral base stations are base stations within the preset range of the target base station;
determining a communication delay between each of the plurality of peripheral base stations and the target base station, and a priority of each communication delay;
dividing the network topological graph into a plurality of areas according to the determined priority of each communication time delay;
rendering a plurality of areas of the network topological graph by adopting a preset rendering mode; rendering modes of different areas in the plurality of areas are different;
and displaying the rendered network topology map.
2. The network simulation method according to claim 1, wherein the determining of the communication delay between each of the plurality of peripheral base stations and the target base station, and the priority of each communication delay comprises:
determining the communication time delay between each peripheral base station and the target base station;
determining the priority of the communication time delay between each peripheral base station and the target base station based on a preset grade; the first communication time delay is smaller than the second communication time delay, and the priority of the first communication time delay is lower than that of the second communication time delay; the first communication delay is a communication delay between a first peripheral base station and the target base station, and the second communication delay is a communication delay between a second peripheral base station and the target base station; the first peripheral base station and the second peripheral base station are any two of the plurality of peripheral base stations.
3. The network simulation method according to claim 1 or 2, wherein the dividing the network topology map into a plurality of regions according to the determined priority of each communication delay includes:
acquiring the coverage area of the target base station and the coverage area of each peripheral base station;
dividing the network topological graph into the plurality of areas according to the coverage area of the target base station, the coverage area of each peripheral base station and the priority of each communication time delay; each of the plurality of regions corresponds to a priority, and the priorities corresponding to any two of the plurality of regions are different.
4. The network simulation method according to claim 3, wherein the dividing the network topology map into the plurality of areas according to the coverage of the target base station, the coverage of each of the neighboring base stations, and the priority of each of the communication delays comprises:
acquiring the priority of a first area;
if the priority of the first area comprises a first priority and a second priority, and the first priority is greater than the second priority, determining that the first area belongs to the area with the second priority.
5. The network simulation method according to claim 4, wherein the determining of the communication delay between each of the plurality of peripheral base stations and the target base station, and the priority of each communication delay further comprises:
acquiring the response time delay of the target base station, the response time delay of each peripheral base station and each transmission time delay between each peripheral base station and the target base station;
determining a third communication time delay according to the response time delay of the target base station, a third response time delay and a third transmission time delay; the third response delay is the response delay of a third peripheral base station; the third transmission delay is a transmission delay between the third peripheral base station and the target base station; the third communication delay is a communication delay between the third peripheral base station and the target base station; the third communication delay is the sum of the response delay, the third response delay and the third transmission delay; the third peripheral base station is any one of the plurality of peripheral base stations.
6. A network simulation apparatus, comprising: the device comprises a determining module, a processing module and a display module;
the determining module is used for determining a network topological graph of a target base station and a plurality of peripheral base stations in response to a first trigger operation of a user; the first trigger operation includes: the position information and the preset range of the target base station; the plurality of peripheral base stations are base stations within the preset range of the target base station;
the determining module is further configured to determine a communication delay between each of the plurality of peripheral base stations and the target base station, and a priority of each communication delay;
the processing module is configured to divide the network topology map into a plurality of regions according to the priority of each communication delay determined by the determining module;
the processing module is further configured to render a plurality of areas of the network topology map by using a preset rendering mode; rendering modes of different areas in the plurality of areas are different;
and the display module is used for displaying the network topology map rendered by the processing module.
7. The network simulation apparatus of claim 6, wherein the determining module is specifically configured to:
determining the communication time delay between each peripheral base station and the target base station;
determining the priority of the communication time delay between each peripheral base station and the target base station based on a preset grade; the first communication time delay is smaller than the second communication time delay, and the priority of the first communication time delay is lower than that of the second communication time delay; the first communication delay is a communication delay between a first peripheral base station and the target base station, and the second communication delay is a communication delay between a second peripheral base station and the target base station; the first peripheral base station and the second peripheral base station are any two of the plurality of peripheral base stations.
8. The network simulation device according to claim 6 or 7, wherein the processing module comprises a first processing sub-module and a second processing sub-module;
the first processing submodule is used for acquiring the coverage area of the target base station and the coverage area of each peripheral base station;
the second processing submodule is configured to divide the network topology map into the multiple areas according to the coverage area of the target base station, the coverage area of each of the neighboring base stations, and the priority of each of the communication delays; each of the plurality of regions corresponds to a priority, and the priorities corresponding to any two of the plurality of regions are different.
9. The network simulation apparatus of claim 8, wherein the second processing sub-module is specifically configured to:
acquiring the priority of a first area;
if the priority of the first area comprises a first priority and a second priority, and the first priority is greater than the second priority, determining that the first area belongs to the area with the second priority.
10. The network simulation apparatus of claim 9, wherein the determining module is further specifically configured to:
acquiring the response time delay of the target base station, the response time delay of each peripheral base station and each transmission time delay between each peripheral base station and the target base station;
determining a third communication time delay according to the response time delay of the target base station, a third response time delay and a third transmission time delay; the third response delay is the response delay of a third peripheral base station; the third transmission delay is a transmission delay between the third peripheral base station and the target base station; the third communication delay is a communication delay between the third peripheral base station and the target base station; the third communication delay is the sum of the response delay, the third response delay and the third transmission delay; the third peripheral base station is any one of the plurality of peripheral base stations.
11. A network simulation device is characterized by comprising a memory, a processor, a bus and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through the bus;
when the network simulation apparatus is running, a processor executes the computer-executable instructions stored by the memory to cause the network simulation apparatus to perform the network simulation method of any one of claims 1-5.
12. A computer-readable storage medium having stored therein instructions, which when executed by a computer, cause the computer to perform the network simulation method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010286121.2A CN111585790B (en) | 2020-04-13 | 2020-04-13 | Network simulation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010286121.2A CN111585790B (en) | 2020-04-13 | 2020-04-13 | Network simulation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111585790A true CN111585790A (en) | 2020-08-25 |
CN111585790B CN111585790B (en) | 2022-05-06 |
Family
ID=72115243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010286121.2A Active CN111585790B (en) | 2020-04-13 | 2020-04-13 | Network simulation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111585790B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007033555A1 (en) * | 2005-09-19 | 2007-03-29 | Huawei Technologies Co., Ltd. | Method, device and system for obtaining link performance parameter |
CN102014403A (en) * | 2009-09-07 | 2011-04-13 | 中兴通讯股份有限公司 | Method and system for transmitting network topology information |
CN106658405A (en) * | 2015-11-02 | 2017-05-10 | 维亚威解决方案英国有限公司 | Enhancing network topology information for a self-organizing network |
CN107733730A (en) * | 2017-12-01 | 2018-02-23 | 湖南智领通信科技有限公司 | Network topology self-healing method based on dynamic priority |
CN110891093A (en) * | 2019-12-09 | 2020-03-17 | 中国科学院计算机网络信息中心 | Method and system for selecting edge computing node in delay sensitive network |
-
2020
- 2020-04-13 CN CN202010286121.2A patent/CN111585790B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007033555A1 (en) * | 2005-09-19 | 2007-03-29 | Huawei Technologies Co., Ltd. | Method, device and system for obtaining link performance parameter |
CN102014403A (en) * | 2009-09-07 | 2011-04-13 | 中兴通讯股份有限公司 | Method and system for transmitting network topology information |
CN106658405A (en) * | 2015-11-02 | 2017-05-10 | 维亚威解决方案英国有限公司 | Enhancing network topology information for a self-organizing network |
CN107733730A (en) * | 2017-12-01 | 2018-02-23 | 湖南智领通信科技有限公司 | Network topology self-healing method based on dynamic priority |
CN110891093A (en) * | 2019-12-09 | 2020-03-17 | 中国科学院计算机网络信息中心 | Method and system for selecting edge computing node in delay sensitive network |
Also Published As
Publication number | Publication date |
---|---|
CN111585790B (en) | 2022-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109561141B (en) | CDN node selection method and equipment | |
CN109547286B (en) | CDN node selection method, device and storage medium | |
CN109451002B (en) | CDN node selection method and equipment | |
CN105554876B (en) | A kind of mobile terminal locating method and mobile terminal | |
CN107948271B (en) | Method for determining message to be pushed, server and computing node | |
CN104081339A (en) | Managing data transfers over network connections based on priority and data usage plan | |
CN105139641A (en) | WiFi relay station-based vehicle scheduling method and system | |
CN105554702B (en) | A kind of inter-network positioning system, method, location-server and mobile terminal | |
CN108536480B (en) | Input method configuration method and related product | |
CN112990400B (en) | NFC tag-based scene service method, device and system | |
CN109639823A (en) | Network node dispatching method and device, computer installation and storage medium | |
CN108600399A (en) | Information-pushing method and Related product | |
CN112423351A (en) | Network mode determination method and device | |
CN111741512B (en) | Private network access method and device | |
CN112822325A (en) | Positioning display control method and related device | |
CN111585790B (en) | Network simulation method and device | |
CN112152879B (en) | Network quality determination method, device, electronic equipment and readable storage medium | |
CN110035399B (en) | Message transmission method and related equipment | |
US10680962B2 (en) | Method and system for managing traffic of application programs, and terminal device containing the system | |
CN110855750B (en) | Downloading method of software development kit and related equipment | |
CN110300182A (en) | Network node dispatching method and device, computer installation and storage medium | |
CN112215667A (en) | User behavior prediction method and device | |
CN112948225B (en) | Link monitoring method and device, monitoring equipment and storage medium | |
CN114125936A (en) | Resource scheduling method, device and storage medium | |
CN113115400A (en) | Communication method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |