CN113805909B - Device upgrading method and device, electronic device and storage medium - Google Patents

Device upgrading method and device, electronic device and storage medium Download PDF

Info

Publication number
CN113805909B
CN113805909B CN202010556080.4A CN202010556080A CN113805909B CN 113805909 B CN113805909 B CN 113805909B CN 202010556080 A CN202010556080 A CN 202010556080A CN 113805909 B CN113805909 B CN 113805909B
Authority
CN
China
Prior art keywords
deployment
equipment
upgrade
attribute
list
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
CN202010556080.4A
Other languages
Chinese (zh)
Other versions
CN113805909A (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.)
Cainiao Smart Logistics Holding Ltd
Original Assignee
Cainiao Smart Logistics Holding 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 Cainiao Smart Logistics Holding Ltd filed Critical Cainiao Smart Logistics Holding Ltd
Priority to CN202010556080.4A priority Critical patent/CN113805909B/en
Publication of CN113805909A publication Critical patent/CN113805909A/en
Application granted granted Critical
Publication of CN113805909B publication Critical patent/CN113805909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides a device upgrading method, a device, electronic equipment and a storage medium, comprising the following steps: determining deployment rules of equipment upgrading, wherein the deployment rules comprise version information and attribute screening conditions; and screening equipment according to the attribute screening conditions, and creating a corresponding upgrading list so as to upgrade the equipment in the upgrading list according to the version information, wherein the upgrading of the equipment is executed through an equipment agent. The equipment can be upgraded more conveniently.

Description

Device upgrading method and device, electronic device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an apparatus upgrade method, an apparatus upgrade device, an electronic apparatus, and a storage medium.
Background
The internet of things (The Internet ofThings, IOT) refers to collecting any object or process needing to be monitored, connected and interacted in real time through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, collecting various needed information such as sound, light, heat, electricity, mechanics, chemistry, biology and positions, and realizing ubiquitous connection of the object and people through various possible network access, thereby realizing intelligent sensing, identification and management of the object and the process. The internet of things is an information carrier based on the internet, a traditional telecommunication network and the like, and enables all common physical objects which can be independently addressed to form an interconnection network.
The internet of things equipment refers to equipment connected in the internet of things, and collection, monitoring and interaction can be performed through the internet of things equipment. The existing internet of things equipment is upgraded by manually selecting equipment identifiers of the internet of things equipment to be upgraded at a server side, and then upgrading the internet of things equipment according to the equipment identifiers.
However, with this scheme, a large number of device identifications need to be manually selected, and upgrading of the devices is very difficult.
Disclosure of Invention
The embodiment of the application provides a device upgrading method, so that equipment can be upgraded more conveniently.
Correspondingly, the embodiment of the application also provides a device upgrading device, electronic equipment and a storage medium, which are used for guaranteeing the realization and the application of the system.
In order to solve the above problems, an embodiment of the present application discloses an apparatus upgrade method, including: determining deployment rules of equipment upgrading, wherein the deployment rules comprise version information and attribute screening conditions; and screening equipment according to the attribute screening conditions, and creating a corresponding upgrading list so as to upgrade the equipment in the upgrading list according to the version information, wherein the upgrading of the equipment is executed through an equipment agent.
In order to solve the above problems, an embodiment of the present application discloses an apparatus upgrade method, including: sending a creation request and receiving a corresponding rule creation page; acquiring input information input in the rule creation page, wherein the input information comprises version information and attribute screening conditions, the attribute screening conditions are used for screening equipment, and the version information is used for determining an upgrade version of the equipment; and sending the input information to determine a deployment rule, wherein the deployment rule is used for upgrading the equipment.
In order to solve the above problems, an embodiment of the present application discloses an apparatus upgrade method, including: transmitting registration information through a device agent, wherein the registration information comprises attribute information, the attribute information is used for determining a corresponding target deployment rule, and the target deployment rule comprises target version information; receiving an upgrade instruction, wherein the upgrade instruction comprises the target version information; and outputting a corresponding upgrading request to acquire a corresponding software package for deployment.
In order to solve the above problems, an embodiment of the present application discloses an apparatus upgrade method, including: receiving an upgrade instruction through an equipment agent, wherein the upgrade instruction comprises version information; outputting a corresponding upgrading request; and receiving a software upgrading packet corresponding to the version information so as to upgrade.
In order to solve the above problems, an embodiment of the present application discloses an apparatus for upgrading a device, the apparatus including: the deployment rule determining module is used for determining the deployment rule of equipment upgrading, wherein the deployment rule comprises version information and attribute screening conditions; and the upgrade list determining module is used for screening equipment according to the attribute screening conditions, and creating a corresponding upgrade list so as to upgrade the equipment in the upgrade list according to the version information, wherein the upgrade of the equipment is executed through an equipment agent.
In order to solve the above problems, an embodiment of the present application discloses an apparatus for upgrading a device, the apparatus including: the request output module is used for sending a creation request and receiving a corresponding rule creation page; the input information acquisition module is used for acquiring input information input in the rule creation page, wherein the input information comprises version information and attribute screening conditions, the attribute screening conditions are used for screening equipment, and the version information is used for determining an upgrade version of the equipment; and the input information output module is used for sending the input information to determine a deployment rule, and the deployment rule is used for upgrading the equipment.
In order to solve the above problems, an embodiment of the present application discloses an apparatus for upgrading a device, the apparatus including: the registration information output module is used for sending registration information through the equipment agent, wherein the registration information comprises attribute information, the attribute information is used for determining a corresponding target deployment rule, and the target deployment rule comprises target version information; the upgrade instruction receiving module is used for receiving an upgrade instruction, and the upgrade instruction comprises the target version information; and the software package acquisition module is used for outputting a corresponding upgrading request to acquire a corresponding software package for deployment.
In order to solve the above problems, an embodiment of the present application discloses an apparatus for upgrading a device, the apparatus including: the device comprises an instruction receiving module, a processing module and a processing module, wherein the instruction receiving module is used for receiving an upgrade instruction through a device agent, and the upgrade instruction comprises version information; the software upgrade package request module is used for outputting a corresponding upgrade request; and the software upgrade package receiving module is used for receiving the software upgrade package corresponding to the version information so as to upgrade.
In order to solve the above problem, an embodiment of the present application discloses an electronic device, which is characterized by including: a processor; and a memory having executable code stored thereon that, when executed, causes the processor to perform the method as described in one or more of the embodiments above.
To address the above issues, embodiments of the present application disclose one or more machine-readable media having executable code stored thereon that, when executed, cause a processor to perform a method as described in one or more of the above embodiments.
Compared with the prior art, the embodiment of the application has the following advantages:
according to the method and the device, the equipment meeting the attribute screening conditions can be screened out according to the attribute screening conditions in the deployment rule of equipment upgrading, and a corresponding upgrading list is created. According to the upgrade list, the equipment in the upgrade list can be upgraded according to the version information in the deployment rule, and the upgrade of the equipment is performed through the equipment agent. According to the method and the device, the Internet of things equipment is screened according to the attribute screening conditions in the deployment rules, and the Internet of things equipment to be upgraded can be determined more simply and conveniently.
Drawings
FIG. 1 is an architecture diagram of a device upgrade system according to an embodiment of the present application;
FIG. 2 is a flow chart of steps of an embodiment of a device upgrade method of the present application;
FIG. 3 is a schematic diagram of an embodiment of a device upgrade method of the present application;
FIG. 4 is a flow chart of steps of another embodiment of a device upgrade method of the present application;
FIG. 5 is a flow chart of steps of yet another embodiment of a device upgrade method of the present application;
FIG. 6 is a flow chart of steps of yet another embodiment of a device upgrade method of the present application;
FIG. 7 is a flow chart of steps of yet another embodiment of a device upgrade method of the present application;
FIG. 8 is a flow chart of steps of yet another embodiment of a device upgrade method of the present application;
FIG. 9 is a flow chart of steps of yet another embodiment of a device upgrade method of the present application;
FIG. 10 is a flow chart of steps of yet another embodiment of a device upgrade method of the present application;
FIG. 11 is a flow chart of steps of yet another embodiment of a device upgrade method of the present application;
FIG. 12 is a block diagram of an embodiment of an apparatus upgrade device of the present application;
FIG. 13 is a block diagram of another embodiment of an apparatus for upgrading a device of the present application;
FIG. 14 is a block diagram of still another embodiment of an apparatus upgrade device of the present application;
FIG. 15 is a block diagram of yet another embodiment of an apparatus upgrade device of the present application;
fig. 16 is a schematic structural view of an exemplary device according to one embodiment of the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings.
The embodiment of the application can be applied to the field of equipment upgrading, can be applied to various remote downloading and upgrading scenes, such as the field of upgrading by adopting an Over The Air (OTA) technology, wherein the over the air is to upgrade software and firmware on equipment through an air interface of mobile communication, and can be upgraded without connecting wires. In addition, the method can be applied to other scenes of upgrading through the Internet and the Internet of things.
The method and the device can be applied to upgrading scenes of the Internet of things equipment. The internet of things equipment can refer to equipment in the internet of things, and application scenes of the internet of things comprise logistics scenes, intelligent home scenes, industrial production scenes, intelligent traffic scenes, public safety scenes, personal health monitoring scenes, intelligent fire-fighting scenes, payment scenes and the like, and equipment in the scenes can be updated in the mode of the embodiment of the application. For example, the internet of things devices in a logistics scene may include automated guided vehicles (Automated Guided Vehicle, AGV), self-lifting cabinets, scanning guns, quality inspection stations, post high-speed cameras, and the like. The internet of things equipment in the smart home scene can comprise an intelligent toothbrush, an intelligent bulb, an intelligent camera, a window sensor, an intelligent doorbell, a smoke detector, an intelligent alarm and the like. The internet of things equipment in an industrial production scene can comprise an intelligent camera and various sensors for monitoring parameters of the production equipment. The internet of things devices in the intelligent traffic scene may include road monitoring cameras, velocimeters, electronic toll collection systems (Electronic Toll Collection, ETC), and the like. The internet of things devices in public safety scenarios may include sensors that sense various indicators of atmosphere, soil, forests, water resources, and the like. The internet of things equipment in the personal health monitoring scene can comprise an intelligent bracelet, a health detector (such as a fetal heart rate detector and an oximeter) and the like. The internet of things equipment in the intelligent fire scene can comprise a smoke sensor, an intelligent alarm, an intelligent water pump, an intelligent alarm bell, intelligent broadcasting and the like. Bus swipers, merchant swipers, etc. in payment scenarios.
The method and the device can be applied to the upgrading scene of the Internet of things device and the upgrading scene of the intelligent device so as to upgrade the software and the system of the intelligent device. For example, the method can be applied to software upgrading scenes of mobile terminals and computer terminals.
The method for upgrading the equipment is specifically described below by taking an example of applying the embodiment of the application to a scene of upgrading the equipment of the Internet of things.
As shown in fig. 1, in the embodiment of the present application, the devices can be upgraded in batches according to a deployment Rule (deployment Rule), where the deployment Rule refers to a Rule for upgrading a deployed device, and the Rule for upgrading the deployed device and the device to be upgraded can be set, so that deployment of device upgrading can be performed based on the deployment Rule, thereby improving upgrading efficiency. The deployment rule of the equipment upgrading can be determined, then the internet of things equipment is screened according to the attribute of the internet of things equipment, and the screened internet of things equipment is upgraded in batches. In the upgrading process of the Internet of things equipment, the Internet of things equipment is screened according to the attribute screening conditions in the deployment rules, and the Internet of things equipment to be upgraded can be more simply and conveniently determined so as to be upgraded. The attributes of the device may include, among other things, the specification, technical parameters, model number (which may also be referred to as device type), registration time, installation site, etc. of the device.
In order to facilitate upgrading, the embodiment of the application may set a device agent in the internet of things device, where the device agent may interact with the server by using the agent device, so that when the device is used for the first time, the device agent may collect attribute information of the device, register and upload the attribute information, and assist the device in performing software upgrading and so on. The device agent may also be referred to as a device agent, and the device agent may be understood as a software program that is pre-installed in the internet of things device and capable of autonomous activity, and the device agent may be published in the internet of things device with different system architecture, and in one example, the device agent may be developed using Go language to implement the cross-platform characteristic thereof. According to the method and the device, the device agent published in the Internet of things device can be used for collecting attribute information of the Internet of things devices of different architectures and uploading the attribute information to the server, so that management upgrading of the Internet of things devices of different system architectures can be completed.
The deployment rule may include attribute screening conditions for screening the internet of things device and version information for determining software and software versions of the internet of things device that need to be upgraded. The attribute screening conditions can comprise equipment type conditions and equipment attribute conditions, and the Internet of things equipment with the same type can be screened out according to the equipment type conditions; and screening out the Internet of things equipment with the attribute information according to the equipment attribute conditions. For example, the types of the internet of things equipment can include a self-lifting cabinet type, a scanning gun (or gun) type and a quality inspection table type, and according to equipment type conditions (such as self-lifting cabinet), the internet of things equipment of the self-lifting cabinet type can be screened. Attributes of the internet of things device may include network access time, installation region, etc. According to the equipment attribute conditions (such as the network access time is time a to time b and the installation area is area G), the Internet of things equipment which is installed in the area G and has the network access time of time a to time b can be screened. The method comprises the steps of screening the self-cabinet type internet of things equipment according to equipment type conditions, further screening according to equipment attribute conditions to obtain the internet of things equipment with access time from time a to time b, installing the self-cabinet type internet of things equipment in the region G, and upgrading the screened equipment.
The device attribute conditions may include one sub-filtering condition or may include a plurality of sub-filtering conditions, each of which may correspond to one attribute, and for example, the device attribute conditions may include a registration time filtering condition and an installation place filtering condition. In the case where the device attribute condition includes a plurality of sub-filtering conditions, the plurality of sub-filtering conditions may be satisfied at the same time or may be satisfied.
Specifically, the attribute screening condition may be determined according to an attribute screening expression, which may include a device type expression and a device attribute expression, which may be composed of one or more sub-expressions, each of which corresponds to an attribute. For the case where the device attribute expression includes a plurality of sub-expressions, an operational relationship between the plurality of sub-expressions may be set to determine the attribute screening condition. In one example, the operational relationship between the multiple sub-expressions may be determined by logical operators, which may include first operators (e.g., "and") that are satisfied at the same time, and may include second operators (e.g., "or") that are satisfied at the same time.
For example, the attribute filtering expression may be "condition 1and condition 2", and the corresponding attribute filtering condition is that the attribute of the device needs to satisfy both condition 1and condition 2. The attribute filtering expression may be "condition 3or condition 4", and the corresponding attribute filtering condition is that the attribute of the device needs to satisfy one of condition 3 and condition 4. In addition, for the first operator and the second operator, priorities of the operators may be set so as to resolve the high-priority operator preferentially in the case where the first operator and the second operator exist at the same time, and in one example, the priority of the first operator is higher than the priority of the second operator. For example, the attribute filtering expression may be "condition 1and condition 2or condition 3", and the corresponding attribute filtering condition is that the device needs to satisfy both condition 1and condition 2, or satisfy condition 3 separately.
The sub-expression may include an attribute name for determining an attribute and condition information for determining a condition that the attribute needs to satisfy. The condition information may include a condition operator for determining an operational relationship between the data of the attribute and the condition data, and the condition operator may include belonging to (in), not belonging to (not in), being (=), not being (=), being present (like), not being present (notlike), and the like. For example, one sub-expression may be "installation site=city a".
The version information can comprise a software identifier and a software version identifier, and according to the software identifier, the software to be upgraded of the Internet of things equipment can be determined; according to the software version identification, the version of the software to be upgraded of the Internet of things can be determined.
After the deployment rule is determined, a corresponding upgrading list can be generated according to the deployment rule, and the server can upgrade the Internet of things equipment according to the upgrading list and the version information. The server side can send an upgrade instruction to the equipment in the upgrade list, and after the equipment receives the upgrade instruction, the software upgrade package corresponding to the version information is obtained to upgrade. But the whole quantity of the Internet of things equipment is upgraded according to one upgrading list and version information, and the Internet of things equipment is slow to upgrade. Therefore, the deployment rule may further include a grouping rule, where the grouping rule is used to divide the upgrade list to determine a plurality of deployment lists (deployment lists), and the server may upgrade the internet of things device in the deployment list according to the plurality of deployment lists, so as to upgrade the internet of things device more quickly. The grouping rules may be location grouping rules, time grouping rules, etc. For example, one upgrade list includes the internet of things devices in city a and city b, which may be divided into one deployment list, and the internet of things device in city b into another deployment list, and upgrade the internet of things devices in each deployment list. The upgrade list may be understood as a flow sheet of one-time application version upgrade, and may also be referred to as a release sheet, where a batch of devices may be selected according to conditions, and information such as applications and versions to be deployed by the devices may be specified. The deployment list is obtained by splitting the equipment in the upgrade list, and the deployment flow corresponding to the upgrade list can be further divided into corresponding environments, scenes and the like for release, for example, in a logistics scene, the deployment list is released according to a warehouse when the deployment list is configured, after the nationwide AGVs are selected, the tin-free bin corresponds to one deployment list, wu Qingcang corresponds to one deployment list and the like.
As shown in fig. 2, in step 202, the server may determine a deployment rule for device upgrade, where the deployment rule includes version information and attribute screening conditions, and the server may screen devices according to the attribute screening conditions, and upgrade the screened devices according to the version information.
In an alternative embodiment of the present application, the deployment rule may be determined according to information entered by the user in the page. Specifically, the server receives a creation request and sends a rule creation page; and the server determines upgrading deployment rules of the equipment based on version information and attribute screening conditions input in the rule creation page. The user can input a software identifier and a software version identifier in the rule creation page to determine software information; attribute screening expressions may be entered in the rule creation page to determine attribute screening conditions. And the server side combines the software information and the attribute screening conditions to determine the deployment rule of the equipment upgrading. In an optional embodiment of the present application, the user may further input a grouping rule in the rule creation page, and the server may add the grouping rule to the deployment rule.
In another alternative embodiment of the present application, the server may determine the deployment rule according to the set version information and the attribute screening expression. Specifically, the server acquires set version information and an attribute screening expression, wherein the attribute screening expression is used for determining an attribute screening condition; and the server determines a deployment rule based on the version information and the attribute screening condition. In one example, a user may input version information and attribute screening expressions, and a server determines corresponding attribute screening conditions according to the attribute screening expressions, and then determines deployment rules in conjunction with the version information. The attribute screening expression may be bound to a device to upgrade a particular device. For example, for a target internet of things device, an attribute screening expression may be generated that contains a plurality of attributes of the target internet of things device. When upgrading the target physical network equipment, a plurality of attributes in the attribute screening expression are used as screening conditions, so that the target internet of things equipment can be screened out and upgraded.
After determining the deployment rule, in step 204, the server screens the device according to the attribute screening condition, and creates a corresponding upgrade list so as to upgrade the device in the upgrade list according to the version information, where the upgrade of the device is performed by a device agent (agent). Specifically, the attribute information of the internet of things device may be obtained from a configuration database, where the attribute information in the configuration database may be transmitted when the internet of things device is registered. After the attribute information of the Internet of things equipment is obtained, the server screens the Internet of things equipment according to the attribute screening conditions, and a corresponding upgrading list is created under the condition that the Internet of things equipment with the attribute information conforming to the attribute screening conditions exists. Under the condition that the internet of things equipment with the attribute information meeting the attribute screening conditions is inquired, a corresponding upgrading list can be temporarily not created.
For example, as shown in fig. 3, a deployment rule 1, a deployment rule 2 and a deployment rule 3 may be set at the server, where the deployment rule 1 is used for screening the automated guided vehicle, the deployment rule 2 is used for screening the scanning gun, and the deployment rule 3 is used for screening the selected cabinet. And the server screens the equipment with the attribute meeting the attribute screening condition according to the deployment rule 1, the deployment rule 2 and the deployment rule 3 so as to generate a corresponding upgrading list. And then the server side can send an upgrade instruction to the corresponding equipment according to the upgrade list. The device upgrades the software according to the upgrade instruction. Through deployment rules, equipment can be screened in batches, and equipment can be conveniently upgraded. The equipment can be deployed in different areas, such as the self-lifting cabinets are distributed in different cells of one city, the automatic guiding transport vehicles are distributed in sorting centers, warehouses and the like of different cities, and the scanning guns are distributed in the warehouses, the sorting centers, the distribution stations, the logistics distribution staff and the like, so that the equipment can be upgraded in batches.
In an optional embodiment of the present application, the deployment rule may further include a grouping rule, and the server may acquire the set grouping rule and add the grouping rule to the deployment rule, where the grouping rule is used to divide an upgrade list, and the upgrade list is determined by the attribute screening condition screening device. In an example, the user may further set a grouping rule in the deployment rule, and the server divides the upgrade list according to the grouping rule to obtain a plurality of deployment lists, and then upgrades the internet of things device in the deployment list to improve the upgrade speed of the internet of things device.
The grouping rule can be set according to a specific application scenario, for example, in an upgrading scenario of an internet of things device in the logistics field, the grouping rule can be grouping according to a logistics bin to which the logistics device belongs. Specifically, an attribute screening expression for screening the internet of things devices in the logistics warehouse can be determined, and the internet of things devices in the logistics warehouse are screened according to the attribute screening expression to determine an upgrade list. And then dividing the upgrading list according to the logistics bins of the Internet of things equipment in the upgrading list to generate a deployment list of the corresponding logistics bins. In addition, the grouping rule may be further subdivided, for example, the devices in the logistics warehouse may be divided according to the types of the devices, in one example, the devices in the logistics warehouse include a scanning gun and a self-lifting cabinet, attribute screening expressions of the scanning gun and the self-lifting cabinet corresponding to the target logistics warehouse may be respectively determined, then an upgrade list including the scanning gun and the self-lifting cabinet is determined according to the attribute screening expressions, and then a deployment list corresponding to the scanning gun and a deployment list of the self-lifting cabinet are generated according to the grouping rule.
The following describes a device upgrade method, which may be performed by a server, with reference to a specific embodiment, and specifically, as shown in fig. 4, the device upgrade method includes the following steps:
step 402, the server acquires the set attribute screening conditions and version information. The attribute screening conditions are used to screen the device and the version information is used to determine the software and software version of the screened device that needs to be upgraded.
Step 404, the server acquires the set grouping rule. And the server generates a deployment rule according to the set attribute screening conditions, version information and grouping rules.
Step 406, save deployment rules.
Step 408, determining whether there are devices that satisfy the deployment rule. And the device for screening attribute information accords with the attribute screening rule. In the case where there is a device that satisfies the deployment rule, steps 410 and 412 are performed; in the absence of a device satisfying the deployment rule, execution is ended.
Step 410, creating an upgrade list of devices screened based on deployment rules.
Step 412, dividing the upgrade list into a plurality of deployment lists according to the grouping rule. The server side can send an upgrade instruction comprising version information to the devices in the deployment list, and the devices in the deployment list can upgrade the devices according to the upgrade instruction.
According to the method and the device, the equipment meeting the attribute screening conditions can be screened out according to the attribute screening conditions in the deployment rule of equipment upgrading, and a corresponding upgrading list is created. Then dividing the upgrade list into a plurality of deployment lists according to the grouping rules, upgrading the equipment in the deployment list according to the version information in the deployment rules, and performing equipment upgrading through the equipment agent. According to the method and the device, the Internet of things equipment is screened according to the attribute screening conditions in the deployment rules, and the Internet of things equipment needing to be upgraded can be determined more simply and conveniently. For example, in a logistics scene, the upgrade list may include self-lifting cabinets of all cities in the country, and the self-lifting cabinets of different cities may be partitioned through the deployment list, so that upgrade deployment is performed according to the cities, and upgrade packages are also conveniently acquired by equipment in one city, for example, upgrade packages are acquired from closer edge nodes in combination with a distributed system.
In an optional embodiment of the present application, after the device is screened, the screened device may also correspond to other deployment rules, so before the corresponding upgrade list is created, deployment rule conflict detection may also be performed on the screened device to detect whether the device meets other deployment rules; under the condition of conflict of the deployment rules, the corresponding deployment rules are determined according to the effective time of the deployment rules. The priority of the deployment rules may be determined according to the validation time of the deployment rules, in one example, the deployment rules with the following validation time may be regarded as high priority deployment rules, and the deployment rules with the preceding validation time may be regarded as low priority deployment rules. Therefore, under the condition that one device corresponds to two or more deployment rules, deployment rule conflict is confirmed, and the deployment rules with later effective time are used as the corresponding deployment rules of the device, so that repeated upgrading of the device is avoided. In the case that one device corresponds to one deployment rule, the deployment rule is regarded as the corresponding deployment rule.
In an alternative embodiment of the present application, after determining the corresponding deployment rule of the device, the version information of the device may not be consistent with the version condition of the corresponding deployment rule, so the version of the device may be checked to detect whether the version of the device meets the version condition of the deployment rule. Specifically, the step of creating the corresponding upgrade list by the server according to the attribute screening condition screening device may include: screening equipment according to the attribute screening conditions; version detection is carried out on the screened equipment so as to detect whether the version information of the equipment accords with the version condition of the corresponding deployment rule; outputting an abnormality prompt to prompt the abnormality of the equipment under the condition that the version information of the equipment does not accord with the version condition; and adding the equipment to the upgrading list under the condition that the version information of the equipment meets the version condition. Detecting version information of the equipment according to version conditions of corresponding deployment rules to determine whether the version information of the equipment accords with the version conditions, and adding the equipment into an upgrade list under the condition that the version information of the equipment accords with the version conditions; and under the condition of no coincidence, outputting an abnormality prompt to prompt that the equipment is abnormal, and not upgrading the equipment.
Before creating the upgrade list, the server may perform version verification and deployment rule conflict detection on the screened device to prevent abnormal upgrade from occurring. The process of collision verification is described below in connection with a specific embodiment. Specifically, as shown in fig. 5, the device upgrade method may include the following steps:
step 502, the server acquires set attribute screening conditions and version information. The attribute screening conditions are used to screen the device and the version information is used to determine the software and software version of the screened device that needs to be upgraded.
Step 504, the server acquires the set grouping rule. And the server generates a deployment rule according to the set attribute screening conditions, version information and grouping rules.
Step 506, determining whether there is a device that satisfies the deployment rule. And the device for screening attribute information accords with the attribute screening rule. In the event that there is a device that satisfies the deployment rule, step 508 is performed; in the absence of a device satisfying the deployment rule, execution is ended.
And 508, performing conflict verification on the deployment rule. One device may hit two or more deployment rules, and there may be a conflict between the two or more deployment rules, for example, the two deployment rules may have different version conditions (one is version a and the other is version b), so that the effective time of the deployment rules may be used to determine the corresponding deployment rules of the device; and then checking the version information of the equipment with the version conditions of the corresponding deployment rules to determine whether the version information of the equipment conflicts with the version conditions of the corresponding deployment rules. And outputting an exception under the condition that the version information of the equipment does not accord with the version condition of the corresponding deployment rule. In case that the version information of the device meets the version condition of the corresponding deployment rule, steps 510 and 512 are performed. The deployment rule can be checked according to the equipment, and whether the equipment is abnormal or not can be checked, so that the problem of abnormal upgrading is prevented.
Step 510, adding the device to the upgrade list if the upgrade list exists; in the absence of an upgrade list, an upgrade list is created and the device is added to the upgrade list.
Step 512, dividing the upgrade list into a plurality of deployment lists according to the grouping rule. The server side can send an upgrade instruction comprising version information to the devices in the deployment list, and the devices in the deployment list can upgrade the devices according to the upgrade instruction.
In an optional embodiment of the present application, after the upgrade list is created, the server may send an upgrade instruction to the internet of things device in the upgrade list according to the upgrade list, where the upgrade instruction may include version information. After the equipment agent of the Internet of things equipment receives the upgrading instruction, outputting a corresponding upgrading request to acquire a software upgrading packet corresponding to the version information, and installing the software upgrading packet to finish upgrading of the Internet of things equipment.
In an optional embodiment of the present application, the server upgrades the screened internet of things device according to the upgrade list, which may result in slow upgrading speed of the internet of things device. In this embodiment of the present application, the server may divide the upgrade list according to the grouping rule, and determine a corresponding deployment list, so as to upgrade the device in the deployment list according to the version information. The server divides the upgrading list into a plurality of deployment lists according to the grouping rules, and upgrades the Internet of things equipment in the deployment lists respectively, so that the upgrading efficiency of the Internet of things equipment can be improved.
In an optional embodiment of the present application, after determining a deployment list, a server may upgrade an internet of things device in the deployment list according to the deployment list, and specifically, the server sends an upgrade instruction to the device in the deployment list, where the upgrade instruction includes version information; the method comprises the steps that a server receives an upgrading request sent by equipment; and sending a software upgrade package corresponding to the version information to the equipment. After receiving the upgrade instruction, the device agent of the internet of things device outputs an upgrade request, and the server returns a corresponding software upgrade package to the internet of things device according to the upgrade request. And the device agent of the Internet of things device performs software upgrading according to the software upgrading package.
After determining the deployment list, the user at the server may start upgrading by inputting an instruction, specifically, in an optional embodiment, the sending an upgrade instruction to the device in the deployment list specifically includes: and sending an upgrade instruction to the equipment in the corresponding deployment list according to the upgrade instruction of the user. The user of the server can select the corresponding time to upgrade. For example, the user may input an upgrade instruction to the server in a period of time when the physical network device is idle, so as to upgrade the internet of things device in the deployment list.
The user can control the equipment in the management range to upgrade, and the upgrade instruction is sent to the equipment in the corresponding deployment list according to the upgrade instruction of the user, which comprises the following steps: acquiring the authority level of the user; and sending an upgrade instruction to the equipment in the deployment list conforming to the authority level according to the upgrade instruction of the user. The server side can determine the authority level of the user according to the personal information of the user, determine a deployment list conforming to the authority level, and then send an upgrade instruction to the equipment in the deployment list conforming to the authority level so as to upgrade the equipment. In this case, the authority level may be related to the division of the area, for example, in the logistics field, the user having the authority to manage one logistics bin may be a first-level user, and the user having the authority to manage a plurality of logistics bins may be a second-level user. The first-level user can control the internet of things equipment in the logistics warehouse managed by the first-level user to be upgraded. The second-level user can control the internet of things equipment in the multiple logistics bins managed by the second-level user to be updated.
After determining the deployment list, the server may send a notification to the user corresponding to the deployment list to determine the upgrade opinion of the user corresponding to the deployment list, and in an optional embodiment, the sending an upgrade instruction to the device in the deployment list includes: sending an upgrade notification to a user corresponding to the deployment list; and under the condition that the feedback information of the user accords with a first feedback condition, sending an upgrading instruction to the equipment in the deployment list. After determining the deployment list, the server side sends an upgrade notification to the user corresponding to the deployment list to obtain feedback information of the user, where the feedback information of the user may be divided into two types, including: the first feedback information corresponds to the first feedback information agreeing to upgrade and the second feedback information corresponds to the second feedback information disagreeing to upgrade, wherein the first feedback information meets the first feedback condition, and the second feedback information meets the second feedback condition. And under the condition that the feedback information of the user accords with the first feedback condition, sending an upgrading instruction to the equipment in the deployment list so as to upgrade the equipment. For example, in the scenario of upgrading an internet of things device in the logistics field, the deployment list may be divided according to the logistics bins (grouping rules), and then the user corresponding to the deployment list may be an administrator of the logistics bins, one administrator may manage one logistics bin, and one administrator may also manage a plurality of logistics bins. After the deployment list is divided according to the logistics warehouse, the server may send an upgrade notification to the corresponding administrator to determine whether to upgrade. The server side can set different authorities for the administrator to determine the management relationship between the administrator and the logistics warehouse according to the authority information.
In an alternative embodiment, after sending the software upgrade package to the device, the server may also display upgrade status information corresponding to the device. The upgrade status information may include upgrade progress, and the upgrade status of the device may be determined by displaying the upgrade progress at the server. In addition, the server side can determine whether the equipment upgrade is abnormal according to the upgrade progress, and the server side can mark or upgrade the abnormal equipment again under the condition that the equipment upgrade is abnormal.
In an optional embodiment of the application, when a new internet of things device is connected to the internet, the existing mode is to install corresponding software for the internet of things device manually before the device is connected to the internet of things device, so that the operation is very troublesome. The server side in the embodiment of the application can receive registration information sent by the equipment through the equipment proxy, wherein the registration information comprises attribute information; and determining a compliant deployment rule based on the attribute information, wherein the compliant deployment rule comprises target version information, and the compliant deployment rule is used for upgrading the equipment according to the target version information. When new Internet of things equipment is accessed to the Internet, an equipment agent in the Internet of things equipment sends registration information to a server, the registration information contains attribute information, and the server executes operation corresponding to registration on the Internet of things equipment after receiving the registration information and stores the attribute information into a configuration database. And then the server monitors the new addition of the registration information and determines the deployment rule hit by the attribute information in the registration information. And deploying corresponding software for the Internet of things equipment by utilizing the deployment rule.
When new Internet of things equipment is connected to the network, the equipment agent of the Internet of things equipment can send the attribute information of the Internet of things equipment to the server, the server can determine hit deployment rules according to the attribute information, and the deployment rules are utilized to deploy software to the Internet of things equipment which is newly connected to the network, so that corresponding software is not required to be installed manually, and waste of manual resources is reduced.
In an optional embodiment of the present application, when determining a deployment rule that an internet of things device conforms to, one attribute information may hit two or more deployment rules, and a server may determine the deployment rule that conforms to through a priority of the deployment rule. Specifically, under the condition that at least two deployment rules are determined based on the attribute information, the server determines the deployment rules according to the effective time of the deployment rules. The priority of the deployment rules may be determined based on the validation time, in one example, the deployment rules with the validation time later may be regarded as high priority deployment rules, and the deployment rules with the validation time earlier may be regarded as low priority deployment rules. And determining the deployment rule which the attribute information accords with according to the order of the effective time.
In an alternative embodiment of the present application, the attribute information may include a device type and a device attribute. The method comprises the steps that an application and equipment types are bound in advance at a server side, so that the server side can determine associated software of the equipment according to the equipment types; and determining the conforming deployment rule from the validated deployment rules of the associated software according to the equipment attribute. The server side firstly determines associated software related to the equipment type according to the equipment type in the attribute information, then can determine the deployment rule of the associated software in the effective state, and determines the conforming deployment rule from the effective deployment rules by utilizing the equipment attribute. According to the method and the device, the software corresponding to the device can be screened out rapidly according to the device attribute, and the device attribute is utilized for screening, so that the deployment rule which is met by the attribute information can be determined more rapidly.
According to the method and the device, when the new Internet of things device is connected to the Internet, corresponding software can be deployed for the Internet of things device, and therefore manual resources can be saved. The process is described below in connection with a specific embodiment, and specifically, as shown in fig. 6, a method for upgrading a device may include the following steps:
Step 602, determining whether associated software related to the device type exists. The device agent of the internet of things device is used for registering after the internet of things device is started, collecting attribute information of the device and reporting the attribute information, and executing upgrading of the device. The attribute information collected by the device agent includes a device type and a device attribute. The device type is used to determine the associated software. The device attributes are used to determine deployment rules that the internet of things device conforms to.
The device type is bound to the associated software in a configuration database. For the internet of things equipment, functions completed by different internet of things equipment are different, software of the internet of things equipment is different, and one piece of software can be only installed in one type of internet of things equipment. Therefore, the association relation between the equipment type and the software can be preset in the configuration database, and when the equipment is registered, the association software related to the equipment of the type of the Internet of things can be determined according to the equipment type in the attribute information of the equipment. In the case where there is associated software, step 604 is performed; in the absence of associated software, execution ends.
Step 604, determining whether the associated software has valid deployment rules. One piece of software can have a plurality of deployment rules, and the deployment rules in an effective state, which are related to the related software, can be screened out. If there are valid deployment rules associated with the software, then step 606 is performed. If there is no valid deployment rule associated with the software, execution is terminated.
Step 606, determining whether the device attribute hits the validated deployment rule. And determining hit deployment rules according to the device attributes in the attribute information of the registered internet of things device. If the validated deployment rule is hit, then step 608 is performed; if the effective deployment rule is not hit, the execution is ended.
Step 608, determining whether a deployment list of newly-networked devices exists, and executing step 610 if the deployment list does not exist; in the case that a deployment list already exists, step 612 is performed.
Step 610, create a corresponding deployment list to deploy corresponding software to the device.
Step 612, condition the device into the deployment list to deploy the corresponding software to the device.
Step 614, modify the attribute information of the devices in the deployment list in the configuration database, and send an upgrade instruction to the devices in the deployment list. And the equipment agent of the Internet of things equipment receives the upgrading instruction and sends out an upgrading request to acquire a corresponding software installation package so as to deploy software.
In the embodiment of the application, for the newly-networked device, the attribute information of the device can be collected through the device proxy and added to the registration information to be reported to the server. The server monitors the new addition and the change of the registration information, determines the deployment rule corresponding to the equipment under the condition that the new addition of the equipment is monitored, and determines the deployment list containing the equipment so as to deploy the software to the equipment, so that the software can be automatically deployed to the newly-accessed equipment, and the labor resource is saved.
Referring to a specific embodiment, the device upgrade method is described below, and the device upgrade method may be performed by a server, as shown in fig. 7, where the server may include a deployment rule management component, a message middleware, a configuration database, a registration management component, and an internet of things device management component. The internet of things device may include a device proxy. Wherein the deployment rule management component is used for managing the deployment rule. The message middleware is used for storing the device registration message. The configuration database is used for managing attribute information of the device. The registration management component is used for registering the Internet of things equipment. The internet of things device management component is used for interacting with the internet of things device. The device agent is used for starting when the Internet of things device is started to send registration information, collect attribute information and report the attribute information, and upgrade the device according to an upgrade instruction.
Specifically, the method may comprise the steps of:
step 702, setting deployment rules. The upgrade service side may set attribute screening conditions, version information, and grouping rules through the device to determine deployment rules. The attribute screening conditions are used for screening out equipment to be upgraded; the version information is used for determining software and software versions to be upgraded; the grouping rules are used for grouping the screened devices for upgrading respectively. The upgrade service side can be a software provider, a third party software upgrade service provider and the like, and is specifically set according to requirements.
Step 704, the deployment rule management component of the server queries a device list meeting the deployment rule according to the deployment rule. The attribute information of the Internet of things equipment is stored in a configuration database, and the deployment rule management component sends query information to the configuration database so as to query a corresponding equipment list.
Step 706, the configuration database of the server returns the device list to the deployment rule management component.
Step 708, the deployment rule management component of the server creates a corresponding upgrade list according to the device list.
In step 710, the deployment rule management component of the server divides the upgrade list into a plurality of deployment lists according to the grouping rules in the deployment rules. The server may send an upgrade instruction to the devices in the deployment list to upgrade the devices.
According to the method and the device, the equipment meeting the attribute screening conditions can be screened out according to the attribute screening conditions in the deployment rule of equipment upgrading, and a corresponding upgrading list is created. According to the upgrade list, the equipment in the upgrade list can be upgraded according to the version information in the deployment rule, and the upgrade of the equipment is performed through the equipment agent. According to the method and the device, the Internet of things equipment is screened according to the attribute screening conditions in the deployment rules, and the Internet of things equipment to be upgraded can be determined more simply and conveniently.
The steps specifically introduce the processes of screening the equipment according to the deployment rules and upgrading the screened equipment. The embodiment of the application can also carry out software deployment on newly-accessed equipment, and the equipment upgrading method can further comprise the following steps:
step 712, the server-side device management component of the internet of things receives the registration information output by the device proxy of the internet of things device, where the registration information includes attribute information and registration data of the internet of things device, and the registration data is used for registering the device.
Step 714, the internet of things device management component of the server writes the attribute information into the configuration database.
Step 716, the configuration database of the server returns a writing result to the device management component of the internet of things.
Step 718, the device management component of the internet of things generates a device registration message according to the registration information of the device agent, and sends the device registration message to the message middleware. The device registration message is used to determine the new addition of the device.
Step 720, the device management component of the internet of things sends the registration data in the registration information to the registration management component. The registration management component registers the internet of things device according to the registration data.
In step 722, the registration management component sends registration result data to the device management of the internet of things. The registration result data may include a unique identification number of the internet of things device and a password for authentication.
Step 724, the internet of things device management component returns the registration result data to the device agent.
Step 726, the deployment rule management component monitors the message middleware for device registration messages. And performs steps 728 and 730 in the case where there is a new addition or change to the device registration message.
Step 728, the deployment rule management component determines the deployment rule corresponding to the newly added (or changed) device.
Step 730, the deployment rule management component generates a deployment list of effects according to the deployment rules. The server may send an upgrade instruction to the devices in the deployment list to upgrade the devices.
In the embodiment of the application, for the newly-networked device, the attribute information of the device can be collected through the device proxy and added to the registration information to be reported to the server. The server monitors the new addition and the change of the registration information, determines the deployment rule corresponding to the equipment under the condition that the new addition of the equipment is monitored, and determines the deployment list containing the equipment so as to deploy the software to the equipment, so that the software can be automatically deployed to the newly-accessed equipment, and the labor resource is saved.
On the basis of the above embodiment, the present application further provides a device upgrade method, which may be applied to a server, as shown in fig. 8, where the method includes:
Step 802, acquiring set version information and an attribute screening expression, wherein the attribute screening expression is used for determining an attribute screening condition.
Step 804, determining the deployment rule based on the version information and the attribute screening condition. The method can also obtain a set grouping rule, and add the grouping rule into a deployment rule, wherein the grouping rule is used for dividing an upgrade list, and the upgrade list is determined by the attribute screening condition screening device.
Step 806, screening the device according to the attribute screening conditions.
Step 808, performing deployment rule conflict detection on the screened device to detect whether the device meets other deployment rules.
Step 810, under the condition that the deployment rules conflict, determining the corresponding deployment rules according to the effective time of the deployment rules.
Step 812, performing version detection on the screened device to detect whether the version information of the device meets the version condition of the corresponding deployment rule.
Step 814, outputting an abnormality prompt to prompt the abnormality of the device if the version information of the device does not meet the version condition.
Step 816, adding the device to the upgrade list in case the version information of the device meets the version condition.
Step 818, dividing the upgrade list according to the grouping rule, and determining a corresponding deployment list so as to upgrade the devices in the deployment list according to the version information.
Step 820, an upgrade instruction is sent to the devices in the deployment list, where the upgrade instruction includes version information.
Step 822, receiving an upgrade request sent by the device.
Step 824, a software upgrade package corresponding to the version information is sent to the device.
According to the method and the device, the equipment meeting the attribute screening conditions can be screened out according to the attribute screening conditions in the deployment rule of equipment upgrading, and a corresponding upgrading list is created. According to the upgrade list, the equipment in the upgrade list can be upgraded according to the version information in the deployment rule, and the upgrade of the equipment is performed through the equipment agent. According to the method and the device, the Internet of things equipment is screened according to the attribute screening conditions in the deployment rules, and the Internet of things equipment needing to be upgraded can be determined more simply and conveniently.
In addition, the embodiment of the application can also deploy software to newly-networked equipment. Specifically, the device upgrade method may further include:
receiving registration information sent by equipment through an equipment agent, wherein the registration information comprises attribute information; the attribute information includes a device type and a device attribute; determining associated software of the equipment according to the equipment type; and determining the conforming deployment rule from the validated deployment rules of the associated software according to the equipment attribute. The conforming deployment rules include target version information, and the conforming deployment rules are used for upgrading the device according to the target version information.
In the embodiment of the application, for the newly-networked device, the attribute information of the device can be collected through the device proxy and added to the registration information to be reported to the server. The server monitors the new addition and the change of the registration information, determines the deployment rule corresponding to the equipment under the condition that the new addition of the equipment is monitored, and determines the deployment list containing the equipment so as to deploy the software to the equipment, so that the software can be automatically deployed to the newly-accessed equipment, and the labor resource is saved.
On the basis of the above embodiment, the present application further provides an apparatus upgrade method, which can be applied to an apparatus side to complete software upgrade of the apparatus side, and specifically, as shown in fig. 9, the method includes:
step 902, receiving, by the device agent, an upgrade instruction, where the upgrade instruction includes version information.
Step 904, outputting a corresponding upgrade request.
Step 906, receiving a software upgrade package corresponding to the version information, so as to upgrade.
In the embodiment of the application, the device agent receives the upgrade instruction of the server side, and sends an upgrade request to the server side according to the upgrade instruction so as to obtain a software upgrade package corresponding to the version information, and the device agent upgrades the corresponding software according to the software upgrade package.
On the basis of the above embodiment, the present application further provides an apparatus upgrade method, which can be applied to an apparatus side to complete software deployment during registration of the apparatus side, and specifically, as shown in fig. 10, the method includes:
step 1002, sending registration information through a device agent, where the registration information includes attribute information, and the attribute information is used to determine a corresponding target deployment rule, and the target deployment rule includes target version information.
Step 1004, receiving an upgrade instruction, where the upgrade instruction includes target version information.
Step 1006, outputting a corresponding upgrade request to obtain a corresponding software package for deployment.
In the embodiment of the application, when the internet of things equipment is newly connected to the internet, the equipment agent collects equipment types and equipment attributes of the equipment and adds the equipment types and the equipment attributes as attribute information to the registration information, the equipment agent sends the registration information to the server, the server can determine target deployment rules corresponding to the attribute information of the equipment according to the attribute information, and the server determines software and software versions to be installed by the equipment according to the deployment rules. And then the server side sends an upgrade instruction to the equipment, and the equipment agent of the equipment sends an upgrade request to the server side according to the upgrade instruction so as to acquire a software package corresponding to the version information, and upgrades the corresponding software according to the software package. When the device is registered, the method and the device can deploy corresponding software for the device according to the deployment rule.
On the basis of the foregoing embodiment, the present application further provides a device upgrade method, which may be executed by a user side to complete creation of a deployment rule, and specifically, as shown in fig. 11, the method includes:
step 1102, a creation request is sent, and a corresponding rule creation page is received.
Step 1104, obtaining input information input in a rule creation page, wherein the input information comprises version information and attribute screening conditions, the attribute screening conditions are used for screening equipment, and the version information is used for determining an upgrade version of the equipment.
Step 1106, input information is sent to determine deployment rules for upgrading the device.
In the embodiment of the application, the user can send the creation request through the user terminal and receive the corresponding rule creation page. The user may enter version information and attribute screening conditions in the rule creation page and send them to the server to determine the deployment rule. The server side can upgrade and deploy the software of the equipment conforming to the deployment rule according to the deployment rule.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments and that the acts referred to are not necessarily required by the embodiments of the present application.
On the basis of the above embodiment, the present embodiment further provides an apparatus upgrade device, and referring to fig. 12, the apparatus upgrade device may specifically include the following modules:
a deployment rule determining module 1202, configured to determine a deployment rule for device upgrade, where the deployment rule includes version information and attribute screening conditions;
and the upgrade list determining module 1204 is configured to filter the devices according to the attribute screening conditions, and create a corresponding upgrade list so as to upgrade the devices in the upgrade list according to the version information, where the upgrade of the devices is performed by the device agent.
In summary, in the embodiment of the present application, according to the attribute screening conditions in the deployment rule of the device upgrade, the device meeting the attribute screening conditions can be screened out, and a corresponding upgrade list is created. According to the upgrade list, the equipment in the upgrade list can be upgraded according to the version information in the deployment rule, and the upgrade of the equipment is performed through the equipment agent. According to the method and the device, the Internet of things equipment is screened according to the attribute screening conditions in the deployment rules, and the Internet of things equipment to be upgraded can be determined more simply and conveniently.
On the basis of the above embodiment, this embodiment further provides an apparatus upgrade device, which may specifically include the following modules:
The attribute setting module is used for acquiring the set version information and the attribute screening expression, and the attribute screening expression is used for determining the attribute screening condition.
And the deployment rule generation module is used for determining the deployment rule based on the version information and the attribute screening condition. The method can also obtain a set grouping rule, and add the grouping rule into a deployment rule, wherein the grouping rule is used for dividing an upgrade list, and the upgrade list is determined by the attribute screening condition screening device.
And the device screening module is used for screening the device according to the attribute screening conditions.
And the conflict detection module is used for carrying out deployment rule conflict detection on the screened equipment so as to detect whether the equipment accords with other deployment rules.
The deployment rule selection module is used for determining the corresponding deployment rule according to the effective time of the deployment rule under the condition that the deployment rules conflict.
And the version verification module is used for carrying out version detection on the screened equipment so as to detect whether the version information of the equipment accords with the version condition of the corresponding deployment rule.
The abnormality prompting module is used for outputting an abnormality prompt to prompt the abnormality of the equipment under the condition that the version information of the equipment does not accord with the version condition.
And the upgrade list generation module is used for adding the equipment to the upgrade list under the condition that the version information of the equipment meets the version condition.
The deployment list dividing module is used for dividing the upgrade list according to the grouping rule and determining a corresponding deployment list so as to upgrade the equipment in the deployment list according to the version information.
The upgrade instruction output module is used for sending an upgrade instruction to the equipment in the deployment list, wherein the upgrade instruction comprises version information.
And the upgrade request receiving module is used for receiving the upgrade request sent by the equipment.
And the software upgrading package output module is used for sending the software upgrading package corresponding to the version information to the equipment.
And the upgrade state display module is used for displaying the upgrade state information corresponding to the equipment.
According to the method and the device, the equipment meeting the attribute screening conditions can be screened out according to the attribute screening conditions in the deployment rule of equipment upgrading, and a corresponding upgrading list is created. According to the upgrade list, the equipment in the upgrade list can be upgraded according to the version information in the deployment rule, and the upgrade of the equipment is performed through the equipment agent. According to the method and the device, the Internet of things equipment is screened according to the attribute screening conditions in the deployment rules, and the Internet of things equipment needing to be upgraded can be determined more simply and conveniently.
Optionally, as an embodiment, the upgrade instruction output module includes:
the upgrade instruction receiving submodule is used for sending an upgrade instruction to the equipment in the corresponding deployment list according to the upgrade instruction of the user.
Optionally, as an embodiment, the upgrade instruction receiving submodule includes:
and the permission level acquisition sub-module is used for acquiring the permission level of the user.
And the upgrade instruction sending sub-module is used for sending an upgrade instruction to the equipment in the deployment list conforming to the authority level according to the upgrade instruction of the user.
Optionally, as an embodiment, the upgrade instruction output module includes:
and sending upgrading notification to the user corresponding to the deployment list.
And under the condition that the feedback information of the user accords with a first feedback condition, sending an upgrading instruction to the equipment in the deployment list.
In addition, the embodiment of the application can also deploy software to newly-networked equipment. Specifically, the device upgrading apparatus may further include:
the registration information receiving module is used for receiving registration information sent by the equipment through the equipment proxy, wherein the registration information comprises attribute information; the attribute information includes a device type and a device attribute.
And the associated software determining module is used for determining associated software of the equipment according to the equipment type.
And the association rule determining module is used for determining the conforming deployment rule from the effective deployment rules of the association software according to the equipment attribute. The conforming deployment rules include target version information, and the conforming deployment rules are used for upgrading the device according to the target version information.
In the embodiment of the application, for the newly-networked device, the attribute information of the device can be collected through the device proxy and added to the registration information to be reported to the server. The server monitors the new addition and the change of the registration information, determines the deployment rule corresponding to the equipment under the condition that the new addition of the equipment is monitored, and determines the deployment list containing the equipment so as to deploy the software to the equipment, so that the software can be automatically deployed to the newly-accessed equipment, and the labor resource is saved.
On the basis of the above embodiment, this embodiment further provides an apparatus upgrade device, and referring to fig. 13, the apparatus may specifically include the following modules:
a request output module 1302, configured to send a creation request and receive a corresponding rule creation page;
an input information obtaining module 1304, configured to obtain input information input on the rule creation page, where the input information includes version information and attribute filtering conditions, where the attribute filtering conditions are used for filtering equipment, and the version information is used for determining an upgraded version of the equipment;
And the input information output module 1306 is configured to send the input information to determine a deployment rule, where the deployment rule is used to upgrade the device.
In summary, in the embodiment of the present application, a user may send a creation request and receive a corresponding rule creation page. The user may enter version information and attribute screening conditions in the rule creation page and send them to the server to determine the deployment rule. The server side can upgrade and deploy the software of the equipment conforming to the deployment rule according to the deployment rule.
On the basis of the above embodiment, the present embodiment further provides an apparatus upgrade device, and referring to fig. 14, the apparatus may specifically include the following modules:
a registration information output module 1402, configured to send registration information through a device agent, where the registration information includes attribute information, the attribute information is used to determine a corresponding target deployment rule, and the target deployment rule includes target version information;
an upgrade instruction receiving module 1404 configured to receive an upgrade instruction, where the upgrade instruction includes the target version information;
the software package obtaining module 1406 is configured to output a corresponding upgrade request to obtain a corresponding software package for deployment.
In summary, in the embodiment of the present application, when a device newly accesses the network, the device proxy acquires a device type and a device attribute of the device, and adds the device type and the device attribute as attribute information to the registration information, where the device proxy sends the registration information to the server, and the server can determine, according to the attribute information, a target deployment rule corresponding to the attribute information of the device, and determine, according to the deployment rule, software and a software version that need to be installed by the device. And then the server side sends an upgrade instruction to the equipment, and the equipment agent of the equipment sends an upgrade request to the server side according to the upgrade instruction so as to acquire a software package corresponding to the version information, and upgrades the corresponding software according to the software package. When the device is registered, the method and the device can deploy corresponding software for the device according to the deployment rule.
On the basis of the above embodiment, the present embodiment further provides an apparatus upgrade device, and referring to fig. 15, the apparatus upgrade device may specifically include the following modules:
an instruction receiving module 1502, configured to receive, by an equipment agent, an upgrade instruction, where the upgrade instruction includes version information;
a software upgrade package request module 1504, configured to output a corresponding upgrade request;
the software upgrade package receiving module 1506 is configured to receive a software upgrade package corresponding to the version information, so as to perform an upgrade.
In summary, in the embodiment of the application, an upgrade instruction of a server is received through an equipment proxy, and an upgrade request is sent to the server according to the upgrade instruction, so as to obtain a software upgrade package corresponding to version information, and the equipment proxy upgrades corresponding software according to the software upgrade package.
The embodiment of the application also provides a non-volatile readable storage medium, where one or more modules (programs) are stored, where the one or more modules are applied to a device, and the device may be caused to execute instructions (instractions) of each method step in the embodiment of the application.
Embodiments of the present application provide one or more machine-readable media having instructions stored thereon that, when executed by one or more processors, cause an electronic device to perform a method as described in one or more of the above embodiments. In this embodiment of the present application, the electronic device includes a server, a terminal device, and other devices.
Embodiments of the present disclosure may be implemented as an apparatus for performing a desired configuration using any suitable hardware, firmware, software, or any combination thereof, which may include a server (cluster), terminal, or the like. Fig. 16 schematically illustrates an example apparatus 1600 that may be used to implement various embodiments described herein.
For one embodiment, fig. 16 illustrates an example apparatus 1600 having one or more processors 1602, a control module (chipset) 1604 coupled to at least one of the processor(s) 1602, a memory 1606 coupled to the control module 1604, a non-volatile memory (NVM)/storage device 1608 coupled to the control module 1604, one or more input/output devices 1610 coupled to the control module 1604, and a network interface 1612 coupled to the control module 1604.
The processor 1602 may include one or more single-or multi-core processors, and the processor 1602 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the apparatus 1600 can be used as a server, a terminal, or the like in the embodiments of the present application.
In some embodiments, apparatus 1600 can include one or more computer-readable media (e.g., memory 1606 or NVM/storage 1608) having instructions 1614 and one or more processors 1602 combined with the one or more computer-readable media configured to execute instructions 1614 to implement modules to perform actions described in this disclosure.
For one embodiment, the control module 1604 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 1602 and/or any suitable device or component in communication with the control module 1604.
The control module 1604 may include a memory controller module to provide an interface to the memory 1606. The memory controller modules may be hardware modules, software modules, and/or firmware modules.
Memory 1606 may be used to load and store data and/or instructions 1614 for device 1600, for example. For one embodiment, memory 1606 may include any suitable volatile memory, such as, for example, a suitable DRAM. In some embodiments, memory 1606 may comprise double data rate type four synchronous dynamic random access memory (DDR 4 SDRAM).
For one embodiment, the control module 1604 may include one or more input/output controllers to provide an interface to the NVM/storage device 1608 and the input/output device(s) 1610.
For example, NVM/storage 1608 may be used to store data and/or instructions 1614. NVM/storage 1608 may include any suitable nonvolatile memory (e.g., flash memory) and/or may include any suitable nonvolatile storage(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 1608 may include a storage resource as part of the device on which apparatus 1600 is installed, or it may be accessible by the device without necessarily being part of the device. For example, NVM/storage 1608 may be accessed over a network via input/output device(s) 1610.
Input/output device(s) 1610 may provide an interface for apparatus 1600 to communicate with any other suitable device, and input/output device 1610 may include communication components, audio components, sensor components, etc. The network interface 1612 may provide an interface for the device 1600 to communicate over one or more networks, and the device 1600 may communicate wirelessly with one or more components of a wireless network in accordance with any of one or more wireless network standards and/or protocols, such as accessing a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof.
For one embodiment, at least one of the processor(s) 1602 may be packaged together with logic of one or more controllers (e.g., memory controller modules) of the control module 1604. For one embodiment, at least one of the processor(s) 1602 may be packaged together with logic of one or more controllers of the control module 1604 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 1602 may be integrated on the same mold as logic of one or more controllers of the control module 1604. For one embodiment, at least one of the processor(s) 1602 may be integrated on the same die as logic of one or more controllers of the control module 1604 to form a system on chip (SoC).
In various embodiments, apparatus 1600 may be, but is not limited to being: a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.), among other terminal devices. In various embodiments, device 1600 may have more or fewer components and/or different architectures. For example, in some embodiments, device 1600 includes one or more cameras, keyboards, liquid Crystal Display (LCD) screens (including touch screen displays), non-volatile memory ports, multiple antennas, graphics chips, application Specific Integrated Circuits (ASICs), and speakers.
The detection device can adopt a main control chip as a processor or a control module, sensor data, position information and the like are stored in a memory or an NVM/storage device, a sensor group can be used as an input/output device, and a communication interface can comprise a network interface.
The embodiment of the application also provides electronic equipment, which comprises: a processor; and a memory having executable code stored thereon that, when executed, causes the processor to perform a method as described in one or more of the embodiments herein.
Embodiments also provide one or more machine-readable media having executable code stored thereon that, when executed, cause a processor to perform a method as described in one or more of the embodiments of the present application.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present embodiments have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the present application.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing has described in detail a device upgrade method, a device upgrade apparatus, an electronic device, and a storage medium, to which specific examples are applied to illustrate principles and embodiments of the present application, where the foregoing examples are provided to assist in understanding the method and core idea of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (28)

1. A method for upgrading a device, said method comprising:
determining deployment rules of equipment upgrading, wherein the deployment rules comprise grouping rules, version information and attribute screening conditions, the attribute screening conditions comprise equipment attribute conditions, and the equipment attribute conditions comprise registration time screening conditions and installation place screening conditions;
screening equipment according to the attribute screening conditions;
performing deployment rule conflict detection on the screened equipment to detect whether the equipment accords with other deployment rules;
under the condition of conflict of deployment rules, determining corresponding deployment rules according to the effective time of the deployment rules;
creating a corresponding upgrading list based on the screened equipment so as to upgrade the equipment in the upgrading list in batches according to the version information, wherein the upgrading of the equipment is executed through an equipment agent;
dividing the upgrading list according to the grouping rule, and determining a corresponding deployment list so as to upgrade the equipment in the deployment list according to the version information.
2. The method of claim 1, wherein said screening the condition screening device for the attributes to create a corresponding upgrade list comprises:
Screening equipment according to the attribute screening conditions;
version detection is carried out on the screened equipment so as to detect whether the version information of the equipment accords with the version condition of the corresponding deployment rule;
outputting an abnormality prompt to prompt the abnormality of the equipment under the condition that the version information of the equipment does not accord with the version condition;
and adding the equipment to the upgrading list under the condition that the version information of the equipment meets the version condition.
3. The method as recited in claim 1, further comprising: the method further comprises the steps of:
sending an upgrade instruction to equipment in the deployment list, wherein the upgrade instruction comprises version information;
receiving an upgrade request sent by equipment;
and sending a software upgrading packet corresponding to the version information to the equipment.
4. The method of claim 3, wherein the sending an upgrade instruction to the devices in the deployment list comprises:
and sending an upgrade instruction to the equipment in the corresponding deployment list according to the upgrade instruction of the user.
5. The method of claim 4, wherein the sending an upgrade instruction to the devices in the corresponding deployment list according to the upgrade instruction of the user comprises:
Acquiring the authority level of the user;
and sending an upgrade instruction to the equipment in the deployment list conforming to the authority level according to the upgrade instruction of the user.
6. The method of claim 3, wherein the sending an upgrade instruction to the devices in the deployment list comprises:
sending an upgrade notification to a user corresponding to the deployment list;
and under the condition that the feedback information of the user accords with a first feedback condition, sending an upgrading instruction to the equipment in the deployment list.
7. A method according to claim 3, further comprising:
and displaying the upgrading state information corresponding to the equipment.
8. The method of claim 1, wherein the determining deployment rules for device upgrades comprises:
receiving a creation request and sending a rule creation page;
and determining the deployment rule of the equipment upgrading based on the version information and the attribute screening conditions input in the rule creation page.
9. The method of claim 1, wherein the determining deployment rules for device upgrades comprises:
acquiring set version information and attribute screening expressions, wherein the attribute screening expressions are used for determining attribute screening conditions;
And determining a deployment rule based on the version information and the attribute screening conditions.
10. The method as recited in claim 9, further comprising:
and acquiring a set grouping rule, and adding the grouping rule into a deployment rule, wherein the grouping rule is used for dividing an upgrade list, and the upgrade list is determined by the attribute screening condition screening equipment.
11. The method as recited in claim 1, further comprising:
receiving registration information sent by equipment through an equipment agent, wherein the registration information comprises attribute information;
and determining a conforming deployment rule based on the attribute information, wherein the conforming deployment rule comprises target version information, and the conforming deployment rule is used for upgrading the equipment according to the target version information.
12. The method of claim 11, wherein the determining, based on the attribute information, a compliant deployment rule comprises:
and under the condition that at least two deployment rules are determined based on the attribute information, determining the conforming deployment rules according to the effective time of the deployment rules.
13. The method of claim 11, wherein the attribute information includes a device type and a device attribute;
The determining, based on the attribute information, a compliant deployment rule includes:
determining associated software of the equipment according to the equipment type;
and determining the conforming deployment rule from the validated deployment rules of the associated software according to the equipment attribute.
14. A method of upgrading a device, comprising:
sending a creation request and receiving a corresponding rule creation page;
acquiring input information input in the rule creation page, wherein the input information comprises grouping rules, version information and attribute screening conditions, the attribute screening conditions are used for screening equipment, the version information is used for determining an upgrade version of the equipment, the attribute screening conditions comprise equipment attribute conditions, and the equipment attribute conditions comprise registration time screening conditions and installation place screening conditions;
the input information is sent to determine a deployment rule, the deployment rule is used for upgrading equipment, after screening equipment based on the attribute screening condition of the deployment rule, deployment rule conflict detection is carried out on the screened equipment to detect whether the equipment accords with other deployment rules, under the condition that the deployment rules conflict, corresponding deployment rules are determined according to effective time of the deployment rules, a corresponding upgrading list is created based on the screened equipment so as to upgrade the equipment in the upgrading list in batches according to the version information, the upgrading of the equipment is carried out through an equipment agent, the upgrading list is divided according to the grouping rule, and the corresponding deployment list is determined so as to upgrade the equipment in the deployment list according to the version information.
15. A method of upgrading a device, comprising:
the method comprises the steps that registration information is sent through a device agent, the registration information comprises attribute information, the attribute information is used for determining corresponding target deployment rules, the target deployment rules comprise grouping rules, target version information and attribute screening conditions, the attribute screening conditions comprise device attribute conditions, the device attribute conditions comprise registration time screening conditions and installation place screening conditions, after the device is screened based on the attribute screening conditions of the deployment rules, deployment rule conflict detection is conducted on the screened device to detect whether the device accords with other deployment rules, under the condition that the deployment rules conflict, corresponding deployment rules are determined according to effective time of the deployment rules, a corresponding upgrading list is created based on the screened device so as to conduct batch upgrading on the device in the upgrading list according to the version information, upgrading of the device is conducted through the device agent, the upgrading list is divided according to the grouping rules, and the corresponding deployment list is determined so as to upgrade the device in the deployment list according to the version information;
Receiving an upgrade instruction, wherein the upgrade instruction comprises the target version information;
and outputting a corresponding upgrading request to acquire a corresponding software package for deployment.
16. A method of upgrading a device, comprising:
receiving an upgrade instruction through a device proxy, wherein the upgrade instruction comprises version information, the upgrade instruction is sent to devices in an upgrade list, the upgrade list screens the devices according to attribute screening conditions, the attribute screening conditions comprise device attribute conditions, the device attribute conditions comprise registration time screening conditions and installation place screening conditions, deployment rule conflict detection is carried out on the screened devices after the device is screened according to the attribute screening conditions of deployment rules so as to detect whether the devices conform to other deployment rules, under the condition that the deployment rules conflict, corresponding deployment rules are determined according to the effective time of the deployment rules, a corresponding upgrade list is created based on the screened devices so as to upgrade the devices in the upgrade list in batches according to the version information, the upgrade of the devices is executed through the device proxy, the upgrade list is divided according to the grouping rules, and the corresponding deployment list is determined so as to upgrade the devices in the deployment list according to the version information;
Outputting a corresponding upgrading request;
and receiving a software upgrading packet corresponding to the version information so as to upgrade.
17. A device upgrade apparatus, the apparatus comprising:
the device comprises a deployment rule determining module, a configuration rule updating module and a configuration rule updating module, wherein the deployment rule is used for determining deployment rules of equipment upgrading, the deployment rules comprise grouping rules, version information and attribute screening conditions, the attribute screening conditions comprise equipment attribute conditions, and the equipment attribute conditions comprise registration time screening conditions and installation place screening conditions;
the upgrade list determining module is used for screening the condition screening equipment according to the attribute; performing deployment rule conflict detection on the screened equipment to detect whether the equipment accords with other deployment rules; under the condition of conflict of deployment rules, determining corresponding deployment rules according to the effective time of the deployment rules; based on the screened equipment, creating a corresponding upgrading list so as to upgrade the equipment in the upgrading list in batches according to the version information, wherein the upgrading of the equipment is executed through an equipment agent; dividing the upgrading list according to the grouping rule, and determining a corresponding deployment list so as to upgrade the equipment in the deployment list according to the version information.
18. A device upgrade apparatus, the apparatus comprising:
the request output module is used for sending a creation request and receiving a corresponding rule creation page;
an input information acquisition module, configured to acquire input information input in the rule creation page, where the input information includes a grouping rule, version information, and attribute screening conditions, where the attribute screening conditions are used for screening devices, the version information is used for determining an upgrade version of the devices, the attribute screening conditions include device attribute conditions, and the device attribute conditions include a registration time screening condition and an installation place screening condition;
the device comprises an input information output module, a device agent, a device management module and a device management module, wherein the input information output module is used for sending the input information to determine a deployment rule, the deployment rule is used for upgrading the device, after screening the device based on the attribute screening condition of the deployment rule, the screened device is subjected to deployment rule conflict detection to detect whether the device accords with other deployment rules, under the condition that the deployment rules conflict, the corresponding deployment rule is determined according to the effective time of the deployment rule, a corresponding upgrading list is created based on the screened device so as to upgrade the device in the upgrading list in batches according to the version information, the upgrading of the device is executed through the device agent, the upgrading list is divided according to the grouping rule, and the corresponding deployment list is determined so as to upgrade the device in the deployment list according to the version information.
19. A device upgrade apparatus, the apparatus comprising:
the system comprises a registration information output module, a device agent and a device agent, wherein the registration information comprises attribute information, a target deployment rule comprises grouping rules, target version information and attribute screening conditions, the attribute screening conditions comprise device attribute conditions, the device attribute conditions comprise registration time screening conditions and installation place screening conditions, the attribute information is used for determining corresponding target deployment rules, after the device is screened based on the attribute screening conditions of the deployment rules, deployment rule conflict detection is carried out on the screened device so as to detect whether the device accords with other deployment rules, under the condition that the deployment rules conflict, the corresponding deployment rules are determined according to the effective time of the deployment rules, a corresponding upgrading list is created based on the screened device so as to carry out batch upgrading on the device in the upgrading list according to the version information, the upgrading of the device is carried out by the device agent according to the grouping rules, and the corresponding deployment list is determined so as to upgrade the device in the deployment list according to the version information;
The upgrade instruction receiving module is used for receiving an upgrade instruction, and the upgrade instruction comprises the target version information;
and the software package acquisition module is used for outputting a corresponding upgrading request to acquire a corresponding software package for deployment.
20. A device upgrade apparatus, the apparatus comprising:
the device comprises an instruction receiving module, a device agent and a device agent, wherein the upgrade instruction comprises version information, the upgrade instruction is sent to devices in an upgrade list, the upgrade list screens the devices according to attribute screening conditions, the attribute screening conditions comprise device attribute conditions, the device attribute conditions comprise registration time screening conditions and installation place screening conditions, after the devices are screened based on the attribute screening conditions of the deployment rules, deployment rule conflict detection is carried out on the screened devices to detect whether the devices accord with other deployment rules, under the condition that the deployment rules conflict, corresponding deployment rules are determined according to the effective time of the deployment rules, a corresponding upgrade list is created based on the screened devices so as to carry out batch upgrade on the devices in the upgrade list according to the version information, the upgrade of the devices is executed by the device agent, the upgrade list is divided according to the grouping rules, and the corresponding deployment list is determined so as to upgrade the devices in the deployment list according to the version information;
The software upgrade package request module is used for outputting a corresponding upgrade request;
and the software upgrade package receiving module is used for receiving the software upgrade package corresponding to the version information so as to upgrade.
21. An electronic device, comprising: a processor; and
memory having executable code stored thereon that, when executed, causes the processor to perform the method of one or more of claims 1-13.
22. One or more machine readable media having executable code stored thereon that, when executed, causes a processor to perform the method of one or more of claims 1-13.
23. An electronic device, comprising: a processor; and
a memory having executable code stored thereon that, when executed, causes the processor to perform the method of claim 14.
24. One or more machine readable media having executable code stored thereon that, when executed, causes a processor to perform the method of claim 14.
25. An electronic device, comprising: a processor; and
A memory having executable code stored thereon that, when executed, causes the processor to perform the method of claim 15.
26. One or more machine readable media having executable code stored thereon that, when executed, causes a processor to perform the method of claim 15.
27. An electronic device, comprising: a processor; and
a memory having executable code stored thereon that, when executed, causes the processor to perform the method of claim 16.
28. One or more machine readable media having executable code stored thereon that, when executed, causes a processor to perform the method of claim 16.
CN202010556080.4A 2020-06-17 2020-06-17 Device upgrading method and device, electronic device and storage medium Active CN113805909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010556080.4A CN113805909B (en) 2020-06-17 2020-06-17 Device upgrading method and device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010556080.4A CN113805909B (en) 2020-06-17 2020-06-17 Device upgrading method and device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN113805909A CN113805909A (en) 2021-12-17
CN113805909B true CN113805909B (en) 2024-04-16

Family

ID=78892720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010556080.4A Active CN113805909B (en) 2020-06-17 2020-06-17 Device upgrading method and device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113805909B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197723A (en) * 2008-01-03 2008-06-11 中兴通讯股份有限公司 Network management intermediate part
US7487183B1 (en) * 2008-04-03 2009-02-03 International Business Machines Corporation Grouped filter rules for workflow application update notifications
CN105049502A (en) * 2015-06-30 2015-11-11 杭州华三通信技术有限公司 Method of upgrading equipment software in cloud network management system and device
CN105579994A (en) * 2013-07-11 2016-05-11 纽拉公司 Interoperability mechanisms for Internet of Things integration platform
CN106990948A (en) * 2016-10-14 2017-07-28 深圳大宇无限科技有限公司 Application upgrade treating method and apparatus
CN107018008A (en) * 2017-02-15 2017-08-04 金钱猫科技股份有限公司 A kind of upgrade method and system of EOC device softwares version
CA2970362A1 (en) * 2016-06-15 2017-12-15 Abl Ip Holding Llc Mesh over-the-air (ota) luminaire firmware update
WO2019010761A1 (en) * 2017-07-12 2019-01-17 西安中兴新软件有限责任公司 Upgrade method, apparatus and system for internet of things terminal, terminal and storage medium
CN109885624A (en) * 2019-01-23 2019-06-14 金蝶软件(中国)有限公司 Data processing method, device, computer equipment and storage medium
CN110134420A (en) * 2019-05-22 2019-08-16 上海诺雅克电气有限公司 Firmware upgrade method and system based on cloud platform
CN110365502A (en) * 2018-03-26 2019-10-22 华为技术有限公司 A kind of method, apparatus and storage medium of service upgrade management

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009217656A (en) * 2008-03-12 2009-09-24 Hitachi Ltd Software update system in information apparatus
US8671099B2 (en) * 2011-12-28 2014-03-11 International Business Machines Corporation Clustering devices in an internet of things (‘IoT’)
US10187217B1 (en) * 2017-07-11 2019-01-22 Oracle International Corporation Methods, systems, and computer readable media for efficient mapping of rule precedence values and filter priority values

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197723A (en) * 2008-01-03 2008-06-11 中兴通讯股份有限公司 Network management intermediate part
US7487183B1 (en) * 2008-04-03 2009-02-03 International Business Machines Corporation Grouped filter rules for workflow application update notifications
CN105579994A (en) * 2013-07-11 2016-05-11 纽拉公司 Interoperability mechanisms for Internet of Things integration platform
CN105049502A (en) * 2015-06-30 2015-11-11 杭州华三通信技术有限公司 Method of upgrading equipment software in cloud network management system and device
CA2970362A1 (en) * 2016-06-15 2017-12-15 Abl Ip Holding Llc Mesh over-the-air (ota) luminaire firmware update
CN106990948A (en) * 2016-10-14 2017-07-28 深圳大宇无限科技有限公司 Application upgrade treating method and apparatus
CN107018008A (en) * 2017-02-15 2017-08-04 金钱猫科技股份有限公司 A kind of upgrade method and system of EOC device softwares version
WO2019010761A1 (en) * 2017-07-12 2019-01-17 西安中兴新软件有限责任公司 Upgrade method, apparatus and system for internet of things terminal, terminal and storage medium
CN110365502A (en) * 2018-03-26 2019-10-22 华为技术有限公司 A kind of method, apparatus and storage medium of service upgrade management
CN109885624A (en) * 2019-01-23 2019-06-14 金蝶软件(中国)有限公司 Data processing method, device, computer equipment and storage medium
CN110134420A (en) * 2019-05-22 2019-08-16 上海诺雅克电气有限公司 Firmware upgrade method and system based on cloud platform

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
Aymen Boudguiga等.Towards Better Availability and Accountability for IoT Updates by Means of a Blockchain.《2017 IEEE European Symposium on Security and Privacy Workshops (EuroS&PW)》.2017,第50-58页. *
Chris Rhodes 等.Managing Windows Updates with Intune.《Windows Installation and Update Troubleshooting》.167–184. *
Linux设备驱动程序自动更新的研究与实现;任艳艳;《中国优秀硕士学位论文全文数据库(信息科技辑)》;20180615(第06期);I138-978 *
修梅婷等.家庭开放平台终端管理设计方案研究.《电信技术》.2015,(第8期),第82-89页. *
基于机组通讯网络的多联机设备批量程序升级系统设计与实现;张光旭等;《日用电器》;20191231(第12期);47-50 *
家庭开放平台终端管理设计方案研究;修梅婷等;《电信技术》;20150831(第08期);82-89 *

Also Published As

Publication number Publication date
CN113805909A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN107608689B (en) Method and device for updating application program on client and electronic equipment
US11323850B2 (en) Vehicle-to-everything communication solution
KR20200080234A (en) Choosing code modules for device design
CN107580040B (en) Method and device for upgrading communication module in intelligent household terminal
US20230384750A1 (en) Efficient controller data generation and extraction
CN113094087A (en) Software configuration method, electronic device and storage medium
CN113791766B (en) Method for combining data interfaces, electronic device and readable storage medium
CN112968793B (en) Equipment upgrading method, device, equipment and storage medium based on Internet of things
CN116560721B (en) Vehicle diagnosis system, method and electronic equipment
CN113805909B (en) Device upgrading method and device, electronic device and storage medium
CN110569046A (en) Data processing method, device, equipment and storage medium
CN112788153B (en) Internet of things equipment upgrading management method, device, equipment and storage medium
CN115269050A (en) Multi-map calling method and device, storage medium and computer equipment
CN110286907B (en) Display method and device of public button assembly
WO2016206437A1 (en) Rom package generation method and device
CN112084247A (en) Method and device for extending application program service
CN112328288A (en) Method, system, equipment and storage medium for updating server component
CN111324374A (en) Application program registration method and device based on application performance management system
CN112579189A (en) Configuration file updating method and device
TWI785723B (en) Data management method of industrial networks, electronic device, and storage medium
CN112968792B (en) Method and device for controlling upgrading of equipment of Internet of things
CN117956019A (en) Data processing method, device, equipment and storage medium
CN115374413A (en) Service resource matching method and device, electronic equipment and storage medium
CN116089437A (en) Data processing method and server
CN116302082A (en) Version control automatic base changing method, device, equipment and medium

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