CN114546528A - Cloud deployment method and device for Internet of things equipment and storage medium - Google Patents

Cloud deployment method and device for Internet of things equipment and storage medium Download PDF

Info

Publication number
CN114546528A
CN114546528A CN202210172283.2A CN202210172283A CN114546528A CN 114546528 A CN114546528 A CN 114546528A CN 202210172283 A CN202210172283 A CN 202210172283A CN 114546528 A CN114546528 A CN 114546528A
Authority
CN
China
Prior art keywords
template
equipment
information
cloud
target
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.)
Pending
Application number
CN202210172283.2A
Other languages
Chinese (zh)
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.)
Xinao Shuneng Technology Co Ltd
Original Assignee
Xinao Shuneng 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 Xinao Shuneng Technology Co Ltd filed Critical Xinao Shuneng Technology Co Ltd
Priority to CN202210172283.2A priority Critical patent/CN114546528A/en
Publication of CN114546528A publication Critical patent/CN114546528A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Abstract

The disclosure relates to the technical field of Internet of things, and provides a cloud deployment method and device for Internet of things equipment and a storage medium. The method comprises the following steps: loading equipment to create a page; when detecting that a user initiates an equipment template query request through an information query area, calling a plurality of functional programs corresponding to the equipment template query request; triggering and starting at least one of a plurality of functional programs, and loading and displaying a preset template of the optional equipment and template information corresponding to the template; the method comprises the steps of obtaining a template application request initiated by a user, and reporting target template information corresponding to a target equipment template and custom information input by the user in an information input area to a cloud if the template of the optional equipment is judged to have the target equipment template matched with the template application request, so that the cloud can complete the deployment of the Internet of things equipment in the cloud according to the information. The method and the device can greatly reduce the workload and the error rate of manual input of equipment data, and improve the efficiency and the effect of deploying the Internet of things equipment at the cloud end.

Description

Cloud deployment method and device of Internet of things equipment and storage medium
Technical Field
The disclosure relates to the technical field of internet of things, and in particular relates to a cloud deployment method and device for internet of things equipment and a storage medium.
Background
Because the internet of things technology can particularly and excellently complete tasks such as social distance, remote work or tracking, in the post-emergence period of the new coronary pneumonia, the new digital transformation is expected to push the obvious growth of the internet of things market. When the internet of things technology is used for completing the tasks, the collection of internet of things data and the cloud uploading (uploading data collected by the internet of things equipment to the cloud) work are key links.
In the prior art, the data of the internet of things is usually input into the relevant device data of the internet of things device manually item by item to deploy corresponding internet of things devices (models) at the cloud end, and then the data collected by the internet of things devices is uploaded. However, because the data of the devices related to the internet of things is usually many and complex, the method of purely manual input not only needs to consume a lot of manpower and material resources, but also has very low efficiency and is very easy to cause human errors.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a cloud deployment method and apparatus for internet of things devices, and a storage medium, so as to solve the problems in the prior art that when the internet of things devices are deployed at the cloud, related device data are uploaded to the cloud in a pure manual input manner, not only a large amount of manpower and material resources need to be consumed, but also the efficiency is very low, and human errors are very likely to occur.
In a first aspect of the embodiments of the present disclosure, a cloud deployment method for internet of things devices is provided, including:
loading a preset equipment creating page, wherein the equipment creating page comprises an information input area and an information query area;
when detecting that a user initiates an equipment template query request through an information query area, calling a plurality of functional programs corresponding to the equipment template query request;
triggering and starting at least one of a plurality of functional programs, loading and displaying a preset optional equipment template and template information corresponding to the equipment template;
acquiring a template application request initiated by a user, and judging whether a target equipment template matched with the template application request exists in the template of the optional equipment;
if the target equipment template matched with the template application request exists, reporting target template information corresponding to the target equipment template and custom information input by a user in an information input area to a cloud, wherein the target template information comprises the Internet of things equipment to be deployed, so that the cloud completes deployment of the Internet of things equipment in the cloud according to the custom information and the target equipment template information.
In a second aspect of the embodiments of the present disclosure, a cloud deployment device for internet of things devices is provided, including:
the device comprises a loading module, a query module and a display module, wherein the loading module is configured to load a preset device creation page, and the device creation page comprises an information input area and an information query area;
the calling module is configured to call a plurality of functional programs corresponding to the equipment template inquiry request when detecting that a user initiates the equipment template inquiry request through the information inquiry area;
the display module is configured to trigger and start at least one of a plurality of functional programs, load and display a preset optional equipment template and template information corresponding to the equipment template;
the judging module is configured to acquire a template application request initiated by a user and judge whether a target equipment template matched with the template application request exists in the optional equipment templates;
the uploading module is configured to report target template information corresponding to the target equipment template and custom information input by a user in an information input area to the cloud if the target equipment template matched with the template application request exists, wherein the target template information comprises the internet of things equipment to be deployed, so that the cloud completes deployment of the internet of things equipment in the cloud according to the custom information and the target equipment template information.
In a third aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, which stores a computer program, which when executed by a processor, implements the steps of the above-mentioned method.
Compared with the prior art, the beneficial effects of the embodiment of the present disclosure at least include: the method comprises the steps that a preset device creation page is loaded, and the device creation page comprises an information input area and an information query area; when detecting that a user initiates an equipment template query request through an information query area, calling a plurality of functional programs corresponding to the equipment template query request; triggering and starting at least one of a plurality of functional programs, loading and displaying a preset optional equipment template and template information corresponding to the equipment template; acquiring a template application request initiated by a user, and judging whether a target equipment template matched with the template application request exists in the template of the optional equipment; if a target equipment template matched with the template application request exists, target template information corresponding to the target equipment template and custom information input by a user in an information input area are reported to the cloud, wherein the target template information comprises the Internet of things equipment to be deployed, so that the cloud completes the deployment of the Internet of things equipment in the cloud according to the custom information and the target equipment template information, the workload and the error rate of manual input equipment data can be greatly reduced, and the efficiency and the effect of deploying the Internet of things equipment in the cloud are improved.
Drawings
To more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without inventive efforts.
FIG. 1 is a scenario diagram of an application scenario of an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a cloud deployment method of an internet of things device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a template information display page in the cloud deployment method for the internet of things device according to the embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a cloud deployment device of an internet of things device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, to one skilled in the art that the present disclosure may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present disclosure with unnecessary detail.
A cloud deployment method and apparatus for internet of things devices according to embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a scene schematic diagram of an application scenario of an embodiment of the present disclosure. The application scenario may include a terminal device 101, a server 102, and a network 103.
The terminal apparatus 101 may be hardware or software. When the terminal device 101 is hardware, it may be various electronic devices having a display screen and supporting communication with the server 102, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like; when the terminal apparatus 101 is software, it can be installed in the electronic apparatus as above. The terminal device 101 may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not limited by the embodiment of the present disclosure. Further, various applications, such as data processing applications, instant messaging tools, social platform software, search-type applications, and the like, may be installed on the terminal device 101.
The server 102 may be a server providing various services, for example, a cloud server (hereinafter, referred to as "cloud") receiving a request sent by a terminal device establishing a communication connection with the server, and the cloud server may receive and analyze the request sent by the terminal device and generate a processing result. The server 102 may be a server, may also be a server cluster composed of several servers, or may also be a cloud computing service center, which is not limited in this disclosure.
The server 102 may be hardware or software. When the server 102 is hardware, it may be various electronic devices that provide various services to the terminal device 101. When the server 102 is software, it may be a plurality of software or software modules for providing various services for the terminal device 101, or may be a single software or software module for providing various services for the terminal device 101, which is not limited by the embodiment of the present disclosure.
The network 103 may be a wired network connected by a coaxial cable, a twisted pair and an optical fiber, or may be a wireless network that can interconnect various Communication devices without wiring, for example, Bluetooth (Bluetooth), Near Field Communication (NFC), Infrared (Infrared), and the like, which is not limited in the embodiment of the present disclosure.
The terminal apparatus 101 can establish a communication connection with the server 102 via the network 103.
In the embodiment of the disclosure, in a scene where connection between the internet of things device and the cloud needs to be established to enable the cloud to acquire data acquired by the internet of things device in real time and monitor the working state of the internet of things device, the corresponding internet of things device generally needs to be deployed at the cloud. Specifically, the terminal device 101 first loads a preset device creation page, where the device creation page includes an information input area and an information query area; then, when detecting that a user initiates an equipment template query request through the information query area, calling a plurality of functional programs corresponding to the equipment template query request; then, triggering and starting at least one of a plurality of functional programs, loading and displaying a preset optional equipment template and template information corresponding to the equipment template; acquiring a template application request initiated by a user, and judging whether a target equipment template matched with the template application request exists in the template of the optional equipment; if a target equipment template matched with the template application request exists, reporting target template information corresponding to the target equipment template and custom information input by a user in an information input area to a cloud (namely the server 102), wherein the target template information comprises the Internet of things equipment to be deployed, and after receiving the information, the cloud finishes the deployment of the Internet of things equipment at the cloud according to the custom information and the target equipment template information. The method and the device can greatly reduce the workload and the error rate of manual input of equipment data, and improve the efficiency and the effect of deploying the Internet of things equipment at the cloud end.
It should be noted that specific types, numbers, and combinations of the terminal device 101, the server 102, and the network 103 may be adjusted according to requirements of the internet of things in an application scenario, which is not limited in the embodiment of the present disclosure.
Fig. 2 is a schematic flow chart of a cloud deployment method of internet of things devices according to an embodiment of the present disclosure. The cloud deployment method of the internet of things device in fig. 2 may be executed by the terminal device 101 in fig. 1. As shown in fig. 2, the cloud deployment method of the internet of things device includes:
step S201, a preset device creation page is loaded, where the device creation page includes an information input area and an information query area.
The information input area may be an input field or an input box disposed at any position of the device-created page (for example, at the upper left position of the page). In the input field or box, the user may be allowed to fill in information such as letters, numbers, and the like. The information query area may be disposed at any position of the device creation page (for example, below the information input area).
In the information input area, a user can input an equipment name of the internet of things equipment to be deployed, and the equipment name can be user-defined or a general specification name of the internet of things equipment. The information query area may display prompt content for guiding the user how to initiate the device creation request, such as a prompt to "please select a point table template".
It should be noted that the specific setting positions and forms of the information input area and the information query area on the device creation page may be flexibly set according to actual needs, and are not specifically limited herein.
In one embodiment, the device creation page may be loaded by:
acquiring a device creating request initiated by a user, wherein the device creating request comprises a page loading instruction;
and executing the page loading instruction, and loading to obtain the equipment creating page corresponding to the page loading instruction.
Specifically, when an internet of things device needs to be added, a user (e.g., a field worker) may initiate a device creation request by clicking or touching a device deployment module (e.g., a module of a "new add sub-device") preset in the system. When the terminal device 101 detects the above-mentioned clicking or touching operation of the user, it may trigger to execute a preset page loading instruction, and load to obtain a device creation page corresponding to the instruction.
Step S202, when detecting that the user initiates the equipment template inquiry request through the information inquiry area, calling a plurality of functional programs corresponding to the equipment template inquiry request.
As an example, a user may initiate a device template query request by clicking or touching an information query region on a device creation page. When the terminal device 101 detects an operation of clicking or touching the information query area by the user, a plurality of preset functional programs corresponding to the device template query request are called.
Step S203, triggering and starting at least one of the plurality of functional programs, loading and displaying a preset template of the candidate device and template information corresponding to the template.
In an embodiment, the plurality of functional programs include a first filtering condition display functional program, a second filtering condition display functional program, and a third filtering condition display functional program;
triggering and starting any one of a first screening condition display function program, a second screening condition display function program and a third screening condition display function program, and loading and displaying a condition entry area corresponding to the triggered and started function program;
acquiring a first screening condition input by a user in a condition input area;
and loading and displaying the template of the optional equipment corresponding to the first screening condition and template information corresponding to the template.
The first filtering condition display function program may be a program for displaying a preset first dimension condition. The first dimension condition may include a stencil name, a device type, a device brand, a device model, and the like.
The second filtering condition display function program may be a program for displaying the second dimension condition. The second dimension condition may be to allow the user to enter key information about the template that the user wants to query (e.g., the template name, etc.).
The third filtering condition display function program may be a program for displaying the third dimension condition. The third dimension condition may include public templates, private templates, common templates, and the like.
As an example, when the terminal apparatus 101 detects that the user clicks or touches an information query area on the apparatus creation page, it is triggered to start any one of the first filtering condition display function program, the second filtering condition display function program, and the third filtering condition display function program. For example, if the first screening condition display function program is triggered to be started, the condition entry area corresponding to the first screening condition display function program is loaded and displayed, that is, the condition entry area corresponding to the first dimension condition is loaded and displayed. Specifically, the first dimension condition may be set as a pull-down menu, and a pull-down list corresponding to the pull-down menu includes specific contents such as a template name, a device type, a device brand, and a device model. The condition entry area may be a radio box or a check box provided within the drop-down menu.
For another example, if the second filtering condition display function program is triggered to be started, the condition entry area corresponding to the second filtering condition display function program is loaded and displayed. Specifically, the condition entry area may be a condition input box or an input field.
For another example, if a third screening condition display function program is triggered and started, a condition entry area corresponding to the third screening condition display function program is loaded and displayed, that is, a condition entry area corresponding to a third dimension condition is loaded and displayed. Specifically, the condition entry area may be a checkbox (or a checkcircle, etc.). For example, the check circle is arranged in front of the third dimension condition "public template, private template, and common template", and the specific form may be "o public template", "o private template", and "o common template".
As an example, assuming that a condition entry area corresponding to the first filtering condition display function program is displayed on the current page, when the user clicks one or more items of content in the pull-down menu (that is, obtains the first filtering condition entered by the user in the condition entry area), the template of the candidate device corresponding to the content of the pull-down menu selected by the user and the template information corresponding to the template are loaded and displayed. For example, if the user selects "template name" in the pull-down menu, all candidate device templates containing template names and their corresponding template information are loaded and displayed.
The template of the optional equipment can be formed by collecting some commonly used internet of things equipment in advance, and then classifying and sorting the equipment information (including name, type, communication protocol, measuring point name, measuring point code, data address, data type, function and byte sequence) of the commonly used internet of things equipment. Specifically, a device template may be set for a class of devices, or a device template may be set for a class of devices. For example, an air compressor type device is correspondingly provided with a device template.
The template information includes, but is not limited to, a device brand (e.g., LL, DLT645-2007, etc.), a template name (e.g., Wester, Tiantian Intelligent PT100CT100, etc.), a device model (e.g., CWNS 7-95,70-YQ, etc.), and a communication protocol (e.g., MODBUS-RTU, etc.).
In another embodiment, the first screening condition display function program, the second screening condition display function program and the third screening condition display function program are triggered to be started, and a first condition entry area corresponding to the first screening condition display function program, a second condition entry area corresponding to the second screening condition display function program and a third condition entry area corresponding to the third screening condition display function program are loaded and displayed;
acquiring second screening conditions input by a user in at least two of the first condition input area, the second condition input area or the third condition input area;
and loading and displaying the template of the optional equipment corresponding to the second screening condition and the template information corresponding to the template.
As an example, when the terminal device 101 detects that the user clicks or touches an information query area on the device creation page, it may trigger to start a first filtering condition display function program, a second filtering condition display function program, and a third filtering condition display function program, and load and display a first condition entry area corresponding to the first filtering condition display function program, a second condition entry area corresponding to the second filtering condition display function program, and a third condition entry area corresponding to the third filtering condition display function program. That is, the device creates a page on which the first, second and third dimensional conditions and their corresponding condition entry areas are displayed simultaneously. The user can input corresponding screening conditions in the first, second and third condition input areas as required to check corresponding template of the optional equipment and the template information corresponding to the template.
Illustratively, when acquiring a "template name" entered by a user in a first condition entry area and "wester" text content entered in a second condition entry area (the second screening condition in this example includes "template name" and "wester"), loading and displaying all candidate device templates with "template name" as "wester" and corresponding template information.
Step S204, acquiring a template application request initiated by a user, and judging whether a target equipment template matched with the template application request exists in the optional equipment templates.
In one embodiment, the template application request includes template identification information. Specifically, whether a target device template matched with the template application request exists in the candidate device templates can be judged through the following steps:
extracting identification information of templates of all optional equipment;
traversing whether the identification information has information consistent with the template identification information;
and if the information consistent with the template identification information exists, determining that the target equipment template corresponding to the template identification information exists in the optional equipment templates.
The template identification information can be unique coding information of one or any combination of numbers, letters, characters or special symbols for identifying and distinguishing templates of different internet of things devices. For example, the numbers 01 and 02 …, or the letters A, B, C …, or the words "template one", "template two" …, or the special symbols @, #.
The identification information can be unique coded information which is one or any combination of numbers, letters, characters or special symbols and is used for identifying and distinguishing different optional equipment templates.
As an example, when a user finds a template matching the device information of the internet of things device to be deployed in the process of querying and previewing the template of the optional device and the template information corresponding to the template, the template may be clicked and selected. When the terminal device detects the click operation of the user, the terminal device regards that the user initiates a template application request, and the template application request comprises template identification information of an optional device template selected by the user.
And then, the terminal equipment can traverse whether information consistent with the template identification information exists in all the identification information by extracting the identification information of all the optional equipment templates, and if so, can judge that a target equipment template corresponding to the template identification information exists in the optional equipment templates.
In some embodiments, when the user finds that there is no template matching with the device information of the internet of things device to be deployed in the process of querying and previewing the candidate device template and the template information corresponding to the candidate device template, the user may click an option of "expanding the template" preset on the page. When detecting the operation of clicking the option of the 'expanded template' by the user, the terminal device regards that the user initiates a template application request, and the template application request comprises template identification information of the template of the optional device selected by the user. And then, repeating the judging step to obtain a judging result.
In this example, the judgment result is that the identification information does not have information consistent with the template identification information, that is, it can be judged that the target device template matching with the template application request does not exist in the candidate device template. At this time, the terminal device can send a new application for the device template to the cloud. And the cloud end can issue a data entry template to the terminal equipment when receiving the new application of the equipment template. And when the terminal equipment receives the data entry template issued by the cloud, the terminal equipment feeds back equipment data to the cloud based on the data entry template so that the cloud generates and stores a new equipment template according to the equipment data. And then, the cloud end can complete the deployment work of the to-be-deployed Internet of things equipment according to the template information of the new equipment template and the user-defined information input by the user.
Specifically, when the user clicks the option of "expanding template" on the page in the process of querying and previewing the optional device template and the template information corresponding to the optional device template, the user is regarded as sending a new application for the device template to the cloud.
The data entry template comprises a data directory, data entry description information and the like. The data catalog comprises equipment brand, equipment type, equipment model, communication protocol, measuring point name, measuring point code, data address, data type and the like. The data entry description information is specifically some requirements for guiding the user how to enter the data corresponding to these data directories. For example, the station name must be in Chinese, the data address must be Arabic, and there must not be any duplicate numbers.
Step S205, if a target equipment template matched with the template application request exists, reporting target template information corresponding to the target equipment template and custom information input by a user in an information input area to the cloud, wherein the target template information comprises the Internet of things equipment to be deployed, so that the cloud completes deployment of the Internet of things equipment at the cloud according to the custom information and the target equipment template information.
In one embodiment, target template information corresponding to a target equipment template is displayed on a current interface according to a preset display rule; when the selected operation of the user is received, the target template information corresponding to the target equipment template and the user-defined information input by the user in the information input area are reported to the cloud.
The preset display rule generally means that all items of information in the target template information are arranged according to a certain arrangement order and displayed on a page.
The selection operation may be an operation of clicking or touching a function button on the page. For example, an operation of clicking a "ok" button on the page.
As an example, assume that the target device template selected by the user is a template of "deman MAM 100", and the template includes the following target template information: template name, equipment brand, equipment model, equipment type, communication protocol, measuring point name, measuring point code, data address, data type, functional domain and byte sequence. Then, the information can be collated and typeset to generate a page as shown in fig. 3 (only part of the content is shown in the figure), and the page is displayed on the current interface.
Then, when the terminal device detects that the user clicks a preset 'confirm' button on the page, the target device template is considered to be selected. At this time, the terminal device can report the target template information corresponding to the target device template and the user-defined information recorded in the information input area to the cloud.
The custom information refers to a device name of the internet of things device to be deployed, which is input by a user, such as "newly built child device 01".
In an embodiment, after receiving the information, the cloud may complete deployment of the internet of things device by:
constructing an Internet of things equipment model according to the user-defined information and the target equipment template information;
and establishing an association logic relationship between the Internet of things equipment and the Internet of things equipment model, and finishing deployment of the Internet of things equipment at the cloud.
As an example, after receiving the information uploaded by the terminal device, the cloud may construct a networking device model according to the custom information (i.e., the device name of the internet of things device to be deployed) and the selected target device template information. Then, an association logic relationship between the internet of things device and the internet of things device model is established, that is, a mapping relationship between device parameters of the internet of things device (actual device) and model parameters of the internet of things device model is established, and deployment work of the internet of things device at the cloud is completed.
After the Internet of things equipment is deployed at the cloud end, the measurement point data collected by the Internet of things equipment can be quickly acquired.
According to the technical scheme provided by the embodiment of the disclosure, a preset device creation page is loaded, and the device creation page comprises an information input area and an information query area; when detecting that a user initiates an equipment template query request through an information query area, calling a plurality of functional programs corresponding to the equipment template query request; triggering and starting at least one of a plurality of functional programs, loading and displaying a preset optional equipment template and template information corresponding to the equipment template; acquiring a template application request initiated by a user, and judging whether a target equipment template matched with the template application request exists in the template of the optional equipment; if the target equipment template matched with the template application request exists, target template information corresponding to the target equipment template and custom information input by a user in an information input area are reported to the cloud, so that the cloud can complete the deployment of the Internet of things equipment at the cloud according to the custom information and the target equipment template information, the workload and the error rate of manual input of equipment data can be greatly reduced, and the efficiency and the effect of deploying the Internet of things equipment at the cloud are improved.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 4 is a schematic view of a cloud deployment device of an internet of things device according to an embodiment of the present disclosure. As shown in fig. 4, the cloud deployment apparatus of the internet of things device includes:
a loading module 401 configured to load a preset device creation page, where the device creation page includes an information input area and an information query area;
the invoking module 402 is configured to invoke a plurality of functional programs corresponding to the device template query request when detecting that a user initiates the device template query request through the information query area;
a display module 403 configured to trigger and start at least one of the plurality of functional programs, load and display a preset candidate device template and template information corresponding to the preset candidate device template;
a judging module 404, configured to obtain a template application request initiated by a user, and judge whether a target device template matching the template application request exists in the candidate device templates;
the uploading module 405 is configured to, if a target device template matching the template application request exists, report target template information corresponding to the target device template and custom information entered by a user in the information input area to the cloud, so that the cloud completes deployment of the internet of things device at the cloud according to the custom information and the target device template information.
According to the technical scheme provided by the embodiment of the disclosure, a preset device creation page is loaded through a loading module 401, and the device creation page comprises an information input area and an information query area; when detecting that a user initiates a device template query request through an information query area, the invoking module 402 invokes a plurality of functional programs corresponding to the device template query request; the display module 403 triggers and starts at least one of the plurality of functional programs, and loads and displays a preset template of the optional device and template information corresponding to the template; the judging module 404 obtains a template application request initiated by a user, and judges whether a target device template matched with the template application request exists in the candidate device templates; if a target equipment template matched with the template application request exists in the uploading module 405, target template information corresponding to the target equipment template and custom information input by a user in an information input area are reported to the cloud, so that the cloud can complete deployment of the internet of things equipment in the cloud according to the custom information and the target equipment template information, workload and error rate of manual input of equipment data can be greatly reduced, and efficiency and effect of deploying the internet of things equipment in the cloud are improved.
In some embodiments, the loading module 401 includes:
the device comprises an instruction acquisition unit, a processing unit and a processing unit, wherein the instruction acquisition unit is configured to acquire a device creation request initiated by a user, and the device creation request comprises a page loading instruction;
and the loading unit is configured to execute the page loading instruction, and load the device creation page corresponding to the page loading instruction.
In some embodiments, the plurality of functional programs include a first filtering condition display functional program, a second filtering condition display functional program, and a third filtering condition display functional program. The display module 403 includes:
the first trigger unit is configured to trigger and start any one of the first screening condition display function program, the second screening condition display function program and the third screening condition display function program, and load and display a condition entry area corresponding to the triggered and started function program;
a first acquisition unit configured to acquire a first filtering condition entered by a user in a condition entry area;
and the first loading unit is configured to load and display the candidate device template corresponding to the first screening condition and template information corresponding to the candidate device template.
In some embodiments, the display module 403 further includes:
a second trigger unit configured to trigger starting of the first screening condition display function program, the second screening condition display function program, and the third screening condition display function program, and to load and display a first condition entry region corresponding to the first screening condition display function program, a second condition entry region corresponding to the second screening condition display function program, and a third condition entry region corresponding to the third screening condition display function program;
a second obtaining unit configured to obtain a second filtering condition entered by the user in at least two of the first condition entry area, the second condition entry area, or the third condition entry area;
and the second loading unit is configured to load and display the candidate device template corresponding to the second screening condition and the template information corresponding to the candidate device template.
In some embodiments, the template application request includes template identification information.
The step of judging whether the template of the optional equipment has the target equipment template matched with the template application request includes:
extracting identification information of templates of all optional equipment;
traversing whether the identification information has information consistent with the identification information;
and if the information consistent with the identification information exists, determining that the target equipment template corresponding to the template identification information exists in the optional equipment templates.
In some embodiments, the reporting, to the cloud, target template information corresponding to the target device template and custom information entered by the user in the information input area includes:
displaying target template information corresponding to the target equipment template on a current interface according to a preset display rule;
when the selected operation of the user is received, target template information corresponding to the target equipment template and custom information input by the user in the information input area are reported to the cloud.
In some embodiments, the foregoing step, according to the custom information and the target device template information, completes deployment of the internet of things device at the cloud, includes:
constructing an Internet of things equipment model according to the user-defined information and the target equipment template information;
and establishing an association logic relationship between the Internet of things equipment and the Internet of things equipment model, and finishing deployment of the Internet of things equipment at the cloud.
In some embodiments, the above apparatus further comprises:
the new building module is configured to send a device template new building application to the cloud if a target device template matched with the template application request does not exist;
the generating module is configured to receive a data entry template issued by the cloud, and feed back equipment data to the cloud based on the data entry template, so that the cloud generates and stores a new equipment template according to the equipment data.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
Fig. 5 is a schematic diagram of an electronic device 5 provided by the embodiment of the present disclosure. As shown in fig. 5, the electronic apparatus 500 of this embodiment includes: a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and operable on the processor 501. The steps in the various method embodiments described above are implemented when the processor 501 executes the computer program 503. Alternatively, the processor 501 implements the functions of the respective modules/units in the above-described respective apparatus embodiments when executing the computer program 503.
Illustratively, the computer program 503 may be partitioned into one or more modules/units, which are stored in the memory 502 and executed by the processor 501 to accomplish the present disclosure. One or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 503 in the electronic device 500.
The electronic device 500 may be a desktop computer, a notebook, a palm computer, a cloud server, or other electronic devices. The electronic device 500 may include, but is not limited to, a processor 501 and a memory 502. Those skilled in the art will appreciate that fig. 5 is merely an example of an electronic device 500 and does not constitute a limitation of electronic device 500 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., an electronic device may also include input-output devices, network access devices, buses, etc.
The Processor 501 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 502 may be an internal storage unit of the electronic device 500, such as a hard disk or a memory of the electronic device 500. The memory 502 may also be an external storage device of the electronic device 500, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the electronic device 500. Further, the memory 502 may also include both internal storage units and external storage devices of the electronic device 500. The memory 502 is used for storing computer programs and other programs and data required by the electronic device. The memory 502 may also be used to temporarily store data that has been output or is to be output.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing functional units and modules are merely illustrated in terms of division, and in the application of the internet of things, the foregoing functional allocation may be performed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/electronic device are merely illustrative, and for example, a module or a unit may be divided into only one logical function, another division may be made when the internet of things is implemented, multiple units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Part or all of the units can be selected according to the requirement of the Internet of things to achieve the purpose of the scheme of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the present disclosure may implement all or part of the flow of the method in the above embodiments, and may also be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of the above methods and embodiments. The computer program may comprise computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain suitable additions or additions that may be required in accordance with legislative and patent practices within the jurisdiction, for example, in some jurisdictions, computer readable media may not include electrical carrier signals or telecommunications signals in accordance with legislative and patent practices.
The above examples are only intended to illustrate the technical solution of the present disclosure, not to limit it; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should 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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present disclosure, and are intended to be included within the scope of the present disclosure.

Claims (10)

1. A cloud deployment method of Internet of things equipment is characterized by comprising the following steps:
loading a preset equipment creating page, wherein the equipment creating page comprises an information input area and an information query area;
when detecting that a user initiates an equipment template query request through the information query area, calling a plurality of functional programs corresponding to the equipment template query request;
triggering and starting at least one of the functional programs, loading and displaying a preset optional equipment template and template information corresponding to the equipment template;
acquiring a template application request initiated by the user, and judging whether a target equipment template matched with the template application request exists in the optional equipment templates or not;
if the target equipment template matched with the template application request exists, target template information corresponding to the target equipment template is obtained, the user reports self-defined information input in an information input area to the cloud, the target template information comprises the Internet of things equipment to be deployed, and the cloud is used for completing deployment of the Internet of things equipment in the cloud according to the self-defined information and the target equipment template information.
2. The method of claim 1, wherein loading the default device-created page comprises:
acquiring a device creating request initiated by the user, wherein the device creating request comprises a page loading instruction;
and executing the page loading instruction, and loading to obtain an equipment creating page corresponding to the page loading instruction.
3. The method according to claim 1, wherein the plurality of functional programs includes at least a first filtering condition display functional program, a second filtering condition display functional program, and a third filtering condition display functional program;
the triggering starts at least one of the plurality of functional programs, loads and displays a preset optional equipment template and template information corresponding to the equipment template, and comprises the following steps:
triggering and starting any one of the first screening condition display function program, the second screening condition display function program and the third screening condition display function program, and loading and displaying a condition entry area corresponding to the triggered and started function program;
acquiring a first screening condition input by the user in the condition input area;
and loading and displaying the template of the optional equipment corresponding to the first screening condition and template information corresponding to the template.
4. The method according to claim 1, wherein the plurality of functional programs include a first filtering condition display functional program, a second filtering condition display functional program, and a third filtering condition display functional program;
the triggering starts at least one of the plurality of functional programs, loads and displays a preset optional equipment template and template information corresponding to the equipment template, and comprises the following steps:
triggering and starting the first screening condition display function program, the second screening condition display function program and the third screening condition display function program, loading and displaying a first condition entry area corresponding to the first screening condition display function program, a second condition entry area corresponding to the second screening condition display function program and a third condition entry area corresponding to the third screening condition display function program;
acquiring second screening conditions input by the user in at least two of the first condition input area, the second condition input area or the third condition input area;
and loading and displaying the template of the optional equipment corresponding to the second screening condition and the template information corresponding to the template.
5. The method of claim 1, wherein the template application request includes template identification information;
the judging whether a target equipment template matched with the template application request exists in the optional equipment templates comprises the following steps:
extracting identification information of templates of all optional equipment;
traversing whether information consistent with the identification information exists in the identification information or not;
and if the information consistent with the identification information exists, determining that a target equipment template corresponding to the template identification information exists in the optional equipment templates.
6. The method of claim 1, wherein reporting target template information corresponding to the target device template and custom information entered by the user in the information input area to a cloud, comprises:
displaying target template information corresponding to the target equipment template on a current interface according to a preset display rule;
and when the selected operation of the user is received, reporting the target template information corresponding to the target equipment template and the user-defined information input by the user in the information input area to a cloud.
7. The method of claim 1, wherein the completing deployment of the internet of things device at a cloud according to the customization information and the target device template information comprises:
constructing an Internet of things equipment model according to the custom information and the target equipment template information;
and establishing an association logic relationship between the Internet of things equipment and the Internet of things equipment model, and finishing deployment of the Internet of things equipment at a cloud end.
8. The method according to claim 1, wherein after obtaining the template application request initiated by the user and determining whether a target device template matching the template application request exists in the candidate device templates, the method further comprises:
if the target equipment template matched with the template application request does not exist, sending an equipment template new application to the cloud;
and receiving a data entry template issued by the cloud, and feeding back equipment data to the cloud based on the data entry template so that the cloud generates and stores a new equipment template according to the equipment data.
9. The utility model provides a high in clouds deployment device of thing networking device which characterized in that includes:
the device comprises a loading module, a query module and a display module, wherein the loading module is configured to load a preset device creation page, and the device creation page comprises an information input area and an information query area;
the calling module is configured to call a plurality of functional programs corresponding to the equipment template inquiry request when detecting that a user initiates the equipment template inquiry request through the information inquiry area;
the display module is configured to trigger and start at least one of the plurality of functional programs, load and display a preset optional equipment template and template information corresponding to the equipment template;
the judging module is configured to acquire a template application request initiated by the user and judge whether a target equipment template matched with the template application request exists in the optional equipment templates;
the uploading module is configured to report target template information corresponding to the target equipment template and custom information input by the user in the information input area to the cloud if a target equipment template matched with the template application request exists, so that the cloud can complete deployment of the Internet of things equipment at the cloud according to the custom information and the target equipment template information.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN202210172283.2A 2022-02-24 2022-02-24 Cloud deployment method and device for Internet of things equipment and storage medium Pending CN114546528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210172283.2A CN114546528A (en) 2022-02-24 2022-02-24 Cloud deployment method and device for Internet of things equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210172283.2A CN114546528A (en) 2022-02-24 2022-02-24 Cloud deployment method and device for Internet of things equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114546528A true CN114546528A (en) 2022-05-27

Family

ID=81677374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210172283.2A Pending CN114546528A (en) 2022-02-24 2022-02-24 Cloud deployment method and device for Internet of things equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114546528A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160065653A1 (en) * 2014-08-26 2016-03-03 Fujitsu Limited Internet of things (iot) device configuration construction
CN108200190A (en) * 2018-01-26 2018-06-22 青岛国信发展(集团)有限责任公司 Internet of Things data service system and method based on cloud computing
CN109327551A (en) * 2018-12-04 2019-02-12 浩云科技股份有限公司 By the method and device of internet of things equipment access platform of internet of things, server
US10320625B1 (en) * 2018-08-21 2019-06-11 Capital One Services, Llc Managing service deployment in a cloud computing environment
CN111752916A (en) * 2019-12-30 2020-10-09 北京沃东天骏信息技术有限公司 Data acquisition method and device, computer readable storage medium and electronic equipment
CN111835842A (en) * 2020-07-02 2020-10-27 远景智能国际私人投资有限公司 Gateway resource updating method and device and Internet of things control platform
CN112202891A (en) * 2020-09-30 2021-01-08 福州富昌维控电子科技有限公司 Method for virtual deployment of Internet of things platform and server
CN112559813A (en) * 2021-01-29 2021-03-26 广州技象科技有限公司 Internet of things gateway data processing method and device based on instruction association pushing
CN113039566A (en) * 2018-12-12 2021-06-25 西门子股份公司 Application program configuration method, device, system, computer software product and readable medium for industrial Internet of things solution
CN113341900A (en) * 2021-06-24 2021-09-03 昆山罗亿智能科技有限公司 Zero-code-configuration industrial equipment data acquisition system
CN113641414A (en) * 2021-08-30 2021-11-12 平安国际融资租赁有限公司 Internet of things equipment access method and device, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160065653A1 (en) * 2014-08-26 2016-03-03 Fujitsu Limited Internet of things (iot) device configuration construction
CN108200190A (en) * 2018-01-26 2018-06-22 青岛国信发展(集团)有限责任公司 Internet of Things data service system and method based on cloud computing
US10320625B1 (en) * 2018-08-21 2019-06-11 Capital One Services, Llc Managing service deployment in a cloud computing environment
CN109327551A (en) * 2018-12-04 2019-02-12 浩云科技股份有限公司 By the method and device of internet of things equipment access platform of internet of things, server
CN113039566A (en) * 2018-12-12 2021-06-25 西门子股份公司 Application program configuration method, device, system, computer software product and readable medium for industrial Internet of things solution
CN111752916A (en) * 2019-12-30 2020-10-09 北京沃东天骏信息技术有限公司 Data acquisition method and device, computer readable storage medium and electronic equipment
CN111835842A (en) * 2020-07-02 2020-10-27 远景智能国际私人投资有限公司 Gateway resource updating method and device and Internet of things control platform
CN112202891A (en) * 2020-09-30 2021-01-08 福州富昌维控电子科技有限公司 Method for virtual deployment of Internet of things platform and server
CN112559813A (en) * 2021-01-29 2021-03-26 广州技象科技有限公司 Internet of things gateway data processing method and device based on instruction association pushing
CN113341900A (en) * 2021-06-24 2021-09-03 昆山罗亿智能科技有限公司 Zero-code-configuration industrial equipment data acquisition system
CN113641414A (en) * 2021-08-30 2021-11-12 平安国际融资租赁有限公司 Internet of things equipment access method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108153670B (en) Interface testing method and device and electronic equipment
CN108984388B (en) Method and terminal equipment for generating automatic test case
CN109426600B (en) Data acquisition processing method, device, equipment and readable storage medium
CN111130987A (en) Automatic acquisition method and device for AWR report, electronic equipment and storage medium
CN108073506A (en) Test method and device
CN111038906A (en) Order sorting method and device
WO2022179034A1 (en) Automatic testing method and apparatus, electronic device, and storage medium
CN104965829A (en) Method, server and system for classifying terminal applications
CN110109594B (en) Drawing data sharing method and device, storage medium and equipment
CN108062401B (en) Application recommendation method and device and storage medium
CN109213782A (en) Configuration, display methods, device and the communication equipment of search interface
CN113688183A (en) Multi-type data source extraction method, system, terminal equipment and storage medium
CN113760730A (en) Automatic testing method and device
CN116339715A (en) Front-end page construction method and device, electronic equipment and storage medium
CN114546528A (en) Cloud deployment method and device for Internet of things equipment and storage medium
CN110851518A (en) Intellectual property case data importing method, system, electronic terminal and medium
CN116664060A (en) Method, system and device for generating expense reimbursement basic data
CN116166556A (en) Code analysis method, device and system
EP4080371A1 (en) Automatic testing method and apparatus, electronic device, and storage medium
CN114296696A (en) Business function operation method and device, storage medium and electronic equipment
CN113256240B (en) Message processing method and device and server
CN114971785A (en) Order processing method and device, electronic equipment and storage medium
CN115130981A (en) Intelligent approval method and device, storage medium and server
CN113672497A (en) Method, device and equipment for generating non-buried point event and storage medium
CN112651212A (en) Method and terminal for remotely acquiring word stock

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