CN111355770A - Equipment centralized control method, server and electronic equipment - Google Patents

Equipment centralized control method, server and electronic equipment Download PDF

Info

Publication number
CN111355770A
CN111355770A CN201910407932.0A CN201910407932A CN111355770A CN 111355770 A CN111355770 A CN 111355770A CN 201910407932 A CN201910407932 A CN 201910407932A CN 111355770 A CN111355770 A CN 111355770A
Authority
CN
China
Prior art keywords
equipment
target
instruction
control instruction
data
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
CN201910407932.0A
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.)
Shenzhen Honghe Innovation Information Technology Co Ltd
Original Assignee
Shenzhen Honghe Innovation Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Honghe Innovation Information Technology Co Ltd filed Critical Shenzhen Honghe Innovation Information Technology Co Ltd
Priority to CN201910407932.0A priority Critical patent/CN111355770A/en
Publication of CN111355770A publication Critical patent/CN111355770A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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
    • 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
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Abstract

The invention discloses a device centralized control method, a server and electronic equipment, which comprise the following steps: configuring basic data; determining a device selection signal; determining target equipment to receive a control instruction according to the equipment selection signal; judging the online state of the target equipment according to the equipment information of the target equipment; if the target equipment is online, determining the type of the target equipment according to the equipment information, and determining a control instruction corresponding to the target equipment according to the type of the target equipment; sending the control instruction to the target device; and receiving a first execution result sent by the target equipment after the target equipment executes the control instruction. The equipment centralized control method provided by the invention can realize centralized control of cross-space equipment, reduce the response time of batch operation and save daily complicated operation.

Description

Equipment centralized control method, server and electronic equipment
Technical Field
The present invention relates to the field of device control technologies, and in particular, to a device centralized control method, a server, and an electronic device.
Background
Along with the popularization of the internet technology in the education industry, more and more schools choose to purchase OPS recording and broadcasting computer all-in-one machines, and the machines which can record videos and can be used as computers can be inserted into large education screens for auxiliary teaching. However, due to geographical isolation of each classroom, centralized and unified management cannot be performed by a specially-assigned person, so that the equipment can only be controlled by entering single classrooms respectively, centralized control cannot be realized, and the operation is complicated.
Disclosure of Invention
In view of this, the present invention provides a device centralized control method, a server, and an electronic device, which can perform centralized control on a recording and broadcasting host in a school.
In view of the above object, a first aspect of the present invention provides a centralized device control method, applied to a server, including: configuring basic data; determining a device selection signal; determining target equipment to receive a control instruction according to the equipment selection signal; judging the online state of the target equipment according to the equipment information of the target equipment; if the target equipment is online, determining the type of the target equipment according to the equipment information, and determining a control instruction corresponding to the target equipment according to the type of the target equipment; sending the control instruction to the target device; and receiving a first execution result sent by the target equipment after the target equipment executes the control instruction.
Optionally, the basic data includes: location data, device data, and user data; establishing a first mapping relationship between the device data and the location data; establishing a second mapping relationship between the user data and the location data;
and configuring the management authority of the user data to the corresponding device data according to the first mapping relation and the second mapping relation.
Optionally, when the control instruction is a device state reporting instruction, the first execution result is device state information of the target device; when the control instruction is an execution instruction, the first execution result is execution state information and a corresponding execution result of the target device after the target device executes according to the execution instruction; and when the control instruction is a configuration information instruction, the first execution result is that the current configuration information is updated according to the configuration information.
Optionally, the configuration location data, the user data, and the device data include: the location data comprises information of floors of different classrooms; configuring the location data as adding and/or modifying and/or deleting the location data; the user data comprises a user name, a mobile phone number or identity information; the configuration user data is the addition and/or modification and/or deletion and/or search of the user data; the device data comprises a device network address and/or a device name; configuring the device data to add and/or modify and/or delete and/or derive and/or move and/or search the device data;
optionally, the control instruction is sent to the target device based on a first service; and receiving the first execution result sent by the target equipment based on a second service.
In a second aspect of the present invention, a method for centralized control of devices is provided, which is applied to the devices and includes: receiving a control instruction sent by a server; executing the control instruction to obtain a first execution result; and sending the first execution result to the server.
Optionally, when the control instruction is a device state reporting instruction, the first execution result is device state information of the target device; when the control instruction is an execution instruction, the first execution result is execution state information and a corresponding execution result of the target device after the target device executes according to the execution instruction; and when the control instruction is a configuration information instruction, the first execution result is that the target device updates the current configuration information according to the configuration information.
In a third aspect of the present invention, there is provided a server comprising:
the configuration module is used for configuring basic data; the device determining module is used for determining target devices to receive the control instructions according to the determined device selection signals; an equipment state judgment module, configured to: judging the online state of the target equipment according to the equipment information of the target equipment; if the target equipment is online, determining the type of the target equipment according to the equipment information, and determining a control instruction corresponding to the target equipment according to the type of the equipment; the first sending module is used for sending the control instruction to the target equipment; and the first receiving module is used for receiving a first execution result sent by the target device after the control instruction is executed.
Optionally, the configuration module is configured to: establishing a first mapping relationship between the device data and the location data; establishing a second mapping relationship between the user data and the location data; and configuring the management authority of the user data to the corresponding device data according to the first mapping relation and the second mapping relation.
Optionally, the first receiving module is configured to: when the control instruction is a device state reporting instruction, receiving device state information of the target device; when the control instruction is an execution instruction, receiving execution state information and a corresponding execution result of the target device after the target device executes according to the execution instruction; and when the control instruction is a configuration information instruction, receiving the current configuration information updated by the target equipment according to the configuration information.
In a fourth aspect of the invention, there is provided an apparatus comprising:
the second receiving module is used for receiving the control instruction sent by the server; the execution module is used for executing the control instruction to obtain a first execution result; and the second sending module is used for sending the first execution result to the server.
Optionally, the second sending module is specifically configured to: when the control instruction is a device state reporting instruction, sending the device state information of the target device to the server; when the control instruction is an execution instruction, sending execution state information and a corresponding execution result of the target device after the target device executes according to the execution instruction; and when the control instruction is a configuration information instruction, sending the current configuration information updated by the target equipment according to the configuration information to the server.
In a fifth aspect of the present invention, there is provided an electronic apparatus comprising:
a processor, and a memory communicatively coupled to the processor, wherein the memory stores instructions executable by the processor to enable the processor to perform a method as claimed in any of the preceding claims.
In a sixth aspect of the present invention, there is provided another electronic device, including:
a processor, and a memory communicatively coupled to the processor, wherein the memory stores instructions executable by the processor to enable the processor to perform a method as any one of the preceding methods applied to a device.
From the above, according to the equipment centralized control method, the server and the electronic equipment provided by the invention, the corresponding execution result is obtained through the control instruction sent by the equipment execution server, and the execution result is sent to the interactive process of the server, so that the centralized control of the inter-space OPS recording and broadcasting host in the school is realized, the response time of batch operation is reduced, and the daily complicated operation is saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an embodiment of a centralized control method for devices provided by the present invention;
fig. 2 is a schematic flow chart of a location data configuration method in the centralized control method provided by the present invention;
fig. 3 is a schematic flow chart of a device data configuration method in the centralized control method according to the present invention;
fig. 4 is a schematic flowchart of a user data configuration method in the centralized control method provided by the present invention;
fig. 5 is a schematic flow chart of another embodiment of the centralized control method for devices provided by the present invention;
FIG. 6 is a block diagram of a server according to an embodiment of the present invention;
FIG. 7 is a block diagram of an embodiment of an apparatus provided by the present invention;
fig. 8 is a schematic diagram of an electronic device for centralized control of devices according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
In view of the above object, a first aspect of embodiments of the present invention proposes an embodiment of a centralized control method capable of performing centralized control on devices. Referring to fig. 1, a schematic flowchart of an embodiment of a centralized device control method provided in the present invention is applied to a server, and includes:
step 101: configuring basic data;
optionally, the basic data includes location data, device data, and user data. It should be noted that the device provided in this embodiment may be an OPS recording and playing host, a wall-mounted recording and playing host, or other devices that can be used by a client. The OPS recording and broadcasting host is inserted into the large-screen equipment for use, and the wall-mounted recording and broadcasting host is provided with a display and is hung on a wall to be used as a client.
In some optional embodiments, the location data includes information about floors where different classrooms are located, and as shown in fig. 2, the location data is configured to be added and/or modified and/or deleted as follows:
adding location data: and inputting or importing the place information.
And modifying the location data: editing the location information and storing the changed location information;
deleting the location data: deletions include single deletions and bulk deletions. Optionally, before the batch deletion operation is performed, a place to be deleted is selected, so as to implement batch control on the device. And when the control is carried out in batch, all the devices are operated by multiple threads together to execute the instructions simultaneously, so that the response time of batch operation can be reduced. It should be noted that, in addition to the above-mentioned method for maintaining location information, the location may be bound with a school in step 1014, and a school to be bound is selected before the binding operation is performed. In this embodiment, the location may also be searched according to the requirement.
In some optional embodiments, the device data comprises a device network address and/or a device name. Referring to fig. 3, the configuring of the device data is to add and/or modify and/or delete and/or export and/or move and/or search the device data, specifically as follows:
adding equipment data: and inputting or importing equipment information to generate a first equipment list. When equipment needs to be added, firstly, verifying the equipment to be added, and prompting relevant information if verification is not successful; and if the verification is successful, adding the stream address corresponding to the equipment, establishing a mapping relation among the location information, the equipment information and the equipment stream address, and generating a second equipment list. It should be noted that, the first device list includes device information corresponding to all devices after device information is entered or imported; the second device list includes a sum of the added device information and the original device information.
Exporting the device data: and exporting the device information corresponding to the device to obtain an export list. Optionally, the export list is presented in Excel form.
And deleting the equipment data: deleting the stream address corresponding to the equipment to generate a third equipment list; it should be noted that, in addition to deleting the device information corresponding to a single device, the centralized control method provided in this embodiment may also delete the device information in batch, select the device information to be deleted before executing the deletion operation, delete the stream addresses corresponding to the multiple devices to be deleted in batch, and complete the batch deletion operation. In the deletion process, if the deletion is cancelled, the deletion can fail. It should be noted that the third device list here includes the remaining device information after the corresponding device information is deleted.
And modifying the equipment data: and editing the information of the equipment, and regenerating a fourth equipment list, wherein the fourth list is the sum of the modified equipment information and the original equipment information. Optionally, editing the device information is to modify the device name, and if the device display cannot be modified, the editing is considered to be failed; and if the equipment display can be modified, the editing is considered to be successful, and the edited equipment information is stored.
Mobile device data: receiving a mobile or batch mobile device request, selecting a device to be moved, changing the site ID of the device to be moved, inquiring a corresponding fourth device list according to the changed site ID, and inquiring a corresponding first user list according to the device list to finish the movement or batch movement of the device; if the user cancels the operation in the operation process, the movement fails. Search and query device data: receiving a request for searching equipment, selecting the equipment type or inputting the equipment name, and inquiring the equipment data of the corresponding equipment according to the equipment type or the equipment name.
In some optional embodiments, the user data includes a user name, a mobile phone number, or identity information. Referring to fig. 4, configuring the user data to add, modify, delete, and/or search the user data specifically includes:
adding user data: and inputting or importing user information to generate a first user list, wherein the user information comprises information such as a user name, a mobile phone number, an identity and the like. Optionally, before importing the user information, the user needs to download a user information template and fill in the user information on the device page, where the user information template is presented in an Excel form; selecting Excel corresponding to the user to be imported, verifying the correctness of the Excel, importing user information to be imported if the verification is successful, and displaying a failure reason if the verification of the correctness is failed, wherein the user information to be imported cannot be imported. When user information is added, when the user name and the name of a user to be added are not empty and the user name does not exist, adding the user to be added and generating a second user list. Optionally, if the user name of the user, the result that the name check is blank, or the user name does not exist, the user is prompted that the user cannot add the user name or the result that the name check is blank. It should be noted that, the first user list includes a sum of user information corresponding to all users after entering or importing the user standby information; the second user list includes a sum of the added user information and the original user information.
And deleting the user data: deleting the user information to generate a third user list; before deleting the user information in batch, selecting a plurality of users to be deleted, deleting the user information in batch, and generating a fourth user list. It should be noted that, the third user list herein includes the remaining user information after deleting a single user information; correspondingly, the fourth user list comprises the user information left after the plurality of user information are deleted;
and modifying the user data: editing the user information and generating a fifth user list. It should be noted that after the user information is modified, if the modification is confirmed, the editing is regarded as successful; and if the modification is cancelled, the editing is regarded as failed. It should be noted that the fifth user list here contains modified user information.
Searching user data: and receiving a search user request, inquiring user information of the user according to the search field, and displaying the user information.
In some optional embodiments, the device centralized control method provided by the present invention performs authority assignment based on the location data, the device data, and the user data, completes interaction among the user, the device, and the data, and realizes centralized control of the device by the user. Referring to fig. 5, the method of the present invention provides one embodiment of rights assignment and, optionally,
establishing a first mapping relationship between the device data and the location data;
establishing a second mapping relationship between the user data and the location data;
and configuring the management authority of the user data to the corresponding device data according to the first mapping relation and the second mapping relation. For example: the user A is distributed to the place A, meanwhile, the devices A, B are distributed to the place A, according to the first mapping relation and the second mapping relation, the user A can control the devices A and the devices B, and the purpose that different users can control the devices within the authority range after logging in the system is achieved, and the purpose of centralized control is achieved. By using the permission allocation method provided by the embodiment, a user can realize cross-space real-time control on all devices, and the problem of cross-space operation of multiple devices is solved.
Step 102: a device selection signal is determined.
The user can click the target equipment at the client, and the server determines the equipment selection signal according to the clicked target equipment.
Step 103: and determining target equipment to receive the control instruction according to the equipment selection signal.
Step 104: and judging the online state of the target equipment according to the equipment information of the target equipment.
In some optional embodiments, the method for determining the online status of the device in step 104 is: the device reports the recording and broadcasting host, namely the state information of the device, to the server every heartbeat detection time (such as 5 seconds), and if the device always reports the state information to the server, the device is judged to be on line; if the device exceeds the heartbeat detection threshold (e.g., 20 seconds) and does not report the state information to the server, the device is judged to be offline.
Step 105: and if the target equipment is online, determining the type of the equipment according to the equipment information, and determining a control instruction corresponding to the target equipment according to the equipment type.
In some optional embodiments, the control instruction in step 105 includes turning on and off, turning on and off at regular time, restarting, starting recording, stopping recording, starting live broadcasting, stopping live broadcasting, setting a schedule, setting a video recording plan and a live broadcasting plan, setting live broadcasting, starting or closing course searching push stream, locking a screen, unlocking the screen, setting and acquiring a screen locking password, setting or acquiring a second number of a timed screen locking, and the like. The server searches the corresponding equipment type through the equipment information and determines a control instruction corresponding to the target equipment according to the type of the target equipment;
when the searched device type is the ZF05100OPS host, the corresponding control instruction can be startup and shutdown, restart, start recording, stop recording, start live broadcasting, stop live broadcasting, set a class sheet, set a video recording plan and a live broadcasting plan, set live broadcasting, start or close course searching push flow and the like; when the found device type is the ZF0600 wall-mounted host, the corresponding control instruction may be to open or close course searching plug flow, lock the screen, unlock the screen, set and acquire a screen-locking password, set or acquire a timed screen-locking second number, and the like. It should be noted that the ZF05100OPS host is equivalent to a built-in computer and can be inserted into a large-screen device for use, and the large-screen device can be used as a client of the ZF05100OPS host; the ZF0600 wall-mounted host is provided with a display and is hung on a wall to be used as a client.
In this embodiment, record, switch on and off, live all provide timing function, and the user can set up equipment in appointed time automatic work according to the demand of oneself, saves the loaded down with trivial details of operation every day, and at this moment, the control command that sends to the recorded broadcast host computer still includes the timing time parameter of setting. It should be noted that, in the method for centralized control of devices provided in this embodiment, in addition to implementing the above functions, the method further supports a function of recording the devices according to a schedule, and a user can autonomously select a course to be recorded and upload the course to a resource platform of the user as needed, where in this case, the control instruction sent to the recording and broadcasting host further includes the schedule content. Alternatively, the user may be a lessee teacher, a lessee manager or anyone authorized to operate the device.
Step 106: and sending the control instruction to the target equipment.
Step 107: and receiving a first execution result sent by the target equipment.
In some optional embodiments, when the control instruction is an instruction for reporting a device state, the first execution result is device state information of the target device; when the control instruction is a start or stop instruction, the first execution result is the execution state information of the target device and a corresponding execution result; and when the control instruction is a configuration information instruction, the first execution result is that the current configuration information is updated according to the configuration information.
The device centralized control method provided by the embodiment realizes centralized control of the inter-space recording and broadcasting host in the school by establishing interaction between the recording and broadcasting host and the server.
Referring to fig. 5, as a second aspect of the present invention, another embodiment of a method for centralized control of devices is provided, which is applied to a device terminal, and includes:
step 201: receiving a control instruction sent by the server.
Step 202: executing the control instruction to obtain a first execution result;
step 203: and sending the first execution result to a server.
In some optional embodiments, when the received control instruction is an instruction for reporting a device state, the sent first execution result is device state information of the target device, where the device state information is a current state of the device, such as a live broadcast, a recorded broadcast, a disk usage rate, and the like.
When the received control instruction is an execution instruction, the sent first execution result is execution state information and a corresponding execution result of the target device after execution according to the execution instruction; the execution instruction is, for example, start/stop recording, start/stop live broadcasting, power on/off, and the like.
And when the received control instruction is a configuration information instruction, the sent first execution result is that the current configuration information is updated according to the configuration information. The configuration information is, for example, a timed recording time, schedule contents, a video schedule or a live schedule.
In this embodiment, the received control instruction is used as a recording start instruction, and the device terminal receives the recording instruction sent by the server and starts recording to obtain a first execution result, where the first execution result is video information; after the recording is finished, uploading the video to a corresponding folder of an NAS storage server based on an FTP protocol; meanwhile, the equipment provides an HTTP interface, and the server sends an HTTP request to the equipment so as to perform instant control, including operations of displaying, downloading, deleting and the like on the video.
It should be noted that, the nas (network Attached storage) network Attached storage server in this embodiment is a technology for integrating distributed and independent data into a large-scale and centralized management data center, so as to facilitate access to different hosts and application servers. While NAS is defined as a special dedicated data storage server comprising storage devices (e.g., disk arrays, CD/DVD drives, tape drives, or removable storage media) and embedded system software, can provide cross-platform file sharing functionality. And the NAS cost is far lower than the use of server storage, and the efficiency is far higher than the server storage. Since the RAID system of the NAS server is designed in a special operating system of the NAS server, no additional burden is caused, and on the contrary, the I/O speed is higher because the head arms of a plurality of disks can read and write simultaneously and parallelly.
In some optional embodiments, the control instruction is sent to the target device based on a first service; and receiving the first execution result sent by the target equipment based on a second service. It should be noted that, in this embodiment, the first service implements data transmission based on the HTTP protocol, and the second service implements data transmission based on the TCP protocol. Optionally, the server communicates with the device terminal in an HTTP manner, where the HTTP communication manner mainly sends a control instruction to the device terminal and receives a request notification from the client. The communication between the equipment terminal and the server adopts a TCP connection mode, and the server starts a second service based on TCP and only receives information reported by the equipment terminal; compared with a single service, the above-mentioned multiple service splitting has the following advantages:
a complex service can be decomposed into a plurality of small services, each service is divided into one service, the boundary of the service is clear, and the complex problem is simplified. Since each service system is a distributed system, there is no coupling between services. With the increase of services, services can be re-split according to the services, and the service splitting method has extremely strong transverse expansion capability. As the number of users of an application increases, microservices may be deployed in clusters, thereby increasing the load capacity of the system. When the first service is blocked, the second service receiving notice is not influenced; or when the second service is blocked, the notification received by the first service is not influenced, and the stability of the system is fully ensured.
In view of the above object, a third aspect of the present invention provides a server. Referring to fig. 6, the server includes:
a configuration module 301, configured to configure the basic data.
The device determining module 302 is configured to determine a target device to receive the control instruction according to the determined device selection signal.
A device online status determining module 303, configured to:
judging the online state of the target equipment according to the equipment information of the target equipment;
if the target equipment is online, determining the type of the equipment according to the equipment information, and determining a control instruction corresponding to the target equipment according to the equipment type;
a first sending module 304, configured to send the control instruction to the target device;
a first receiving module 305, configured to receive a first execution result sent after the target device executes the control instruction.
In some optional embodiments, the configuration module is specifically configured to:
establishing a first mapping relationship between the device data and the location data;
establishing a second mapping relationship between the user data and the location data;
and configuring the management authority of the user data to the corresponding device data according to the first mapping relation and the second mapping relation.
In some optional embodiments, the first receiving module is specifically configured to:
when the control instruction is a device state reporting instruction, receiving device state information of the target device;
when the control instruction is an execution instruction, receiving execution state information and a corresponding execution result of the target device after the target device executes according to the execution instruction;
and when the control instruction is a configuration information instruction, receiving the current configuration information updated according to the configuration information.
It can be seen from the above embodiments that, the server provided in this embodiment implements centralized control over the devices across the space through interaction with the devices, reduces the response time of batch operations, and saves daily cumbersome operations.
In a fourth aspect of the invention, an apparatus is presented. Referring to fig. 7, the apparatus comprises:
a second receiving module 401, configured to receive a control instruction sent by the server;
an execution module 402, configured to execute the control instruction to obtain a first execution result;
a second sending module 403, configured to send the first execution result to a server.
In some optional embodiments, the second sending module is specifically configured to:
when the control instruction is a device state reporting instruction, sending the device state information of the target device to the server;
when the control instruction is an execution instruction, sending execution state information and a corresponding execution result of the target device after the target device executes according to the execution instruction;
and when the control instruction is a configuration information instruction, sending the current configuration information updated according to the configuration information to the server.
The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again. It should be particularly noted that the above embodiments of the server and the device all employ the embodiment of the device centralized control method to specifically describe the working process of each module, and those skilled in the art can easily think that these modules are applied to other embodiments of the device centralized control method. Of course, since the steps in the embodiment of the centralized control method for equipment can be mutually intersected, replaced, added, and deleted, the device for centralized control of equipment with these reasonable permutations and combinations should also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiment.
In a fifth aspect of the present invention, an electronic device is provided. Referring to fig. 8, the electronic device includes:
one or more processors 401 and a memory 402, one processor 401 being exemplified in fig. 8.
The apparatus for performing the centralized control method may further include: an input device 403 and an output device 404.
The processor 401, the memory 402, the input device 403 and the output device 404 may be connected by a bus or other means, and fig. 8 illustrates an example of a connection by a bus.
The memory 402, which is a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the centralized control method in the embodiments of the present application. The processor 401 executes various functional applications of the server and data processing by running nonvolatile software programs, instructions, and modules stored in the memory 302, that is, implements the centralized control method of the above-described method embodiments.
The memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the central control apparatus, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 402 may optionally include memory located remotely from processor 401, which may be connected to the user behavior monitoring device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 403 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the data recommendation device. The output device 404 may include a display device such as a display screen.
The one or more modules are stored in the memory 402 and, when executed by the one or more processors 401, perform the centralized control method of any of the method embodiments described above. The technical effect of the embodiment of the server executing the centralized control method is the same as or similar to that of any of the method embodiments.
In a sixth aspect of the present invention, another electronic device is proposed, and it should be noted that, the hardware structure of the electronic device is the same as that of the electronic device described above, and the technical effect of the embodiment of the device for executing the centralized control method is the same as or similar to that of any method embodiment described above. And has the beneficial effects of the corresponding method embodiments, which are not described herein again.
The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (14)

1. A centralized control method of equipment is applied to a server and is characterized by comprising the following steps:
configuring basic data;
determining a device selection signal;
determining target equipment to receive a control instruction according to the equipment selection signal;
judging the online state of the target equipment according to the equipment information of the target equipment;
if the target equipment is online, determining the type of the target equipment according to the equipment information, and determining a control instruction corresponding to the target equipment according to the type of the target equipment;
sending the control instruction to the target device;
and receiving a first execution result sent by the target equipment after the target equipment executes the control instruction.
2. The device centralized control method according to claim 1, wherein the basic data includes: location data, device data, and user data;
establishing a first mapping relationship between the device data and the location data;
establishing a second mapping relationship between the user data and the location data;
and configuring the management authority of the user data to the corresponding device data according to the first mapping relation and the second mapping relation.
3. The device centralized control method according to claim 1,
when the control instruction is a device state reporting instruction, the first execution result is the device state information of the target device;
when the control instruction is an execution instruction, the first execution result is execution state information and a corresponding execution result of the target device after the target device executes according to the execution instruction;
and when the control instruction is a configuration information instruction, the first execution result is that the current configuration information is updated according to the configuration information.
4. The centralized equipment control method according to claim 2, wherein the configuration location data, the user data, and the equipment data comprise:
the location data comprises information of floors of different classrooms; configuring the location data as adding and/or modifying and/or deleting the location data;
the user data comprises a user name, a mobile phone number or identity information; the configuration user data is the addition and/or modification and/or deletion and/or search of the user data;
the device data comprises a device network address and/or a device name; the configuring device data is adding and/or modifying and/or deleting and/or deriving and/or moving and/or searching the device data.
5. The device centralized control method according to claim 1,
sending the control instruction to the target device based on a first service;
and receiving the first execution result sent by the target equipment based on a second service.
6. A device centralized control method is applied to devices and is characterized by comprising the following steps:
receiving a control instruction sent by a server;
executing the control instruction to obtain a first execution result;
and sending the first execution result to the server.
7. The device centralized control method according to claim 6,
when the control instruction is a device state reporting instruction, the first execution result is the device state information of the target device;
when the control instruction is an execution instruction, the first execution result is execution state information and a corresponding execution result of the target device after the target device executes according to the execution instruction;
and when the control instruction is a configuration information instruction, the first execution result is that the target device updates the current configuration information according to the configuration information.
8. A server, comprising:
the configuration module is used for configuring basic data;
the device determining module is used for determining target devices to receive the control instructions according to the determined device selection signals;
an equipment state judgment module, configured to:
judging the online state of the target equipment according to the equipment information of the target equipment;
if the target equipment is online, determining the type of the target equipment according to the equipment information, and determining a control instruction corresponding to the target equipment according to the type of the equipment;
the first sending module is used for sending the control instruction to the target equipment;
and the first receiving module is used for receiving a first execution result sent by the target device after the control instruction is executed.
9. The server of claim 8, wherein the configuration module is configured to:
establishing a first mapping relationship between the device data and the location data;
establishing a second mapping relationship between the user data and the location data;
and configuring the management authority of the user data to the corresponding device data according to the first mapping relation and the second mapping relation.
10. The server according to claim 8, wherein the first receiving module is configured to:
when the control instruction is a device state reporting instruction, receiving device state information of the target device;
when the control instruction is an execution instruction, receiving execution state information and a corresponding execution result of the target device after the target device executes according to the execution instruction;
and when the control instruction is a configuration information instruction, receiving the current configuration information updated by the target equipment according to the configuration information.
11. An apparatus, comprising:
the second receiving module is used for receiving the control instruction sent by the server;
the execution module is used for executing the control instruction to obtain a first execution result;
and the second sending module is used for sending the first execution result to the server.
12. The device of claim 11, wherein the second sending module is specifically configured to:
when the control instruction is a device state reporting instruction, sending the device state information of the target device to the server;
when the control instruction is an execution instruction, sending execution state information and a corresponding execution result of the target device after the target device executes according to the execution instruction;
and when the control instruction is a configuration information instruction, sending the current configuration information updated by the target equipment according to the configuration information to the server.
13. An electronic device comprising a processor, and a memory communicatively coupled to the processor,
wherein the memory stores instructions executable by the processor to enable the processor to perform the method of any one of claims 1-5.
14. An electronic device comprising a processor, and a memory communicatively coupled to the processor,
wherein the memory stores instructions executable by the processor to enable the processor to perform the method of any one of claims 6 to 7.
CN201910407932.0A 2019-05-15 2019-05-15 Equipment centralized control method, server and electronic equipment Pending CN111355770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910407932.0A CN111355770A (en) 2019-05-15 2019-05-15 Equipment centralized control method, server and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910407932.0A CN111355770A (en) 2019-05-15 2019-05-15 Equipment centralized control method, server and electronic equipment

Publications (1)

Publication Number Publication Date
CN111355770A true CN111355770A (en) 2020-06-30

Family

ID=71196946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910407932.0A Pending CN111355770A (en) 2019-05-15 2019-05-15 Equipment centralized control method, server and electronic equipment

Country Status (1)

Country Link
CN (1) CN111355770A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804301A (en) * 2020-12-30 2021-05-14 成都佳华物链云科技有限公司 Method and device for determining equipment state, gateway and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608225A (en) * 2017-09-29 2018-01-19 深圳市艾特智能科技有限公司 Control method, system, storage medium and the computer equipment of intelligent home device
CN108833217A (en) * 2018-04-12 2018-11-16 珠海格力电器股份有限公司 A kind of method and apparatus carrying out household appliance management

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608225A (en) * 2017-09-29 2018-01-19 深圳市艾特智能科技有限公司 Control method, system, storage medium and the computer equipment of intelligent home device
CN108833217A (en) * 2018-04-12 2018-11-16 珠海格力电器股份有限公司 A kind of method and apparatus carrying out household appliance management

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804301A (en) * 2020-12-30 2021-05-14 成都佳华物链云科技有限公司 Method and device for determining equipment state, gateway and storage medium
CN112804301B (en) * 2020-12-30 2023-02-28 成都佳华物链云科技有限公司 Method and device for determining equipment state, gateway and storage medium

Similar Documents

Publication Publication Date Title
CN110750334B (en) Ceph-based network target range rear end storage system design method
CN104662537B (en) Integrated data retention strategy for solid-state and asymmetric access
CN103067463B (en) user root authority centralized management system and management method
CN102999400A (en) Data backup method and device of cloud storage system
CN103957248A (en) Public real-time data management cloud service platform based on Internet of Things
WO2009012696A1 (en) A communication device batch configuration managing method and the apparatus thereof
DE112013002542T5 (en) Cloud-based application resource files
KR20130131362A (en) Providing transparent failover in a file system
CN102204210A (en) Method, server, and system for starting application
CN106294151B (en) Log test method and device
CN103984573A (en) Installation method and device of application program
US20140068026A1 (en) System for automatically configuring server using pre-recorded configuration script and method thereof
CN107688611B (en) Saltstack-based Redis key value management system and method
CN112994958B (en) Network management system, method and device and electronic equipment
CN105450759A (en) System mirror image management method and device
CN102368848B (en) Wireless communication device and configuration method thereof
CN102097015B (en) Operation instruction processing system and method
CN107580032B (en) Data processing method, device and equipment
CN101944107A (en) Document management method
CN105095103A (en) Storage device management method and device used for cloud environment
CN114629921A (en) Cloud platform and bucket management method of object storage service provided by cloud platform
CN104601666A (en) Log service method and cloud platform
CN110061876B (en) Optimization method and system of operation and maintenance auditing system
CN101556540B (en) Unified management method for a plurality of backup software and system thereof
US20150020167A1 (en) System and method for managing files

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200630

RJ01 Rejection of invention patent application after publication