Automatic generation method, model training method, device, equipment, medium and product
By automatically generating networking scheme models, identifying and connecting on-site communication equipment, the problem of limited professional skills of on-site personnel is solved, and efficient and stable communication network generation is achieved to support emergency rescue.
Patent Information
- Application Number
- CN202411580736.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2044-11-06
AI Technical Summary
The low efficiency of on-site communication equipment connection makes it impossible to quickly meet emergency rescue needs, mainly due to the uneven professional level of on-site personnel and the large variety and quantity of equipment.
By automatically generating a network topology model, the system identifies the number, name, and type of devices based on photos of on-site communication equipment, and generates a network topology map based on link resources and bandwidth, optimizes communication link connections, and generates a communication network diagram.
It reduces the professional skill requirements for on-site personnel, improves the connection efficiency of communication equipment, ensures the efficient operation and stability of the communication network, and supports rapid response to emergency rescue.
Smart Images

Figure CN119449622B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of emergency management, and in particular to an automatic generation method and device, a model training method and device, equipment, a medium and a product. BACKGROUND
[0002] At present, disaster accidents are of various types, high complexity, and difficult to rescue. Moreover, disaster accidents are of large scale, large loss, and large influence, thereby leading to many difficulties in on-site rescue of disaster accidents. Among them, the difficulty that on-site personnel cannot quickly connect on-site communication equipment is an urgent problem to be solved.
[0003] At present, the connection of on-site communication equipment is completed by on-site personnel according to experience. However, the professional level of on-site personnel is uneven, and the types and quantity of on-site communication equipment are relatively large, so the efficiency of on-site personnel in connecting on-site communication equipment is low, and time cannot be saved for on-site emergency rescue. SUMMARY
[0004] The present application provides an automatic generation method, a model training method, a device, equipment, a medium and a product to solve the technical problem of low efficiency caused by the existing method of connecting on-site communication equipment.
[0005] In a first aspect, the present application provides an automatic generation method, comprising:
[0006] setting a communication mode, and inputting a photographed photo of a target device into a preset automatic generation networking scheme model to obtain a device quantity, a device name, a device type and at least one networking scheme corresponding to the target device output by the automatic generation networking scheme model; wherein each networking scheme is used to indicate a connection mode between the target devices;
[0007] obtaining a target communication link according to link resources and bandwidth;
[0008] obtaining a network topology graph corresponding to each networking scheme according to the device quantity, the device name, the device type, the at least one networking scheme and the target communication link;
[0009] obtaining a communication network graph according to at least one network topology graph, so as to connect the target devices according to the communication network graph.
[0010] Optionally, as described above, the automatic generation networking scheme model pre-stores a plurality of networking rules, each networking rule is used to output one networking scheme, and the setting of the communication mode and the inputting of the photographed photo of the target device into the preset automatic generation networking scheme model to obtain the device quantity, the device name, the device type and the at least one networking scheme corresponding to the target device output by the automatic generation networking scheme model comprises:
[0011] According to the communication mode, at least one of the networking rules is selected as a target networking rule from the plurality of networking rules of the automatically generated networking scheme model;
[0012] The photographed photo of the target device is input into the automatically generated networking scheme model, and the device quantity, the device name and the device type output by the automatically generated networking scheme model based on the photographed photo and the at least one networking scheme output by the target networking rule are obtained.
[0013] Optionally, the method described above, the communication mode includes at least one of a plurality of emergency communication modes;
[0014] Then, the automatically generated networking scheme model pre-stores at least one networking rule based on each of the emergency communication modes.
[0015] Optionally, the method described above, after obtaining the communication network graph according to at least one of the network topology graphs, the method further includes:
[0016] According to the communication network graph, the target device is connected, and according to the three-dimensional modeling data of the area where the target device is located, a three-dimensional combat map of the area where the target device is located is obtained; wherein the three-dimensional combat map is marked with three-dimensional position information of the target device;
[0017] According to the three-dimensional combat map and the pre-stored emergency command database, an emergency command scheme is obtained, and the emergency command scheme is split to obtain a plurality of emergency command tasks;
[0018] According to at least one of the target devices, the emergency command tasks are executed.
[0019] In a second aspect, the present application provides a model training method, comprising:
[0020] According to the historical photos of the full-amount target device marked with the device name and the device type, an automatically generated networking scheme model is trained; wherein the automatically generated networking scheme model is used for the automatically generated method provided in the first aspect of the present application.
[0021] In a third aspect, the present application provides an automatically generated device, comprising:
[0022] The networking scheme generation module is configured to set a communication mode, input a photographed photo of a target device into a preset automatic networking scheme generation model, and obtain a device quantity, a device name, a device type and at least one networking scheme corresponding to the target device output by the automatic networking scheme generation model.
[0023] The target communication link acquisition module is configured to obtain a target communication link according to a link resource and a bandwidth.
[0024] The network topology graph generation module is configured to obtain a network topology graph corresponding to each networking scheme according to the device quantity, the device name, the device type, the at least one networking scheme and the target communication link.
[0025] The communication network graph generation module is configured to obtain a communication network graph according to at least one network topology graph, so as to connect the target devices according to the communication network graph.
[0026] In a fourth aspect, the present application provides a model training device, comprising:
[0027] The input module is configured to train an automatic networking scheme generation model according to historical photos of full-quantity target devices labeled with device names and device types; wherein the automatic networking scheme generation model is used for the automatic generation device provided in the third aspect of the present application.
[0028] In a fifth aspect, the present application provides an electronic device, comprising a processor and a memory in communication connection with the processor.
[0029] The memory stores computer execution instructions.
[0030] The processor executes the computer execution instructions stored in the memory, so as to implement the automatic generation method provided in the first aspect of the present application or the model training method provided in the second aspect of the present application.
[0031] In a sixth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by a processor to implement the automatic generation method provided in the first aspect of the present application or the model training method provided in the second aspect of the present application.
[0032] In a seventh aspect, the present application provides a computer program product, comprising a computer program, and the computer program is executed by a processor to implement the automatic generation method provided in the first aspect of the present application or the model training method provided in the second aspect of the present application.
[0033] The application provides an automatic generation method, a model training method, a device, equipment, a medium and a product. The automatic generation method comprises the following steps: setting a communication mode, inputting a photographed photo of a target device into a preset automatic generation networking scheme model, obtaining a device quantity, a device name, a device type and at least one networking scheme corresponding to the target device output by the automatic generation networking scheme model, obtaining a target communication link according to a link resource and a bandwidth, obtaining a network topology graph corresponding to each networking scheme according to the device quantity, the device name, the device type, the at least one networking scheme and the target communication link, and obtaining a communication network graph according to the at least one network topology graph, so as to connect the target device according to the communication network graph. Based on the above method, the following technical effects are achieved: when the networking scheme is output, the on-site personnel only need to set the communication mode and input the photographed photo of the on-site communication device into the automatic generation networking scheme model, so that the high requirement on the professional level of the on-site personnel is reduced; the appropriate connection mode is selected according to the link resource and the bandwidth, that is, the target communication link is selected, so that the communication performance and efficiency are achieved, the efficient operation and stability of the communication network can be ensured by reasonably configuring the link resource and optimizing the bandwidth utilization, and the connection efficiency can be greatly improved. BRIEF DESCRIPTION OF DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without any creative effort.
[0035] The drawings herein are incorporated into the specification and form part of the specification, show embodiments consistent with the present application, and together with the specification serve to explain the principles of the present application.
[0036] Figure 1 Flowchart of the automatic generation method provided by the embodiments of the present application Figure 1
[0037] Figure 2 Flowchart of the automatic generation method provided by the embodiments of the present application Figure 2
[0038] Figure 3 Flowchart of the automatic generation method provided by the embodiments of the present application Figure 3
[0039] Figure 4 Structure diagram of the automatic generation device provided by the embodiments of the present application
[0040] Figure 5 A structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0041] The specific embodiments of the present application have been shown through the above-described drawings, and will be described in more detail hereinafter. These drawings and detailed descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0042] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, the same numbers are used to indicate the same or similar components. The embodiments described in the following exemplary embodiments are not meant to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present application as detailed in the appended claims.
[0043] In the embodiments of the present application, the terms "first", "second", and the like are used to distinguish between similar or identical items or components having substantially the same function and role. Those skilled in the art can understand that the terms "first", "second", and the like do not limit the number and execution order, and the terms "first", "second", and the like do not necessarily mean different. It should be noted that the terms "exemplary" or "for example" in the embodiments of the present application are used to represent an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the terms "exemplary" or "for example" are intended to present the relevant concept in a specific manner. In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more.
[0044] It should be noted that "at the time of" in the embodiments of the present application can be at the moment when a certain condition occurs, or within a certain period of time after the occurrence of a certain condition, which is not specifically limited in the embodiments of the present application. In addition, the automatic generation method or model training method provided in the embodiments of the present application is only an example, and the automatic generation method or model training method can include more or less content.
[0045] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use, and processing of related data need to comply with relevant laws, regulations, and standards, and provide corresponding operation portals for users to choose authorization or refusal.
[0046] For the convenience of clearly describing the technical solutions of the embodiments of the present application, the following briefly introduces some terms and technologies involved in the embodiments of the present application.
[0047] Optical Character Recognition (OCR): a technology for converting text information in different forms of documents (such as paper documents, image files, etc.) into editable and searchable digital text. OCR technology can extract text information related to the device by recognizing photos taken by the target device. OCR technology is widely used in document management, data input, e-books, bank check processing, identity card scanning, etc.
[0048] In order to clearly understand the technical solutions of the present application, the prior art solutions are first introduced in detail.
[0049] At present, the connection of field communication equipment is completed by field personnel according to experience. However, the professional level of field personnel is uneven, and the types and quantity of field communication equipment are relatively large, so the efficiency of field personnel connecting field communication equipment is low, which cannot save time for field emergency rescue.
[0050] Therefore, in view of the technical problem of low efficiency caused by the existing connection method of field communication equipment, it is found in research that in order to solve this problem, ① a photo of the field communication equipment is taken, and a networking scheme model is automatically generated according to the photo to obtain the device quantity, device name, device type and at least one networking scheme corresponding to the field communication equipment; ② a target communication link is obtained according to the link resource and bandwidth; ③ a network topology graph corresponding to each networking scheme is obtained according to the device quantity, device name, device type, at least one networking scheme and target communication link; ④ each network topology graph is connected to obtain a communication network graph covering all field communication equipment.
[0051] Based on the above creative findings, the technical solutions of the present application are proposed.
[0052] The application scenarios of the automatic generation method provided by the embodiments of the present application are introduced as follows.
[0053] The application scenarios of the automatic generation method provided in this application include: 1) Disaster relief: In the event of natural disasters such as earthquakes, floods, and typhoons, the automatically generated communication network diagram can quickly connect on-site equipment, thereby helping commanders to quickly understand the on-site equipment layout, optimize resource allocation, and improve rescue efficiency; 2) Public safety incident handling: In major public safety incidents such as fires, explosions, and terrorist attacks, the automatically generated communication network diagram can assist the command center in understanding the functions and status of various equipment in order to formulate rapid response strategies; 3) Large-scale event management: In large-scale events such as concerts and sports events, the automatically generated communication network diagram can help managers monitor the working status of security, sound, lighting, and other equipment in real time to ensure the smooth progress of the event; 4) Medical emergency response: In public health emergencies, the automatically generated communication network diagram can help medical teams quickly allocate medical resources and improve response efficiency.
[0054] The embodiments of this application are described below with reference to the accompanying drawings.
[0055] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0056] Figure 1 A flowchart illustrating the automatic generation method provided in the embodiments of this application. Figure 1 The automatic generation method provided in this embodiment includes the following steps:
[0057] S101. Set the communication method and input the photos taken by the target device into the preset automatic networking scheme model to obtain the number of devices, device names, device types and at least one networking scheme corresponding to the target device output by the automatic networking scheme model.
[0058] In this embodiment, each networking scheme is used to indicate the connection method between target devices, that is, to describe in words which devices in the field communication equipment need to be connected. Target devices are the field communication equipment, which includes at least one communication device.
[0059] In the output of the networking scheme by using the automatically generated networking scheme model, the field devices are photographed one by one, and after the photographing of all the field devices is completed, the photographed pictures of all the field devices are input into the model, and finally the output is realized through the model. The automatically generated networking scheme model used here is a model trained in advance, which can realize the output of the device quantity, device name, device type and at least one networking scheme corresponding to the photographed picture of the device. When outputting the networking scheme, the field personnel only need to set the communication mode and input the photographed picture of the field communication device into the automatically generated networking scheme model, which reduces the high requirement for the professional level of the field personnel.
[0060] S102, obtain the target communication link according to the link resource and the bandwidth.
[0061] In this embodiment, since the networking scheme only describes which devices in the field communication devices need to be connected, and does not explain what kind of link should be used to connect the devices to be connected, after obtaining the device quantity, device name, device type and at least one networking scheme, the target communication link also needs to be obtained.
[0062] Specifically, the target communication link, i.e. the most suitable communication link, is obtained according to the link resource and the bandwidth. In addition to obtaining the target communication link according to the link resource and the bandwidth, the target communication link can also be obtained by other means, and the specific way of obtaining the target communication link is not limited here.
[0063] The link resource refers to the physical and logical resources used to support communication, including various types of communication lines, switching devices, routers, signal amplifiers, etc. These resources determine the reliability, delay and capacity of communication. When selecting the connection mode of the communication device, the availability of these link resources needs to be considered, such as different types of connection lines (optical fiber, coaxial cable, twisted pair, etc.) and the capabilities of intermediate devices.
[0064] Bandwidth refers to the amount of data that a link can transmit per unit of time, usually expressed in bits per second (bp / s), which reflects the transmission capacity and speed of the link. When selecting the target communication link, the bandwidth of each link needs to be considered to ensure that the selected connection mode can meet the data transmission requirements.
[0065] The link resource and the bandwidth refer to the characteristics of the physical and logical communication links between various communication devices. According to the link resource and the bandwidth, the appropriate connection mode is selected, i.e. the target communication link, to achieve the target communication performance and efficiency. By reasonably configuring the link resource and optimizing the bandwidth utilization, the efficient operation and stability of the communication network can be ensured.
[0066] S103, obtaining a network topology graph corresponding to each networking scheme according to the device quantity, the device name, the device type, the at least one networking scheme and the target communication link.
[0067] In the embodiment, each networking scheme corresponds to a network topology graph. After obtaining the device quantity, the device name, the device type, and which devices need to be connected in the networking scheme text description and the connection mode adopted between the devices needing to be connected indicated by the target communication link, each piece of text description in each networking scheme and the connection mode adopted between the devices needing to be connected in each networking scheme are automatically recognized, and the recognized content is converted into a graph form, so that the network topology graph corresponding to each networking scheme is obtained.
[0068] S104, obtaining a communication network graph according to the at least one network topology graph, so as to connect the target device according to the communication network graph.
[0069] In the embodiment, after obtaining the network topology graph corresponding to each networking scheme, that is, obtaining the at least one network topology graph, all the network topology graphs are connected, and the communication network graph indicating the connection mode of all the communication devices on the site is obtained. According to the communication network graph, the communication devices on the site can be connected, which can greatly improve the connection efficiency.
[0070] The application provides an automatic generation method, which comprises the following steps: setting a communication mode, inputting a photographed photo of a target device into a preset automatic generation networking scheme model, obtaining device quantity, device name, device type and at least one networking scheme corresponding to the target device output by the automatic generation networking scheme model, obtaining a target communication link according to link resources and bandwidth, obtaining a network topology graph corresponding to each networking scheme according to the device quantity, the device name, the device type, the at least one networking scheme and the target communication link, and obtaining a communication network graph according to the at least one network topology graph, so as to connect the target device according to the communication network graph. Based on the above method, the following technical effects are achieved: when the networking scheme is output, the on-site personnel only need to set the communication mode and input the photographed photo of the on-site communication device into the automatic generation networking scheme model, which reduces the high requirement for the professional level of the on-site personnel; a suitable connection mode is selected according to the link resources and the bandwidth, that is, the target communication link is selected, so as to achieve the target communication performance and efficiency, and through reasonable configuration of the link resources and optimization of the bandwidth utilization, the efficient operation and stability of the communication network can be ensured; the on-site communication devices can be connected according to the communication network graph, which can greatly improve the connection efficiency.
[0071] Figure 2 Flowchart of the automatic generation method provided in the embodiment of the application Figure 2 The embodiment in Figure 1 The automatic generation method is further explained based on the provided embodiment. Then, asFigure 2 The automatic generation method of the embodiment includes:
[0072] S201, set a communication mode, and select at least one networking rule as a target networking rule from the plurality of networking rules for automatically generating a networking scheme model according to the communication mode.
[0073] Optionally, in the embodiment, the communication mode includes at least one of a plurality of emergency communication modes.
[0074] Then, the automatic generation of the networking scheme model pre-stores at least one networking rule based on each of the emergency communication modes.
[0075] The emergency communication mode of the embodiment refers to a communication mode set in the emergency management field, including satellite link communication, narrowband communication, mesh self-organizing network communication and 4G / 5G communication, and is not limited to the above four communication modes.
[0076] In the embodiment, the automatic generation of the networking scheme model pre-stores a plurality of networking rules, each of which is used to output a networking scheme. At least one communication mode can be set, and each communication mode also corresponds to at least one networking rule. By setting the communication mode, the networking rule matching the set communication mode, i.e. the target networking rule, can be found from the pre-stored plurality of networking rules, which narrows down the matching range of the target device's shooting photos and improves the efficiency of the subsequent output of the networking scheme.
[0077] S202, input the shooting photos of the target device into the automatic generation of the networking scheme model to obtain the number of devices, the device name and the device type corresponding to the target device output by the automatic generation of the networking scheme model based on the shooting photos, and at least one networking scheme output based on the target networking rule.
[0078] In the embodiment, the automatic generation of the networking scheme model includes an optical character recognition technology. After the shooting photos of the target device are input into the automatic generation of the networking scheme model, the optical character recognition technology in the model can obtain the number of devices, the device name and the device type corresponding to the target device through preprocessing, character cutting, feature extraction and recognition, data analysis and verification and correction, etc. steps, which improves the efficiency of identifying device information through shooting photos.
[0079] After obtaining the number of devices, the device name and the device type corresponding to the target device, the number of devices corresponding to the target device is used as the output condition of the networking scheme. According to the device name, the device type corresponding to the target device and the output condition of the networking scheme, at least one networking scheme corresponding to the target device is output from the target networking rule.
[0080] S203, obtaining a target communication link according to the link resource and the bandwidth.
[0081] S204, obtaining a network topology graph corresponding to each networking scheme according to the device quantity, the device name, the device type, the at least one networking scheme, and the target communication link.
[0082] S205, obtaining a communication network graph according to the at least one network topology graph, so as to connect the target device according to the communication network graph.
[0083] In the embodiment, the functions and effects of S203-S205 are similar to those of S102-S104 in the previous embodiment of the application, and will not be described here.
[0084] The automatic generation method provided in the embodiments of the application has the following technical effects: by setting a communication mode, a networking rule that matches the set communication mode, i.e., a target networking rule, can be found from the pre-stored multiple networking rules, the matching range of the photographed photo of the target device is narrowed, and the efficiency of outputting the networking scheme is improved; after the photographed photo of the target device is input into the automatic generation networking scheme model, the optical character recognition technology in the model is used to obtain the device quantity, the device name, and the device type corresponding to the target device, and the efficiency of identifying the device information through the photographed photo is improved.
[0085] Figure 3 The flowchart of the automatic generation method provided in the embodiments of the application Figure 3 The embodiments of the application Figure 1 and Figure 2 provide further explanations of the automatic generation method. As shown in Figure 3 , after S205, the method further includes:
[0086] S301, connecting the target device according to the communication network graph, and obtaining a three-dimensional combat map of the area where the target device is located according to the three-dimensional modeling data of the area.
[0087] In the embodiment, the three-dimensional combat map has the three-dimensional position information of the target device marked therein. The three-dimensional modeling data of the area where the target device is located is obtained through the unmanned aerial vehicle, a three-dimensional map is constructed, the three-dimensional map image is overlaid in real time, and then three-dimensional map marking is performed based on the map to obtain the three-dimensional combat map.
[0088] The three-dimensional modeling data includes geometric, attribute, elevation, depth, and coordinate data. Based on the three-dimensional modeling data, the three-dimensional combat map can be constructed to provide more intuitive terrain and spatial relationships, so that the commander can better understand the terrain characteristics, identify important landmarks and potential obstacles, and improve the decision-making efficiency.
[0089] The on-site personnel connect the on-site devices according to the communication network diagram, and after the on-site personnel complete the networking, the system displays the connection state of the links in the communication network diagram, the already connected links are highlighted, and the unconnected links are displayed in a gray state to remind the on-site personnel to correct, until the on-site communication devices successfully complete the networking.
[0090] S302, obtaining an emergency command scheme according to the three-dimensional combat map and the pre-stored emergency command database, and splitting the emergency command scheme to obtain a plurality of emergency command tasks.
[0091] In this embodiment, the emergency command database refers to an emergency plan obtained according to various ways. According to the three-dimensional combat map and the pre-stored emergency command database, a combat scheme is automatically generated, and the combat scheme is split into a plurality of task instructions, so that the instruction issuing efficiency can be improved.
[0092] S303, executing the emergency command task according to at least one device in the target device.
[0093] In this embodiment, the emergency command task obtained by step S302 is implemented through at least one device in the connected on-site communication device.
[0094] The following is a specific embodiment of using the automatic generation method of the present application:
[0095] 1) Set the communication mode, and the set communication mode is mesh self-organizing network communication and narrowband communication.
[0096] 2) Take photos of all the on-site communication devices, and the on-site communication devices at this time are two mesh self-organizing network terminals, two interphones, one portable emergency command box and one smart bracelet.
[0097] 3) The photographed photos of all communication devices on the scene are input into the automatically generated networking scheme model to obtain the device quantity, device name, device type and at least one networking scheme corresponding to all communication devices on the scene. The processing process of the model is as follows: first, according to the set communication mode, the target networking rule is obtained from the pre-stored several networking rules, at this time, the target networking rule is the mesh self-organizing networking communication networking rule, the intercom networking rule and the smart bracelet networking rule; then, according to the photographed photos, the device information of all communication devices on the scene is automatically recognized, that is, two mesh self-organizing networking terminals, two intercoms, one portable emergency command box and one smart bracelet; finally, according to the target networking rule and the device information of all communication devices on the scene, the corresponding networking scheme is obtained, at this time, the networking scheme is that one mesh self-organizing networking terminal is connected to the portable emergency command box and the other mesh self-organizing networking terminal is held by the on-site personnel, one intercom is connected to the portable emergency command box and the other intercom is held by the on-site personnel, and one smart bracelet is connected to one mesh self-organizing networking terminal.
[0098] 4) The system automatically calculates the link resources and bandwidth according to different network links and automatically selects the target communication link by default.
[0099] 5) The system identifies the text content of the networking scheme and converts the text content into a graph form, i.e., a network topology graph, in combination with the device information and the target communication link. Here, three networking schemes are obtained, and therefore three network topology graphs are obtained.
[0100] 6) The three network topology graphs obtained are connected to obtain the final communication network graph, i.e., a graph form indicating that one mesh self-organizing networking terminal is connected to the portable emergency command box, the other mesh self-organizing networking terminal is connected to the mesh self-organizing networking terminal, the smart bracelet is connected to the mesh self-organizing networking terminal not connected to the portable emergency command box, one intercom is also connected to the portable emergency command box, and the on-site personnel hold the other intercom.
[0101] 7) The on-site personnel connect the on-site communication devices according to the obtained communication network graph. After the on-site personnel complete the networking, the system displays the connection status of the links in the communication network graph, and the connected links are highlighted, while the unconnected links are displayed in gray state to remind the on-site personnel to correct, until the on-site communication devices are successfully networked.
[0102] 8) The system obtains three-dimensional modeling data by docking the unmanned aerial vehicle, constructs a three-dimensional map, superimposes a three-dimensional map image in real time, and draws a three-dimensional combat map based on the map.
[0103] 9) The system automatically generates a combat plan according to the disaster situation and the emergency plan, automatically disassembles the combat plan into multiple task instructions, realizes the combat plan by issuing task instructions to the field communication equipment, and ends the field command when all tasks are completed.
[0104] The embodiment of the application provides a model training method, comprising:
[0105] According to the historical photos of the full-amount target equipment labeled with the equipment name and the equipment type, the automatic generation networking scheme model is trained.
[0106] In the embodiment, the full-amount target equipment refers to the field equipment in all parts of the country, that is, the field equipment in all parts of the country is taken as a sample, and the number thereof needs to be sufficient. The photos of the full-amount target equipment are labeled one by one, the equipment name and the equipment type are labeled, and then a large number of samples are trained, so that the equipment number, the equipment name, the equipment type and the networking scheme model are recognized by shooting photos and automatically generating the networking scheme.
[0107] The equipment of the application is mainly the emergency communication equipment for the disaster site, mainly including a satellite portable station, a portable emergency command box, a drone, a walkie-talkie, a surveillance ball, a satellite phone, a Beidou terminal, a smart bracelet, a mesh self-organizing network terminal and the like for the equipment for building a communication network at the disaster site.
[0108] When the automatic generation networking scheme model is trained by using the historical photos of the full-amount target equipment labeled with the equipment name and the equipment type, the equipment number, the equipment name and the equipment type corresponding to the equipment are automatically obtained through the shooting photos of the field equipment, the equipment number is taken as a networking scheme output condition, a plurality of networking rules are obtained through the networking scheme output condition, the equipment name and the equipment type, and are pre-stored in the automatic generation networking scheme model.
[0109] The networking rule is one of the focuses of the automatic generation networking scheme model, and is used for solving the connection between different networks of the emergency communication equipment at the disaster site, and is taken as the key content of the networking scheme output. Because the field communication network is relatively complex, the complete networking rule is more, and only the following examples are described:
[0110] 1) Satellite portable station communication networking rules (the corresponding communication mode is satellite link communication): the satellite portable station needs at least one, and the portable emergency command box needs at least one; the output networking scheme is that the satellite portable station accesses the portable emergency command box to realize the construction of the satellite communication link. If all the communication equipment on the scene is two satellite portable stations and two portable emergency command boxes, one satellite portable station accesses one portable emergency command box, and the other satellite portable station accesses the other portable emergency command box, and the remaining equipment is not connected; if all the communication equipment on the scene is two satellite portable stations and one portable emergency command box, one satellite portable station accesses one portable emergency command box, and the other satellite portable station waits for networking.
[0111] 2) mesh self-organizing network communication networking rules (the corresponding communication mode is mesh self-organizing network communication): mesh self-organizing network terminals need at least two, and portable emergency command boxes need at least one; the output networking scheme is to access one mesh self-organizing network terminal to the portable emergency command box, and the other mesh self-organizing network terminal is held by the on-site personnel, which can complete the self-organizing network network construction. If all the communication equipment on the scene is three mesh self-organizing network terminals and one portable emergency command box, mesh self-organizing network terminal A accesses the portable emergency command box, mesh self-organizing network terminal B accesses mesh self-organizing network terminal A, and the on-site personnel holds mesh self-organizing network terminal C. When the number of mesh self-organizing network terminals is greater than three, the device access mode under this rule is similar, that is, an on-site personnel holds a mesh self-organizing network terminal, one mesh self-organizing network terminal accesses the portable emergency command box, and the remaining mesh self-organizing network terminals are sequentially connected in a mesh shape with the mesh self-organizing network terminal accessing the portable emergency command box.
[0112] 3) intercom networking rules (the corresponding communication mode is narrowband communication): at least two intercoms are needed, and at least one portable emergency command box is needed; the output networking scheme is to access one intercom to the portable emergency command box, and the remaining intercoms are held by the on-site personnel, which can complete the intercom networking communication construction. If all the communication equipment on the scene is three intercoms and one portable emergency command box, the intercom accesses one interface of the portable emergency command box, one on-site personnel holds the intercom , and the other on-site personnel holds the intercom , and the intercoms communicate wirelessly. When the number of intercoms is greater than three, the device access mode under this rule is similar, that is, one intercom accesses one interface of the portable emergency command box, and the remaining intercoms are held by the on-site personnel.
[0113] 4) Smart bracelet networking rule (the corresponding communication mode is mesh self-organizing network communication): at least one smart bracelet and at least one mesh self-organizing network terminal are required; the output networking scheme is to connect the smart bracelet to the mesh self-organizing network terminal, that is, the smart bracelet can be connected. If all the communication devices on the site are three smart bracelets and one mesh self-organizing network terminal, then the smart bracelets are connected to the mesh self-organizing network terminal through wireless mode. When the number of smart bracelets is greater than three, the device connection mode under this rule is similar, that is, all the smart bracelets are connected to the same mesh self-organizing network terminal through wireless mode; when the number of mesh self-organizing network terminals is greater than one, the device connection mode under this rule is that each smart bracelet is connected to any mesh self-organizing network terminal.
[0114] The automatically generated networking scheme model obtained by training in this embodiment is used for the automatic generation method in Embodiment 1, Embodiment 2 or Embodiment 3.
[0115] Figure 4 The structure diagram of the automatic generation device provided in the embodiment is shown in the figure. Figure 4 As shown in the figure, in the embodiment, the automatic generation device can be located in an electronic device. The automatic generation device comprises:
[0116] A networking scheme generation module 401 is configured to set a communication mode, input the photographed photos of target devices into a preset automatically generated networking scheme model, and obtain the device quantity, device name, device type and at least one networking scheme corresponding to the target devices output by the automatically generated networking scheme model; wherein each networking scheme is used to indicate the connection mode between the target devices.
[0117] A target communication link acquisition module 402 is configured to obtain a target communication link according to link resources and bandwidth.
[0118] A network topology graph generation module 403 is configured to obtain a network topology graph corresponding to each networking scheme according to the device quantity, device name, device type, at least one networking scheme and target communication link.
[0119] A communication network graph generation module 404 is configured to obtain a communication network graph according to at least one network topology graph, so as to connect the target devices according to the communication network graph.
[0120] The automatic generation device provided in the embodiment can execute Figure 1 the technical scheme of the automatic generation method embodiment shown in the figure, and the implementation principle and technical effects are similar to those of the automatic generation method embodiment shown in Figure 1 , which will not be repeated here.
[0121] Meanwhile, the automatic generation device provided in the embodiment is further refined on the basis of the automatic generation device provided in the previous embodiment.
[0122] Optionally, in the embodiment, when the networking scheme generation module 401 sets the communication mode, inputs the photographed photo of the target device into the preset automatic generation networking scheme model, and obtains the device quantity, device name, device type corresponding to the target device, and at least one networking scheme output by the automatic generation networking scheme model, a plurality of networking rules are pre-stored in the automatic generation networking scheme model, and each networking rule is used to output one networking scheme.
[0123] According to the communication mode, at least one networking rule is selected as a target networking rule from the plurality of networking rules of the automatic generation networking scheme model;
[0124] The photographed photo of the target device is input into the automatic generation networking scheme model, and the device quantity, device name, and device type output by the automatic generation networking scheme model based on the photographed photo and the at least one networking scheme output based on the target networking rule are obtained.
[0125] Optionally, in the embodiment, the communication mode in the networking scheme generation module 401 includes at least one of a plurality of emergency communication modes.
[0126] Therefore, at least one networking rule based on each of the plurality of emergency communication modes is pre-stored in the automatic generation networking scheme model.
[0127] Optionally, in the embodiment, after the communication network diagram generation module 404 obtains the communication network diagram according to the at least one network topology diagram, the target device is connected according to the communication network diagram, and a three-dimensional combat map of the region where the target device is located is obtained according to the three-dimensional modeling data of the region where the target device is located; wherein the three-dimensional combat map is marked with three-dimensional position information of the target device.
[0128] According to the three-dimensional combat map and the pre-stored emergency command database, an emergency command scheme is obtained, and the emergency command scheme is split to obtain a plurality of emergency command tasks.
[0129] According to at least one device in the target device, the emergency command task is executed.
[0130] The model training device provided in the embodiment can be located in an electronic device. The model training device comprises:
[0131] The input module is configured to train the automatic generation networking scheme model according to the historical photo of the full-amount target device marked with the device name and the device type; wherein the automatic generation networking scheme model is configured to Figure 4The technical scheme of the illustrated automatic generation device embodiment.
[0132] Figure 5 The structure schematic diagram of the electronic device provided by the embodiment of the present application. The electronic device is intended for various electronic devices that can execute the automatic generation method or the model training method, such as microcomputers, single-chip microcomputers, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the invention described and / or claimed herein.
[0133] As Figure 5 The electronic device includes at least one processor 501 and a memory 502. The electronic device also includes a communication component 503. The processor 501, the memory 502, and the communication component 503 are connected by a bus 504.
[0134] In the specific implementation process, the at least one processor 501 executes the computer execution instructions stored in the memory 502, so that the at least one processor 501 executes the automatic generation method or the model training method executed by the electronic device as described above.
[0135] The specific implementation process of the processor 501 can be referred to the automatic generation method or the model training method embodiments described above, which have similar implementation principles and technical effects, and will not be described here again in this embodiment.
[0136] In the above embodiments, it should be understood that the processor 501 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), etc. The general-purpose processor 501 can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly embodied as execution completed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
[0137] The memory 502 can contain a high-speed RAM memory, and can also include a non-volatile storage NVM, such as at least one disk memory.
[0138] The bus 504 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus 504 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus 504 in the drawings of the present application does not limit to only one bus or one type of bus.
[0139] The functions implemented by the electronic device and the host device described above are introduced for the scheme provided by the embodiments of the present application. It can be understood that the electronic device or the host device includes the hardware structure and / or software module corresponding to the execution of each function in order to implement the above functions. In combination with the units and algorithm steps of each example described in the embodiments disclosed in the embodiments of the present application, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solution of the embodiments of the present application.
[0140] The present application also provides a computer readable storage medium, the computer readable storage medium stores computer execution instructions, when the processor executes the computer execution instructions, the automatic generation method or the model training method is realized.
[0141] The computer readable storage medium described above, the readable storage medium can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0142] An example readable storage medium is coupled to the processor such that the processor can read information from, and can write information to, the readable storage medium. The readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an Application Specific Integrated Circuits (ASIC). The processor and the readable storage medium can also be present as discrete components in an electronic device or host device.
[0143] The memory 502 is a non-transitory computer readable storage medium provided by the present application. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to execute the automatic generation method or model training method provided by the present application.
[0144] The memory 502 as a non-transitory computer readable storage medium can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules of the automatic generation method or model training method in the embodiments of the present application (for example, input modules in the network scheme generation module 401, the target communication link acquisition module 402, the network topology graph generation module 403, the communication network graph generation module 404 or the model training apparatus). Figure 4 The processor 501 executes various functional applications and data processing by running the non-transitory software programs, instructions and modules stored in the memory 502, that is, implements the automatic generation method or model training method in the method embodiments.
[0145] Meanwhile, the present embodiment also provides a computer program product, including a computer program, which is executed by a processor to implement the automatic generation method or model training method of the above-mentioned embodiments.
[0146] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in one or more embodiments of the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards, and provide corresponding operation portal for user to choose authorization or refusal.
[0147] It should be noted that, for the foregoing method embodiments, the sequences of the described actions are merely illustrative, and the present application is not limited to the sequences of the described actions. In some embodiments, the sequences of the described actions can be changed or reordered. In some embodiments, some of the actions can be performed simultaneously. In some embodiments, some of the actions can be performed in different sequences or at different times.
[0148] It should be noted that, for the foregoing method embodiments, the sequences of the described actions are merely illustrative, and the present application is not limited to the sequences of the described actions. In some embodiments, the sequences of the described actions can be changed or reordered. In some embodiments, some of the actions can be performed simultaneously. In some embodiments, some of the actions can be performed in different sequences or at different times.
[0149] It should be understood that the above-described apparatus embodiments are merely illustrative, and the apparatus of the present application can also be implemented in other manners. For example, the division of the units / modules in the above-described embodiments is merely a logical function division, and the actual implementation can be in another manner. For example, a plurality of units / modules or components can be combined, or can be integrated into another system, or some features can be omitted or not performed.
[0150] In addition, unless specifically stated, each functional unit / module in each embodiment of the present application can be integrated in one unit / module, or each unit / module can exist physically, or two or more units / modules can be integrated together. The integrated unit / module can be implemented in the form of hardware or in the form of a software program module.
[0151] If the integrated units / modules are implemented in the form of hardware, the hardware can be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors, memristors, etc. Unless otherwise specified, the processor can be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. Unless otherwise specified, the storage unit can be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory (RRAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), an enhanced dynamic random access memory (EDRAM), a high-bandwidth memory (HBM), a hybrid memory cube (HMC), etc.
[0152] If the integrated units / modules are implemented in the form of software program modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the embodiments of the present application. The aforementioned storage medium includes a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0153] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described, but as long as the combinations of the technical features do not exist contradictory, they should be considered as the scope of the present application.
[0154] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the specification and examples be considered as exemplary only, with the true scope and spirit of the application being indicated by the following claims.
[0155] It is to be understood that the application is not limited to the precise construction herein disclosed and shown in the drawings, and that various changes in shape, size and arrangements of parts can be made without departing from the scope of the application. The scope of the application is limited only by the claims that follow.
Claims
1. An automatic generation method characterized by, Comprising: According to the communication mode, select at least one networking rule from the plurality of networking rules in the automatically generated networking scheme model as the target networking rule; wherein, the automatically generated networking scheme model pre-stores a plurality of networking rules; Input the photographed photo of the target device into the automatically generated networking scheme model, obtain the device quantity, device name and device type output by the automatically generated networking scheme model based on the photographed photo, and at least one networking scheme output based on the target networking rule; wherein, each networking rule is used to output one networking scheme, and each networking scheme is used to indicate the connection mode between the target devices; According to the link resource and bandwidth, obtain the target communication link; According to the device quantity, device name, device type, at least one networking scheme and target communication link, obtain the network topology graph corresponding to each networking scheme; According to at least one network topology graph, obtain a communication network graph, so as to connect the target devices according to the communication network graph.
2. The automatic generation method according to claim 1, characterized in that, The communication mode includes at least one of a plurality of emergency communication modes; Then, in the automatically generated networking scheme model, at least one networking rule based on each of the emergency communication modes is pre-stored.
3. The automatic generation method according to claim 1, characterized in that, After obtaining the communication network graph according to at least one network topology graph, the method further comprises: Connect the target devices according to the communication network graph, and obtain a three-dimensional combat map of the area where the target devices are located according to the three-dimensional modeling data of the area; wherein, the three-dimensional combat map marks the three-dimensional position information of the target devices; According to the three-dimensional combat map and the pre-stored emergency command database, obtain an emergency command scheme, and split the emergency command scheme to obtain a plurality of emergency command tasks; According to at least one of the target devices, execute the emergency command tasks.
4. A model training method, comprising: Comprising: According to the historical photos of the full-quantity target devices marked with device name and device type, train to obtain an automatically generated networking scheme model; wherein, the automatically generated networking scheme model is used for the automatically generated method of any one of claims 1 to 3.
5. An automatic generation apparatus characterized by comprising: Comprising: The networking scheme generation module is configured to: according to the communication mode, select at least one networking rule from the plurality of networking rules in the automatically generated networking scheme model as the target networking rule; input the photographed photo of the target device into the automatically generated networking scheme model, obtain the device quantity, device name and device type output by the automatically generated networking scheme model based on the photographed photo, and at least one networking scheme output based on the target networking rule; wherein, the automatically generated networking scheme model pre-stores a plurality of networking rules, each networking rule is used to output one networking scheme, and each networking scheme is used to indicate the connection mode between the target devices; The target communication link acquisition module is configured to obtain the target communication link according to the link resource and bandwidth; a network topology graph generation module, configured to obtain a network topology graph corresponding to each of the networking schemes according to the number of devices, the device names, the device types, the at least one networking scheme, and the target communication link; a communication network graph generation module, configured to obtain a communication network graph according to at least one of the network topology graphs, so as to connect the target devices according to the communication network graph.
6. A model training apparatus characterized by comprising: comprising: an input module, configured to train an automatic networking scheme generation model according to historical photos of full-quantity target devices marked with device names and device types; wherein the automatic networking scheme generation model is used in the automatic generation device of claim 5.
7. An electronic device, comprising: comprising: a processor, and a memory connected to the processor in communication; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the automatic generation method of any one of claims 1 to 3 or the model training method of claim 4.
8. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by the processor to implement the automatic generation method of any one of claims 1 to 3 or the model training method of claim 4.
9. A computer program product comprising a computer program, characterized in that, the computer program is executed by the processor to implement the automatic generation method of any one of claims 1 to 3 or the model training method of claim 4.
Citation Information
Patent Citations
Satellite networking-oriented automatic network topology design method and related equipment
CN115051749A
Networked low-delay high-speed data transmission method for unmanned aerial vehicle cluster system
CN115396975A