Automatic generation method, model training method, device, equipment, medium and product
By automatically generating a networking scheme model and selecting the target communication link, the problem of low efficiency of on-site personnel connecting on-site communication equipment is solved, and efficient and stable communication network connection is achieved.
Patent Information
- Application Number
- CN202411580736.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-11-06
AI Technical Summary
In the prior art, the efficiency of on-site personnel connecting on-site communication equipment is low and cannot respond quickly to disaster accidents and public safety incidents.
By setting up a communication method, input the photo taken by the target device to automatically generate a networking scheme model, generate the number of devices, device name, device type and networking scheme corresponding to the target device, and select the target communication link based on the link resources and bandwidth. Generate network topology diagrams and connect devices.
It improves the efficiency of on-site communication equipment connection, reduces the requirements for the professional level of on-site personnel, and ensures the efficient operation and stability of the communication network.
Smart Images

Figure CN119449622A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of emergency management, and in particular to an automatic generation method, a model training method, a device, equipment, a medium and a product. Background Art
[0002] Nowadays, disasters are of many types, highly complex, and difficult to rescue. Moreover, disasters are large in scale, with great losses and impacts, which leads to many difficulties in disaster rescue. Among them, the inability of on-site personnel to quickly connect to on-site communication equipment is a problem that needs to be solved urgently.
[0003] At present, the connection of on-site communication equipment is completed by on-site personnel based on their experience. However, the professional level of on-site personnel varies, and there are many types and quantities of on-site communication equipment, so the efficiency of on-site personnel connecting on-site communication equipment is low, which cannot save time for on-site emergency rescue. Summary of the invention
[0004] The present application provides an automatic generation method, a model training method, an apparatus, a device, a medium and a product to solve the technical problem of low efficiency caused by the existing method of connecting field communication equipment.
[0005] In a first aspect, the present application provides an automatic generation method, comprising:
[0006] Setting a communication mode, and inputting a photograph of a target device into a preset automatic networking solution model, and obtaining the number of devices, device names, device types, and at least one networking solution corresponding to the target device output by the automatic networking solution model; wherein each of the networking solutions is used to indicate a connection mode between the target devices;
[0007] According to the link resources and bandwidth, the target communication link is obtained;
[0008] Obtaining a network topology diagram 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;
[0009] A communication network diagram is obtained according to at least one of the network topology diagrams, so as to connect the target device according to the communication network diagram.
[0010] Optionally, in the method described above, a plurality of networking rules are pre-stored in the automatically generated networking solution model, and each of the networking rules is used to output a networking solution. Then, setting the communication mode and inputting the photographed photo of the target device into the preset automatically generated networking solution model to obtain the number of devices, device name, device type and at least one networking solution corresponding to the target device output by the automatically generated networking solution model include:
[0011] According to the communication mode, selecting at least one of the multiple networking rules of the automatically generated networking solution model as a target networking rule;
[0012] Input the photograph of the target device into the automatically generated networking solution model to obtain the number of devices, the device name and the device type output by the automatically generated networking solution model based on the photograph, and the at least one networking solution output based on the target networking rules.
[0013] Optionally, in the method as described above, the communication mode includes at least one of a plurality of emergency communication modes;
[0014] Then, in the automatically generated networking solution model, at least one networking rule based on each of the emergency communication modes is pre-stored.
[0015] Optionally, in the method described above, after obtaining the communication network diagram according to at least one of the network topology diagrams, the method further comprises:
[0016] Connecting the target device according to the communication network diagram, 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 where the target device is located; wherein the three-dimensional position information of the target device is marked in the three-dimensional combat map;
[0017] Obtain an emergency command plan according to the three-dimensional combat map and a pre-stored emergency command database, and split the emergency command plan to obtain a plurality of emergency command tasks;
[0018] The emergency command task is performed according to at least one device among the target devices.
[0019] In a second aspect, the present application provides a model training method, comprising:
[0020] Based on historical photos of all target devices labeled with device names and device types, an automatically generated networking solution model is trained; wherein the automatically generated networking solution model is used in the automatic generation method provided in the first aspect of the present application.
[0021] In a third aspect, the present application provides an automatic generation device, comprising:
[0022] A networking solution generation module, used to set a communication mode, and input a photograph of a target device into a preset automatic networking solution generation model, to obtain the number of devices, device names, device types, and at least one networking solution corresponding to the target device output by the automatic networking solution generation model; wherein each of the networking solutions is used to indicate a connection mode between the target devices;
[0023] A target communication link acquisition module, used to obtain a target communication link according to link resources and bandwidth;
[0024] A network topology diagram generating module, configured to obtain a network topology diagram 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;
[0025] The communication network diagram generation module is used to obtain a communication network diagram according to at least one of the network topology diagrams, so as to connect the target device according to the communication network diagram.
[0026] In a fourth aspect, the present application provides a model training device, comprising:
[0027] The input module is used to train an automatically generated networking solution model based on historical photos of all target devices labeled with device names and device types; wherein the automatically generated networking solution model is used for the automatic generation device provided in the third aspect of this application.
[0028] In a fifth aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0029] The memory stores computer-executable instructions;
[0030] The processor executes the computer-executable instructions stored in the memory 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, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used 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 the seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements 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 present application provides an automatic generation method, a model training method, an apparatus, a device, a medium and a product, the automatic generation method comprising: setting a communication mode, and inputting a photograph of a target device into a preset automatic generation network solution model, obtaining the number of devices, device names, device types and at least one networking solution corresponding to the target device output by the automatic generation network solution model; obtaining a target communication link according to link resources and bandwidth; obtaining a network topology corresponding to each networking solution according to the number of devices, device names, device types, at least one networking solution and the target communication link; obtaining a communication network diagram according to at least one network topology diagram, so as to connect the target device according to the communication network diagram. Based on the above method, the following technical effects are achieved: when outputting a networking solution, the on-site personnel only need to set the communication mode and input the photograph of the on-site communication device into the automatic generation network solution model, which reduces the high requirements for the professional level of the on-site personnel; according to the link resources and bandwidth, select a suitable connection mode, that is, select a target communication link, so as to achieve the target communication performance and efficiency, and ensure the efficient operation and stability of the communication network by reasonably configuring link resources and optimizing bandwidth utilization; connecting on-site communication devices according to the communication network diagram can greatly improve the connection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0036] Figure 1 Schematic diagram of the process of the automatic generation method provided in the embodiment of the present application Figure 1 ;
[0037] Figure 2 Schematic diagram of the process of the automatic generation method provided in the embodiment of the present application Figure 2 ;
[0038] Figure 3 Schematic diagram of the process of the automatic generation method provided in the embodiment of the present application Figure 3 ;
[0039] Figure 4 A schematic diagram of the structure of an automatic generation device provided in an embodiment of the present application;
[0040] Figure 5A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0041] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope 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] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0043] In the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference. It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way. In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more.
[0044] It should be noted that the "at..." in the embodiments of the present application can be the instant when a certain situation occurs, or it can be a period of time after a certain situation occurs, and the embodiments of the present application do not specifically limit this. In addition, the automatic generation method or model training method provided in the embodiments of the present application is only used as an example, and the automatic generation method or model training method can also 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 used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0046] In order to clearly describe the technical solutions of the embodiments of the present application, some terms and technologies involved in the embodiments of the present application are briefly introduced below:
[0047] Optical Character Recognition (OCR): is a technology that converts text information in different forms of documents (such as paper documents, image files, etc.) into editable and searchable digital text. It can extract text information related to the device by identifying photos taken by the target device. OCR technology is widely used in document management, data input, e-books, bank check processing, ID card scanning and other fields.
[0048] In order to clearly understand the technical solution of the present application, the solution of the prior art is first introduced in detail.
[0049] At present, the connection of on-site communication equipment is completed by on-site personnel based on their experience. However, the professional level of on-site personnel varies, and there are many types and quantities of on-site communication equipment, so the efficiency of on-site personnel connecting on-site communication equipment is low, which cannot save time for on-site emergency rescue.
[0050] Therefore, in order to solve the technical problem of low efficiency caused by the existing connection method of on-site communication equipment, the study found that: ① take photos of the on-site communication equipment, and according to the automatically generated networking solution model, obtain the number of devices, device names, device types and at least one networking solution corresponding to the on-site communication equipment; ② according to the link resources and bandwidth, obtain the target communication link; ③ according to the number of devices, device names, device types, at least one networking solution and the target communication link, obtain the network topology corresponding to each networking solution; ④ connect each network topology to obtain a communication network diagram covering all communication equipment on site.
[0051] Based on the above creative findings, the technical solution of the present application is proposed.
[0052] The following introduces the application scenarios of the automatic generation method provided in the embodiments of the present application.
[0053] The application scenarios of the automatic generation method provided in the embodiment of the present application include: 1) Disaster relief. When natural disasters such as earthquakes, floods, typhoons, etc. occur, the automatically generated communication network diagram can quickly connect the on-site equipment, thereby helping the command personnel 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 mastering the functions and status of various types of equipment in order to formulate a rapid response strategy; 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, audio, 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 the medical team quickly configure medical resources and improve corresponding efficiency.
[0054] The embodiments of the present application are introduced below in conjunction with the drawings in the specification.
[0055] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0056] Figure 1 Schematic diagram of the process of the automatic generation method provided in the embodiment of the present application Figure 1 , the automatic generation method provided in this embodiment includes the following steps:
[0057] S101, setting a communication mode, and inputting a photo of a target device into a preset automatic networking solution generation model, and obtaining the device quantity, device name, device type and at least one networking solution corresponding to the target device output by the automatic networking solution generation model.
[0058] In this embodiment, each networking scheme is used to indicate the connection mode between target devices, that is, to describe which devices in the field communication devices need to be connected. The target device is the field communication device, and the field communication device here includes at least one communication device.
[0059] When using the automatic networking solution model to output the networking solution, first take photos of the on-site devices one by one. After taking photos of all the on-site devices, input the photos of all the on-site devices into the model, and finally output through the model. The automatic networking solution model used here is a pre-trained model that can output the number of devices, device names, device types, and at least one networking solution corresponding to the device based on the photos taken by the device. When outputting the networking solution, the on-site personnel only need to set the communication method and input the photos taken by the on-site communication equipment into the automatic networking solution model, which reduces the high requirements for the professional level of the on-site personnel.
[0060] S102: Obtain a target communication link according to link resources and bandwidth.
[0061] In this embodiment, since the networking scheme only describes which devices in the on-site communication equipment need to be connected, but does not specify what kind of link should be used to connect the devices to be connected, after obtaining the number of devices, device names, device types and at least one networking scheme, it is also necessary to obtain the target communication link.
[0062] Specifically, this embodiment obtains the target communication link according to the link resources and bandwidth, and the target communication link here is the most suitable communication link. In addition to obtaining the target communication link according to the link resources and bandwidth, the target communication link can also be obtained by other methods, and the specific method of obtaining the target communication link is not limited here.
[0063] Link resources refer to the physical and logical resources used to support communications, including various types of communication lines, switching equipment, routers, signal amplifiers, etc. These resources determine the reliability, latency, and capacity of communications. When choosing a connection method for communication equipment, you need to consider the availability of these link resources, such as different types of connection lines (optical fiber, coaxial cable, twisted pair, etc.) and the capabilities of intermediate equipment.
[0064] Bandwidth refers to the amount of data that a link can transmit per unit time, usually expressed in bits per second (bp / s), which reflects the transmission capacity and speed of the link. When selecting a target communication link, it is necessary to consider the bandwidth of each link to ensure that the selected connection method can meet the data transmission requirements.
[0065] Link resources and bandwidth refer to the characteristics of the physical and logical communication links between various communication devices. According to the link resources and bandwidth, the appropriate connection method is selected, that is, the target communication link is selected to achieve the target communication performance and efficiency. By reasonably allocating link resources and optimizing bandwidth utilization, the efficient operation and stability of the communication network can be ensured.
[0066] S103. Obtain a network topology diagram corresponding to each networking scheme according to the number of devices, device names, device types, at least one networking scheme, and a target communication link.
[0067] In this embodiment, each networking scheme corresponds to a network topology diagram. After obtaining the number of devices, device names, device types, and the text description of the networking scheme that describes which devices need to be connected, and the target communication link indicates the connection method used between the devices to be connected, each text description in each networking scheme and the connection method used between the devices to be connected in each networking scheme are automatically identified, and the identified content is converted into a graph, thereby obtaining a network topology diagram corresponding to each networking scheme.
[0068] S104. Obtain a communication network diagram according to at least one network topology diagram, so as to connect a target device according to the communication network diagram.
[0069] In this embodiment, after obtaining a network topology diagram corresponding to each networking solution, that is, obtaining at least one network topology diagram, all network topology diagrams are connected to obtain a communication network diagram indicating the connection mode of all communication devices on site. Connecting on-site communication devices according to the communication network diagram can greatly improve connection efficiency.
[0070] The present application provides an automatic generation method, which includes: setting a communication mode, and inputting a photograph of a target device into a preset automatic generation network solution model, obtaining the number of devices, device names, device types and at least one networking solution corresponding to the target device output by the automatic generation network solution model; obtaining a target communication link according to link resources and bandwidth; obtaining a network topology corresponding to each networking solution according to the number of devices, device names, device types, at least one networking solution and target communication link; obtaining a communication network diagram according to at least one network topology diagram, so as to connect the target device according to the communication network diagram. Based on the above method, the following technical effects are achieved: when outputting a networking solution, the on-site personnel only need to set the communication mode and input the photograph of the on-site communication device into the automatic generation network solution model, which reduces the high requirements for the professional level of the on-site personnel; according to the link resources and bandwidth, select a suitable connection mode, that is, select a target communication link, so as to achieve the target communication performance and efficiency, and ensure the efficient operation and stability of the communication network by reasonably configuring link resources and optimizing bandwidth utilization; connecting on-site communication devices according to the communication network diagram can greatly improve the connection efficiency.
[0071] Figure 2 Schematic diagram of the process of the automatic generation method provided in the embodiment of the present application Figure 2 In this embodiment Figure 1 Based on the embodiments provided, the automatic generation method is further explained. Figure 2 As shown, the automatic generation method of this embodiment includes:
[0072] S201: Set a communication mode, and select at least one networking rule as a target networking rule from a plurality of networking rules of an automatically generated networking solution model according to the communication mode.
[0073] Optionally, in this embodiment, the communication method includes at least one of multiple emergency communication methods;
[0074] In the automatically generated networking solution model, at least one networking rule based on each emergency communication mode is pre-stored.
[0075] The emergency communication method of this embodiment refers to the communication method set up in the field of emergency management, including satellite link communication, narrowband communication, mesh network (mesh) self-organizing network communication and 4G / 5G communication, and is not limited to the above four communication methods.
[0076] In this embodiment, a plurality of networking rules are pre-stored in the automatically generated networking solution model, and each networking rule is used to output a networking solution. 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, a networking rule that matches the set communication mode can be found from the pre-stored plurality of networking rules, i.e., the target networking rule, which narrows the matching range of the photos taken with the target device and improves the efficiency of the subsequent output networking solution.
[0077] S202. Input the photograph of the target device into the automatically generated networking solution model to obtain the number of devices, device names and device types output by the automatically generated networking solution model based on the photograph, and at least one networking solution output based on the target networking rules.
[0078] In this embodiment, the automatic generation of the networking solution model includes optical character recognition technology. After the photograph of the target device is input into the automatic generation of the networking solution model, the optical character recognition technology in the model is used to obtain the number of devices, device names and device types corresponding to the target device through preprocessing, character cutting, feature extraction and recognition, data analysis, verification and correction, etc., thereby improving the efficiency of identifying device information through photographs.
[0079] After obtaining the number of devices, device names and device types corresponding to the target devices, the number of devices corresponding to the target devices is used as an output condition for the networking solution. According to the device names, device types and networking solution output conditions corresponding to the target devices, at least one networking solution corresponding to the target device is output from the target networking rules.
[0080] S203: Obtain a target communication link according to link resources and bandwidth.
[0081] S204. Obtain a network topology diagram corresponding to each networking scheme according to the number of devices, device names, device types, at least one networking scheme, and a target communication link.
[0082] S205. Obtain a communication network diagram according to at least one network topology diagram, so as to connect a target device according to the communication network diagram.
[0083] In this embodiment, the effects of S203-S205 are similar to the effects of S102-S104 in the previous embodiment of the present invention, and will not be repeated here.
[0084] The automatic generation method provided in the embodiment of the present application achieves the following technical effects: by setting the communication mode, the networking rule that matches the set communication mode, that is, the target networking rule, can be found from the pre-stored multiple networking rules, thereby narrowing the matching range of the photo taken with the target device and improving the efficiency of the subsequent output networking solution; after the photo taken by the target device is input into the automatic generation of the networking solution model, the optical character recognition technology in the model is used to obtain the device quantity, device name and device type corresponding to the target device, thereby improving the efficiency of identifying device information by taking photos.
[0085] Figure 3 Schematic diagram of the process of the automatic generation method provided in the embodiment of the present application Figure 3 In this embodiment Figure 1 and Figure 2 Based on the embodiments provided, the automatic generation method is further explained. Figure 3 As shown, after S205, it also includes:
[0086] S301. Connect the target device according to the communication network diagram, and obtain a three-dimensional combat map of the area where the target device is located based on the three-dimensional modeling data of the area where the target device is located.
[0087] In this embodiment, the three-dimensional location information of the target device is marked in the three-dimensional combat map. The three-dimensional modeling data of the area where the target device is located is obtained by docking with the drone, a three-dimensional map is constructed, and the three-dimensional map image is superimposed in real time, and then a three-dimensional map is drawn based on the map to obtain a three-dimensional combat map.
[0088] 3D modeling data includes geometry, attributes, elevation, depth, coordinates, etc. Building a 3D combat map based on 3D modeling data can provide more intuitive terrain and spatial relationships, allowing commanders to better understand terrain features, identify important landmarks and potential obstacles, and improve decision-making efficiency.
[0089] On-site personnel connect on-site equipment according to the communication network diagram. After the on-site personnel complete the networking, the system will display the connectivity status of the links in the communication network diagram. The connected links will be highlighted, and the disconnected links will be displayed in gray to remind the on-site personnel to make corrections until the on-site communication equipment is successfully networked.
[0090] S302: Obtain an emergency command plan based on the three-dimensional combat map and a pre-stored emergency command database, and split the emergency command plan into several emergency command tasks.
[0091] In this embodiment, the emergency command database refers to emergency plans obtained through various channels. According to the three-dimensional combat map and the pre-stored emergency command database, the combat plan is automatically generated, and the combat plan is disassembled into multiple task instructions, which can improve the efficiency of issuing instructions.
[0092] S303: Execute an emergency command task according to at least one device among the target devices.
[0093] In this embodiment, the emergency command task obtained in step S302 is implemented through at least one of the connected on-site communication devices.
[0094] The following is a specific embodiment of the automatic generation method using the present application:
[0095] 1) Set the communication mode. The communication mode set at this time is mesh ad hoc network communication and narrowband communication.
[0096] 2) Take photos of all the communication equipment on site. At this time, the on-site communication equipment includes two mesh ad hoc network terminals, two walkie-talkies, a portable emergency command box, and a smart bracelet.
[0097] 3) Input the photos of all the communication devices on site into the automatic generation of networking scheme model to obtain the number of devices, device names, device types and at least one networking scheme corresponding to all the communication devices on site. The processing process of this model is to first obtain the target networking rules from several pre-stored networking rules according to the set communication mode. The target networking rules at this time are mesh self-organizing network communication networking rules, walkie-talkie networking rules and smart bracelet networking rules; then automatically identify the device information of all the communication devices on site according to the photos taken, that is, two mesh self-organizing network terminals, two walkie-talkies, a portable emergency command box, and a smart bracelet; finally, according to the target networking rules and the device information of all the communication devices on site, obtain the corresponding networking scheme. The networking scheme at this time is to connect a mesh self-organizing network terminal to the portable emergency command box and the on-site personnel hold another mesh self-organizing network terminal, connect a walkie-talkie to the portable emergency command box and the on-site personnel hold another walkie-talkie, and connect a smart bracelet to a mesh self-organizing network terminal.
[0098] 4) The system automatically calculates the resources and bandwidth of each link based on different network links, and automatically selects the target communication link by default.
[0099] 5) The system recognizes the text content of the networking solution, and combines the device information and the target communication link to convert the text content into a graph, namely the network topology diagram. Here, three networking solutions are obtained, so three network topology diagrams will be obtained.
[0100] 6) Connect the three network topology diagrams to obtain the final communication network diagram, which is in the form of a diagram indicating that a mesh self-organizing network terminal is connected to a portable emergency command box, another mesh self-organizing network terminal is connected to the mesh self-organizing network terminal, a smart bracelet is connected to the mesh self-organizing network terminal that is not connected to the portable emergency command box, a walkie-talkie is also connected to the portable emergency command box, and an on-site personnel is holding another walkie-talkie.
[0101] 7) The on-site personnel connect the on-site communication equipment according to the communication network diagram. After the on-site personnel complete the networking, the system will display the connectivity of the links in the communication network diagram. The connected links will be highlighted, and the disconnected links will be displayed in gray to remind the on-site personnel to make corrections until the on-site communication equipment is successfully networked.
[0102] 8) The system obtains 3D modeling data by docking with drones, constructs 3D maps, overlays 3D map images in real time, and performs 3D map drawing based on the maps to draw 3D combat maps.
[0103] 9) The system automatically generates an operation plan based on the disaster situation and emergency plan, and automatically breaks down the operation plan into multiple task instructions. The operation plan is implemented by issuing task instructions to on-site communication equipment. When all tasks are completed, the on-site command ends.
[0104] The present application embodiment provides a model training method, including:
[0105] Based on historical photos of all target devices labeled with device names and device types, a model for automatically generating networking solutions is trained.
[0106] In this embodiment, the full target devices refer to the field devices across the country, that is, the field devices across the country are used as samples, and the number of them must be sufficient. The photos of the full target devices are labeled one by one, and the device names and device types are labeled, and then a large number of sample training is performed to achieve the recognition of the number of devices, device names, device types and networking solutions by taking photos and automatically generating networking solution models.
[0107] The equipment in this application is mainly emergency communication equipment for disaster sites, mainly including satellite portable stations, portable emergency command boxes, drones, walkie-talkies, control balls, satellite phones, Beidou terminals, smart bracelets, mesh self-organizing network terminals and other equipment used to build communication networks at disaster sites.
[0108] When using historical photos of all target devices labeled with device names and device types to train the automatic generation of networking solution models, first take photos of on-site devices to automatically obtain the device quantity, device name and device type corresponding to the device, and then use the device quantity as the networking solution output condition. Through the networking solution output condition, device name and device type, several networking rules are obtained and pre-stored in the automatic generation of networking solution model.
[0109] Networking rules are one of the key points of automatically generating a networking solution model. They are used to solve the problem of connecting different networks between emergency communication equipment at the disaster site, and are used as the key content of the networking solution output. Because the on-site communication network is relatively complex, there are many complete networking rules, which are only explained in the following examples:
[0110] 1) Satellite portable station communication networking rules (the corresponding communication method is satellite link communication): at least one satellite portable station and at least one portable emergency command box are required; the output networking solution is to connect the satellite portable station to the portable emergency command box to realize the establishment of satellite communication link. If all the communication equipment on site is two satellite portable stations and two portable emergency command boxes, one of the satellite portable stations is connected to one of the portable emergency command boxes, and the other satellite portable station is connected to the other portable emergency command box, and the remaining equipment is not connected; if all the communication equipment on site is two satellite portable stations and one portable emergency command box, one satellite portable station is connected to 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): at least two mesh self-organizing network terminals and at least one portable emergency command box are required; the output networking solution is to connect a mesh self-organizing network terminal to the portable emergency command box, and the on-site personnel can use another mesh self-organizing network terminal to complete the self-organizing network construction. If all the communication equipment on site is three mesh self-organizing network terminals , a portable emergency command box, mesh self-organizing network terminal A is connected to the portable emergency command box, mesh self-organizing network terminal B is connected to mesh self-organizing network terminal A, and the on-site personnel hold mesh self-organizing network terminal C. When the number of mesh self-organizing network terminals is greater than three, the device access method under this rule is similar, that is, the on-site personnel hold a mesh self-organizing network terminal, a mesh self-organizing network terminal is connected to the portable emergency command box, and all the remaining mesh self-organizing network terminals are connected to the mesh self-organizing network terminal connected to the portable emergency command box in turn to form a mesh connection.
[0112] 3) Intercom networking rules (corresponding communication mode is narrowband communication): at least two intercoms and at least one portable emergency command box are required; the output networking solution is to connect one intercom to the portable emergency command box, and the on-site personnel can use the remaining intercoms to complete the intercom network communication. If all the communication equipment on site is three intercoms , and a portable emergency command box, then the intercom An on-site worker is connected to an interface of a portable emergency command box with a walkie-talkie , another on-site staff member holding a walkie-talkie , intercom When the number of walkie-talkies is greater than three, the device access method under this rule is similar, that is, one walkie-talkie is connected to an interface of the portable emergency command box, and all the remaining walkie-talkies are held by the on-site personnel.
[0113] 4) Smart wristband networking rules (corresponding communication mode is mesh self-organizing network communication): at least one smart wristband and at least one mesh self-organizing network terminal are required; the output networking solution is to connect the smart wristband to the mesh self-organizing network terminal to complete the smart wristband access. If all the communication devices on site are three smart wristbands , and a mesh ad hoc network terminal, then the smart bracelet All of them are connected to the mesh self-organizing network terminal by wireless. When the number of smart wristbands is greater than three, the device access method under this rule is similar to this, that is, all smart wristbands are connected to the same mesh self-organizing network terminal by wireless; when the number of mesh self-organizing network terminals is greater than one, the device access method under this rule is that each smart wristband is connected to any mesh self-organizing network terminal.
[0114] The automatically generated networking solution model obtained through training in this embodiment is used for the automatic generation method of the above-mentioned embodiment one, embodiment two or embodiment three.
[0115] Figure 4 This is a schematic diagram of the structure of the automatic generation device provided in the embodiment of the present application. Figure 4 As shown, in this embodiment, the automatic generation device may be located in an electronic device. The automatic generation device includes:
[0116] The networking scheme generating module 401 is used to set the communication mode, and input the photograph of the target device into the preset automatic networking scheme generating model, and obtain the number of devices, device name, device type and at least one networking scheme corresponding to the target device output by the automatic networking scheme generating model; wherein each networking scheme is used to indicate the connection mode between the target devices;
[0117] The target communication link acquisition module 402 is used to obtain the target communication link according to the link resources and bandwidth;
[0118] The network topology diagram generating module 403 is used to obtain a network topology diagram corresponding to each networking scheme according to the number of devices, device names, device types, at least one networking scheme and a target communication link;
[0119] The communication network diagram generation module 404 is used to obtain a communication network diagram according to at least one network topology diagram, so as to connect the target device according to the communication network diagram.
[0120] The automatic generation device provided in this embodiment can execute Figure 1 The technical solution of the automatic generation method embodiment shown in the figure has the same implementation principle and technical effect as Figure 1 The automatic generation method embodiments shown are similar and will not be described in detail here.
[0121] At the same time, the automatic generation device provided by the present invention further refines the automatic generation device based on the automatic generation device provided by the previous embodiment.
[0122] Optionally, in this embodiment, when the networking solution generation module 401 sets the communication mode and inputs the photograph of the target device into a preset automatic networking solution generation model to obtain the device quantity, device name, device type and at least one networking solution corresponding to the target device output by the automatic networking solution generation model, a plurality of networking rules are pre-stored in the automatic networking solution generation model, and each networking rule is used to output a networking solution;
[0123] According to the communication mode, at least one networking rule is selected as a target networking rule from a plurality of networking rules of the automatically generated networking solution model;
[0124] Input the photograph of the target device into the automatic generation of the networking solution model, and obtain the number of devices, device names and device types output by the automatic generation of the networking solution model based on the photograph, and at least one networking solution output based on the target networking rules.
[0125] Optionally, in this embodiment, the communication mode in the networking solution generation module 401 includes at least one of a plurality of emergency communication modes;
[0126] In the automatically generated networking solution model, at least one networking rule based on each emergency communication mode is pre-stored.
[0127] Optionally, in this embodiment, after obtaining the communication network diagram according to at least one network topology diagram, the communication network diagram generation module 404 connects the target device according to the communication network diagram, and obtains a three-dimensional combat map of the area where the target device is located according to the three-dimensional modeling data of the area where the target device is located; wherein the three-dimensional position information of the target device is marked in the three-dimensional combat map;
[0128] According to the three-dimensional combat map and the pre-stored emergency command database, an emergency command plan is obtained, and the emergency command plan is split to obtain several emergency command tasks;
[0129] An emergency command task is performed according to at least one device among the target devices.
[0130] The present application also provides a model training device, which can be located in an electronic device. The model training device includes:
[0131] The input module is used to train the automatic generation of the networking solution model based on the historical photos of the full amount of target devices marked with the device name and device type; wherein the automatic generation of the networking solution model is used Figure 4The technical solution of the automatic generation device embodiment shown.
[0132] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device is intended to be used in various electronic devices that can perform the automatic generation method or the model training method, such as a microcomputer, a single-chip microcomputer, 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 present invention described and / or required herein.
[0133] like Figure 5 As shown, 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 via a bus 504.
[0134] In the specific implementation process, at least one processor 501 executes the computer execution instructions stored in the memory 502, so that at least one processor 501 executes the automatic generation method or model training method executed by the electronic device side as above.
[0135] The specific implementation process of the processor 501 can refer to the above-mentioned automatic generation method or model training method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0136] In the above embodiments, it should be understood that the processor 501 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor 501 may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the invention may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0137] The memory 502 may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.
[0138] The bus 504 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus 504 may 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 is not limited to only one bus or one type of bus.
[0139] The above functions implemented by the electronic device and the main control device introduce the scheme provided by the embodiment of the present application. It is understandable that in order to implement the above functions, the electronic device or the main control device includes a hardware structure and / or software module corresponding to each function. In combination with the units and algorithm steps of each example described in the embodiment disclosed in the embodiment of the present application, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving 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 to exceed the scope of the technical solution of the embodiment of the present application.
[0140] The present application also provides a computer-readable storage medium, which stores computer-executable instructions. When a processor executes the computer-executable instructions, the above automatic generation method or model training method is implemented.
[0141] The computer-readable storage medium mentioned above may be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 may be any available medium that can be accessed by a general or special-purpose computer.
[0142] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and 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 circuit (ASIC). The processor and the readable storage medium can also exist as discrete components in an electronic device or a main control device.
[0143] The memory 502 is a non-transitory computer-readable storage medium provided by the present invention. The non-transitory computer-readable storage medium of the present invention stores computer instructions, which are used to enable a computer to execute the automatic generation method or model training method provided by the present invention.
[0144] The memory 502 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the automatic generation method or model training method in the embodiments of the present application (for example, Figure 4 The processor 501 executes various functional applications and data processing by running the non-transient software programs, instructions and modules stored in the memory 502, that is, the automatic generation method or model training method in the above method embodiment is realized.
[0145] At the same time, this embodiment also provides a computer program product, including a computer program, which is used to implement the automatic generation method or model training method of the above embodiment when the computer program is executed by a processor.
[0146] 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 used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and corresponding operation entrances shall be provided for users to choose to authorize or refuse.
[0147] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.
[0148] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0149] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0150] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0151] If the integrated unit / module is implemented in the form of hardware, the hardware may 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 may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. Unless otherwise specified, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random-Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc.
[0152] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0153] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0155] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. An automatic generation method, characterized in that: include: Setting a communication mode, and inputting a photograph of a target device into a preset automatic networking solution model, and obtaining the number of devices, device names, device types, and at least one networking solution corresponding to the target device output by the automatic networking solution model; wherein each of the networking solutions is used to indicate a connection mode between the target devices; According to the link resources and bandwidth, the target communication link is obtained; Obtaining a network topology diagram 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 diagram is obtained according to at least one of the network topology diagrams, so as to connect the target device according to the communication network diagram.
2. The automatic generation method according to claim 1, characterized in that: The automatically generated networking solution model has a plurality of networking rules pre-stored therein, each of which is used to output a networking solution; The step of setting a communication mode and inputting a photograph of a target device into a preset automatic networking solution generation model to obtain a device quantity, a device name, a device type, and at least one networking solution corresponding to the target device output by the automatic networking solution generation model includes: According to the communication mode, selecting at least one networking rule from the multiple networking rules of the automatically generated networking solution model as a target networking rule; Input the photograph of the target device into the automatically generated networking solution model to obtain the number of devices, the device name and the device type output by the automatically generated networking solution model based on the photograph, and the at least one networking solution output based on the target networking rules.
3. The automatic generation method according to claim 2, characterized in that: The communication method includes at least one of a plurality of emergency communication methods; Then, in the automatically generated networking solution model, at least one networking rule based on each of the emergency communication modes is pre-stored.
4. The automatic generation method according to claim 1, characterized in that: After obtaining the communication network diagram according to at least one of the network topology diagrams, the method further includes: Connecting the target device according to the communication network diagram, 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 where the target device is located; wherein the three-dimensional position information of the target device is marked in the three-dimensional combat map; Obtain an emergency command plan according to the three-dimensional combat map and a pre-stored emergency command database, and split the emergency command plan to obtain a plurality of emergency command tasks; The emergency command task is performed according to at least one device among the target devices.
5. A model training method, characterized in that: include: Based on historical photos of all target devices labeled with device names and device types, an automatically generated networking solution model is trained; wherein the automatically generated networking solution model is used for the automatic generation method described in any one of claims 1 to 4.
6. An automatic generation device, characterized in that: include: A networking solution generation module, used to set a communication mode, and input a photograph of a target device into a preset automatic networking solution generation model, to obtain the number of devices, device names, device types, and at least one networking solution corresponding to the target device output by the automatic networking solution generation model; wherein each of the networking solutions is used to indicate a connection mode between the target devices; A target communication link acquisition module, used to obtain a target communication link according to link resources and bandwidth; A network topology diagram generating module, configured to obtain a network topology diagram 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; The communication network diagram generation module is used to obtain a communication network diagram according to at least one of the network topology diagrams, so as to connect the target device according to the communication network diagram.
7. A model training device, characterized in that: include: An input module is used to train an automatically generated networking solution model based on historical photos of all target devices labeled with device names and device types; wherein the automatically generated networking solution model is used for the automatic generation device described in claim 6.
8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the automatic generation method as described in any one of claims 1 to 4 or the model training method as described in claim 5.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the automatic generation method as described in any one of claims 1 to 4 or the model training method as described in claim 5.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, it is used to implement the automatic generation method as described in any one of claims 1 to 4 or the model training method as described in claim 5.
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
Risk identification model training method and device
CN116797231A
Network topology generation method and device, computer storage medium and electronic equipment
CN117135057A
Method and device for providing ai / ML media service in wireless communication system
WO2024167338A1
Cited By
Equipment networking method, electronic equipment and computer readable storage medium
CN120956555A
A device networking method, electronic device, and computer-readable storage medium
CN120956555B