CN112104481B - Equipment batch management method and device, terminal equipment and storage medium - Google Patents

Equipment batch management method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112104481B
CN112104481B CN202010785436.1A CN202010785436A CN112104481B CN 112104481 B CN112104481 B CN 112104481B CN 202010785436 A CN202010785436 A CN 202010785436A CN 112104481 B CN112104481 B CN 112104481B
Authority
CN
China
Prior art keywords
equipment
information
terminal
terminal equipment
group
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
CN202010785436.1A
Other languages
Chinese (zh)
Other versions
CN112104481A (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.)
Shenzhen Lize Intelligent Technology Co ltd
Original Assignee
Shenzhen Lize Intelligent Technology Co ltd
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 Shenzhen Lize Intelligent Technology Co ltd filed Critical Shenzhen Lize Intelligent Technology Co ltd
Priority to CN202010785436.1A priority Critical patent/CN112104481B/en
Publication of CN112104481A publication Critical patent/CN112104481A/en
Application granted granted Critical
Publication of CN112104481B publication Critical patent/CN112104481B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application is suitable for the technical field of equipment management, and provides a method and a device for equipment batch management, terminal equipment and a storage medium. In the embodiment of the application, the operation information is acquired, and the corresponding operation is carried out according to the operation information; after the operation is completed, transmitting operation completion information to second terminal equipment in a preset equipment group; and acquiring a request instruction sent by the second terminal equipment according to the operation completion information, and sending the operation information to the second terminal equipment according to the request instruction so as to enable the second terminal equipment to perform corresponding operation according to the operation information. The problem that equipment in the same industry is seriously hindered by batch management among the equipment when the server is abnormal can be solved.

Description

Equipment batch management method and device, terminal equipment and storage medium
Technical Field
The application belongs to the technical field of equipment management, and particularly relates to a method and a device for equipment batch management, terminal equipment and a storage medium.
Background
With the development of society, equipment is more and more common in people's life, and all equipment of the same industry needs to rely on a server to carry out overall control, but when the server has abnormal conditions, the operation condition of equipment of the same industry can be seriously hindered, and the equipment self problem processing capability can also be influenced, so that serious conditions occur.
Disclosure of Invention
The embodiment of the application provides a device batch management method, a device, terminal equipment and a storage medium, which can solve the problem that the running condition of equipment in the same industry is seriously hindered when a server is abnormal.
In a first aspect, an embodiment of the present application provides a device batch management method, including:
acquiring operation information, and performing corresponding operation according to the operation information;
after the operation is completed, transmitting operation completion information to second terminal equipment in a preset equipment group;
and acquiring a request instruction sent by the second terminal equipment according to the operation completion information, and sending the operation information to the second terminal equipment according to the request instruction so as to enable the second terminal equipment to perform corresponding operation according to the operation information.
Optionally, before sending the operation completion information to the second terminal device in the preset device group, the method includes:
and acquiring the equipment identifier in the equipment group preset at the current moment, and selecting the equipment corresponding to the equipment identifier meeting the preset condition as second terminal equipment.
Optionally, before sending the operation completion information to the second terminal device in the preset device group, the method includes:
And acquiring the equipment address of the second terminal equipment, and establishing communication connection with the second terminal equipment according to the equipment address.
Optionally, the obtaining the operation information, performing corresponding operation according to the operation information, includes:
and acquiring the time information of the synchronous equipment, and updating the local time according to the time information of the synchronous equipment.
Optionally, the obtaining the operation information, performing corresponding operation according to the operation information, includes:
acquiring a current time node, acquiring file information according to the time node, and displaying the file information.
In a second aspect, an embodiment of the present application provides a device batch management apparatus, including:
the acquisition module is used for acquiring the operation information and carrying out corresponding operation according to the operation information;
the first sending module is used for sending operation completion information to second terminal equipment in a preset equipment group after the operation is completed;
the second sending module is used for obtaining a request instruction sent by the second terminal equipment according to the operation completion information, and sending the operation information to the second terminal equipment according to the request instruction so as to enable the second terminal equipment to perform corresponding operation according to the operation information.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the steps of any one of the above device batch management methods when the processor executes the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program, where the computer program when executed by a processor implements the steps of any of the above-mentioned device batch management methods.
In a fifth aspect, an embodiment of the present application provides a computer program product, which when run on a terminal device, causes the terminal device to perform any of the device batch management methods of the first aspect above.
In the embodiment of the application, the operation information is acquired, and the corresponding operation is carried out according to the operation information; after the operation is completed, transmitting operation completion information to second terminal equipment in a preset equipment group; and acquiring a request instruction sent by the second terminal equipment according to the operation completion information, and sending the operation information to the second terminal equipment according to the request instruction so as to enable the second terminal equipment to perform corresponding operation according to the operation information. According to the embodiment of the application, after the operation of the first terminal equipment is finished, the second terminal equipment in the equipment group is managed in batches by the first terminal equipment, so that the second terminal equipment also performs corresponding operation according to the first terminal equipment, and the problem that the running condition of the equipment is seriously hindered by the equipment in the same industry through batch management among the equipment when the server is abnormal can be solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for batch management of devices according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a second flow chart of a device batch management method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a first configuration of a device batch management apparatus according to an embodiment of the present application;
fig. 4 is a schematic diagram of a second structure of the device batch management apparatus according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Example 1
Fig. 1 is a schematic flow chart of an apparatus batch management method in an embodiment of the present application, which is applied to a first terminal apparatus, and as shown in fig. 1, the apparatus batch management method may include the following steps:
step S101, acquiring operation information, and performing corresponding operation according to the operation information.
In this embodiment, the execution body of the device batch management method may be any device in the same device group, and the device is named as a first terminal device, and when the server is abnormal due to factors such as software and hardware or networking, the first terminal device performs a corresponding operation, so as to manage the rest of devices in the device group in batch. The first terminal device is used for acquiring operation information when the server is abnormal, and performing corresponding operation according to the acquired operation information. The operation information is information that needs to enable the first terminal device to perform corresponding operation, and specifically includes, but is not limited to, issuing file information, modifying parameter information, issuing instruction information, and the like.
Optionally, step S101 includes:
and acquiring the time information of the synchronous equipment, and updating the local time according to the time information of the synchronous equipment.
In this embodiment, when an abnormality occurs in the server, the first terminal device acquires synchronization device time information manually input by a user at the first terminal device, updates local time of the first terminal device according to the synchronization device time information, and synchronizes the updated time to other devices in the same device group through subsequent steps. It can be understood that the timing is required to be performed by the server regularly in the normal working process of the equipment, that is, the timing is performed once every preset time period, so that the time difference problem of the clock in the equipment in the long-term working process is prevented, and the self-defined clock in the equipment runs the time after the timing. However, when the server is abnormal, the time of the equipment group may not be synchronized, so that the equipment time is inconsistent, and huge time deviation between the equipment time and the actual time may occur, so that the equipment work is affected. For example, in an access control equipment group in a community, since a plurality of residential buildings are arranged in the community, at least one access control equipment is required for opening the door of each residential building, and if the time of each equipment in the access control equipment group is not synchronous, a large number of equipment cannot perform normal door opening operation.
Optionally, when the server is abnormal, the screen-off time information of the synchronous device screen manually input by the user may be obtained, the screen-off time of the device screen of the first terminal device is updated according to the screen-off time information of the synchronous device screen, and the updated screen-off time of the device screen is synchronized to other devices of the same device group through subsequent steps.
Optionally, when the server is abnormal, the night playing volume information of the synchronous device screen manually input by the user may be obtained, the night playing volume of the device screen of the first terminal device is updated according to the night playing volume information of the synchronous device screen, and the updated night playing volume of the device screen is synchronized to other devices of the same device group through subsequent steps.
Optionally, when the server is abnormal, key information of a part of operations manually input by the user may be obtained, the key used for part of operations of the first terminal device is updated according to the key information of the part of operations, and the updated key of the part of operations is synchronized to other devices of the same device group through subsequent steps. It will be appreciated that some customers need to change the key information of some operations in the device due to the consideration of password leakage or self security.
Acquiring a current time node, acquiring file information according to the time node, and displaying the file information.
In this embodiment, the first terminal device obtains a current time node, determines, according to the current time node, a corresponding relationship of a schedule stored in the first terminal device, whether the current time node needs to obtain new file information for display, and if the current time node needs to obtain the new file information for display on a display screen of the first terminal device, downloads the file according to a file download address preset in the schedule, thereby obtaining the file information. If only the file to be updated is described in the current timetable, but not what the file information is, the first terminal device alarms and reminds, and further informs staff to enable the first terminal device to acquire the file information through background operation. The file information may be advertisement file information, for example, when a user uses the access control device, the user may watch the played advertisement video, where the advertisement file information includes, but is not limited to, displaying an advertisement plan, playing an audio-video advertisement, advertisement text, and the like.
Optionally, if the server has a problem, it may detect whether other devices in the current device group have performed file update, and if it is detected that the current device has performed file update, a request is sent to the device performing file update, and file information to be acquired is obtained by the device performing file update. The staff can also use storage devices such as a USB flash disk to send the file information to the first terminal device for display. It will be appreciated that when a problem occurs in the server, the determination may also be made by the above-mentioned time node, and since the advertisement schedule in the device is incrementally performed, it may be determined whether there is a new advertisement schedule currently according to the increment order and the time stamp, or whether the current advertisement is expired according to the expiration time of the advertisement schedule, and the playing needs to be stopped.
Optionally, when the first terminal device is an access control device, the first terminal device may further obtain personnel information, upgrade file information, and the like. Wherein, the personnel information includes but is not limited to card number, face characteristic information, black and white list personnel information and the like; the upgrade file information includes, but is not limited to, a device upgrade file, an IPC upgrade file, and the like. It can be understood that the personnel information is mainly used for personnel authorization whether to open the access control equipment; the upgrade file is mainly used for equipment upgrade.
And acquiring parameter change information, and carrying out corresponding parameter change according to the parameter change information.
In this embodiment, when the server is abnormal, the first terminal device obtains parameter change information manually input by a user, updates parameter settings of the first terminal device according to the parameter change information, and synchronizes the updated parameter settings from a subsequent step to other devices in the same device group, where the parameter information that can be changed in batch includes, but is not limited to, mandatory user information perfection, whether to perform self-help audit user information, whether to perform automatic authorization, and the like. If the server is not abnormal, the parameter information can be remotely modified through the background, and then the parameter information is modified in batches through the communication connection between the devices.
Optionally, when a problem occurs in the current server, the server connection IP may be manually modified on the first terminal device, where the first terminal device reconnects another server according to the server connection IP, and synchronizes the modified server connection IP information to other devices in the device group according to a subsequent operation.
Step S102, after the operation is completed, the operation completion information is sent to a second terminal device in the preset device group.
In this embodiment, after the operation of the first terminal device is completed, the operation completion information is sent to the second terminal device in the device group, that is, the device that is not updated in the device group, so as to notify that the device that is not updated in the device group may automatically request to the first terminal device that is updated to acquire the operation information. The number of the second terminal devices may be one, or may be two or more.
Optionally, before step S102, the method includes:
and acquiring the equipment identifier in the equipment group preset at the current moment, and selecting the equipment corresponding to the equipment identifier meeting the preset condition as second terminal equipment.
In this embodiment, the first terminal device obtains device identifiers of other devices in the device group preset at the current time, and selects the identifier device that is not updated as the second terminal device. Wherein, the preset condition is that the equipment identifier is not updated; the second terminal device is a device which is not updated in the device group. It will be appreciated that if some devices currently perform the update operation, but are not identified, a situation may occur in which the first terminal device repeatedly sends update completion information to the device.
Alternatively, the device group may be obtained through background automatic allocation or manual allocation, where the device group generally groups devices in a region, where the grouping manner groups devices according to user requirements, and specifically includes, but is not limited to, grouping according to quantity; grouping according to batches associated with the equipment; grouping according to hardware compatible versions adopted by the equipment; grouping according to maintenance areas allocated by the equipment; grouping or the like is performed according to the distribution position of the devices, and the grouping modes can be combined with each other for grouping, which is not limited herein. It can be understood that the above grouping according to the number can increase the efficiency of batch management of the devices, the grouping according to the area can be performed, the devices with the distance smaller than a certain threshold value can be preferentially allocated to be divided into one group, or the devices in the same type of area can be divided into one group, for example, the entrance guard devices belonging to the same cell are divided into one group, so that the maintenance work can be conveniently performed when the device problem occurs in the later stage.
Optionally, before step S102, the method includes:
and acquiring the equipment address of the second terminal equipment, and establishing communication connection with the second terminal equipment according to the equipment address.
In this embodiment, the first terminal device obtains the device addresses of other devices in the same device group, where the other devices are referred to as a second terminal device, that is, the second terminal device performs a corresponding operation for obtaining the device information of the first device. And establishing communication connection with the second terminal equipment according to the acquired equipment address of the second terminal equipment.
Alternatively, the communication connection manner between the devices may be a TCP connection.
Step S103, obtaining a request instruction sent by the second terminal equipment according to the operation completion information, and sending the operation information to the second terminal equipment according to the request instruction so as to enable the second terminal equipment to perform corresponding operation according to the operation information.
In this embodiment, the first terminal device obtains a request instruction sent by the second terminal device according to the operation completion information, and the first terminal device sends the operation information to the second terminal device according to the request instruction, so that the second terminal device performs a corresponding operation according to the operation information. Thus, the operation of managing the second terminal devices in the device group in batches by the above-mentioned first terminal device is completed. It can be understood that when the server is abnormal, the capability of flexibly processing the problems of the equipment can be maintained, and other equipment in the same group can be rapidly and automatically processed in batches, so that the use of users is facilitated. The complexity of requiring a large number of maintenance personnel to go to site for construction when the server is abnormal can also be reduced.
Optionally, after the second terminal device completes the operation, the second terminal device may be used as the first terminal device to perform the update operation of the subsequent device, which is also equivalent to using the second terminal device as a download source to provide data information support for the device that does not perform the update operation subsequently.
By way of specific example and not limitation, the settings are to group device a, device B, device C, device B, device D, device E, device C, device F, device H. When the equipment A acquires the operation information, after the corresponding operation is completed, the operation completion information is sent to the equipment B and the equipment C, the equipment A acquires the request instruction sent by the equipment B and the equipment C, and the operation information is sent to the equipment B and the equipment C according to the request instruction, so that the equipment B and the equipment C perform the corresponding operation according to the operation information. When the equipment B acquires the operation information, after the corresponding operation is completed, the operation completion information is sent to the equipment D and the equipment E, the equipment B acquires the request instruction sent by the equipment D and the equipment E, and the operation information is sent to the equipment D and the equipment E according to the request instruction, so that the equipment D and the equipment E perform the corresponding operation according to the operation information. When the equipment C acquires the operation information, after the corresponding operation is completed, the operation completion information is sent to the equipment F and the equipment H, the equipment C acquires a request instruction sent by the equipment F and the equipment H, and the operation information is sent to the equipment F and the equipment H according to the request instruction, so that the equipment F and the equipment H perform the corresponding operation according to the operation information.
Optionally, some devices in the device group may be set in the device side through a remote background or manually without automatic update management, when the device is set and other devices in the device group are updated or some automatic operations are performed, the device does not receive the device completion information of the other devices, and does not perform update operation.
In the embodiment of the application, the operation information is acquired, and the corresponding operation is carried out according to the operation information; after the operation is completed, transmitting operation completion information to second terminal equipment in a preset equipment group; and acquiring a request instruction sent by the second terminal equipment according to the operation completion information, and sending the operation information to the second terminal equipment according to the request instruction so as to enable the second terminal equipment to perform corresponding operation according to the operation information. According to the embodiment of the application, after the operation of the first terminal equipment is finished, the second terminal equipment in the equipment group is managed in batches by the first terminal equipment, so that the second terminal equipment also performs corresponding operation according to the first terminal equipment, and the problem that the running condition of the equipment is seriously hindered by the equipment in the same industry through batch management among the equipment when the server is abnormal can be solved.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Example two
Fig. 2 is a schematic flow chart of a device batch management method in an embodiment of the present application, which is applied to a second terminal device, and as shown in fig. 2, the device batch management method may include the following steps:
step 201, acquiring operation completion information of a first terminal device, and acquiring the number of current connection devices of the first terminal device according to the operation completion information of the first terminal device.
In this embodiment, after the second terminal device in the device group obtains the operation completion information of the first terminal device sent by the first terminal device, the second terminal device learns that the current device group has devices to complete updating according to the operation completion information of the first terminal device, and further obtains the number of the current connection devices of the updated first terminal device to determine whether the operation information can be immediately obtained from the updated first terminal device, so as to perform corresponding operation.
Step S202, when the fact that the number of the current connecting devices of the first terminal device is smaller than a preset device number threshold is detected, a request instruction is sent to the first terminal device, and therefore the first terminal device sends operation information according to the request instruction.
In this embodiment, if the second terminal device detects that the number of current connection devices of the first terminal device is smaller than the preset device number threshold, it is indicated that the current first terminal device may also be connected to a device to provide operation information, and then the second terminal device sends a request instruction to the first terminal device, so that the first terminal device sends the operation information to the second terminal device according to the request instruction. It can be understood that, because the second terminal device is required to request from the first terminal device to acquire the operation information, in order to ensure that the first terminal device can be used normally, the number of current connection devices of the first terminal device is required to be limited, so that the first terminal device is prevented from being blocked due to excessive number of the current connection devices, and the use experience of a user is influenced.
Optionally, if the number of connection devices of the first terminal device is greater than the preset device number threshold, the second terminal device may attempt to acquire the operation information through other devices, for example, through other devices in the device group of the operation information acquired from the first terminal device, where the device provides the operation information to the second terminal device, the device is also equivalent to the first terminal device.
Step 203, performing corresponding operation according to the operation information, and performing equipment identification update after the operation is completed.
In this embodiment, the second terminal device performs the same operation as the update of the content of the first terminal device according to the operation information sent by the first terminal device. After the second terminal equipment finishes the operation, the equipment identification is updated, namely the unsuccessful identification of the current identification is changed into the successful identification, so that the second terminal equipment which is updated can be accurately identified when the first terminal equipment sends the equipment completion information. It can be understood that the pressure of the server control equipment is relieved and the information transmission efficiency is improved through data information transmission among the equipment.
Optionally, when the second terminal device establishes communication connection with the first terminal device and determines that the second terminal device has sent a request instruction to the first terminal device, the device identifier of the current second terminal device may be changed to be allocated, so as to avoid that the first terminal device sends device completion information to the second terminal device for many times due to overlong time of data information transfer.
Optionally, step S203 includes:
Acquiring the operation time of the current operation content, and when the operation time is larger than the preset operation time, retransmitting a request instruction to the first terminal equipment.
In this embodiment, the second terminal device obtains the operation time of the current operation content, and when the operation time is greater than the preset operation time when the file is operated, it indicates that the operation is overtime, and may cause update failure due to some uncontrollable factors, and then the request instruction needs to be sent to the first terminal device again, so as to obtain the operation information again, and perform the corresponding operation.
By way of specific example and not limitation, the settings group device a, device B, device C, device D, device E, device F. After the equipment B acquires the operation completion information of the equipment A, acquiring the current connection equipment number of the equipment A according to the operation completion information of the equipment A, if the current connection equipment of the equipment A is detected to be equipment C, equipment D, equipment E and equipment F, and the preset equipment number threshold value of the equipment A, namely the threshold value of the maximum connection equipment number is 5, the current connection equipment number of the equipment A is smaller than the preset equipment number threshold value, the equipment B sends a request instruction to the equipment A, so that the equipment A sends operation information to the equipment B according to the request instruction, the equipment B carries out corresponding operation according to the operation information, and after the operation is completed, the equipment B carries out equipment identification updating.
In the embodiment of the application, the operation completion information of the first terminal equipment is obtained, and the number of the current connection equipment of the first terminal equipment is obtained according to the operation completion information of the first terminal equipment; when the number of the current connecting devices of the first terminal device is detected to be smaller than a preset device number threshold, a request instruction is sent to the first terminal device, so that the first terminal device sends operation information according to the request instruction; and carrying out corresponding operation according to the operation information, and carrying out equipment identification updating after the operation is completed. According to the embodiment of the application, after the operation of the first terminal equipment is finished, when the second terminal equipment judges that the number of the current connection equipment of the first terminal equipment meets the preset condition, a request instruction is sent out, so that the second terminal equipment in the equipment group is managed in batches by the first terminal equipment, the second terminal equipment is correspondingly operated according to the first terminal equipment, and the problem that the running condition of the equipment is seriously hindered by the equipment in the same industry through batch management among the equipment when the server is abnormal can be solved.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Embodiment III:
fig. 3 is a schematic structural diagram of an apparatus for batch management of an apparatus according to an embodiment of the present application, and as shown in fig. 3, the apparatus for batch management of an apparatus may include:
the obtaining module 31 is configured to obtain operation information, and perform corresponding operation according to the operation information.
And a first sending module 32, configured to send operation completion information to a second terminal device in the preset device group after the operation is completed.
And a second sending module 33, configured to obtain a request instruction sent by the second terminal device according to the operation completion information, and send the operation information to the second terminal device according to the request instruction, so that the second terminal device performs a corresponding operation according to the operation information.
Optionally, the device batch management apparatus may further include:
the selecting module is used for acquiring the equipment identification in the equipment group preset at the current moment, and selecting the equipment corresponding to the equipment identification meeting the preset condition as the second terminal equipment.
Optionally, the device batch management apparatus may further include:
and the communication connection establishment module is used for acquiring the equipment address of the second terminal equipment and establishing communication connection with the second terminal equipment according to the equipment address.
Optionally, the obtaining module 31 may include:
and the updating time unit is used for acquiring the time information of the synchronous equipment and updating the local time according to the time information of the synchronous equipment.
Optionally, the obtaining module 31 may further include:
the display unit is used for acquiring the current time node, acquiring file information according to the time node, and displaying the file information.
In the embodiment of the application, the operation information is acquired, and the corresponding operation is carried out according to the operation information; after the operation is completed, transmitting operation completion information to second terminal equipment in a preset equipment group; and acquiring a request instruction sent by the second terminal equipment according to the operation completion information, and sending the operation information to the second terminal equipment according to the request instruction so as to enable the second terminal equipment to perform corresponding operation according to the operation information. According to the embodiment of the application, after the operation of the first terminal equipment is finished, the second terminal equipment in the equipment group is managed in batches by the first terminal equipment, so that the second terminal equipment also performs corresponding operation according to the first terminal equipment, and the problem that the running condition of the equipment is seriously hindered by the equipment in the same industry through batch management among the equipment when the server is abnormal can be solved.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedures in the foregoing system embodiments and method embodiments, which are not described herein again.
Embodiment four:
corresponding to the method for batch management of devices described in the second embodiment, fig. 4 is a schematic structural diagram of a device batch management apparatus according to an embodiment of the present application, and as shown in fig. 4, the device batch management apparatus may include:
the device number obtaining module 41 is configured to obtain operation completion information of the first terminal device, and obtain the number of current connection devices of the first terminal device according to the operation completion information of the first terminal device.
And the sending request module 42 is configured to send a request instruction to the first terminal device when detecting that the number of the current connected devices of the first terminal device is smaller than a preset device number threshold, so that the first terminal device sends operation information according to the request instruction.
And the device identifier updating module 43 is configured to perform corresponding operation according to the operation information, and perform device identifier updating after the operation is completed.
Optionally, the second transmitting module 43 may include:
and the re-request module is used for acquiring the operation time of the current operation content, and re-sending a request instruction to the first terminal equipment when the operation time is greater than the preset operation time.
In the embodiment of the application, the operation completion information of the first terminal equipment is obtained, and the number of the current connection equipment of the first terminal equipment is obtained according to the operation completion information of the first terminal equipment; when the number of the current connecting devices of the first terminal device is detected to be smaller than a preset device number threshold, a request instruction is sent to the first terminal device, so that the first terminal device sends operation information according to the request instruction; and carrying out corresponding operation according to the operation information, and carrying out equipment identification updating after the operation is completed. According to the embodiment of the application, after the operation of the first terminal equipment is finished, the second terminal equipment in the equipment group is managed in batches by the first terminal equipment, so that the second terminal equipment also performs corresponding operation according to the first terminal equipment, and the problem that the running condition of the equipment is seriously hindered by the equipment in the same industry through batch management among the equipment when the server is abnormal can be solved.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedures in the foregoing system embodiments and method embodiments, which are not described herein again.
Fifth embodiment:
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application. For convenience of explanation, only portions relevant to the embodiments of the present application are shown.
As shown in fig. 5, the terminal device 5 of this embodiment includes: at least one processor 500 (only one shown in fig. 5), a memory 501 coupled to the processor 500, and a computer program 502, such as a device batch manager, stored in the memory 501 and executable on the at least one processor 500. The processor 500, when executing the computer program 502, implements the steps in the above-described embodiments of the device batch management method, such as steps S101 to S103 shown in fig. 1. Alternatively, the processor 500, when executing the computer program 502, performs the functions of the modules in the apparatus embodiments described above, such as the functions of the modules 31 to 33 shown in fig. 3.
Illustratively, the computer program 502 may be partitioned into one or more modules that are stored in the memory 501 and executed by the processor 500 to accomplish the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 502 in the terminal device 5. For example, the computer program 502 may be divided into an acquisition module 31, a first transmission module 32, and a second transmission module 33, where the specific functions of the modules are as follows:
The acquiring module 31 is configured to acquire operation information, and perform corresponding operation according to the operation information;
a first sending module 32, configured to send operation completion information to a second terminal device in a preset device group after the operation is completed;
and a second sending module 33, configured to obtain a request instruction sent by the second terminal device according to the operation completion information, and send the operation information to the second terminal device according to the request instruction, so that the second terminal device performs a corresponding operation according to the operation information.
The terminal device 5 may include, but is not limited to, a processor 500, a memory 501. It will be appreciated by those skilled in the art that fig. 5 is merely an example of the terminal device 5 and is not meant to be limiting as the terminal device 5, and may include more or fewer components than shown, or may combine certain components, or different components, such as may also include input and output devices, network access devices, buses, etc.
The processor 500 may be a central processing unit (Central Processing Unit, CPU), and the processor 500 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 501 may in some embodiments be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 501 may in other embodiments also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 5. Further, the memory 501 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 501 is used to store an operating system, application programs, boot loader (BootLoader), data, and other programs, such as program code of the computer program. The memory 501 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (9)

1. The device batch management method is characterized by being applied to a first terminal device and comprising the following steps:
when the server is abnormal, acquiring operation information input by a user, and performing corresponding operation according to the operation information;
after the operation is finished, sending operation finishing information to a second terminal device in a preset device group, and informing that the device which is not updated in the device group can automatically request to acquire the operation information to the first terminal device which is updated, wherein the first terminal device is any device in the device group, the second terminal device is the device which is not updated in the device group, and a plurality of device groups exist;
Acquiring a request instruction sent by the second terminal equipment according to the operation completion information, and sending the operation information to the second terminal equipment according to the request instruction so as to enable the second terminal equipment to perform corresponding operation according to the operation information;
after the second terminal equipment finishes the operation, the second terminal equipment is used as first terminal equipment to perform the updating operation of subsequent equipment;
before sending the operation completion information to a second terminal device in a preset device group, the method comprises the following steps:
acquiring equipment identifiers in an equipment group preset at the current moment, and selecting equipment corresponding to the equipment identifiers meeting preset conditions as second terminal equipment; the preset condition is that the equipment identifier is not updated.
2. The device batch management method according to claim 1, comprising, before transmitting operation completion information to a second terminal device in a preset device group:
and acquiring the equipment address of the second terminal equipment, and establishing communication connection with the second terminal equipment according to the equipment address.
3. The apparatus batch management method according to claim 1, wherein the obtaining operation information, performing a corresponding operation according to the operation information, includes:
And acquiring the time information of the synchronous equipment, and updating the local time according to the time information of the synchronous equipment.
4. The apparatus batch management method according to claim 1, wherein the obtaining operation information, performing a corresponding operation according to the operation information, includes:
acquiring a current time node, acquiring file information according to the time node, and displaying the file information.
5. The device batch management method is characterized by being applied to a second terminal device and comprising the following steps:
acquiring operation completion information of first terminal equipment, and acquiring the number of current connection equipment of the first terminal equipment according to the operation completion information of the first terminal equipment; when the server is abnormal, the operation completion information is corresponding operation completion information after corresponding operation is performed according to the operation information input by the acquired user, the first terminal equipment can send the operation completion information to second terminal equipment in a preset equipment group, the equipment which is not updated in the equipment group can be informed to automatically request to acquire the operation information from the first terminal equipment which is updated, the first terminal equipment is any equipment in the equipment group, the second terminal equipment is equipment which is not updated in the equipment group, and the equipment group is multiple; the first terminal equipment can acquire equipment identifiers in a preset equipment group at the current moment before sending operation completion information to second terminal equipment in the preset equipment group, and equipment corresponding to the equipment identifiers meeting preset conditions is selected as the second terminal equipment; the preset condition is that the equipment identifier is not updated;
When the number of the current connecting devices of the first terminal device is smaller than a preset device number threshold, a request instruction is sent to the first terminal device, so that the first terminal device sends operation information according to the request instruction;
performing corresponding operation according to the operation information, and performing equipment identification updating after the operation is completed;
and the first terminal equipment can take the second terminal equipment as the first terminal equipment to perform the updating operation of the follow-up equipment after the second terminal equipment finishes the operation.
6. The device batch management method of claim 5, wherein the performing the corresponding operation according to the operation information includes:
acquiring the operation time of the current operation content, and when the operation time is larger than the preset operation time, retransmitting a request instruction to the first terminal equipment.
7. A device batch management apparatus, comprising:
the acquisition module is used for acquiring operation information input by a user when the server is abnormal, and carrying out corresponding operation according to the operation information;
the device comprises a first sending module, a second sending module and a first receiving module, wherein the first sending module is used for sending operation completion information to second terminal equipment in a preset equipment group after operation is completed, informing that equipment which is not updated in the equipment group can automatically request to acquire operation information to a first updated terminal equipment, the first terminal equipment is any equipment in the equipment group, the second terminal equipment is equipment which is not updated in the equipment group, and a plurality of equipment groups exist;
The second sending module is used for obtaining a request instruction sent by the second terminal equipment according to the operation completion information, and sending the operation information to the second terminal equipment according to the request instruction so as to enable the second terminal equipment to perform corresponding operation according to the operation information;
the selecting module is used for acquiring equipment identifiers in an equipment group preset at the current moment and selecting equipment corresponding to the equipment identifiers meeting preset conditions as second terminal equipment; the preset condition is that the equipment identifier is not updated;
the device batch management device is also used for:
and after the second terminal equipment finishes the operation, the second terminal equipment is used as the first terminal equipment to perform the updating operation of the follow-up equipment.
8. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of a device batch management method according to any one of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of a device batch management method according to any one of claims 1 to 6.
CN202010785436.1A 2020-08-06 2020-08-06 Equipment batch management method and device, terminal equipment and storage medium Active CN112104481B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010785436.1A CN112104481B (en) 2020-08-06 2020-08-06 Equipment batch management method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010785436.1A CN112104481B (en) 2020-08-06 2020-08-06 Equipment batch management method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112104481A CN112104481A (en) 2020-12-18
CN112104481B true CN112104481B (en) 2023-09-22

Family

ID=73749618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010785436.1A Active CN112104481B (en) 2020-08-06 2020-08-06 Equipment batch management method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112104481B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713047A (en) * 2017-01-12 2017-05-24 泰凌微电子(上海)有限公司 Node upgrading method and system in mesh network
CN108600302A (en) * 2018-03-13 2018-09-28 青岛海尔科技有限公司 Control method, device and the readable storage medium storing program for executing and computer equipment of Internet of Things equipment
CN109769239A (en) * 2019-03-06 2019-05-17 乐鑫信息科技(上海)股份有限公司 Method for carrying out OTA firmware upgrade to the node in bluetooth Mesh network
CN110266710A (en) * 2019-06-27 2019-09-20 深信服科技股份有限公司 A kind of cluster safety means of defence, device, server and storage medium
CN110769057A (en) * 2019-10-25 2020-02-07 广东博智林机器人有限公司 Automatic upgrading method, device and system based on cascade system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5949506B2 (en) * 2012-11-30 2016-07-06 富士通株式会社 Distributed processing method, information processing apparatus, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713047A (en) * 2017-01-12 2017-05-24 泰凌微电子(上海)有限公司 Node upgrading method and system in mesh network
CN108600302A (en) * 2018-03-13 2018-09-28 青岛海尔科技有限公司 Control method, device and the readable storage medium storing program for executing and computer equipment of Internet of Things equipment
CN109769239A (en) * 2019-03-06 2019-05-17 乐鑫信息科技(上海)股份有限公司 Method for carrying out OTA firmware upgrade to the node in bluetooth Mesh network
CN110266710A (en) * 2019-06-27 2019-09-20 深信服科技股份有限公司 A kind of cluster safety means of defence, device, server and storage medium
CN110769057A (en) * 2019-10-25 2020-02-07 广东博智林机器人有限公司 Automatic upgrading method, device and system based on cascade system

Also Published As

Publication number Publication date
CN112104481A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
US9641596B2 (en) Home appliance information management apparatus, home appliance information sharing method, and home appliance information sharing system
US10405361B2 (en) Switching-on method, base station, base station controller, switching-on system and storage medium
CN103827878B (en) Automate Password Management
CN101192970A (en) Method for automatic synchronization of user device version in Ethernet passive optical network system
CN113824592B (en) Quantum network management system
CN112104481B (en) Equipment batch management method and device, terminal equipment and storage medium
CN113839991A (en) Method and device for confirming equipment information, storage medium and electronic device
CN103533069B (en) Method for starting automatic configuration of network equipment and network equipment
CN111324364A (en) Method, device, equipment and storage medium for equipment management
CN115550427A (en) Equipment upgrading method, device, equipment and storage medium
CN111385613A (en) Television system repairing method, storage medium and application server
CN102377604B (en) Management method and management system for processes in network system
CN105915596A (en) Optical network unit information acquiring method and optical network unit information acquiring system
CN208460406U (en) A kind of acquisition device for data of dialysing
CN111914296A (en) Multi-platform authority unified management method, device, terminal and storage medium
CN111464357A (en) Resource allocation method and device
CN108197659A (en) The upgrade method and device of video image identification model
CN113035153B (en) Display screen information maintenance method, device and system
CN113791915B (en) Nuclear power station service management method and device, terminal equipment and storage medium
CN116405146B (en) Synchronous control method and control system of multi-BMS slave machine
CN113849207B (en) ARM server and reservation mode selection method for option configuration of ARM server
CN112737846B (en) Remote equipment configuration method, device and system and computer readable storage medium
CN116319267A (en) Configuration method, electronic equipment, cluster measurement and control device and readable storage medium
CN118200460A (en) Parameter synchronization method, device, electronic equipment and computer readable storage medium
CN118822468A (en) Project data informatization management method 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