Information sending method and device, terminal equipment and storage medium
By broadcasting information collection requests between terminal devices, generating a network connection graph, and determining the target transmission path, the problem of information transmission failure caused by network fluctuations or downtime is solved, and reliable information transmission and efficient aggregation are achieved.
Patent Information
- Application Number
- CN202210455539.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-24
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-04-24
AI Technical Summary
When the network of the probe service and service console of the terminal device fluctuates or becomes unavailable, the information of the terminal device cannot be aggregated and sent to the service console, resulting in the inability to obtain analysis results.
The first terminal broadcasts an information collection request to the connected second terminal. Based on the response information, the network connection information and device information are determined, a network connection relationship diagram is generated, the target transmission path is determined, and the terminal information is sent to the target terminal based on the path.
When the network fluctuates or is unavailable, it ensures that terminal information can be transmitted to the target terminal through the second terminal, avoiding information loss and improving the reliability and efficiency of data transmission.
Smart Images

Figure CN116980950B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of information security technology, and in particular to an information transmission method, apparatus, terminal device, and storage medium. Background Technology
[0002] To collect information from terminal devices such as servers, a collector and probes can be downloaded, and the probes can be activated to collect information from the terminal devices. When collecting information from multiple terminal devices, the collector can aggregate the information collected by each terminal device through the probes and send the aggregated information to the service console. The service console can then be used to obtain the analysis results. However, if there are network fluctuations or network outages affecting the probe services and service console for a terminal device, the information from that terminal device cannot be aggregated and sent to the service console, making it impossible to analyze the information and obtain analysis results.
[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is related technology. Summary of the Invention
[0004] This invention provides an information sending method, apparatus, terminal device, and storage medium to address the technical problem that when the network of the terminal device's probe service and service console experiences fluctuations or is unavailable, the information from the terminal device cannot be aggregated and sent to the service console.
[0005] This invention provides an information sending method, the information sending method comprising:
[0006] Broadcast an information collection request to the second terminal connected to the first terminal;
[0007] The network connection information and device information corresponding to the second terminal are determined based on the response information of the second terminal to the information collection request;
[0008] The target transmission path between the first terminal and the target terminal is determined based on the network connection information;
[0009] Based on the target transmission path, the terminal information is sent to the target terminal.
[0010] Optionally, the step of determining the target transmission path between the first terminal and the target terminal based on the network connection information includes:
[0011] Generate a network connection diagram based on the network connection information;
[0012] The target transmission path between the first terminal and the target terminal is determined based on the network connection diagram.
[0013] Optionally, the step of determining the target transmission path between the target terminal and the network connection diagram includes:
[0014] The shortest transmission path between the target terminal and the network connection diagram is determined as the target transmission path.
[0015] Optionally, the step of determining the target transmission path between the first terminal and the target terminal based on the network connection information includes:
[0016] Obtain a connection relationship diagram based on the network connection information feedback from each of the second terminals;
[0017] Generate a network connection graph based on all the aforementioned connection graphs.
[0018] Optionally, after determining the network connection information and device information corresponding to the second terminal based on the response information of the second terminal to the information collection request, the method further includes:
[0019] Determine the network connection status information between the first terminal and the target terminal;
[0020] When the network connection status information meets the preset status information, the terminal information is sent to the target terminal;
[0021] When the network connection status information does not meet the preset status information, the step of determining the target transmission path between the first terminal and the target terminal based on the network connection information is executed.
[0022] Optionally, the step of determining the target transmission path between the first terminal and the target terminal based on the network connection information includes:
[0023] The transmission path between the first terminal and the target terminal is determined based on the network connection information;
[0024] When the number of transmission paths is a single path, the transmission path is determined as the target transmission path between the first terminal and the target terminal;
[0025] When there are at least two transmission paths, the shortest path is determined from the at least two transmission paths to serve as the target transmission path between the first terminal and the target terminal.
[0026] Optionally, the step of sending the terminal information to the target terminal based on the target transmission path includes:
[0027] The terminal information is packaged and sent to the target terminal based on the target transmission path.
[0028] Furthermore, to achieve the above objectives, the present invention also provides an information transmitting device, which includes:
[0029] The broadcast module is used to broadcast information collection requests to a second terminal connected to the first terminal;
[0030] The first determining module is used to determine the network connection information and device information corresponding to the second terminal based on the response information of the second terminal to the information collection request;
[0031] The second determining module is used to determine the target transmission path between the first terminal and the target terminal based on the network connection information.
[0032] The sending module is used to send the terminal information to the target terminal based on the target transmission path.
[0033] In addition, to achieve the above objectives, the present invention also provides a terminal device, which includes: a memory, a processor, and an information sending program stored in the memory and executable on the processor. When the information sending program is executed by the processor, it implements the steps of the information sending method described above.
[0034] In addition, to achieve the above objectives, the present invention also provides a storage medium storing an information sending program, which, when executed by a processor, implements the steps of the above-described information sending method.
[0035] This invention provides an information transmission method, apparatus, terminal device, and storage medium. A first terminal broadcasts an information collection request to a second terminal connected to it. Upon receiving a response from the second terminal, the first terminal determines the network connection information of the second terminal using the response information. The network connection information is used to obtain the network connection status between the first terminal and the target terminal via the second terminal. Based on the network connection information, a target transmission path between the first terminal and the target terminal via the second terminal is determined. Based on the target transmission path, device information is sent to the target terminal. This avoids the inability to send the device information collected by the first terminal to the target terminal if the network directly connected to the first terminal and the target terminal experiences fluctuations or network outages. Attached Figure Description
[0036] Figure 1 The diagram shows the structure of the terminal device involved in various embodiments of the information sending method of the present invention.
[0037] Figure 2This is a flowchart illustrating an embodiment of the information sending method of the present invention;
[0038] Figure 3 This is a network interconnection diagram showing the direct connection between the first terminal and the target terminal.
[0039] Figure 4 This is a flowchart illustrating another embodiment of the information sending method of the present invention;
[0040] Figure 5 To collect the network connection diagram of host A;
[0041] Figure 6 To collect the network connection diagram of host B;
[0042] Figure 7 To collect the network connection diagram of host C;
[0043] Figure 8 To collect the network connection diagram of host D;
[0044] Figure 9 This diagram illustrates the network connection relationship between the first terminal and the target terminal, enabling network communication between the first terminal and the second terminal.
[0045] Figure 10 This is a schematic diagram of the module composition of the information transmission device of the present invention. Detailed Implementation
[0046] To better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the invention to those skilled in the art.
[0047] This invention discloses an information sending method applied to a first terminal. The information sending method includes: broadcasting an information collection request to a second terminal connected to the first terminal; determining network connection information and device information corresponding to the second terminal based on the response information of the second terminal to the information collection request; determining a target transmission path between the first terminal and a target terminal based on the network connection information; and sending the terminal information to the target terminal based on the target transmission path.
[0048] In the information transmission method of the present invention, the first terminal broadcasts an information collection request to a second terminal connected to the first terminal. Upon receiving the response information from the second terminal to the information collection request, the first terminal determines the network link information corresponding to the second terminal through the response information, obtains the network connection status between the first terminal and the target terminal through the second terminal through the network link information, and then determines the target transmission path between the first terminal and the target terminal through the second terminal based on the network connection information. Based on the target transmission path, the device information is sent to the target terminal to avoid the inability to send the device information collected by the first terminal to the target terminal when the network directly connected to the first terminal and the target terminal experiences fluctuations or network outages.
[0049] Please refer to Figure 1 , Figure 1 This is a schematic diagram of the structure of the terminal device involved in various embodiments of the information sending method of the present invention. The terminal device involved in the information sending method of the present invention is a first terminal, which may include terminal devices such as mobile phones, tablet computers, laptops, handheld computers, and servers.
[0050] like Figure 1 As shown, the terminal device may include a memory 101 and a processor 102. Those skilled in the art will understand that... Figure 1 The structural block diagram of the terminal shown does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements. The memory 101 stores operating devices and information transmission programs. The processor 102 is the control center of the terminal device. The processor 102 executes the information transmission programs stored in the memory 101 to implement the steps of the various embodiments of the information transmission method of the present invention.
[0051] Optionally, the terminal device may also include a communication unit 103, which establishes data communication with other terminal devices such as computers via a network protocol (the data communication may be IP communication or Bluetooth channel) to realize data transmission with other terminal devices such as a second terminal. For example, it broadcasts an information collection request to a second terminal connected to the first terminal.
[0052] Optionally, the first terminal and the second terminal communicate using the UDP protocol.
[0053] Optionally, the terminal device also includes a display unit, which includes a display panel. The display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like, and is used to output and display the interface browsed by the user.
[0054] This invention provides an embodiment of an information sending method. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here. This information sending method is applied to scenarios involving the operation monitoring of terminal devices such as servers.
[0055] Based on the above structural block diagram of the terminal device, various embodiments of the information sending method of the present invention are proposed. In one embodiment, the present invention provides an information sending method, please refer to... Figure 2 , Figure 2 This is a schematic flowchart illustrating an embodiment of the information sending method of the present invention. In this embodiment, the information sending method includes the following steps:
[0056] Step S10: Broadcast an information collection request to the second terminal connected to the first terminal;
[0057] Step S20: Determine the network connection information and device information corresponding to the second terminal based on the response information of the second terminal to the information collection request;
[0058] It should be noted that in practical applications, when it is necessary to monitor the operation of multiple second terminals, the information collected by each second terminal through probes can be aggregated by the first terminal, such as a data collector, and the aggregated information can be sent to the target terminal, such as a service console. The analysis results can then be obtained by analyzing the information through the service console.
[0059] The second terminal can include terminal devices such as mobile phones, tablets, laptops, PDAs, and servers. By installing probes, the second terminal can collect device information, such as automatically identifying the configuration and resource usage level of the second terminal, analyzing the dependencies between the second terminals, identifying specific CPU, memory, disk, and network card models and capacities, providing statistics on CPU, memory, and disk usage levels, automatically discovering the processes running on the second terminal, identifying specific applications, databases, message queues, caches, or other application components based on process characteristics, and displaying the dependencies and resource utilization levels of each component in the application architecture through a topology diagram, thus gaining a global understanding of the architecture characteristics.
[0060] The information collection request is used by the first terminal to obtain device information of the second terminal from the second terminal.
[0061] A request to collect information is broadcast to a second terminal connected to the first terminal. Upon receiving the request, the second terminal collects device information and network connection information via a probe, generates response information based on the device and network connection information, and sends this response information back to the first terminal based on the request. The first terminal determines the network connection information and device information corresponding to the second terminal based on the second terminal's response to the request.
[0062] The network connection information includes, but is not limited to, connection relationship information of all terminal devices connected to the second terminal. Optionally, the network connection information also includes network signal strength and network power.
[0063] Optionally, step S10 includes: broadcasting an information collection request to some or all of the second terminals connected to the first terminal.
[0064] Optionally, the number of second terminals connected to the first terminal can be obtained;
[0065] When the number of terminals is less than or equal to the preset number, an information collection request can be broadcast to all second terminals connected to the first terminal;
[0066] When the number of terminals exceeds the preset number, an information collection request can be broadcast to some of the second terminals connected to the first terminal.
[0067] Optionally, the determination of some second terminals can be made by obtaining network connection status information or network connection strength between the first terminal and the second terminal, such as obtaining the second terminal corresponding to a network connection strength between the first terminal and the second terminal that is greater than or equal to a preset strength.
[0068] Step S30: Determine the target transmission path between the first terminal and the target terminal based on the network connection information;
[0069] Step S40: Based on the target transmission path, send the terminal information to the target terminal.
[0070] The target transmission path refers to the transmission path that enables data transmission between the first terminal and the target terminal. It should be noted that determining the target transmission path between the first terminal and the target terminal based on network connection information essentially means determining the target transmission path between the first terminal and the target terminal via a second terminal. Based on this target transmission path, the terminal device is sent to the target terminal. This avoids the inability to send the device information collected by the first terminal from the second terminal to the target terminal when there are fluctuations or network outages in the network directly connecting the first and target terminals.
[0071] As an optional implementation, after step S20, the method further includes:
[0072] Determine the network connection status information between the first terminal and the target terminal;
[0073] When the network connection status information meets the preset status information, the terminal information is sent to the target terminal;
[0074] If the network connection status information does not meet the preset status information, proceed to step S30.
[0075] Network connection status information can be used to determine the network connection status between the first terminal and the target terminal. When the network connection status is disconnected, it indicates that the network between the first terminal and the target terminal is not connected, and data transmission between them is impossible. When the network connection status is connected, it indicates that the network between the first terminal and the target terminal is unobstructed, and data transmission between them is possible.
[0076] The network connection status information between the first terminal and the target terminal can be determined by installing network connection monitoring software. By using the monitoring software, the network connection status between the first terminal and the target terminal can be monitored.
[0077] When the network connection status information meets the preset status information, it indicates that the network connection status is "connected," and the terminal information can be directly sent to the target terminal. Please refer to [link / reference]. Figure 3 , Figure 3 This is a network interconnection diagram showing the direct connection between the first terminal and the target terminal. When the network connection status information meets the preset status information, it indicates that the network connection status is disconnected, and step S30 can be executed. That is, the target transmission path between the first terminal and the target terminal is determined based on the network connection information. Based on the target transmission path, the terminal device is sent to the target terminal. This avoids the inability to send the device information collected by the first terminal from the second terminal to the target terminal when there are fluctuations or network outages in the network directly connected to the first terminal and the target terminal.
[0078] As an optional implementation, step S30 includes:
[0079] The transmission path between the first terminal and the target terminal is determined based on the network connection information;
[0080] When the number of transmission paths is a single path, the transmission path can be directly determined as the target transmission path between the first terminal and the target terminal;
[0081] When there are at least two transmission paths, the shortest path can be determined from the at least two transmission paths as the target transmission path between the first terminal and the target terminal.
[0082] Optionally, the transmission path between the first terminal and the target terminal, determined based on the network connection information, can be a single path or multiple paths. When there is only one transmission path, this path can be directly designated as the target transmission path between the first terminal and the target terminal, so that the device information of the second terminal aggregated by the first terminal is sent to the target terminal based on the target transmission path.
[0083] It is understandable that when there are at least two transmission paths, it means that there are multiple data transmission paths between the first terminal and the target terminal through the second terminal. In order to improve the data transmission efficiency between the first terminal and the target terminal, the shortest path can be determined from at least two transmission paths as the target transmission path between the first terminal and the target terminal. Based on the target transmission path, the device information of the second terminal summarized by the first terminal is sent to the target terminal.
[0084] As an optional implementation, step S30 includes:
[0085] Generate a network connection diagram based on the network connection information;
[0086] The target transmission path between the first terminal and the target terminal is determined based on the network connection diagram. For the specific implementation of the steps in this embodiment, please refer to the second embodiment. It will not be described in detail in this embodiment.
[0087] As an optional implementation, step S30 includes:
[0088] Obtain a connection relationship diagram based on the network connection information feedback from each of the second terminals;
[0089] Based on all the aforementioned connection relationship diagrams, a network connection relationship diagram is generated. This embodiment is similar to generating a network connection relationship diagram based on the network connection information. The step of determining the target transmission path between the first terminal and the target terminal based on the network connection relationship diagram is not described in detail in this embodiment.
[0090] It should be noted that network connection information includes, but is not limited to, connection relationship information of all terminal devices connected to the second terminal. The network connection information can be presented in text or image format, without limitation. However, if the network connection information is presented in image format, it means that the network connection information is a network connection diagram.
[0091] As an optional implementation, after step S20, the method further includes:
[0092] The format in which network connection information is obtained;
[0093] When the presentation format is text, the steps of generating a network connection relationship diagram based on the network connection information and determining the target transmission path between the first terminal and the target terminal based on the network connection relationship diagram are performed.
[0094] When the presentation format is an image, the steps are as follows: obtain a connection relationship diagram based on the network connection information feedback of each second terminal, and generate a network connection relationship diagram based on all the connection relationship diagrams.
[0095] As an optional implementation, step S40 includes:
[0096] The terminal information is packaged and sent to the target terminal based on the target transmission path.
[0097] In the technical solution disclosed in this embodiment, the first terminal sends an information collection request to the second terminal connected to the first terminal. Upon receiving the response information from the second terminal to the information collection request, the first terminal determines the network link information corresponding to the second terminal through the response information. The first terminal obtains the network connection status between the first terminal and the target terminal through the second terminal through the network link information. Then, based on the network link information, the first terminal determines the target transmission path between the first terminal and the target terminal through the second terminal. Based on the target transmission path, the device information is sent to the target terminal. This is to avoid the inability to send the device information collected by the first terminal to the target terminal when there are fluctuations or network outages in the network directly connected to the first terminal and the target terminal.
[0098] Another embodiment of the information sending method of the present invention is proposed based on any of the above embodiments. Please refer to [the relevant documentation]. Figure 4 , Figure 4 This is a schematic flowchart illustrating another embodiment of the information sending method of the present invention. In this embodiment, step S30 includes:
[0099] Step S31: Generate a network connection relationship diagram based on the network connection information;
[0100] Step S32: Determine the target transmission path between the first terminal and the target terminal based on the network connection diagram.
[0101] For example, when it is necessary to monitor the device operation status of multiple second terminals, the device information collected by each second terminal through the probe is summarized by the first terminal, i.e. the source end, such as the collector, and the summarized device information is sent to the target terminal, i.e. the target end, such as the service console. When the network is not connected when the first terminal is directly connected to the target terminal, it is assumed that the second terminals connected to the first terminal are the collection host A, collection host B, collection host C and collection host D.
[0102] Based on the network connection information and device information collected by acquisition hosts A, B, C, and D respectively, and generating response information to feed back the information collection request broadcast by the first terminal, the first terminal summarizes the network connection information corresponding to acquisition hosts A, B, C, and D respectively, and generates a network connection relationship diagram based on the summarized network connection information, for example:
[0103] Please refer to the network connection diagram generated based on the network connection information collected by host A. Figure 5 , Figure 5 To collect the network connection diagram of host A;
[0104] Please refer to the network connection diagram generated based on the network connection information collected by host B. Figure 6 , Figure 6 To collect the network connection diagram of host B;
[0105] Please refer to the network connection diagram generated based on the network connection information collected by host C. Figure 7 , Figure 7 To collect the network connection diagram of host C;
[0106] Please refer to the network connection diagram generated based on the network connection information collected by host D. Figure 8 , Figure 8 To collect the network connection diagram of host D;
[0107] Finally, a network connectivity diagram is generated from the aggregated network connectivity information. Please refer to [the diagram]. Figure 9 , Figure 9 This diagram illustrates the network connection between the first terminal and the target terminal through the second terminal. The network connections from the source (first terminal) to the acquisition hosts A, B, C, and B are open, but the network connection to the target terminal is closed.
[0108] The shortest path from the source (first terminal) to the target can be calculated using a depth-first search algorithm.
[0109] By traversing all paths between the source and destination, we obtain three transmission paths: source->A->C->DF, source->C->D->F, and source->D->F, which indicate network connectivity between the source and destination.
[0110] Based on the three determined transmission paths, the shortest transmission path is determined: source end -> D -> F.
[0111] As an optional implementation, step S32 includes:
[0112] The shortest transmission path between the target terminal and the network connection diagram is determined as the target transmission path, so that the first terminal sends device information to the target terminal by using the shortest transmission path when the first terminal communicates with the target terminal through the second terminal network, thereby improving the data transmission efficiency between the first terminal and the target terminal.
[0113] In the technical solution disclosed in this embodiment, by generating a network connection relationship diagram based on network connection information and determining the target transmission path between the first terminal and the target terminal based on the network connection relationship diagram, the target transmission path between the first terminal and the target terminal can be determined quickly and clearly, and then the device information can be sent to the target terminal based on the target transmission path.
[0114] The present invention provides an information transmission device, such as... Figure 10 As shown, Figure 10 This is a schematic diagram of the module composition of the information sending device of the present invention. The information sending device 100 includes:
[0115] Broadcast module 110 is used to broadcast an information collection request to a second terminal connected to the first terminal;
[0116] The first determining module 120 is used to determine the network connection information and device information corresponding to the second terminal based on the response information of the second terminal to the information collection request;
[0117] The second determining module 130 is used to determine the target transmission path between the first terminal and the target terminal based on the network connection information.
[0118] The sending module 140 is used to send the terminal information to the target terminal based on the target transmission path.
[0119] The specific implementation of the information sending system of the present invention is basically the same as the embodiments of the information sending method described above, and will not be repeated here.
[0120] The present invention also provides a terminal device, the terminal device comprising: a memory, a processor, and an information sending program stored in the memory and executable on the processor, wherein the information sending program, when executed by the processor, implements the steps of the information sending method in any of the above embodiments.
[0121] In addition, to achieve the above objectives, the present invention also provides a storage medium storing an information sending program, wherein the information sending program, when executed by a processor, is the step of the information sending method in any of the above embodiments.
[0122] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0123] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0124] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0125] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0126] It should be noted that any reference signs placed between parentheses in the claims should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
[0127] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.
[0128] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A method for sending information, characterized in that, The information sending method is applied to a first terminal, and the information sending method includes: Broadcast an information collection request to the second terminal connected to the first terminal; The network connection information and terminal information corresponding to the second terminal are determined based on the response information of the second terminal to the information collection request; The target transmission path between the first terminal and the target terminal is determined based on the network connection information; Based on the target transmission path, the terminal information is sent to the target terminal; The step of determining the network connection information and terminal information corresponding to the second terminal based on the response information of the second terminal to the information collection request, and determining the target transmission path between the first terminal and the target terminal based on the network connection information, includes: Determine the network connection status information between the first terminal and the target terminal; When the network connection status information between the first terminal and the target terminal meets the preset status information, the terminal information is sent to the target terminal; When the network connection status information between the first terminal and the target terminal does not meet the preset status information, a connection relationship diagram based on the network connection information feedback of each second terminal is obtained, a network connection relationship diagram is generated according to all connection relationship diagrams, and the shortest transmission path between the target terminal and the network connection relationship diagram is determined as the target transmission path.
2. The method as described in claim 1, characterized in that, The step of determining the target transmission path between the first terminal and the target terminal based on the network connection information includes: The transmission path between the first terminal and the target terminal is determined based on the network connection information; When the number of transmission paths is a single path, the transmission path is determined as the target transmission path between the first terminal and the target terminal; When there are at least two transmission paths, the shortest path is determined from the at least two transmission paths to serve as the target transmission path between the first terminal and the target terminal.
3. The method as described in claim 1, characterized in that, The step of sending the terminal information to the target terminal based on the target transmission path includes: The terminal information is packaged and sent to the target terminal based on the target transmission path.
4. An information transmitting device, characterized in that, The information transmitting device includes: The broadcast module is used to broadcast information collection requests to a second terminal connected to the first terminal; The first determining module is used to determine the network connection information and terminal information corresponding to the second terminal based on the response information of the second terminal to the information collection request; The second determining module is used to determine the target transmission path between the first terminal and the target terminal based on the network connection information. The sending module is used to send the terminal information to the target terminal based on the target transmission path; The second determining module is further configured to determine network connection status information between the first terminal and the target terminal; When the network connection status information between the first terminal and the target terminal meets the preset status information, the terminal information is sent to the target terminal; When the network connection status information between the first terminal and the target terminal does not meet the preset status information, a connection relationship diagram based on the network connection information feedback of each second terminal is obtained, a network connection relationship diagram is generated according to all connection relationship diagrams, and the shortest transmission path between the target terminal and the network connection relationship diagram is determined as the target transmission path.
5. A terminal device, characterized in that, The terminal device includes: a memory, a processor, and an information sending program stored in the memory and executable on the processor, wherein when the information sending program is executed by the processor, it implements the steps of the information sending method as described in any one of claims 1-3.
6. A storage medium, characterized in that, The storage medium stores an information sending program, which, when executed by a processor, implements the steps of the information sending method according to any one of claims 1-3.
Citation Information
Patent Citations
Multi-channel information transmission method and system applied to substation system
CN107204921A
