Movatterモバイル変換


[0]ホーム

URL:


CN114845312B - Method for automatically building networking environment based on TDMA satellite network management - Google Patents

Method for automatically building networking environment based on TDMA satellite network management
Download PDF

Info

Publication number
CN114845312B
CN114845312BCN202210341577.3ACN202210341577ACN114845312BCN 114845312 BCN114845312 BCN 114845312BCN 202210341577 ACN202210341577 ACN 202210341577ACN 114845312 BCN114845312 BCN 114845312B
Authority
CN
China
Prior art keywords
layer
page
networking environment
configuration file
information
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.)
Active
Application number
CN202210341577.3A
Other languages
Chinese (zh)
Other versions
CN114845312A (en
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.)
Sichuan Andi Technology Industrial Co Ltd
Original Assignee
Sichuan Andi Technology Industrial 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 Sichuan Andi Technology Industrial Co LtdfiledCriticalSichuan Andi Technology Industrial Co Ltd
Priority to CN202210341577.3ApriorityCriticalpatent/CN114845312B/en
Publication of CN114845312ApublicationCriticalpatent/CN114845312A/en
Application grantedgrantedCritical
Publication of CN114845312BpublicationCriticalpatent/CN114845312B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

A method for automatically setting up networking environment based on TDMA satellite network management comprises the following steps: storing the positioning information of each page element on the network manager into a configuration file of a Java item; storing information of various devices on the network manager into a configuration file; processing positioning information of each page in the configuration file and information of various devices on the network manager by utilizing Java, webdriver and Selenium, layering programs, including: baseDriver: acquiring Driver drivers of different browsers, creating a driving object, and packaging a basic operation method; page layer: inheriting the BaseDriver, and reading the positioning information of each page element in the configuration file; handle layer: introducing a Page layer object, and operating the positioned information of the Page layer; bussiness layer: introducing a handle layer object, and operating a packaging method in the handle layer to realize adding, deleting and modifying the object; test layer: adding, deleting and modifying in the serial businessman layer; in TDMA satellite network management, on the premise of large-scale equipment networking, manual configuration is changed into program automatic configuration, networking efficiency is improved, and error occurrence probability is reduced.

Description

Method for automatically building networking environment based on TDMA satellite network management
Technical Field
The invention belongs to the field of satellite communication, and particularly relates to an automatic networking environment setting-up method and device based on a TDMA satellite network manager.
Background
The MF-TDMA satellite communication system is mainly applied to a high-orbit synchronous communication satellite based on a transparent forwarding principle, and a TDMA satellite network manager is a network management system for managing and monitoring equipment of the system and resource state changes thereof; specifically, the TDMA satellite network management manual configuration device scheme has the following problems: 1) Different equipment types need to be added on different pages; 2) The constraint of adding equipment is excessive, and under the condition that certain functions are met, the sequence of adding different equipment is required to be ensured; 3) And under the TDMA large-scale networking, clicking the adding equipment of each interface repeatedly for many times consumes a great deal of time.
Disclosure of Invention
Aiming at the defects of the related prior art, the invention provides an automatic networking environment setting-up method and device based on a TDMA satellite network management, wherein in the TDMA satellite network management, manual piece-by-piece configuration is changed into program automatic configuration on the premise of large-scale equipment networking, so that networking efficiency is improved, and the probability of error occurrence is reduced.
In order to achieve the object of the invention, the following scheme is adopted:
a method for automatically setting up networking environment based on TDMA satellite network management comprises the following steps:
responding to the input of a user interface of a satellite network manager, storing the positioning information of each page element on the network manager into a configuration file of a Java item, wherein each page element comprises configuration items of added equipment, such as equipment names, SN, IP addresses, equipment types and the like, satellites, repeaters, frequency bands, carriers and the like;
storing information of various devices on a network manager into a configuration file, wherein the information of the devices comprises: a device name value, an SN number value, an IP address value, a data value of a device attribute, and the like;
the program is realized: analyzing and processing codes of positioning information of each page in the configuration file and information of various devices on the network manager by utilizing Java, webdriver and Selenium, layering programs, including: baseDriver, page, handle, business, test.
Further, the format of the positioning information is a positioning mode > specific value.
Further, the step of layering the program includes the steps of:
BaseDriver: the method comprises the steps of obtaining Driver drivers of different browsers, creating a driving object, and packaging a basic operation method;
page layer: inheriting the BaseDriver, reading the positioning information of each page element in the configuration file, and realizing the positioning of each interface element;
handle layer: introducing a Page layer object, operating the positioned information of the Page layer, and realizing the operation of elements of the whole network Page;
bussiness layer: introducing a handle layer object, operating a method for packaging in the handle layer, realizing adding, deleting and modifying the object, and acquiring input data sources from a configuration file;
test layer: the addition, deletion and modification in the serial business layer automatically builds the networking environment, such as adding satellite resources, network controllers, subnets, equipment and building chain allocation resources in sequence, so that the networking environment can be built.
Further, the basic operation method of the package includes: opening or closing a browser, switching windows, and finding element positions.
Further, the information that the Page layer has located includes the input of the input box, the clicking of the button.
Further, the step of layering the program further comprises: the configuration parameters call the Test layer method, and the equipment can be automatically on line and allocate resources after the deployment environment is completed.
An automatic networking environment setting up device based on a TDMA satellite network manager, comprising:
the configuration module is used for storing the positioning information of each page element on the network manager into a configuration file of a Java item and storing the information of various devices on the network manager into the configuration file;
the analysis processing module is configured to analyze and process code on positioning information of each page in the configuration file and information of various devices on the network manager by using Java, webdriver and Selenium, and layer the program, and includes: baseDriver, page, handle, business, test.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, controls a device in which the storage medium is located to perform the TDMA satellite network management based automatic networking environment method as described above.
An electronic device, comprising: at least one processor and memory; the memory stores computer-executable instructions, wherein the computer-executable instructions stored in the memory are executed by the at least one processor, so that the at least one processor executes the automatic networking environment setting-up method based on the TDMA satellite network management as described above.
The invention has the beneficial effects that:
in the TDMA satellite network management, compared with the manual configuration networking environment, the method has the advantages that the networking environment is planned in advance, the installation, deployment and automatic networking environment establishment are integrated, so that maintenance cost can be reduced.
Drawings
Fig. 1 is a flowchart of a method for automatically setting up a networking environment according to an embodiment of the present application.
Fig. 2 is a flowchart illustrating steps of a procedure layering process according to an embodiment of the present application.
Fig. 3 is a block diagram of a device according to an embodiment of the present application.
Description of the embodiments
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the embodiments of the present invention will be given with reference to the accompanying drawings, but the described embodiments of the present invention are some, but not all embodiments of the present invention.
In one aspect of the embodiments of the present application, a method for automatically setting up a networking environment based on TDMA satellite network management is provided, as shown in fig. 1, including the steps of:
s01, responding to the input of a user interface of a satellite network manager, storing the positioning information of each page element on the network manager into a configuration file of a Java item, wherein each page element comprises added equipment, attributes related to equipment names, SN, IP addresses, equipment types and the like, configuration items of satellites, transponders, frequency bands, carriers and the like,
examples:
# login
username=name>login_name
password=name>login_password
loginButton=name>login_submit;
S02, saving information of various devices on the network manager into a configuration file, wherein the information of the devices comprises: a device name value, an SN number value, an IP address value, a data value of a device attribute, etc.,
examples:
username =admin
Password =888888
satellite with the same number
satName= China6ASat
satLongitude=125;
S03, program implementation: analyzing and processing codes of positioning information of each page in the configuration file and information of various devices on the network manager by utilizing Java, webdriver and Selenium, layering programs, including: baseDriver, page, handle, business, test.
Specifically, the format of the positioning information is a positioning manner > specific value.
Specifically, as shown in fig. 2, the step of layering the program includes the steps of:
s301, baseDriver: the method comprises the steps of obtaining Driver drivers of different browsers, creating a driving object, and packaging a basic operation method;
s302, page layer: inheriting the BaseDriver, mainly reading the positioning information of each page element in the configuration file, realizing the positioning of each interface element as shown in the example of the step S02,
examples:
/**
* Input box for obtaining user name
* */
public webElement getuserElement(){
return element(GetBylocator . getlocator( key:”username”));
};
S303, handle layer: introducing the Page layer object, mainly operating the information positioned by the Page layer, realizing the operation of the elements of the whole network Page,
examples:
/**
* Input box for obtaining user name
* */
public void sendkeysUser(String username){
lp . sendkeys(lp . getUserElement( ),username);
};
S304, business layer: introducing a handle layer object, mainly operating a method of encapsulation in the handle layer, realizing addition, deletion and modification of the object, acquiring input data sources from configuration files, such as adding equipment in step S01, relating to equipment names, SN, IP addresses, equipment types and other attributes, satellite, transponder, frequency band, carrier wave and other configuration items,
examples:
public void login(){
String username = value .getValueByPro( key:”username”);
String password = value .getValueByPro( key:”password”);
If(lph . assertLoginPage( ) ){
lph . sendkeysUser(username);
lph . sendkeysPassword(paassword);
Lph . clickLoginButton();
}else{
system, out println ("page not present or status incorrect");
}
sleep(num:1000);
s305, test layer: the network environment can be built automatically by adding, deleting and modifying the network layer, such as adding, deleting and modifying the equipment, the subnet, the satellite and other modules, for example, satellite resources, network controllers, subnets, equipment and building chains are added in sequence to allocate resources, so that the network environment can be built;
s06, the configuration parameters call a Test layer method, and after the deployment environment is completed, the equipment is automatically on line and allocates resources.
Specifically, the basic operation method of the package includes: open or close a browser, switch windows, find element locations, etc.
Specifically, the information that the Page layer has located includes input of an input box, clicking of a button, and the like.
As shown in fig. 3, in one aspect of this embodiment, an automatic networking environment setting device based on TDMA satellite network management is provided, including:
the configuration module is used for storing the positioning information of each page element on the network manager into a configuration file of a Java item and storing the information of various devices on the network manager into the configuration file;
the analysis processing module is configured to analyze and process code on positioning information of each page in the configuration file and information of various devices on the network manager by using Java, webdriver and Selenium, and layer the program, and includes:
BaseDriver: the method comprises the steps of obtaining Driver drivers of different browsers, creating a driving object, and packaging basic operation methods such as opening or closing the browser, switching windows, finding element positions and the like;
page layer: inheriting the BaseDriver, and reading the positioning information of each page element in the configuration file;
handle layer: the Page layer object is introduced, and the information positioned by the Page layer is mainly operated, such as the input of an input box, the clicking of a button and the like, so that the operation of elements of the whole web Page is realized;
bussiness layer: introducing a handle layer object, operating a method for packaging in the handle layer, realizing adding, deleting and modifying the object, and acquiring input data sources from a configuration file;
test layer: the addition, deletion and modification in the serial business layer automatically builds the networking environment, such as adding satellite resources, network controllers, subnets, equipment and building chain allocation resources in sequence, so that the networking environment can be built.
In yet another aspect of the embodiments of the present application, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor controls a device in which the storage medium is located to execute the method for automatically setting up a networking environment based on TDMA satellite network management as described above.
In yet another aspect of the embodiments of the present application, there is provided an electronic device, including: at least one processor and memory; the memory stores computer-executable instructions, wherein the computer-executable instructions stored in the memory are executed by the at least one processor, so that the at least one processor executes the automatic networking environment setting-up method based on the TDMA satellite network management as described above.
In the TDMA satellite network management, on the premise of large-scale equipment networking, manual networking configuration is changed into automatic networking environment establishment according to configuration files, so that networking efficiency can be improved, and error occurrence probability can be reduced.
The foregoing is merely a preferred embodiment of the present invention and is not meant to be the only or limiting of the present invention. It will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention.

Claims (9)

CN202210341577.3A2022-04-022022-04-02Method for automatically building networking environment based on TDMA satellite network managementActiveCN114845312B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210341577.3ACN114845312B (en)2022-04-022022-04-02Method for automatically building networking environment based on TDMA satellite network management

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210341577.3ACN114845312B (en)2022-04-022022-04-02Method for automatically building networking environment based on TDMA satellite network management

Publications (2)

Publication NumberPublication Date
CN114845312A CN114845312A (en)2022-08-02
CN114845312Btrue CN114845312B (en)2023-05-16

Family

ID=82564480

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210341577.3AActiveCN114845312B (en)2022-04-022022-04-02Method for automatically building networking environment based on TDMA satellite network management

Country Status (1)

CountryLink
CN (1)CN114845312B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101682526A (en)*2007-03-122010-03-24思杰系统有限公司System and method for configuring, applying and managing object-oriented policy expressions for network devices
CN101841839A (en)*2010-01-222010-09-22华中科技大学Wireless sensor network (WSN) emulation system
CN101861578A (en)*2007-09-282010-10-13埃克斯里昂股份公司Network operating system
WO2010130737A1 (en)*2009-05-112010-11-18Continental Teves Ag & Co. OhgAntenna device for vehicle communication
CN111917451A (en)*2020-07-102020-11-10华力智芯(成都)集成电路有限公司Data transmission method and device, satellite module and storage medium
CN112631704A (en)*2020-12-262021-04-09深圳集智数字科技有限公司Interface element identification method and device, storage medium and electronic equipment
US11163586B1 (en)*2021-02-232021-11-02Xactly CorporationAutomated configuration of application program instance

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9059895B2 (en)*2009-12-082015-06-16Cisco Technology, Inc.Configurable network management system event processing using simple network management table indices
US10419311B2 (en)*2016-10-182019-09-17Citrix Systems, Inc.Template-based declarative and composable configuration of network functions
EP3643040A4 (en)*2017-08-082021-06-09SentinelOne, Inc. METHODS, SYSTEMS AND DEVICES FOR DYNAMIC MODELING AND GROUPING OF END POINTS FOR ONBOARD NETWORKING

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101682526A (en)*2007-03-122010-03-24思杰系统有限公司System and method for configuring, applying and managing object-oriented policy expressions for network devices
CN101861578A (en)*2007-09-282010-10-13埃克斯里昂股份公司Network operating system
WO2010130737A1 (en)*2009-05-112010-11-18Continental Teves Ag & Co. OhgAntenna device for vehicle communication
CN101841839A (en)*2010-01-222010-09-22华中科技大学Wireless sensor network (WSN) emulation system
CN111917451A (en)*2020-07-102020-11-10华力智芯(成都)集成电路有限公司Data transmission method and device, satellite module and storage medium
CN112631704A (en)*2020-12-262021-04-09深圳集智数字科技有限公司Interface element identification method and device, storage medium and electronic equipment
US11163586B1 (en)*2021-02-232021-11-02Xactly CorporationAutomated configuration of application program instance

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
UWB应急组网定位系统的设计与实现;王宁;王坚;韩厚增;;测绘科学(第06期);全文*

Also Published As

Publication numberPublication date
CN114845312A (en)2022-08-02

Similar Documents

PublicationPublication DateTitle
CN102662705B (en)System and method for upgrading system environment of computer cluster
CN113949702B (en)Multi-layer network protocol processing method and device for service grid
EP3573367A1 (en)Resource allocation method and orchestrator for network slicing in radio access network
CN111245634B (en) A virtualization management method and device
CN109039788B (en)Port configuration method and device of network equipment and storage medium
CN111343020A (en)Unified management method and device for multi-protocol Internet of things equipment
CN111831362B (en)Method for automatically discovering, classifying, deploying and managing K8s environment monitoring
CN114845312B (en)Method for automatically building networking environment based on TDMA satellite network management
CN113360361A (en)Method, device and equipment for constructing distributed operation and maintenance simulation system
CN115357308B (en) Docker-based edge IoT agent device, system and application method
CN109274715B (en)Platform resource management system of vehicle-mounted multi-channel communication system
US12039473B2 (en)Software development project infrastructure builder tool
CN111683003A (en)Internet of things gateway equipment with GPS positioning and multiple communication networking modes
CN108009086A (en)System automation test method with function study is decomposed based on use-case
CN112948065A (en)Kubernetes-based scheduling automatic system management device
CN112650507A (en)Application issuing method, device, equipment and storage medium
CN102195811B (en)Method and device for upgrading network element component software as well as master control board
CN113010363B (en)Container monitoring method under swarm clusters and shared service cloud platform
CN110891239B (en) PNF configuration and PNFD TOSCA implementation method and device
CN117880329B (en)Multi-gateway access method for Internet of things equipment
US12113662B1 (en)Association of related incidents to a telecommunication network large-scale event
CN115328581B (en)Management device and method for modularized business fusion based on heterogeneous system
CN117648511A (en)Information integration method, device, equipment and storage medium
US20250190429A1 (en)Systems and methods for automated discovery and tracking of a migration of legacy networked resources within an enterprise
CN112350839B (en)Event recording method and device for Ethernet, computer equipment and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp