CN115118774B - Equipment updating method and device, electronic equipment and storage medium - Google Patents

Equipment updating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115118774B
CN115118774B CN202210792749.9A CN202210792749A CN115118774B CN 115118774 B CN115118774 B CN 115118774B CN 202210792749 A CN202210792749 A CN 202210792749A CN 115118774 B CN115118774 B CN 115118774B
Authority
CN
China
Prior art keywords
candidate
update
target
preset
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210792749.9A
Other languages
Chinese (zh)
Other versions
CN115118774A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202210792749.9A priority Critical patent/CN115118774B/en
Publication of CN115118774A publication Critical patent/CN115118774A/en
Application granted granted Critical
Publication of CN115118774B publication Critical patent/CN115118774B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a device updating method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a plurality of candidate update files for pushing to a target account; determining the update priority corresponding to each candidate update file according to the user attention relationship corresponding to the target account and the candidate equipment type corresponding to each candidate update file; according to all the update priorities, determining a target update file with the highest update priority from a plurality of candidate update files; and pushing the target update file to a target client logged in with the target account. According to the method and the device for updating the target account, the problem that in the related technology, when a large number of related files needing to be updated exist in the devices related to the target account, a user cannot quickly find out the device with the highest attention, the device with the highest attention is in a state to be updated for a long time, and therefore the working efficiency of the user is affected, and the updating cannot meet the user requirements is solved.

Description

Equipment updating method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data distribution technologies, and in particular, to a device update method and apparatus, an electronic device, and a storage medium.
Background
With the rise of smart home, more and more smart home devices are appearing in the production and life of people.
At present, most of equipment updating files are issued to an upper computer system through an Internet of things system, all the equipment updating files are required to be pushed to all upper computer system users, the users update equipment firmware, analysis protocols and the like, when a large number of related files needing to be updated exist in equipment associated with a target account, the data size of the updating files is too large, resources are occupied in the transmission process, and the users cannot pay attention to the equipment in the working range.
Aiming at a plurality of technical problems that the user cannot pay attention to equipment in the working range because the data volume of the updated file is too large in the related technology, an effective solution is not provided at present.
Disclosure of Invention
In order to solve the technical problem that the user cannot pay attention to equipment in the working range due to the fact that the data volume of the updated file is too large, the application provides an equipment updating method and device, electronic equipment and a storage medium.
In a first aspect, an embodiment of the present application provides a device update method, including:
acquiring a plurality of candidate update files for pushing to a target account, wherein the candidate update files are used for performing software update on equipment of candidate equipment types associated to the target account, and each candidate update file has a corresponding candidate equipment type;
Determining an update priority corresponding to each candidate update file according to a user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file, wherein the user attention relationship is used for indicating the attention degree of a user of the target account to devices of each candidate device type;
determining a target update file with the highest update priority from the plurality of candidate update files according to all the update priorities, wherein the update priority of the target update file is higher than the update priority of any one of the candidate update files except the target update file;
pushing the target update file to a target client logged in with the target account.
Optionally, before the obtaining the plurality of candidate update files for pushing to the target account, the method further includes:
acquiring a plurality of appointed update files;
and determining a plurality of candidate update files for pushing to the target account in all the designated update files according to the designated device type corresponding to each designated update file and all preset device types corresponding to the target account, wherein the preset device types are device types of at least one device in all devices associated with the target account, and the candidate device types exist in all the designated device types and all the preset device types at the same time.
Optionally, in the foregoing method, before determining the update priority corresponding to each candidate update file according to the user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file, the method further includes:
determining a preset user attention corresponding to each preset equipment type according to the history interaction information corresponding to each preset equipment type, wherein the preset equipment type is the equipment type of at least one equipment in all equipment associated with the target account, and for any preset equipment type, the history interaction information corresponding to the preset equipment type is used for indicating the number of times that all equipment of the preset equipment type associated with the target account is subjected to preset interaction operation;
and determining the user attention relationship according to the preset user attention corresponding to each preset equipment type.
Optionally, in the foregoing method, the determining, according to the historical interaction information corresponding to each preset device type, a preset user attention corresponding to each preset device type includes:
Determining the number of preset interfaces with preset equipment type identifiers corresponding to the preset equipment types based on the historical interaction information, wherein each preset equipment type has a unique corresponding preset equipment type identifier, and the preset interfaces are used for interaction between the target client and equipment of the preset equipment type;
determining the sub-interaction times of the preset equipment type identifier in each preset interface based on the historical interaction information;
and determining the preset user attention corresponding to the preset equipment type based on the number of the preset interfaces, the sub-interaction times and the preset weight corresponding to the preset equipment type.
Optionally, as in the foregoing method, after the pushing the target update file to the target client logged in with the target account, the method further includes:
acquiring feedback information;
when the feedback information indicates that the target update file is successfully issued to target equipment of a target equipment type corresponding to the target update file and is associated with the target client, generating issuing success information;
And when the feedback information indicates that the target update file is not issued to the target equipment of the target equipment type, generating issuing failure information, and pushing the target update file to the target client again.
Optionally, in the foregoing method, the determining, according to a user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file, an update priority corresponding to each candidate update file includes:
inquiring candidate user attention corresponding to each candidate equipment type in the user attention relation;
and sorting the candidate update files according to the size relation among the candidate user attention and the candidate device type corresponding to each candidate update file to obtain update priorities corresponding to each candidate update file, wherein for any one candidate update file, the update priorities corresponding to the candidate update file are positively related to the candidate user attention of the candidate update file.
Optionally, before determining the preset user attention corresponding to each preset device type according to the historical interaction information corresponding to each preset device type, the method further includes:
Acquiring client identification information of the target client and equipment information of each equipment associated with the target client;
classifying each interaction record according to the equipment information to obtain historical interaction information corresponding to each piece of equipment information, wherein the interaction records are used for recording interaction between the target client and any piece of equipment associated with the target client, and for any piece of historical interaction information, the equipment type of the equipment corresponding to any piece of interaction record in the historical interaction information is the same as the equipment type indicated by the equipment information corresponding to the historical interaction information;
and associating all the historical interaction information with the client identification information and storing the same.
In a second aspect, an embodiment of the present application provides an apparatus update device, including:
the device comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring a plurality of candidate update files which are used for being pushed to a target account, wherein the candidate update files are used for carrying out software update on equipment of candidate equipment types associated to the target account, and each candidate update file is provided with the corresponding candidate equipment type;
The first determining module is used for determining the update priority corresponding to each candidate update file according to the user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file, wherein the user attention relationship is used for indicating the attention degree of the user of the target account to the devices of the candidate device types;
a second determining module, configured to determine, according to all the update priorities, a target update file with a highest update priority from among the plurality of candidate update files, where the update priority of the target update file is higher than the update priority of any one of the candidate update files except the target update file;
and the pushing module is used for pushing the target update file to a target client logged in with the target account.
In a third aspect, an embodiment of the present application provides an electronic device, including: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
The memory is used for storing a computer program;
the processor is configured to implement a method as claimed in any one of the preceding claims when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, the storage medium comprising a stored program, wherein the program when run performs a method according to any one of the preceding claims.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, the mode of determining the update priority corresponding to each candidate update file according to the user attention relation corresponding to the target account and the candidate device type corresponding to each candidate update file is adopted, so that the target update file pushed to the target client is the highest in user attention among all candidate update files, further, the update pushing time can be more accurate, the user time can be saved, the user work efficiency can be improved, and further, the problem that in the related technology, when a large number of related files needing to be updated exist in the devices associated with the target account, the user cannot quickly find out the device with the highest attention, the device with the highest attention is in a state to be updated for a long time, and further, the work efficiency of the user is influenced, and the update cannot meet the user requirement can be solved; meanwhile, the situation that the data volume of the updated file is too large and more resources are occupied in the transmission process caused by pushing all the updated files at the same time can be effectively overcome.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic flow chart of a device update method according to an embodiment of the present application;
fig. 2 is a flow chart of a device updating method according to another embodiment of the present application;
fig. 3 is a schematic flow chart of a device update method according to an embodiment of the present application;
fig. 4 is a block diagram of an apparatus update device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
According to an aspect of an embodiment of the present application, there is provided a device update method. Alternatively, in the present embodiment, the above-described device updating method may be applied to a hardware environment constituted by a terminal and a server. The server is connected with the terminal through a network, can be used for providing services (such as advertisement push service, application service and the like) for the terminal or a client installed on the terminal, and can be used for providing data storage service for the server by setting a database on the server or independent of the server.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI (Wireless Fidelity ), bluetooth. The terminal may not be limited to a PC, a mobile phone, a tablet computer, or the like.
The device updating method of the embodiment of the application can be executed by a server, a terminal or both. The device updating method performed by the terminal according to the embodiment of the present application may also be performed by a client installed thereon.
Taking a server for executing the device update method in this embodiment as an example, fig. 1 is a device update method provided in an embodiment of the present application, including the following steps:
step S101, a plurality of candidate update files for pushing to the target account are obtained, where the candidate update files are used for performing software update on devices of candidate device types associated to the target account, and each candidate update file has a corresponding candidate device type.
The device updating method in the embodiment can be applied to a scene in which the intelligent home device needs to be updated through an update file in the internet of things system, and is also applicable to other types of scenes under the condition of no contradiction.
Taking a scenario that the internet of things system needs to update the intelligent home equipment under a plurality of accounts as an example, a plurality of candidate update files which need to be pushed to the target account can be determined first.
As an alternative embodiment, as in the foregoing method, before obtaining the plurality of candidate update files for pushing to the target account, the method further includes the steps of:
step S201, a plurality of specified update files are acquired.
Step S202, determining a plurality of candidate update files for pushing to the target account in all the specified update files according to the specified device types corresponding to each specified update file and all preset device types corresponding to the target account, wherein the preset device types are device types of at least one device in all devices associated with the target account, and the candidate device types exist in all the specified device types and all the preset device types at the same time.
The designated update file may be all files updated through the internet of things system. The specified update file may be uploaded to the internet of things system by a person concerned. Typically, each designated update file is used to update one or more devices of a device type.
After the plurality of designated update files are acquired, since the target account may not be included in the device of the device type corresponding to each designated update file, all preset device types corresponding to the target account are required, and candidate update files required by the target account are determined from all designated update files.
The specified device type may be a device type specifying a device for which the update file is to be updated. And, typically, each designated update file is used to update one or more devices of a designated device type.
After determining the designated device type and the preset device type, determining the candidate device type by determining an intersection between the designated device type and the preset device type, and further determining a candidate update file corresponding to the candidate device type from all designated update files. For example, identification information corresponding to each device type may be preset, and then identification information of all designated device types and identification information of all preset device types may be compared, and candidate device types may be determined based on the same identification information, so as to obtain candidate update files.
Step S102, determining the update priority corresponding to each candidate update file according to the user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file, wherein the user attention relationship is used for indicating the attention degree of the user of the target account to the devices of each candidate device type.
After all the candidate update files corresponding to the target account are obtained, the candidate update files can be pushed to the target account.
Before pushing, the device with high user attention of the target account is updated. Therefore, the user attention relationship corresponding to the target account number can be acquired.
The user attention relationship may include a user attention corresponding to each device type. For example, when the target account number is associated with: when the intelligent camera, the intelligent sound box and the intelligent air conditioner are used; and the user attention corresponding to the intelligent camera is 100, the user attention corresponding to the intelligent sound box is 50, and the user attention corresponding to the intelligent air conditioner is 30, and under the condition that the higher the value of the user attention is, the higher the attention degree is indicated, the ranking of the update priorities can be determined as follows: intelligent camera > intelligent sound box > intelligent air conditioner.
And step S103, determining a target update file with the highest update priority from the plurality of candidate update files according to all the update priorities, wherein the update priority of the target update file is higher than the update priority of any one candidate update file except the target update file from all the candidate update files.
After all the update priorities are determined, the candidate update file with the highest update priority can be determined, and the candidate update file with the highest update priority is determined as the target update file. That is, the user attention of the candidate device type corresponding to the target update file is higher than the user attention of the candidate device type corresponding to any one of the candidate update files other than the target update file among all the candidate update files.
Step S104, pushing the target update file to the target client logged in with the target account.
After the target update file is determined, the target update file can be pushed to the target client logged in with the target account. For example, a message for reminding the user to update the target update file may be pushed to the target client first, and after the user confirms that the update needs to be performed and feeds back the information for confirming the update, the target update file is pushed to the target client, so that the user may update all devices of the candidate device types corresponding to the target update file based on the target update file of the target client in a later period.
According to the method, the mode of determining the update priority corresponding to each candidate update file according to the user attention relation corresponding to the target account and the candidate device type corresponding to each candidate update file is adopted, so that the target update file pushed to the target client is the highest in user attention among all candidate update files, further, the update pushing time can be more accurate, the user time is saved, the user work efficiency is improved, and further, the problem that in the related technology, when a large number of related files needing to be updated exist in the devices associated with the target account, the user cannot quickly find out the device with the highest attention, the device with the highest attention is in a state to be updated for a long time, and further, the work efficiency of the user is affected, and the user requirement cannot be met due to the update is solved. Meanwhile, the situation that the data volume of the updated file is too large and more resources are occupied in the transmission process caused by pushing all the updated files at the same time can be effectively overcome.
As an optional embodiment, as in the foregoing method, before the step S103 determines, according to the user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file, the update priority corresponding to each candidate update file, the method further includes the following steps:
Step S301, determining a preset user attention corresponding to each preset device type according to the historical interaction information corresponding to each preset device type, wherein the preset device type is the device type of at least one device in all devices associated with the target account, and for any preset device type, the historical interaction information corresponding to the preset device type is used for indicating the number of times that all devices of the preset device type associated with the target account are executed with preset interaction operations;
step S302, determining a user attention relationship according to the preset user attention corresponding to each preset equipment type.
In order to determine the relationship of the user attention, the relationship is needed to be obtained based on the analysis of the historical information corresponding to the target account.
Historical interaction information corresponding to each preset device type may be determined, and each preset device type may have unique corresponding historical interaction information.
The preset device type may be at least one device type of all devices associated with the target account, for example, all devices associated with the target account include: when the device 1, the device 2, the device 3 and the device 4 are the intelligent air conditioner, the intelligent camera is used for the device 1 and the device 2 and the device 3, and the intelligent access control is used for the device 4, the preset device types can include: intelligent air conditioner, intelligent camera and intelligent access control.
And the types of preset interactive operations in the history interactive information corresponding to each preset device type include, but are not limited to: view data, data add, data modify, data delete, etc.
Thus, for the history interaction information corresponding to any one of the preset device types, the history interaction information may be recorded information of the user performing the preset interaction operation on at least one device of the preset device type before the current time.
And when the user checks data and increases, modifies and deletes the data with higher frequency on one or more devices of a certain preset device type, the operation tendency of the user on the device of the preset device type is reflected to be higher.
After determining the preset user attention corresponding to each preset equipment type, the user attention relationship can be obtained based on the corresponding relationship between the preset user attention corresponding to the preset equipment types. Alternatively, the user attention relationship may be characterized by multiple groups (preset device type identifier, user attention), where the preset device type identifier may be identification information for uniquely indicating the corresponding preset device type, and may be a name or a number, etc. For example, the user attention relationship in one alternative example may be: (intelligent air conditioner, 2), (intelligent camera, 20), (intelligent entrance guard, 15).
By the method in the embodiment, an implementation manner for determining the user attention relationship based on the historical interaction information is provided, and a reference basis can be provided for determining the update priority corresponding to each candidate update file in the later period.
As shown in fig. 2, as an alternative embodiment, the step S301 of determining the preset user attention corresponding to each preset device type according to the history interaction information corresponding to each preset device type as the foregoing method includes the following steps:
step S401, determining, based on the historical interaction information, the number of preset interfaces having preset device type identifiers corresponding to preset device types, where each preset device type has a unique corresponding preset device type identifier, and the preset interfaces are used for interaction between the target client and the devices of the preset device types.
In general, the target client needs to interact with devices associated with the target client, and needs to perform interaction operations such as data addition, deletion, modification, and viewing with an upper computer system (the upper computer system can acquire data uploaded by each device) through each interface. And, different types of interactions may be performed through different interfaces.
Therefore, for any preset equipment type, in the interaction process, the preset equipment type identifier corresponding to the preset equipment type is carried by the interaction information, so that the number of preset interfaces with the preset equipment type identifier can be determined in each interface.
Step S402, determining the sub-interaction times of the preset equipment type identifier in each preset interface based on the history interaction information.
After all preset interfaces corresponding to the preset equipment type identifiers are determined, the sub-interaction times of the target client and the equipment of the preset equipment type through each preset interface can be obtained by counting the times of occurrence of the preset equipment type identifiers in each preset interface recorded in the history interaction information.
Step S403, determining a preset user attention corresponding to the preset equipment type based on the number of the preset interfaces, the number of sub-interactions and the preset weight corresponding to the preset equipment type.
And obtaining the number of the preset interfaces, the number of sub-interactions and the preset weight corresponding to the preset equipment type, and obtaining the preset user attention corresponding to the preset equipment type.
For example, the influence degree of each preset interface i on the push priority, i.e. the preset weight Wi. The specific input and output are as follows: if the preset device type t appears in n interfaces for the target account number a, the preset device type t accessed by the target account number a, the total number of sub-interactions appearing in the parameters of the preset interface i is Fti, the weights Wi for determining the push priority of the interface i are multiplied, and then the results of the n preset interfaces are accumulated, so that the preset user attention Lt of the target account number a to the preset device type t is obtained, namely, the preset user attention Lt is calculated as shown in the following formula:
By the method in the embodiment, the user attention corresponding to each preset equipment type can be quickly calculated.
As an alternative embodiment, as the foregoing method, after the step S104 pushes the target update file to the target client logged in with the target account, the method further includes the following steps:
step S501, obtaining feedback information;
step S502, when the feedback information indicates that the target update file is successfully issued to the target device of the target device type corresponding to the target update file and associated with the target client, generating issuing success information;
in step S503, when the feedback information indicates that the target update file is not issued to the target device of the target device type, issue failure information is generated, and the target update file is pushed to the target client again.
After pushing the update file to the target client logged in with the target account, the target client can perform software update on the device associated with the target client. And obtains feedback information, which may be information indicating whether to issue the target update file to the target device.
The feedback information can be generated by the target client by judging whether the local target device is updated successfully or not, or can be generated by the target device itself by judging whether the local target device is updated successfully or not.
The target device may be a device associated with the target client and having a device type that is the target device type.
When the feedback information indicates that the target update file is successfully issued to the target equipment, generating issuing success information;
and when the feedback information indicates that the target update file is not issued to the target equipment, generating issuing failure information, and pushing the target update file to the target client again.
For example, after receiving the target update file, the upper computer system user (i.e., the target client) feeds back to the internet of things system whether the target update file is successfully delivered to the feedback information of the corresponding target device, and meanwhile, the delivery success information or the delivery failure information obtained based on the feedback information can be displayed on the internet of things system, so that the internet of things system user can see the result of delivering the file (delivery success or failure) on the internet of things system, and if the delivery failure occurs, the target update file can be delivered again manually or automatically.
By the method in the embodiment, whether the target update file is successfully issued can be judged based on the feedback information, and when the feedback information indicates that the target update file is not issued to the target device of the target device type, the target update file can be pushed to the target client again so as to ensure that the target device can complete software update.
As an optional embodiment, as the foregoing method, the step S102 determines the update priority corresponding to each candidate update file according to the user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file, and includes the following steps:
step S601, inquiring candidate user attention corresponding to each candidate equipment type in the user attention relation.
After the user attention relationship is obtained, the user attention corresponding to each preset equipment type exists in the user attention relationship; therefore, the user attention corresponding to each candidate device type can be queried.
For example, candidate device type identifications for each candidate device type may be determined and then characterized by multiple sets (preset device type identifications, user attention) as a result of the user attention relationship. For example, the user attention relationship in one alternative example may be: (intelligent air conditioner, 2), (intelligent camera, 20), (intelligent entrance guard, 15). When the candidate device type identifier 1 corresponding to the candidate device type is an intelligent camera and the candidate device type identifier 2 is an intelligent entrance guard, the candidate user attention degree matched to the candidate device type 1 in the user attention degree relation is 20, and the candidate user attention degree of the candidate device type 2 is 15.
Step S602, sorting the candidate update files according to the size relation among the candidate user interests and the candidate device types corresponding to the candidate update files to obtain the update priorities corresponding to the candidate update files, wherein for any one candidate update file, the update priorities corresponding to the candidate update files are positively related to the candidate user interests of the candidate update file.
After obtaining the candidate user attention corresponding to each candidate device type, the candidate device types corresponding to each candidate update file can be ranked according to the size relation among the candidate user attention. And the update priority corresponding to the candidate update file is being correlated to the candidate user attention of the candidate update file.
For example, when the candidate user attention degree matching to the candidate device type 1 in the user attention degree relationship is 20, the candidate user attention degree of the candidate device type 2 is 15, the candidate update file of the candidate device type 1 is G1, and the candidate update file of the candidate device type 2 is G2, the candidate device types corresponding to each candidate update file according to the size relationship between the candidate user attention degrees may be obtained after sorting the candidate update files: G1-G2; therefore, the update priority corresponding to each candidate update file can be obtained, and the higher the user attention corresponding to the candidate update file is, the higher the update priority of the candidate update file is. So the update priority of G1 is higher than the update priority of G2.
By the method in the embodiment, the update priority corresponding to each candidate update file can be rapidly determined, so as to provide a reference basis for determining the target update file in the later period.
As an alternative embodiment, as the foregoing method, before the step S301 determines, according to the historical interaction information corresponding to each preset device type, a preset user attention corresponding to each preset device type, the method further includes the following steps:
step S701, acquiring the client identification information of the target client and the device information of each device associated with the target client.
Step S702, classifying each interaction record according to the device information to obtain historical interaction information corresponding to each device information, wherein the interaction records are used for recording interactions between a target client and any device associated with the target client, and for any historical interaction information, the device type of the device corresponding to any interaction record in the historical interaction information is the same as the device type indicated by the device information corresponding to the historical interaction information;
in step S703, all the history interaction information is associated with the client identification information and stored.
After the upper computer at the user side installs the target client, the ip, port number and mac address information of the upper computer can be obtained as client identification information and uploaded to the internet of things system.
Meanwhile, the device information of each device associated with the target client can be acquired, and the device information can include, but is not limited to, device basic information such as device name, device type, asset number, factory number, management state and the like.
After the device information and the interaction records are acquired, each interaction record can be classified according to the device information, so that historical interaction information corresponding to each device information is obtained.
The device types of different interaction records in the same historical interaction information are the same. That is, when the device type corresponding to the history interaction information is a, the device type corresponding to any one of the interaction records is a, and the device type of the device corresponding to the interaction record is the device type of the device interacted with by the target client. For example, when the target client interacts with the intelligent air conditioner 1 to generate an interaction record I, the device type corresponding to the interaction record I is the intelligent air conditioner.
After determining all the historical interaction information, all the historical interaction information can be associated with the client identification information and stored, so that the equipment focused by the user of the target client can be analyzed in the later period.
By the method in the embodiment, the interaction records can be classified according to the equipment information to obtain each history interaction information, and each history interaction information is associated with the client identification information, so that the user attention relationship corresponding to the target client user can be obtained through later analysis.
As shown in fig. 3, an application example is provided in which any of the foregoing embodiments is applied: the system architecture diagram and the related explanation flow provided by the application are as follows:
101: establishing connection between the Internet of things system and an upper computer system, wherein a user can download a client program to the upper computer of a local end in the Internet of things system, the upper computer obtains a target client after installing the client program, and the target client obtains ip, port number and mac address information of the upper computer as client identification information and transmits the client identification information to the Internet of things system;
102: synchronizing user data: after connection is established, the internet of things system and equipment account information (namely, equipment information) on the upper computer system are synchronized; the equipment account information comprises equipment basic information such as equipment names, equipment models, asset numbers, factory numbers, management states and the like. After the equipment information is synchronized, the upper computer system can collect data measured by equipment related to the target client, such as voltage, current and other information, and display the information on the Internet of things system; after synchronization, the internet of things system can send the device update file to the upper computer system according to the device type of the device.
103: the collection of parameters and frequencies communicated as the device-related interfaces interact (collecting historical operations of the host computer system user (i.e., the user of the target account number) on devices of different device types). The user can interact with the browser by clicking a mouse on the target client (namely, one of preset interaction operations), the request parameters carried by the interface contain the degree of concern of the user on a certain type of equipment and the operation tendency of the user on the equipment, when the user calls the interface, the interface parameters or the equipment information (such as equipment specification model, equipment name and the like) in the request body and the statistics of the equipment specification model number are synchronously collected to obtain historical data, and the historical data is written into a database for maintenance.
104: historical data is written to a database. The database maintains the relation between the upper computer user and the interface call record, the relation between the user and the equipment specification model and the number of times of appearance of the equipment specification model at each interface, and the relation between the user and the push priority (namely, user attention) of the equipment type, wherein the relation between the upper computer user and the interface call record, the relation between the user and the equipment specification model and the number of times of appearance of the equipment specification model at each interface are historical interaction information, and the relation between the push priority of the equipment type is user attention relation.
105: calculating the file push priority of the device through a push priority calculation model: the method comprises the steps of using a calculation rule model as a push priority calculation model, and using data in a database to calculate push file priorities of equipment models interacted by a user history of each upper computer system, wherein the model maintains the influence degree of each preset interface i on the push priorities, namely a preset weight Wi. The specific input and output are as follows: if the preset device type t appears in n interfaces for the target account a, the preset device type t accessed by the target account a, the total number of sub-interactions appearing in the parameters of the preset interface i is Fti, and the weights Wi of the interface i for determining the push priority are multiplied as shown in the following formula:
and accumulating the results of the n interfaces to obtain a push priority value Lt of the user A to the equipment model t, writing the push priority value Lt into a database, and maintaining the relation between the push priority values of the user and the equipment model.
106: the internet of things system obtains push priorities (namely, user attention relationships) when equipment is updated, and automatically pushes equipment files to an upper computer system user on an upper computer system based on the push priorities: when the related file of a certain equipment specification model is updated, the internet of things system issues the file to the upper computer system, and the upper computer system receives push data, at the moment, the equipment specification model is searched and compared with a push priority value of the equipment specification model written in the database in step 105, and the push priority value (namely, user attention) of the equipment specification model for the current upper computer system user is inquired. And pushing the information of the related files of the equipment to a target client with higher attention according to the priority value, and downloading the files by a user to upgrade the firmware of the equipment, upgrade the analysis protocol and update the algorithm model.
107: after the upper computer system user receives the file, a message for indicating whether the file is successfully issued is returned to the Internet of things system file, the Internet of things system user can see the result (successful or failed issuing) of the file issuing in the Internet of things system, and if the issuing fails, the file issuing can be manually performed again. And moreover, the user of the Internet of things system can view information such as the connection state of the equipment in the upper computer system, and the Internet of things system can be used for the user to view and manage the equipment associated with the user account.
The internet of things system is connected with the upper computer system to synchronize equipment data, historical interaction behavior data of the upper computer system user and the equipment data are counted and stored in corresponding databases, pushing priority is continuously adjusted through a calculation model, and relevant files of the equipment are accurately pushed from the internet of things system to users with high attention to certain specification type equipment on the upper computer system, so that user time is saved, and user work efficiency is improved.
As shown in fig. 4, according to an embodiment of another aspect of the present application, there is also provided a device updating apparatus, including:
the device comprises an acquisition module 1, a storage module and a storage module, wherein the acquisition module is used for acquiring a plurality of candidate update files for pushing to a target account, wherein the candidate update files are used for carrying out software update on equipment of candidate equipment types associated to the target account, and each candidate update file has a corresponding candidate equipment type;
The first determining module 2 is configured to determine, according to a user attention relationship corresponding to the target account and a candidate device type corresponding to each candidate update file, an update priority corresponding to each candidate update file, where the user attention relationship is used to indicate an attention degree of a user of the target account to devices of each candidate device type;
a second determining module 3, configured to determine, according to all update priorities, a target update file with a highest update priority from among a plurality of candidate update files, where the update priority of the target update file is higher than the update priority of any one candidate update file other than the target update file among all candidate update files;
and the pushing module 4 is used for pushing the target update file to the target client logged in with the target account.
In particular, the specific process of implementing the functions of each module in the apparatus of the embodiment of the present application may be referred to the related description in the method embodiment, which is not repeated herein.
According to another embodiment of the present application, there is also provided an electronic apparatus including: as shown in fig. 5, the electronic device may include: the device comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 are in communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to execute the program stored in the memory 1503, thereby implementing the steps of the method embodiment described above.
The buses mentioned for the above electronic devices may be peripheral component interconnect standard (Peripheral Component Interconnect, PCI) buses or extended industry standard architecture (Extended Industry Standard Architecture, EISA) buses, etc. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
The embodiment of the application also provides a computer readable storage medium, wherein the storage medium comprises a stored program, and the program executes the method steps of the method embodiment.
It should be noted that in this document, 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 apparatus 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 apparatus. 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 apparatus that comprises the element.
The foregoing is only a specific embodiment of the application to enable those skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A method of device update, comprising:
acquiring a plurality of candidate update files for pushing to a target account, wherein the candidate update files are used for performing software update on equipment of candidate equipment types associated to the target account, and each candidate update file has a corresponding candidate equipment type;
determining an update priority corresponding to each candidate update file according to a user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file, wherein the user attention relationship is used for indicating the attention degree of a user of the target account to devices of each candidate device type;
determining a target update file with the highest update priority from the plurality of candidate update files according to all the update priorities, wherein the update priority of the target update file is higher than the update priority of any one of the candidate update files except the target update file;
pushing the target update file to a target client side logged in with the target account;
Before determining the update priority corresponding to each candidate update file according to the user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file, the method further comprises: determining a preset user attention corresponding to each preset equipment type according to the history interaction information corresponding to each preset equipment type, wherein the preset equipment type is the equipment type of at least one equipment in all equipment associated with the target account, and for any preset equipment type, the history interaction information corresponding to the preset equipment type is used for indicating the number of times that all equipment of the preset equipment type associated with the target account is subjected to preset interaction operation; and determining the user attention relationship according to the preset user attention corresponding to each preset equipment type.
2. The method of claim 1, wherein prior to the obtaining the plurality of candidate update files for pushing to the target account, the method further comprises:
acquiring a plurality of appointed update files;
And determining a plurality of candidate update files for pushing to the target account in all the designated update files according to the designated device type corresponding to each designated update file and all preset device types corresponding to the target account, wherein the preset device types are device types of at least one device in all devices associated with the target account, and the candidate device types exist in all the designated device types and all the preset device types at the same time.
3. The method of claim 1, wherein determining a predetermined user attention corresponding to each of the predetermined device types according to the historical interaction information corresponding to each of the predetermined device types, comprises:
determining the number of preset interfaces with preset equipment type identifiers corresponding to the preset equipment types based on the historical interaction information, wherein each preset equipment type has a unique corresponding preset equipment type identifier, and the preset interfaces are used for interaction between the target client and equipment of the preset equipment type;
determining the sub-interaction times of the preset equipment type identifier in each preset interface based on the historical interaction information;
And determining the preset user attention corresponding to the preset equipment type based on the number of the preset interfaces, the sub-interaction times and the preset weight corresponding to the preset equipment type.
4. The method of claim 1, wherein after pushing the target update file to a target client that is logged in to the target account, the method further comprises:
acquiring feedback information;
when the feedback information indicates that the target update file is successfully issued to target equipment of a target equipment type corresponding to the target update file and is associated with the target client, generating issuing success information;
and when the feedback information indicates that the target update file is not issued to the target equipment of the target equipment type, generating issuing failure information, and pushing the target update file to the target client again.
5. The method of claim 1, wherein determining the update priority corresponding to each candidate update file according to the user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file comprises:
Inquiring candidate user attention corresponding to each candidate equipment type in the user attention relation;
and sorting the candidate update files according to the size relation among the candidate user attention and the candidate device type corresponding to each candidate update file to obtain update priorities corresponding to each candidate update file, wherein for any one candidate update file, the update priorities corresponding to the candidate update file are positively related to the candidate user attention of the candidate update file.
6. The method of claim 1, wherein prior to said determining the update priority corresponding to each of said preset device types according to the historical interaction information corresponding to each of said preset device types, said method further comprises:
acquiring client identification information of the target client and equipment information of each equipment associated with the target client;
classifying each interaction record according to the equipment information to obtain historical interaction information corresponding to each piece of equipment information, wherein the interaction records are used for recording interaction between the target client and any piece of equipment associated with the target client, and for any piece of historical interaction information, the equipment type of the equipment corresponding to any piece of interaction record in the historical interaction information is the same as the equipment type indicated by the equipment information corresponding to the historical interaction information;
And associating all the historical interaction information with the client identification information and storing the same.
7. A device updating apparatus, comprising:
the device comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring a plurality of candidate update files which are used for being pushed to a target account, wherein the candidate update files are used for carrying out software update on equipment of candidate equipment types associated to the target account, and each candidate update file is provided with the corresponding candidate equipment type;
the first determining module is used for determining the update priority corresponding to each candidate update file according to the user attention relationship corresponding to the target account and the candidate device type corresponding to each candidate update file, wherein the user attention relationship is used for indicating the attention degree of the user of the target account to the devices of the candidate device types;
a second determining module, configured to determine, according to all the update priorities, a target update file with a highest update priority from among the plurality of candidate update files, where the update priority of the target update file is higher than the update priority of any one of the candidate update files except the target update file;
The pushing module is used for pushing the target update file to a target client logged in with the target account;
the device further comprises a module, wherein the module is used for determining the preset user attention corresponding to each preset device type according to the historical interaction information corresponding to each preset device type before determining the update priority corresponding to each candidate update file according to the user attention relation corresponding to the target account and the candidate device type corresponding to each candidate update file, and the preset device type is the device type of at least one device in all devices associated with the target account, and for any preset device type, the historical interaction information corresponding to the preset device type is used for indicating the number of times that all devices associated with the preset device type of the target account are subjected to preset interaction operation; and determining the user attention relationship according to the preset user attention corresponding to each preset equipment type.
8. An electronic device, comprising: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
The memory is used for storing a computer program;
the processor being adapted to implement the method of any of claims 1 to 6 when executing the computer program.
9. A computer readable storage medium, characterized in that the storage medium comprises a stored program, wherein the program when run performs the method of any of the preceding claims 1 to 6.
CN202210792749.9A 2022-07-05 2022-07-05 Equipment updating method and device, electronic equipment and storage medium Active CN115118774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210792749.9A CN115118774B (en) 2022-07-05 2022-07-05 Equipment updating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210792749.9A CN115118774B (en) 2022-07-05 2022-07-05 Equipment updating method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115118774A CN115118774A (en) 2022-09-27
CN115118774B true CN115118774B (en) 2023-08-15

Family

ID=83331718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210792749.9A Active CN115118774B (en) 2022-07-05 2022-07-05 Equipment updating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115118774B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638892A (en) * 2020-04-16 2020-09-08 合肥联宝信息技术有限公司 Method, device, system and storage medium for optimizing application update sequencing
CN113660502A (en) * 2021-08-16 2021-11-16 广州繁星互娱信息科技有限公司 Information display method and device, storage medium and electronic equipment
CN113901091A (en) * 2021-11-19 2022-01-07 北京达佳互联信息技术有限公司 List generation method and device, electronic equipment and computer readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638892A (en) * 2020-04-16 2020-09-08 合肥联宝信息技术有限公司 Method, device, system and storage medium for optimizing application update sequencing
CN113660502A (en) * 2021-08-16 2021-11-16 广州繁星互娱信息科技有限公司 Information display method and device, storage medium and electronic equipment
CN113901091A (en) * 2021-11-19 2022-01-07 北京达佳互联信息技术有限公司 List generation method and device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN115118774A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
CN107748790B (en) Online service system, data loading method, device and equipment
WO2014182914A1 (en) Apps store with integrated test support
CN112035415A (en) Processing system, method, device and storage medium for user access data
CN112965879A (en) Data processing method and device, electronic equipment and readable storage medium
CN109086158B (en) Abnormal cause analysis method and device and server
CN111339183A (en) Data processing method, edge node, data center and storage medium
CN111224797A (en) Equipment access method and device and electronic equipment
CN106712972B (en) charging rule updating method, device and system
JP2018081515A (en) Resource retrieval apparatus and resource retrieval method
CN115187331A (en) Product recommendation method, device, equipment and storage medium based on multi-modal data
CN111061588A (en) Method and device for locating database abnormal source
CN115118774B (en) Equipment updating method and device, electronic equipment and storage medium
CN104937613A (en) Heuristics to quantify data quality
CN110543509B (en) Monitoring system, method and device for user access data and electronic equipment
CN111131178B (en) Terminal equipment identification method, device, equipment and computer storage medium
CN111291021B (en) Database management method and device, electronic equipment and storage medium
CN108829735B (en) Synchronization method, device, server and storage medium for parallel execution plan
CN101739410A (en) Method, device and system for revealing operation result
CN102483750A (en) Metadata collecting device
CN111400327B (en) Data synchronization method and device, electronic equipment and storage medium
CN104462235A (en) Internet of Things general event service mechanism based on Restful Web Service
CN114039878A (en) Network request processing method and device, electronic equipment and storage medium
CN112988504A (en) Alarm strategy setting method and device, electronic equipment and storage medium
CN114253776A (en) Memory detection model training method, device, equipment and medium
CN113014456A (en) Monitoring data transmission system, method, device, equipment and storage 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