CN113472559B - Equipment configuration method, device, equipment and storage medium - Google Patents

Equipment configuration method, device, equipment and storage medium Download PDF

Info

Publication number
CN113472559B
CN113472559B CN202010245192.8A CN202010245192A CN113472559B CN 113472559 B CN113472559 B CN 113472559B CN 202010245192 A CN202010245192 A CN 202010245192A CN 113472559 B CN113472559 B CN 113472559B
Authority
CN
China
Prior art keywords
description information
image
function description
equipment
configuration
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
CN202010245192.8A
Other languages
Chinese (zh)
Other versions
CN113472559A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010245192.8A priority Critical patent/CN113472559B/en
Publication of CN113472559A publication Critical patent/CN113472559A/en
Application granted granted Critical
Publication of CN113472559B publication Critical patent/CN113472559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/0889Techniques to speed-up the configuration process
    • 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/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a device configuration method, a device, equipment and a storage medium, wherein the method comprises the following steps: receiving an image uploaded by an equipment configuration party, wherein the image corresponds to equipment needing configuration; identifying a category of entity objects contained in the image; sending the function description information corresponding to the entity object type to an equipment configuration party; and responding to the configuration operation of the device configurator on the function description information, and storing the configured function description information. According to the invention, the device management platform automatically determines various functions possibly related to the device based on the image, and sends the function description information related to the functions to the device configuration party, so that the device configuration party can complete the function configuration of the device at the cloud end only by confirming or slightly modifying the function description information provided by the device management platform, and the method is efficient and convenient.

Description

Equipment configuration method, device, equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a device configuration method, apparatus, device, and storage medium.
Background
With the continuous development of internet technology, in order to realize efficient management of devices and interconnection and intercommunication among devices, the cloud demand on the devices arises, so that the devices are controlled and managed through the cloud.
In order to achieve the purpose of cloud on the device, a user needs to perform function configuration on the device in the device management platform at the cloud end, so that the device management platform knows what device is configured at the cloud end by the user and what function the device has. The user refers to an apparatus configuring party that needs to configure an apparatus, and in practical applications, the apparatus configuring party is generally an apparatus user.
At present, an equipment configuration party needs to log in an equipment management platform at a cloud end, and manually complete the function configuration operation of corresponding equipment in the equipment management platform, so that the requirement on the equipment configuration party is high, and the configuration efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a device configuration method, a device, equipment and a storage medium, which are used for realizing high-efficiency configuration of the equipment at a cloud end.
In a first aspect, an embodiment of the present invention provides an apparatus configuration method, where the method includes:
receiving an image uploaded by an equipment configuration party, wherein the image corresponds to equipment needing configuration;
identifying a category of entity objects contained in the image;
sending the function description information corresponding to the entity object type to the equipment configurator;
and responding to the configuration operation of the device configurator on the function description information, and storing the configured function description information.
In a second aspect, an embodiment of the present invention provides an apparatus for configuring a device, where the apparatus includes:
the receiving module is used for receiving an image uploaded by an equipment configuring party, wherein the image corresponds to the equipment needing to be configured;
the identification module is used for identifying the entity object category contained in the image;
the sending module is used for sending the function description information corresponding to the entity object type to the equipment configurator;
and the storage module is used for responding to the configuration operation of the device configurator on the function description information and storing the configured function description information.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory stores executable code, and when the executable code is executed by the processor, the processor is enabled to implement at least the device configuration method in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to implement at least the device configuration method of the first aspect.
In the scheme provided by the embodiment of the invention, when a certain device configuration party wants to perform function configuration on a certain device of the cloud device management platform, the device can be shot to obtain an image, and the image is uploaded to the cloud device management platform. The equipment management platform carries out image recognition processing on the image so as to recognize which entity object types are contained in the image, and then determines the function description information corresponding to the recognized entity object types. That is to say, the device management platform automatically determines various functions possibly related to the device based on the image, and sends function description information related to the functions to the device configuration party, so that the device configuration party can complete the function configuration of the device in the cloud only by confirming or slightly modifying the function description information provided by the device management platform, and the device configuration method is efficient and convenient.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of an apparatus configuration method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a printed circuit board image according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an image recognition process according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a process for acquiring function description information according to an embodiment of the present invention;
fig. 5 is a schematic diagram of another function description information obtaining process provided in the embodiment of the present invention;
fig. 6 is a schematic diagram of a function description information feedback result according to an embodiment of the present invention;
fig. 7 is a flowchart of a device configuration method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an apparatus configuration device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device corresponding to the device configuration apparatus provided in the embodiment shown in fig. 8.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two.
The words "if", as used herein, may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
Fig. 1 is a flowchart of a device configuration method according to an embodiment of the present invention, where the device configuration method may be executed by a device management platform in a cloud. As shown in fig. 1, the method comprises the steps of:
101. and receiving the image uploaded by the equipment configuration party, wherein the image corresponds to the equipment needing configuration.
102. A category of entity objects contained in the image is identified.
103. And sending the function description information corresponding to the entity object category to the equipment configurator.
104. And responding to the configuration operation of the device configurator on the function description information, and storing the configured function description information.
First, the core idea of the embodiment of the present invention is introduced: when a certain device configuring party wants to perform function configuration on a certain device of the cloud device management platform, the device can be shot to obtain an image, and the image is uploaded to the cloud device management platform. The management platform of the device performs image recognition processing on the image to recognize which entity object types are included in the image, determines function description information corresponding to the recognized entity object types, and finally can store the function description information to realize function configuration of the device at the cloud.
For convenience of description, the device management platform of the cloud is simply referred to as the cloud hereinafter.
In practical applications, in order to perform function configuration of the device in the cloud, the device configuration side may capture an image of the device. The image may be an image of the appearance of the device or an image of the printed circuit board inside the device. After capturing an image of the obtained device, the device configurator may upload the image to the cloud. The device configuring party is typically a user or owner of the device.
In addition, in some optional embodiments, the image uploaded by the device configuring party may also be a three-dimensional image, even a short video (or motion picture) obtained by video shooting of the device to be configured.
The three-dimensional image may be a three-dimensional image finally constructed by selecting a model corresponding to a component in the device from a certain three-dimensional model library by the device configuration side according to the composition of the device.
The cloud receives an image of the device, and then the image can be identified to determine the entity object category contained in the image.
If the image received by the cloud is an image obtained by shooting the appearance of the device or the three-dimensional image, the entity object type capable of being identified is the type of the device, such as a smart television, a smart air conditioner and the like. If the image received by the cloud is an image obtained by shooting a printed circuit board of the device, the entity object type capable of being identified is the type of the printed circuit board and/or the type of components contained in the printed circuit board, such as a camera, a sensor, a processor, an LED lamp and the like.
If the image received by the cloud is a short video obtained by video shooting of the appearance of the equipment or the printed circuit board, the cloud can perform framing processing on the short video to obtain a plurality of frames of images, so that the entity object types contained in each frame of image are identified, the entity object types identified from the plurality of frames of images are summarized, and the entity object type corresponding to the short video can be obtained.
For ease of understanding, the printed circuit board shown in fig. 2 will be described as an example. As can be seen from fig. 2, the printed circuit board includes a plurality of components, and the types of the components that can be identified by performing the identification process on fig. 2 may include: humidity sensor, luminance sensor, camera, Wi-Fi communication module, treater, LED lamp and switch.
In practical applications, the classification granularity of the entity object may be set. For example, assuming that the physical object is a camera, the camera actually includes different types, for example, some cameras are wide-angle cameras, and some cameras are fisheye cameras, etc., the physical object types corresponding to the different types of cameras can all be determined as cameras, and the cameras can also be further divided into wide-angle cameras and fisheye cameras. At this time, the camera can be used as a primary category, and the wide-angle camera and the fisheye camera can be used as a secondary category.
It is understood that an image library may be established in the cloud, where the image library stores a large number of images of various devices, and the images of the devices may be uploaded by a device configuration party, may be obtained by collecting images of some devices that are commonly used (for example, by searching on the network), or may be obtained through other approaches, which is not limited in the embodiment of the present invention.
After receiving the image of the device to be configured, the cloud may determine, in the image library, a target image that meets the requirement of similarity with the received image. The requirement of the similarity may be that the similarity between the target image and the received image is greater than a preset threshold, or, when there are more than one target images whose similarities with the received image are greater than the preset threshold, the target image with the highest similarity may be selected. Thus, the similarity between the received image and the target image is high, and the entity object class corresponding to the target image may be consistent with the entity object class contained in the received image. Based on this, the entity object class corresponding to the target image may be determined as the entity object class included in the received image.
It is understood that if the images in the image library are pre-associated with corresponding entity object categories, the entity object categories may be artificially labeled or classified and identified by a neural network model when the image library is formed or updated.
The above process of determining the target image with similarity greater than the preset threshold with the image of the device to be configured may be implemented as follows: extracting image features of equipment needing configuration, and acquiring the image features of all images in an image library; and calculating the distance between the image characteristics of the equipment needing to be configured and the image characteristics of the image i for any image i in all images in the image library, wherein the distance is the similarity between the image i and the image of the equipment needing to be configured. In the image library, determining a target image with the similarity between the target image and the image of the equipment needing configuration being greater than a preset threshold. Wherein the distance may be a euclidean distance, a cosine distance, etc.
Based on the above, in the process of determining the target image, all images in the image library need to be compared with the images of the devices that need to be configured one by one, and if the number of images in the image library is large, the time consumption required for the process of determining the target image is long. In order to reduce the time consumption of the process of determining the target image and improve the efficiency of determining the target image, optionally, all images in the image library may be screened to obtain candidate images based on character identifiers included in the image to be configured, and a target image meeting the requirement of similarity with the image of the device to be configured is determined in the candidate images. The embodiment is implemented on the premise that in some cases, the image uploaded by the device configuration side contains some characters with marking functions, such as brand identification, model identification and the like.
It will be appreciated that some devices may be labeled or have some character markings etched therein (e.g., processor model etched on processor: ABCDEFG), and that when this type of device is photographed, the resulting image will include the character markings. On the basis of the assumption that some images in the image library also contain character identifications, the character identifications can be stored in the image library in association with corresponding images in advance, and candidate images containing the same character identifications as those in the received images can be screened out from the image library. Since the candidate images are only partial images in the image library, the process of determining the target image in the candidate images is less time-consuming and more efficient than the process of determining the target image in all the images in the image library.
For ease of understanding, the process of screening candidate images is described in conjunction with fig. 3. As shown in fig. 3, it is assumed that a processor is disposed on a printed circuit board, and the processor has a character mark "ABCDEFG" etched thereon. After the printed circuit board is photographed, the resulting image may be subjected to a character recognition process, i.e., the "ABCDEFG" character identifier contained in the image may be recognized through an OCR character recognition process. Candidate images containing "ABCDEFG" can be looked up in the image library based on the recognized character identifications.
In the above, the process of identifying the entity object category included in the image of the device to be configured is introduced, and after determining the device category included in the image of the device to be configured, the function description information corresponding to the entity object category may be searched, and the function description information is sent to the device configuring party. Besides the image library, the cloud can also be provided with a database, wherein the database stores function description information corresponding to various entity object types, and is called as a function database for convenience of description.
The function description information may be represented by a structural body, and the structural body includes a plurality of fields, such as fields including a function name, an identifier, a function type, a data definition, and the like. The identifier is used to identify a function name, the data type defines a data type used by the device, and the data definition describes how to use the corresponding function, which may include a value range, a function calling mode, and the like. Of course, other fields may also be extended in the structure according to specific requirements, and the embodiment of the present invention is not limited thereto.
In practice, one entity object class may correspond to one or more functions, each corresponding to a respective function description.
For example, if a printed circuit board includes 4 components, i.e., a humidity sensor, a brightness sensor, a camera and a switch, that is, the four entity object categories are identified from an image corresponding to the printed circuit board, and if the function description information includes four fields, i.e., a function name, an identifier, a data type and a data definition, the function description information corresponding to the four entity object categories queried from the function database is:
Figure BDA0002433810170000071
specifically, the determination process of the function description information corresponding to the entity object class can be implemented in various determination manners. Optionally, in the embodiment of the present invention, three implementation manners for determining the function description information corresponding to the entity object category are provided, and the three manners will be described below one by one.
The first way to determine the functional description information: first function description information corresponding to an entity object category is determined in a function database storing description information of a plurality of functions corresponding to the plurality of entity object categories. That is, as described above, the function database may be directly queried according to the determined entity object category, and the function description information corresponding to the entity object category may be directly obtained from the function database.
In practical application, for various entity object categories contained in the image library of the cloud, the function description information corresponding to the various entity object categories can be set one by one, and the function description information can be manually set by technicians. Then, each entity object category and function description information in the image library can be correspondingly stored in the function database.
The second way to determine the functional description information: if the cloud end already stores second function description information corresponding to the target image, the second function description information is determined to be function description information corresponding to the entity object type needing configuration and is sent to the device configuration party corresponding to the received image, and at the moment, the target image is an image uploaded by another device configuration party and used for configuring corresponding devices.
In practical application, it is assumed that a large number of device configuration parties perform function configuration on their own devices through a cloud, and at this time, images and function configuration results uploaded by the device configuration parties are stored in the cloud. It is understood that these functional configuration results may be stored in association with corresponding images in an image library. Then, if any subsequent device configuration party uploads a new image, the new image and the image in the image library can be matched, and if a target image uploaded by another device configuration party matched with the new image is determined in the image library and the target image correspondingly stores second function description information, the second function description information can be directly determined as the function description information corresponding to the entity object type contained in the new image.
It should be noted that, in practical applications, the image library may not be updated with the image uploaded by the device configuration side. At this time, assuming that a certain device configuring party performs function configuration on a certain device, it recognizes that an image j in an image library is matched with the image j based on the image uploaded by the certain device configuring party, and queries a function database according to an entity object type L corresponding to the image j, and then assumes that function description information x is obtained, the device configuring party performs some modification operations on the function description information x fed back by the cloud to obtain function description information y, and at this time, the cloud can correspondingly store both the function description information x and the function description information y with the entity object type L. In this example, the function description information x may be considered to correspond to the foregoing: and the first function description information is default or initially set in the function database and corresponds to a certain entity object class. The function description information y corresponds to second function description information obtained by modifying the first function description information by other device configuration parties.
For ease of understanding, a process of determining the function description information that needs to be sent to the current device configurator based on the above manner is described with reference to fig. 4. As shown in fig. 4, the device configurator a needs to perform function configuration on the device E at the cloud, and at this time, the device configurator a may capture the device E and upload the captured image P. Assume that, in the image library in the cloud, an image that meets the similarity requirement with the image P is determined to be an image P ', the image P' is actually uploaded by the device configuration party B for performing function configuration on the device E '(or may also be the device E), and the device E' and the device E are actually the same type of device. Since the image P 'is uploaded by the device configuring side B for configuring the function of the device E', the image library stores, in addition to the image P ', the function description information finally configured by the device configuring side B in the process of configuring the function of the device E' (the function configuring process of the device configuring side B can be implemented by determining the function configuration information in the first manner described above). Based on this, the function description information corresponding to the image P 'may be directly acquired, and the function description information corresponding to the image P' may be determined as the function description information corresponding to the device E.
The third way to determine the functional description information: determining first function description information corresponding to an entity object category identified from a received image in a function database storing description information of a plurality of functions; and if the second function description information corresponding to the target image is stored, processing the first function description information and the second function description information to obtain third function description information, and sending the third function description information to the equipment configuration side corresponding to the received image.
The above implementation of processing the first function description information and the second function description information may include taking a union of the first function description information and the second function description information (the meaning of the union processing will be exemplified below), or preferentially selecting one of the first function description information and the second function description information as the third function description information. When the second function description information is selected from the first function description information and the second function description information, the second determination mode is the above-mentioned second determination mode.
For ease of understanding, a process of determining the function description information that needs to be sent to the current device configurator based on the above-described manner is described with reference to fig. 5. As shown in fig. 5, it is assumed that the first function description information includes function description information corresponding to each of the functions A, B, C, and the function description information corresponding to the three functions is represented as function description information a1, function description information b1, and function description information c 1. It is assumed that the function description information corresponding to each of the functions A, B, C, D included in the second function description information is represented as function description information a2, function description information b2, function description information c2, and function description information d, respectively. In this example, it is assumed that when a certain device configuring party obtains the second function description information according to the first function description information, not only function description information corresponding to some functions in the first function description information is modified (for example, a data value range is modified), but also function description information corresponding to a new function D is additionally added.
Based on the above assumed situation, if the third function description information is obtained by taking a union of the first function description information and the second function description information, the union process at this time may include: performing union processing on functions included in the first function description information and the second function description information to obtain a function A, B, C, D; furthermore, the union processing is performed on the contents, such as data types and data definition fields, corresponding to each function obtained by union, and the union processing result is assumed to be: the function A, B, C, D has corresponding function description information of a1, b2, c3 and d. Wherein c3 is obtained by taking and collecting c1 and c 2.
In the above, three ways of determining the function description information are introduced, for the case that the current device configurator performs the function configuration on a certain device, assuming that the function description information obtained based on a certain way is as shown in fig. 6, the cloud sends the function description information to the device configurator, and the device configurator can view the function description information and then perform modification or confirmation operations.
It can be understood that, after the device configuration party performs the confirmation operation on the current function description information, the cloud end may receive the configuration operation (confirmation after modification, or direct confirmation) on the function description information by the device configuration party, and in response to the configuration operation, the cloud end may store the configured function description information, so that the cloud end may determine the functions of the device configuration party according to the stored configured function description information, and further may implement management and control on the device.
Fig. 7 is a flowchart of another device configuration method according to an embodiment of the present invention, and as shown in fig. 7, the method includes the following steps:
701. and receiving the image uploaded by the equipment configuration party, wherein the image corresponds to the equipment needing configuration.
702. A category of entity objects contained in the image is identified.
703. And sending the function description information corresponding to the entity object category to the equipment configurator.
704. And responding to the configuration operation of the device configurator on the function description information, and storing the configured function description information.
705. And generating a configuration file according to the configured function description information.
706. And sending the configuration file to the device configurator so that the device configurator installs the configuration file into the device.
In this embodiment, after the function configuration of the device at the cloud is completed based on the method provided in the foregoing embodiment, the cloud may generate a configuration file based on the function description information corresponding to the device, and send the configuration file to the device configurator so as to burn the configuration file into the device, so that the cloud may manage and control the device based on the configuration file.
The configuration file may be implemented as a Software Development Kit (SDK). The configuration file may contain configured function description information, so that the device can know how to encapsulate data corresponding to various functions generated in the operation process based on the function description information.
It can be understood that, in the process of managing and controlling the device on the device configuration side by the cloud, the cloud inevitably needs to communicate with the device, and if the cloud needs to communicate with the device, a unified communication standard needs to be negotiated between the cloud and the device to successfully complete the communication. Based on this, the configuration file not only includes the configured function description information, but also includes related information required for communication between the cloud and the device, such as a communication protocol, a communication port, and the like.
After the device installs the configuration file locally, it can communicate with the cloud. Some data can be gathered to equipment, for example data such as temperature value, humidity value, luminance value, and after gathering these data, equipment can report the high in the clouds with data according to the configuration file, manages in unison by the high in the clouds. The cloud end can analyze the reported data based on the configuration file after receiving the reported data, so that, for example, when some data are found to be abnormal, a corresponding control instruction can be issued to the device, and the device analyzes the control instruction according to the configuration file and executes the control instruction. It can be understood that, since the configuration file stipulates how to encapsulate the data, the cloud may parse the encapsulated data based on the configuration file.
The device configuration apparatus of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these apparatus configuration means may be constructed by configuring the steps taught in the present embodiment using commercially available hardware components.
Fig. 8 is a schematic structural diagram of an apparatus configuration device according to an embodiment of the present invention, where the apparatus may be disposed in a cloud-side apparatus management platform. As shown in fig. 8, the apparatus includes: a receiving module 81, an identifying module 82, a sending module 83 and a storing module 84.
A receiving module 81, configured to receive an image uploaded by an equipment configuring party, where the image corresponds to an equipment that needs to be configured.
An identification module 82 for identifying a category of entity objects contained in the image.
A sending module 83, configured to send the function description information corresponding to the entity object class to the device configuration party.
A storage module 84, configured to respond to the configuration operation of the device configurator on the function description information, and store the configured function description information.
Optionally, the image is obtained by shooting the appearance of the device, and the entity object class is the class of the device; or the image is obtained by shooting a printed circuit board of the equipment, and the entity object type comprises the type of the printed circuit board and/or the type of components contained in the printed circuit board.
Optionally, the apparatus further comprises: the control module is used for generating a configuration file according to the configured function description information; and sending the configuration file to the device configurator so that the device configurator installs the configuration file into the device.
Optionally, the control module is further configured to receive data sent by the device according to the configuration file; and analyzing the data according to the configuration file.
Optionally, the control module is further configured to send a control instruction to the device according to the configuration file, so that the device parses the control instruction according to the configuration file.
Optionally, the identifying module 82 is specifically configured to determine, in a preset image library, a target image that meets a similarity requirement with the image; and determining the entity object type corresponding to the target image as the entity object type contained in the image.
Optionally, the recognition module 82 is further configured to recognize character identifiers included in the image; determining candidate images containing character identifications in an image library; and determining a target image meeting the similarity requirement with the image in the candidate images.
Optionally, the sending module 83 is specifically configured to determine, in a database storing description information of multiple functions, first function description information corresponding to an entity object class, where the multiple functions correspond to multiple entity object classes; and sending the first function description information to the equipment configurator.
Optionally, the sending module 83 is specifically configured to send the second function description information to the device configuration party if the second function description information corresponding to the target image is stored, where the target image is an image uploaded by another device configuration party and used for configuring the corresponding device.
Optionally, the sending module 83 is specifically configured to determine, in a database in which description information of multiple functions is stored, first function description information corresponding to the entity object class; if the second function description information corresponding to the target image is stored, acquiring third function description information according to the first function description information and the second function description information; and sending the third function description information to the equipment configurator.
The apparatus shown in fig. 8 may perform the device configuration method provided in the foregoing embodiments shown in fig. 1 to fig. 7, and the detailed execution process and technical effect refer to the description in the foregoing embodiments, which are not described herein again.
In a possible design, the structure of the device configuration apparatus shown in fig. 8 may be implemented as an electronic device, where the electronic device may be the device management platform in the cloud in the embodiment, as shown in fig. 9, the electronic device may include: a processor 91, and a memory 92. Wherein the memory 92 has stored thereon executable code which, when executed by the processor 91, causes the processor 91 to at least implement the device configuration method as provided in the embodiments illustrated in fig. 1 to 7 described above.
Optionally, the electronic device may further include a communication interface 93 for communicating with other devices.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which, when executed by a processor of an electronic device, causes the processor to implement at least the device configuration method provided in the foregoing embodiments shown in fig. 1 to 7.
The above-described apparatus embodiments are merely illustrative, wherein the units described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The device configuration method provided in the embodiment of the present invention may be executed by a certain program/software, the program/software may be provided by a network side, the electronic device mentioned in the foregoing embodiment may download the program/software into a local nonvolatile storage medium, and when it needs to execute the device configuration method, the program/software is read into a memory by a CPU, and then the CPU executes the program/software to implement the device configuration method provided in the foregoing embodiment, and an execution process may refer to the schematic in fig. 1 to fig. 7.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (11)

1. A device configuration method, comprising:
receiving an image uploaded by an equipment configuration party, wherein the image corresponds to equipment needing configuration;
sending the function description information corresponding to the entity object type to the equipment configurator;
responding to the configuration operation of the device configurator on the function description information, and storing the configured function description information;
wherein the sending the function description information corresponding to the entity object class to the device configurator includes:
determining a target image meeting the similarity requirement with the image in a preset image library;
determining the entity object type corresponding to the target image as the entity object type contained in the image;
determining first function description information corresponding to the entity object type in a database storing description information of a plurality of functions;
if second function description information corresponding to the target image is stored, acquiring third function description information according to the first function description information and the second function description information;
and sending the third function description information to the equipment configurator.
2. The method of claim 1, wherein the image is captured of an appearance of the device, and the physical object class is a class of the device; alternatively, the first and second electrodes may be,
the image is obtained by shooting a printed circuit board of the equipment, and the entity object type comprises the type of the printed circuit board and/or the type of components contained in the printed circuit board.
3. The method of claim 1, further comprising:
generating a configuration file according to the configured function description information;
and sending the configuration file to the equipment configurator so that the equipment configurator installs the configuration file into the equipment.
4. The method of claim 3, further comprising:
receiving data sent by the equipment according to the configuration file;
and analyzing the data according to the configuration file.
5. The method of claim 3, further comprising:
and sending a control instruction to the equipment according to the configuration file so that the equipment analyzes the control instruction according to the configuration file.
6. The method of claim 1, wherein determining the target image satisfying the similarity requirement with the image comprises:
recognizing character identifications contained in the image;
determining candidate images containing the character identifications in the image library;
and determining a target image meeting the similarity requirement with the image in the candidate images.
7. The method according to claim 1, wherein the sending the function description information corresponding to the entity object class to the device configurator comprises:
determining first function description information corresponding to the entity object class in a database storing description information of a plurality of functions, wherein the plurality of functions correspond to the plurality of entity object classes;
and sending the first function description information to the equipment configurator.
8. The method according to claim 1, wherein the sending the function description information corresponding to the entity object class to the device configurator comprises:
and if second function description information corresponding to the target image is stored, sending the second function description information to the equipment configuration party, wherein the target image is an image uploaded by another equipment configuration party and used for configuring corresponding equipment.
9. An apparatus configuration device, comprising:
the receiving module is used for receiving an image uploaded by an equipment configuring party, wherein the image corresponds to the equipment needing to be configured;
the identification module is used for determining a target image which meets the similarity requirement with the image in a preset image library; determining the entity object type corresponding to the target image as the entity object type contained in the image;
the sending module is used for determining first function description information corresponding to the entity object type in a database in which description information of multiple functions is stored; if second function description information corresponding to the target image is stored, acquiring third function description information according to the first function description information and the second function description information; sending the third function description information to the equipment configurator;
and the storage module is used for responding to the configuration operation of the equipment configurator on the third function description information and storing the configured function description information.
10. An electronic device, comprising: a memory, a processor; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform the device configuration method of any one of claims 1 to 8.
11. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the device configuration method of any one of claims 1 to 8.
CN202010245192.8A 2020-03-31 2020-03-31 Equipment configuration method, device, equipment and storage medium Active CN113472559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010245192.8A CN113472559B (en) 2020-03-31 2020-03-31 Equipment configuration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010245192.8A CN113472559B (en) 2020-03-31 2020-03-31 Equipment configuration method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113472559A CN113472559A (en) 2021-10-01
CN113472559B true CN113472559B (en) 2022-06-21

Family

ID=77865461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010245192.8A Active CN113472559B (en) 2020-03-31 2020-03-31 Equipment configuration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113472559B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336691A (en) * 2019-05-24 2019-10-15 华为技术有限公司 The management method of equipment, device, equipment and communication system in data center
CN110383274A (en) * 2018-09-27 2019-10-25 西门子股份公司 Identify method, apparatus, system, storage medium, processor and the terminal of equipment
CN110430078A (en) * 2019-08-05 2019-11-08 云南电网有限责任公司电力科学研究院 The method and system that power automation terminal type identifies, configuration and function are online
CN110831116A (en) * 2019-11-05 2020-02-21 珠海格力电器股份有限公司 Household appliance network distribution method, storage medium and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140187934A1 (en) * 2012-12-31 2014-07-03 General Electric Company Systems and methods for configuring a medical device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110383274A (en) * 2018-09-27 2019-10-25 西门子股份公司 Identify method, apparatus, system, storage medium, processor and the terminal of equipment
CN110336691A (en) * 2019-05-24 2019-10-15 华为技术有限公司 The management method of equipment, device, equipment and communication system in data center
CN110430078A (en) * 2019-08-05 2019-11-08 云南电网有限责任公司电力科学研究院 The method and system that power automation terminal type identifies, configuration and function are online
CN110831116A (en) * 2019-11-05 2020-02-21 珠海格力电器股份有限公司 Household appliance network distribution method, storage medium and terminal

Also Published As

Publication number Publication date
CN113472559A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US11321583B2 (en) Image annotating method and electronic device
CN108229369A (en) Image capturing method, device, storage medium and electronic equipment
US11445150B2 (en) Multi-camera collaboration-based image processing method and video surveillance system
CN108898171B (en) Image recognition processing method, system and computer readable storage medium
CN103150584A (en) Communication resource motion processing method and system
CN105554373A (en) Photographing processing method and device and terminal
WO2020111776A1 (en) Electronic device for focus tracking photographing and method thereof
CN109063790B (en) Object recognition model optimization method and device and electronic equipment
CN113011403B (en) Gesture recognition method, system, medium and device
CN108513069A (en) Image processing method, device, storage medium and electronic equipment
CN111401326A (en) Target identity recognition method based on picture recognition, server and storage medium
CN113627402A (en) Image identification method and related device
CN111726576A (en) Unmanned aerial vehicle inspection method, device, system and storage medium
US11709914B2 (en) Face recognition method, terminal device using the same, and computer readable storage medium
CN113472559B (en) Equipment configuration method, device, equipment and storage medium
CN108401106B (en) Shooting parameter optimization method and device, terminal and storage medium
CN112712564A (en) Camera shooting method and device, storage medium and electronic device
CN105120153A (en) Image photographing method and device
CN110837571A (en) Photo classification method, terminal device and computer readable storage medium
CN112714299B (en) Image display method and device
CN114242054A (en) Intelligent device control method and device, storage medium and electronic device
CN109035328B (en) Method, system, device and storage medium for identifying image directivity
CN112418244A (en) Target detection method, device and electronic system
CN111432124A (en) Photographing method, television and storage medium
CN113557522A (en) Image frame pre-processing based on camera statistics

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