US 12,131,165 B2
Method and apparatus for acquiring information
Tengfei Shan, Beijing (CN)
Assigned to Beijing Baidu Netcom Science Technology Co., Ltd., Beijing (CN)
Filed by Beijing Baidu Netcom Science Technology Co., Ltd., Beijing (CN)
Filed on Jan. 20, 2022, as Appl. No. 17/580,477.
Claims priority of application No. 202110577725.7 (CN), filed on May 26, 2021.
Prior Publication US 2022/0147373 A1, May 12, 2022
Int. Cl. G06F 9/44 (2018.01); G06F 9/445 (2018.01)
CPC G06F 9/44505 (2013.01) 8 Claims
OG exemplary drawing
 
1. An electronic device, applied to a data distribution network, the data distribution network comprising a plurality of physical machine clusters, each physical machine cluster comprising a plurality of physical machines, comprising:
at least one processor; and
a memory, communicatively connected to the at least one processor; wherein,
the memory, storing instructions executable by the at least one processor, the instructions, when executed by the at least one processor, cause the at least one processor to perform second operations for acquiring information, the second operations applied to a data distribution network, the data distribution network comprising a plurality of physical machine clusters, each physical machine cluster comprising a plurality of physical machines, the plurality of physical machine clusters belonging to a plurality of network layers, and the second operations comprising: the physical machine cluster using the first operations to acquire configuration information;
determining, for a plurality of physical machine clusters in each network layer, a target physical machine cluster in the network layer; and
acquiring, in response to determining that the network layer is not a preset layer in the data distribution network, configuration information from an upper-level target process using a target process in the target physical machine cluster, wherein the upper-level target process comprises: the target process of the target physical machine cluster in an upper-level network layer of the network layer;
wherein the first operations comprise:
determining a set of candidate processes of a physical machine, in response to receiving an instruction used to indicate to acquire the configuration information, for each physical machine of the plurality of physical machines;
acquiring a first key value, and determining a target candidate process of the physical machine from the set of candidate processes based on the first key value;
acquiring a second key value, and determining a target process from a plurality of target candidate processes determined based on the plurality of physical machines based on the second key value; and
acquiring the configuration information using the target process,
wherein the set of candidate processes is to run a corresponding preset program based on the configuration information.