CN112398664B - Main device selection method, device management method, electronic device and storage medium - Google Patents

Main device selection method, device management method, electronic device and storage medium Download PDF

Info

Publication number
CN112398664B
CN112398664B CN201910743256.4A CN201910743256A CN112398664B CN 112398664 B CN112398664 B CN 112398664B CN 201910743256 A CN201910743256 A CN 201910743256A CN 112398664 B CN112398664 B CN 112398664B
Authority
CN
China
Prior art keywords
master device
management
area network
master
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910743256.4A
Other languages
Chinese (zh)
Other versions
CN112398664A (en
Inventor
罗虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201910743256.4A priority Critical patent/CN112398664B/en
Priority to PCT/CN2020/108674 priority patent/WO2021027843A1/en
Publication of CN112398664A publication Critical patent/CN112398664A/en
Application granted granted Critical
Publication of CN112398664B publication Critical patent/CN112398664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention relates to the field of local area network management and discloses a main equipment selection method, an equipment management method, electronic equipment and a storage medium. In the invention, the disclosed method for selecting the master device is applied to any device in a local area network, wherein the local area network comprises a plurality of devices, and specifically comprises the following steps: acquiring equipment information broadcasted by each equipment in a local area network; and determining the master equipment according to a pre-stored master equipment selection strategy and equipment information, wherein the master equipment is used for downloading management files of all equipment in the local area network. The invention directly selects the main equipment from the local area network, so that each equipment does not need to be connected with the wide area network and the server when the main equipment is selected, and the access pressure to the wide area network and the server is reduced.

Description

Main device selection method, device management method, electronic device and storage medium
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a main equipment selection method and an equipment management method.
Background
With the rapid development of today's technology, the number and types of devices accessing the network are increasing, for example, in a home lan, a variety of devices may be accessed, including: intelligent home appliances (televisions, refrigerators, bulbs, cameras, etc.), intelligent electric meters, water meters, mobile phones, etc. In general, these devices interact with the server according to a certain policy, so as to implement various management of the server. In the prior art, one device is selected from a local area network as a master device through a server, and the master device interacts with a wide area network server to realize the management of other devices.
However, the inventors of the present invention found that: in the process of selecting the master device by the server, all devices are still required to connect to the server at the same time, which still creates access pressure to the wide area network and the server.
Disclosure of Invention
An object of an embodiment of the present invention is to provide a method for selecting a master device, a device management method, an electronic device, and a storage medium, which at least enable a master device to be directly selected in a local area network, so that each device does not need to be connected to a wide area network and a server when selecting the master device, and access pressure to the wide area network and the server is reduced.
In order to at least solve the above technical problems, an embodiment of the present invention provides a method for selecting a master device, which is applied to any device in a local area network, where the local area network includes a plurality of devices, and the method includes: acquiring equipment information broadcasted by each equipment in a local area network; and selecting a master device according to a pre-stored master device selection strategy and device information, wherein the master device is used for downloading management files of all devices in the local area network.
The embodiment of the invention also provides a device management method which is applied to the main device selected by the main device selection method and comprises the following steps: acquiring the storage capacity of each device according to the device information of each device in the local area network; determining at least one target storage device according to the storage capacity of each device; and after the management files of all the devices in the local area network are downloaded, storing the management files into the target storage device.
The embodiment of the invention also provides electronic equipment, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the master device selection method described above; or, to enable at least one processor to perform the above-described device management method.
The embodiment of the invention also provides a storage medium storing a computer program, which is characterized in that the computer program realizes the main device selection method when being executed by a processor; alternatively, the computer program, when executed by a processor, implements the above-described device management method.
Compared with the prior art, the implementation mode of the main equipment selection method provided by the invention has the advantages that any equipment in the local area network acquires the equipment information broadcasted by each equipment; and selecting the master equipment according to a pre-stored master equipment selection strategy and equipment information, and downloading management files of all the equipment in the local area network through the master equipment. According to the method and the device, the main device is selected automatically in the local area network according to the preset selection strategy and the device information of each device, so that each device does not need to be connected with a wide area network and a server in the selection process of the main device, and the access pressure to the wide area network and the server is reduced.
In addition, the device information includes: a device selecting a master device request or a device not selecting a master device request; the master device selection policy includes: if the number of the devices requesting to select the master device is 1, selecting the device requesting to select the master device as the master device; if the number of the devices for requesting to select the master device is larger than 1, selecting one device as the master device from the devices for requesting to select the master device according to a preset selection strategy, so that the selection of the master device can be consistent with the autonomous willingness of the devices. Here, the master device is selected according to the wish of each device, and each device can consider its own energy situation, such as whether the device itself is busy, whether it has additional processing power, and so on.
In addition, the device information includes: performance parameters; the master device selection policy includes: and voting is carried out by each device in the local area network according to the performance parameters, and the device with the largest number of supported votes is selected to be used as the main device, so that the selection of the main device can be matched with the performance of the device.
In addition, after selecting the master device according to the pre-stored master device selection policy and device information, the method further comprises: the broadcasting master device selects the valid time; after the master device finishes selecting the active time, the master device is reselected. And updating the selected master device at fixed time to avoid the condition that other devices are out of the control state for a long time due to the abnormality of the master device.
In addition, after determining at least one target storage device according to the storage capability of each device, the method further comprises: acquiring a management strategy of each device according to the device information of each device in the local area network; and notifying the equipment to download the management file from the target storage equipment according to the management strategy of the equipment, and executing the management operation corresponding to the management file. And the management strategies of all the devices are coordinated, and the devices in the local area network are managed by selecting proper time and state, so that the management efficiency is improved.
In addition, after the device is informed to download the management file from the target storage device according to the management policy of the device and the management operation corresponding to the management file is executed, the method further comprises the step of clearing the operation record corresponding to the management action in the master device. And the management operation record in the main equipment is cleared, so that the influence of the management operation on the main equipment is reduced.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, which are not to be construed as limiting the embodiments unless specifically indicated otherwise.
Fig. 1 is a flowchart illustrating a primary device selection method according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a device management method according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a device management method according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a device management method according to a third embodiment of the present invention;
fig. 5 is a schematic structural view of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the embodiments of the present invention will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present invention, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not be construed as limiting the specific implementation of the present invention, and the embodiments can be mutually combined and referred to without contradiction.
The first embodiment of the invention relates to a main device selection method, which can be applied to any device in a local area network, and the local area network can contain a plurality of devices. The method can specifically comprise the following steps: acquiring equipment information broadcasted by each equipment in a local area network; and determining the master equipment according to a pre-stored master equipment selection strategy and equipment information, wherein the master equipment is used for downloading management files of all equipment in the local area network.
According to the method, the main equipment is selected from the local area network, so that in the process of selecting the main equipment, each equipment does not need to be connected with a wide area network and a server, and the access pressure of multiple equipment in the local area network to the wide area network and the server is reduced.
Implementation details of the master device selection method of the present embodiment are specifically described below, and the following is merely provided for convenience of understanding, and is not necessary to implement the present embodiment.
The flow of the method for selecting a master device in this embodiment is shown in fig. 1, and may specifically include the following steps.
Step 101, acquiring device information broadcasted by each device in the local area network.
Specifically, a device is preset in the local area network as a master to perform master device selection, and the preset device can be preset by a user or can be defaulted as the last master device. Firstly, the preset device receives authorization information which is agreed to accept unified coordination management by each device in the local area network, wherein the authorization information comprises the preset device; then, each device in the local area network includes the above "preset device" to continuously broadcast the device information of the device based on a certain protocol format, where the device information includes, but is not limited to: device model number, version number, processing power, memory space, upgrade policy, whether to request a time period when the master device is selected and acts as a master device, etc.
Step 102, selecting the master device according to a pre-stored master device selection strategy and device information.
Specifically, the device information of each device is combined with a master device selection policy stored in the device to perform master device selection, wherein the master device selection includes identification information of a selected device and a selected valid period for determining the selected device as the master device, and the master device is used for downloading management files of each device in the local area network. The master device selection policy may be a single performance parameter for each device in the local area network, such as processing capability, storage space, idle time period, or multiple performance parameters for each device in the local area network. The specific master device selection policy includes: when only one device requests to select the master device, selecting the device requesting to select the master device as the master device; when multiple devices simultaneously request to select the master device, who broadcasts who becomes the master device, or the time period is reasonably allocated to be used as the master device by the candidate devices in turn. After the expiration of the selected active period, the master rights are retracted and granted to the next device functioning as a master.
Specifically, in the present embodiment, when a plurality of devices request to select a master device at the same time, a device that broadcasts device information first among the devices is selected as the master device, and a period that acts as the master device among the device information of the device is adopted as the selected valid period, and after the selected valid period ends, the master device is reselected.
In one example, in a home lan, a smart speaker is preset to master a selection of a master device within the lan. The intelligent sound box firstly receives broadcast information sent by each device, and when the intelligent refrigerator, the intelligent television and the intelligent sound box broadcast all request to select the main device, the intelligent sound box selects the device corresponding to the broadcast information received first as the main device according to the sequence of receiving the information of the intelligent refrigerator, the intelligent television and the intelligent sound box broadcast devices. For example, if a broadcast message of the intelligent refrigerator is received, the intelligent refrigerator is selected to serve as a master device, and the effective time period of the intelligent refrigerator serving as the master device is determined according to the time period of the intelligent refrigerator willing to serve as the master device.
In another example, the time period may be allocated to be used as the master device by the to-be-selected device in turn according to the sequence in which the intelligent sound box receives the device information broadcast by the intelligent refrigerator, the intelligent television, and the intelligent sound box. For example, the order in which the intelligent sound box receives the broadcast is the intelligent refrigerator, the intelligent television and the intelligent sound box in sequence, the intelligent refrigerator is arranged to be used as a main device in 13-14 points, the intelligent television is arranged to be used as a main device in 14-15 points, and the intelligent sound box is arranged to be used as a main device in 15-16 points. Those skilled in the art will appreciate that the selection of a master device is described herein by way of a specific example only and is not limiting of the method of selecting a master device of the present invention.
Further, in other embodiments, when multiple devices request to select the master device at the same time, each device in the local area network may vote according to the performance parameters of each candidate device, and select the device with the highest number of supported votes as the master device.
Specifically, each device firstly compares performance parameters of the alternative devices, selects a master device approved by itself according to a master device selection policy built in the device, and then broadcasts the selection result of the device. And counting all voting results by the preset devices in the local area network, and selecting the device with the largest number of votes from the selected master device. The performance parameter of the device may be a device operational speed; or may be a storage space; and various performance parameters can be comprehensively compared, and the embodiment is not limited.
In one example, when all the intelligent refrigerator, the intelligent television and the intelligent sound box broadcast requests to select the main device, each device in the local area network respectively grades the intelligent refrigerator, the intelligent television and the intelligent sound box according to a built-in main device selection strategy, wherein the built-in main device selection strategy can be to select a device with the optimal performance parameter as the main device according to the performance parameters of the alternative device, such as a storage space, a processing capacity and the like; the first broadcasted device may be selected as the master device according to the broadcasting sequence of the devices. The master device selection policy built in each device may be the same or different. Selecting a master device according to respective master device selection strategies, broadcasting own selection results, collecting and counting voting results by a preset intelligent sound box, selecting the device with the largest number of votes to select the master device, and determining the selected effective time period of the master device.
Further, after the master device determines, the master device selecting result is published. The selected result can be broadcast by the preset equipment in the local area network, such as an intelligent sound box, or the selected main equipment can be notified by the preset equipment, and the selected main equipment broadcasts the selected result of the main equipment. And after receiving the message of the master device selection, the other devices do not continue broadcasting and request to select the master device in the master device selection valid period.
Further, after step 102, the present embodiment may further include:
step 103, the broadcasting master selects the valid time.
Specifically, the selected valid time may be broadcast by any device in the local area network or directly broadcast by the master device. Wherein, when the active time is selected, the active time can be a fixed period, such as: 1 hour, 1 day, etc., or the time when the selected master device voluntarily acts.
When the master device is no longer willing to continue to act as a master device within the selected active period, a notification is broadcast to other devices that it is no longer acting as a master device, and the devices within the local area network again pick up the master device. In addition, in order to avoid an abnormality caused by excessively long hosting time of each device in the local area network, for example, an abnormality occurs when the master device is not informed of other devices that the master device is no longer functioning as the master device, that is, each device is in an out-of-pipe state in the time remaining after the valid period is selected. A master device maximum time of day may be set, with the master device time of day being less than or equal to the maximum time of day. The maximum selected effective time is not set too long, preferably in hours. For example, it may be set to 3 hours, 4 hours, or the like.
Step 104, after the master device finishes selecting the valid time, reselecting the master device.
Specifically, the selection of the master device may be updated over time, and after the master device finishes the selection period, the master device manager authority is stopped, and each device in the local area network may reselect the master device in any manner described above. The next master device may be any device in the local area network, including devices that have selected the master device.
Furthermore, the main equipment can be updated at any time along with the dynamic change of the performance of each equipment in the local area network. Specifically, when the master device is in a busy state, or the management task of the device in the local area network is too much, the running capability and the storage space are not enough to serve as the master device, the master device can broadcast a message for terminating to serve as the master device, and when other devices receive the message, a new master device can be reselected according to any mode. Alternatively, when other devices in the lan transition from the busy state to the idle state, a request for reselection of the master device may be broadcast, and at this time, the master device may be reselected according to any of the methods described above.
The above examples in this embodiment are examples for easy understanding and are not limited to the technical solution of the present invention.
Compared with the prior art, the method and the device have the advantages that the main equipment is directly selected from the local area network, so that when the main equipment is selected, the equipment does not need to be connected with a wide area network and a server, and the access pressure to the wide area network and the server is reduced.
A second embodiment of the present invention relates to a device management method. In a second embodiment, the primary device is selected by using the primary device selection method in the first embodiment, and unified coordination management on devices in the local area network is implemented through the primary device. The specific flow is shown in fig. 2, and includes:
step 201, acquiring device information broadcasted by each device in the local area network.
Step 202, selecting a master device according to a pre-stored master device selection strategy and device information.
In this embodiment, steps 201 and 202 are substantially the same as steps 101 and 102 in the first embodiment, and are not described in detail herein, and differences are described below.
In step 203, the master device downloads management files of devices in the local area network.
Specifically, the master device first acquires device information of each device, including but not limited to: device model number, version number, storage space, upgrade policy, etc. The obtaining mode includes that the master device receives device information of the device broadcast by each device in the local area network, other devices except the master device in the local area network actively report the device information to the master device, or the master device actively inquires the device information of other devices except the master device in the local area network, which is not limited in this embodiment.
The master device is connected with the wide area network server, and downloads management files of all access devices from the server according to the acquired device information of all devices, the device model, version number and other information in the device information of the master device, wherein the management files comprise upgrading operation and management operation of all devices in the local area network, and if the upgrading package is required to be downloaded, the master device uniformly downloads the upgrading package of all the slave devices required to be downloaded.
In one example, for example, in a home lan, devices such as an intelligent air conditioner, an intelligent refrigerator, a sweeping robot, an intelligent sound box, an intelligent washing machine, an intelligent lamp and the like are connected, and in a period of 10-12 pm, the intelligent refrigerator is selected as a main device, so that the intelligent refrigerator firstly collects device information broadcast by other connected devices such as the intelligent air conditioner, the sweeping robot, the intelligent washing machine, the intelligent lamp and the like in the lan, and the device information such as a device model, a version number storage space, an upgrade strategy and the like is contained. The intelligent refrigerator is connected with the wide area network server, and downloads upgrade file compression packages, upgrade instructions and other management commands corresponding to the devices from the server according to the model numbers and version numbers of the devices, and downloads path planning upgrade packages of the floor sweeping robot, latest version washing programs and update strategy commands of the intelligent washing machine, timing switch instructions sent by the intelligent lamps from a remote network side and the like.
Step 204, the master device obtains the storage capacity of each device according to the device information of each device in the local area network.
The device information acquired by the main device contains corresponding performance parameters such as a device storage space, an operation speed and the like, and the performance parameters can represent the storage capacity condition of the device. In one example, a master device in a local area network obtains device information for each device in the local area network. For example, the storage space of the intelligent television is 8GB, the running memory is 2GB, and the main frequency of the CPU is 1.4GHZ; the storage space of the intelligent refrigerator is 4GB, the running memory is 2GB, and the main frequency of the CPU is 1GHZ; the storage space of the intelligent sound box is 16GB, the running memory is 2GB, the main frequency of the CPU is 1.4GHZ, and the like. The storage space can indicate the maximum capacity of the device for storing files, the speed of storing and reading data from the device can be represented by the running memory and the main frequency of the CPU, and the speed of storing and reading the data from the device is high. According to the performance parameters related to storage, the comprehensive storage capacity of each device can be obtained through analysis, in the example, the storage space of the intelligent television and the intelligent sound box is larger, the running memory and the CPU main frequency are also higher, namely the storage capacity of the intelligent television and the intelligent sound box is higher.
In step 205, the master device determines at least one target storage device based on the capabilities of each device.
Specifically, after analyzing the storage capacity of each device, the master device determines a target storage device according to the storage capacity of each device, where the target storage device is used to store the management file. It should be noted that the target storage device may be the master device itself, or may be another slave device. The management files may be stored in one device, or may be stored in a plurality of devices separately, which is not limited in this embodiment. For example, in the home lan, the storage space of the smart tv and the smart speaker is large, and the master device may select to store the management file in the smart speaker, or may select to store the management file in the smart tv partially, and store the management file in the storage space of the smart speaker in other parts.
In step 206, the master device stores the management file of each device in the target storage device.
Compared with the prior art, the method and the device have the advantages that the main equipment is directly selected from the local area network, the management files and the upgrade packages of the equipment are obtained through independent interaction between the main equipment and the server and are stored in the proper equipment memory, so that the sufficient sharing of the internal resources of the local area network is realized, and meanwhile, the access pressure to the wide area network and the server is reduced.
A third embodiment of the present invention relates to another device management method. The third embodiment is substantially the same as the second embodiment except that: in this embodiment, after storing the management file, each device is further notified to download and execute the management operation corresponding to the management file. And unified coordination management of all the devices is realized.
The specific equipment management method is shown in fig. 3, and comprises the following steps:
step 301, obtaining device information broadcasted by each device in the local area network.
Step 302, selecting a master device according to a pre-stored master device selection policy and device information.
In step 303, the master device downloads management files of devices in the local area network.
Step 304, the master device obtains the storage capacity of each device according to the device information of each device in the local area network.
In step 305, the master device determines at least one target storage device based on the capabilities of each device.
In step 306, the master device stores the management file of each device in the target storage device.
Steps 301 to 306 in this embodiment are substantially the same as steps 201 to 206 in the second embodiment, and are not described in detail herein, and the differences are described below.
Step 307, the master device obtains the management policy of each device according to the device information of each device in the local area network.
Specifically, the device information acquired by the master device includes management policy information of each device, for example: sleep, wake-up periods, idle periods, etc.
Step 308, the master device notifies the device to download and execute the management operation corresponding to the management file according to the management policy of the device.
Specifically, other devices except the master device in the local area network are slave devices, the master device analyzes management strategies such as sleep time periods, wake time periods, idle time periods and the like of the slave devices, and notifies the slave devices to directly download an upgrade package from the designated storage device to finish upgrade or acquire operation instructions when the management strategies are most proper, so that corresponding management operations are finished. For example, the slave device is notified of completion of the management operation at the time of idle time of the slave device, avoiding an increase in the operation burden of the slave device.
In step 309, the master clears the corresponding operation record of the management action in the master.
Specifically, after the master device executes the management action, the corresponding operation record is cleared, so that the phenomenon that redundant information accumulated in the master device occupies the memory of the master device is avoided. For example, after the master device finishes downloading the upgrade packages of the devices, the master device informs the storage locations of the corresponding device upgrade packages, notifies the device to download the upgrade packages and finishes the upgrade operation, and the notification information and the corresponding notification actions can generate operation records in the master device and need to be cleared in time.
Fig. 4 is a schematic diagram of an architecture corresponding to a device management method in an embodiment of the present invention, where the architecture includes a local area network and various devices connected thereto, and the access device is divided into a master device and other devices except the master device, that is, slave devices according to the method described in this embodiment. The master device in the local area network is accessed to the wide area network, connected with the corresponding server, acquires the management command, the upgrade package and other information of the master device and each slave device, stores and executes the management file according to a certain strategy, and thus realizes the function of unified coordination management of other slave devices in the local area network.
Compared with the prior art, the method and the device have the advantages that the main equipment is directly selected from the local area network, the main equipment and the server are interacted independently, the equipment in the local area network is managed through the main equipment, unified coordination management of all the equipment in the local area network is achieved, resources in the local area network are fully shared, the operation efficiency is improved, and meanwhile access pressure to the wide area network and the server is reduced.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A fourth embodiment of the invention relates to a server, as shown in fig. 5, comprising at least one processor 501; and a memory 502 communicatively coupled to the at least one processor 501; the memory 502 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501, so that the at least one processor 501 can execute the master device selection method in the first embodiment or the device management method in the second and third embodiments.
Where the memory 502 and the processor 501 are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting the various circuits of the one or more processors 501 and the memory 502. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 501 is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 501.
The processor 501 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 502 may be used to store data used by processor 501 in performing operations.
A fifth embodiment of the present invention relates to a storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments described herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (8)

1. A device management method, comprising:
acquiring equipment information broadcasted by each equipment in a local area network;
selecting a master device according to a pre-stored master device selection strategy and the device information, wherein the master device is used for executing the following steps;
acquiring the storage capacity of each device according to the device information of each device in the local area network;
determining at least one target storage device according to the storage capacity of each device;
and after the management files of all the devices in the local area network are downloaded, storing the management files into the target storage device.
2. The device management method according to claim 1, wherein after determining at least one target storage device according to the storage capabilities of the respective devices, further comprising:
acquiring a management strategy of each device according to the device information of each device in the local area network;
and notifying the equipment to download the management file from the target storage equipment according to the management strategy of the equipment, and executing the management operation corresponding to the management file.
3. The device management method according to claim 2, further comprising, after the notifying the device of the downloading of the management file from the target storage device according to the management policy of the device and performing the management operation corresponding to the management file, clearing the operation record corresponding to the management action in the master device.
4. The device management method according to claim 1, wherein the device information includes: a device selecting a master device request or a device not selecting a master device request;
the master device selection policy includes: if the number of the devices of the request selected master device is 1, selecting the device of the request selected master device as the master device; if the number of the devices for requesting to select the master device is larger than 1, selecting one device as the master device from the devices for requesting to select the master device according to a preset selection strategy.
5. The device management method according to claim 1, wherein the device information includes: performance parameters;
the master device selection policy includes: and each device in the local area network performs voting according to the performance parameters, and the device with the highest supported vote number is selected to be used as the master device.
6. The device management method according to claim 1, wherein after the selecting the master device according to the pre-stored master device selection policy and the device information, further comprising:
broadcasting the master device select a valid time;
after the master device has finished selecting the active time, the master device is reselected.
7. An electronic device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the device management method of any one of claims 1 to 6.
8. A storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the device management method of any one of claims 1 to 6.
CN201910743256.4A 2019-08-13 2019-08-13 Main device selection method, device management method, electronic device and storage medium Active CN112398664B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910743256.4A CN112398664B (en) 2019-08-13 2019-08-13 Main device selection method, device management method, electronic device and storage medium
PCT/CN2020/108674 WO2021027843A1 (en) 2019-08-13 2020-08-12 Master apparatus selection method, apparatus management method, electronic apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910743256.4A CN112398664B (en) 2019-08-13 2019-08-13 Main device selection method, device management method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112398664A CN112398664A (en) 2021-02-23
CN112398664B true CN112398664B (en) 2023-08-08

Family

ID=74570524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910743256.4A Active CN112398664B (en) 2019-08-13 2019-08-13 Main device selection method, device management method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN112398664B (en)
WO (1) WO2021027843A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113824584A (en) * 2021-07-19 2021-12-21 上海瀚银信息技术有限公司 Network equipment management method and device
CN115225681A (en) * 2021-09-23 2022-10-21 达闼科技(北京)有限公司 Multi-robot cooperation method, electronic device, cloud server and storage medium
CN114650299A (en) * 2022-03-09 2022-06-21 博思数采科技发展有限公司 Networking method for rapidly configuring station of bidding evaluation site

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761596A (en) * 2011-04-28 2012-10-31 汤姆森许可贸易公司 Method for uploading a file in an on-line storage system and corresponding on-line storage system
KR20140046827A (en) * 2012-10-11 2014-04-21 고려대학교 산학협력단 System for administrating a network and method therefor
CN106161495A (en) * 2015-03-25 2016-11-23 中兴通讯股份有限公司 A kind of host node electoral machinery, device and storage system
CN106817250A (en) * 2016-12-23 2017-06-09 东软集团股份有限公司 A kind of dynamic electoral machinery and system
CN107040399A (en) * 2016-02-04 2017-08-11 京东方科技集团股份有限公司 A kind of upgrade file method for down loading, equipment and system
WO2018006677A1 (en) * 2016-07-06 2018-01-11 中兴通讯股份有限公司 Smart upgrade method, server, terminal and system
CN107580071A (en) * 2017-09-28 2018-01-12 美的智慧家居科技有限公司 Master-slave equipment upgrade method, device and its equipment
CN108810100A (en) * 2018-05-22 2018-11-13 郑州云海信息技术有限公司 A kind of electoral machinery of host node, device and equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141910A (en) * 2007-12-11 2009-06-25 Meidensha Corp Remote monitoring system
CN103716281B (en) * 2012-09-28 2017-05-24 联想(北京)有限公司 control method, electronic device and server
CN103200070B (en) * 2013-03-29 2018-04-17 Tcl集团股份有限公司 A kind of control terminal and its control method
CN104536909B (en) * 2014-12-09 2018-01-23 华为技术有限公司 A kind of memory management method, memory management unit and storage device
CN105357116B (en) * 2015-10-23 2018-04-06 上海斐讯数据通信技术有限公司 A kind of method and intelligent terminal of multiple terminal access server
US20170155872A1 (en) * 2015-11-30 2017-06-01 Le Holdings (Beijing) Co., Ltd. Method and device for audio/video sharing
CN108983627B (en) * 2018-07-27 2022-06-17 广东美的制冷设备有限公司 Household appliance and data sharing method and device thereof, and computer readable storage medium
CN109189347A (en) * 2018-09-20 2019-01-11 郑州云海信息技术有限公司 A kind of sharing storage module, server and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761596A (en) * 2011-04-28 2012-10-31 汤姆森许可贸易公司 Method for uploading a file in an on-line storage system and corresponding on-line storage system
KR20140046827A (en) * 2012-10-11 2014-04-21 고려대학교 산학협력단 System for administrating a network and method therefor
CN106161495A (en) * 2015-03-25 2016-11-23 中兴通讯股份有限公司 A kind of host node electoral machinery, device and storage system
CN107040399A (en) * 2016-02-04 2017-08-11 京东方科技集团股份有限公司 A kind of upgrade file method for down loading, equipment and system
WO2018006677A1 (en) * 2016-07-06 2018-01-11 中兴通讯股份有限公司 Smart upgrade method, server, terminal and system
CN106817250A (en) * 2016-12-23 2017-06-09 东软集团股份有限公司 A kind of dynamic electoral machinery and system
CN107580071A (en) * 2017-09-28 2018-01-12 美的智慧家居科技有限公司 Master-slave equipment upgrade method, device and its equipment
CN108810100A (en) * 2018-05-22 2018-11-13 郑州云海信息技术有限公司 A kind of electoral machinery of host node, device and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网络存储技术在数字图书馆中的应用分析;张义平;;甘肃科技纵横(03);全文 *

Also Published As

Publication number Publication date
CN112398664A (en) 2021-02-23
WO2021027843A1 (en) 2021-02-18

Similar Documents

Publication Publication Date Title
CN112398664B (en) Main device selection method, device management method, electronic device and storage medium
US9241332B2 (en) System and method for managing resources in a communication system
US9313664B2 (en) Cloud service for optimizing white-space networks coexistence
CN100424681C (en) Information processing system, information processing method, and computer program used therewith
CN102426544A (en) Task allocating method and system
CN103595566B (en) A kind of method and device for detecting free IP addresses
US9509756B2 (en) Content storing device query
US20130148596A1 (en) Resource management system and method of centralized base station in mobile communication network
CN105703927A (en) Resource allocation method, network device and network system
CN102970193A (en) System and method for intelligent software service platform, and device and family intelligence system comprising system
Han et al. EdgeTuner: Fast scheduling algorithm tuning for dynamic edge-cloud workloads and resources
CN111459676B (en) Node resource management method, device and storage medium
CN113765957A (en) Model updating method and device
KR100632405B1 (en) Transmitting/Receiving method for dynamic reconfiguration of sensor nodes using wireless telecommunication in wireless sensor network
CN112671572B (en) Method and device for intelligent equipment network distribution, storage medium and electronic device
CN111240824B (en) CPU resource scheduling method and electronic equipment
GB2452316A (en) Computer resource management unit that selects an optimiser for a resource based on the operating conditions of the computer
CN114610441A (en) Method, system, equipment and storage medium for flight parameter optimization based on yarn scheduling
CN109084417A (en) Starting-up method, system, equipment and the medium of multi-connected air conditioner
CN113993122A (en) NB-IOT terminal, communication method and communication system
CN113485335A (en) Voice instruction execution method and device, storage medium and electronic device
WO2018157694A1 (en) Base-station management method and device
WO2021254226A1 (en) Radio frequency unit, information processing method, communication node, electronic device, and medium
CN114390646A (en) NSA base station energy saving method and device
CN117827420A (en) Embedded system-oriented parameter intelligent tuning method, server and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant