Unlock instant, AI-driven research and patent intelligence for your innovation.

Information acquisition method, device, electronic equipment and medium based on distributed system

A distributed system and acquisition method technology, applied to electronic equipment and media, in the field of information acquisition based on distributed systems, can solve the problems of inability to judge whether the attribute information is fully received or incompletely received, and achieve accurate and efficient information acquisition. Effect

Active Publication Date: 2021-11-23
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the prior art, during the process of obtaining the topological network of the current distributed system by the air subsystem, the air subsystem passively receives the respective attribute information sent by other subsystems, so it is impossible to judge whether the attribute information is completely received. If the preset A timeout time, when the time is up, the reception will end, which will also cause the problem of incomplete information reception

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Information acquisition method, device, electronic equipment and medium based on distributed system
  • Information acquisition method, device, electronic equipment and medium based on distributed system
  • Information acquisition method, device, electronic equipment and medium based on distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 It is a flowchart of an information acquisition method based on a distributed system provided in Embodiment 1 of the present invention. This embodiment is applicable to information acquisition in a distributed system, wherein the distributed system includes at least one subsystem , each subsystem includes at least one node, the method can be executed by an information acquisition device based on a distributed system, the device can be implemented by software and / or hardware, and can be configured in an electronic device, the electronic device can Configured on vehicles, such as unmanned vehicles with control and computing capabilities. Such as figure 1 As shown, the method includes:

[0025] S110. The target subsystem obtains the topology message sent by other subsystems in the distributed system, wherein the target subsystem is a subsystem newly created by the distributed system according to the information acquisition instruction, and the topology message i...

Embodiment 2

[0033] figure 2 It is a flow chart of an information acquisition method based on a distributed system provided in Embodiment 2 of the present invention. On the basis of the above embodiments, optionally, the distributed system includes at least two hosts, and each host downloads Including at least one subsystem; the topology message includes at least the name of the subsystem and the name of the host to which the subsystem belongs; correspondingly, such as figure 2 As shown, the method specifically includes:

[0034] S210. The target subsystem obtains the topology message sent by other subsystems in the distributed system, wherein the target subsystem is a subsystem newly created by the distributed system according to the information acquisition instruction, and the topology message is used to implement the subsystem discover each other.

[0035] S220. The target subsystem determines, according to the topology information of the other subsystems, a set of subsystems in the...

Embodiment 3

[0044] image 3 is a schematic structural diagram of an information acquisition device based on a distributed system provided in Embodiment 3 of the present invention, wherein the distributed system includes at least one subsystem, each subsystem includes at least one node, and the device is configured in The target subsystem in the distributed system, the target subsystem is a subsystem newly created by the distributed system according to the information acquisition instruction, such as image 3 As shown, the device includes:

[0045] A topology information acquisition module 310, configured to acquire topology information sent by other subsystems in the distributed system, wherein the topology information is used to realize mutual discovery between subsystems;

[0046] An information request sending module 320, configured to send a node information acquisition request to any subsystem in the other subsystems according to the topology message, so that the any subsystem can p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses a distributed system-based information acquisition method, device, electronic equipment, and medium. The method includes: the target subsystem acquires topology messages sent by other subsystems in the distributed system, wherein the target subsystem It is a subsystem newly created by the distributed system according to the information acquisition instruction, and the topology message is used to realize the mutual discovery between the subsystems; the target subsystem sends a node information acquisition request to any subsystem in the other subsystems according to the topology message , so that any subsystem packages the information of all nodes in the distributed system and sends it to the target subsystem, so as to achieve more efficient information acquisition in the distributed system. Among them, since the target subsystem actively initiates a request for obtaining information from any subsystem, each subsystem directly packs and sends all the information according to the request, thereby realizing an active information acquisition method, which can obtain more effective and accurate information. Information.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to an information acquisition method, device, electronic device and medium based on a distributed system. Background technique [0002] In a distributed system, when each subsystem is started, it usually discovers each other through broadcast or multicast, and then establishes unicast between the two to exchange the attribute information of each subsystem and each node in the subsystem, so that The topological network of the distributed system is obtained, and the transmission of business messages is realized according to the relationship between subsystems in the topological network. [0003] After each subsystem in the distributed system is started, when it is necessary to obtain a certain business message in the distributed system, it is generally adopted to join an empty subsystem. The empty subsystem first obtains the topological network of the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/24
CPCH04L41/12
Inventor 倪忠俊冯凯文彭荣贵张超李科磊陈卓
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD