A kind of device data management method, storage medium and its intelligent terminal
Technical field
The present invention relates to technical field of data administration more particularly to a kind of device data management methods, storage medium
And its intelligent terminal.
Background technique
With the fast development of internet communication technology, the application field of internet communication technology is also more and more extensive, will
Internet communication Technology application to energy efficiency management and control field is a kind of trend.
But in the prior art, the most method for obtaining data using manual inspection mode, and for number
The mode of account record is generally adopted by according to the method being managed.In this way for data acquisition and not in time, and it is artificial
Inspection lags there are data and there are a large amount of human error, causes data to be inaccurate, is unfavorable for being managed equipment
With maintenance.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the above drawbacks of the prior art, providing a kind of device data pipe
Reason method, storage medium and its intelligent terminal, it is intended to solve in device management method in the prior art data acquisition not in time
And there are problems that human error.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of device data management method, wherein the described method includes:
Periodically obtain the device data of each equipment, and by accessed device data according to preset data mapping relations into
Row is sorted out, and is stored in preset memory space;
The operational order for receiving user, transfers device data according to the administration authority of user, and to institute out of described memory space
It states equipment and operation is decrypted;
Device data Jing Guo decryption oprerations is shown, and the abnormal data in the device data is identified.
The device data management method, wherein the device data includes: device name, device model, equipment are compiled
Number, the date of production, equipment working state, equipment cumulative operation time, equipment position and the corresponding administrative staff of equipment
Information.
The device data management method, wherein the device data for periodically obtaining each equipment, and will be acquired
To the device data step being sorted out, and be stored in preset memory space according to preset data mapping relations it
Before, further includes:
Unique Device is arranged for each equipment in advance to number, and equipment is classified according to functions, equipment is divided into multiple
Classification, each classification are correspondingly arranged a memory space, for storing the device data of each classification.
The device data management method, wherein encipheror is provided in the memory space, when device data is deposited
After in storage to corresponding memory space, start the encipheror, machine encryption is carried out to device data.
The device data management method, wherein the device data for periodically obtaining each equipment, and will be acquired
To the device data step being sorted out according to preset data mapping relations, and be stored in preset memory space, packet
It includes:
It presets the frequency for periodically obtaining each device data and obtains the time point of device data, and monitor in real time current
Whether the time reaches the time point for obtaining device data;
After if current time reaches the time point for obtaining device data, the instruction for obtaining device data is sent to each equipment, and
Receive the device data that each equipment is sent;
It is stored according to the device data that the functional category of each equipment will acquire to corresponding memory space.
The device data management method, wherein the operational order for receiving user, according to the administration authority of user
Device data is transferred out of described memory space, and before the step of operation is decrypted to the equipment, comprising:
Different administration authorities is set for each user role in advance, different administration authorities have check different data and
Operate the function of different equipment.
The device data management method, wherein the operational order for receiving user, according to the administration authority of user
Device data, and the step of operation is decrypted to the equipment are transferred out of described memory space, comprising:
After receiving the operational order of user, the administration authority of user is identified, and according to the administration authority identified from storage
The matched device data of administration authority for meeting and identifying is transferred in space;
Decryption program is called, and operation is decrypted to the device data of calling.
The device data management method, wherein the device data by Jing Guo decryption oprerations shows, and right
The step of abnormal data in the device data is identified, comprising:
Device data Jing Guo decryption oprerations is shown, and the device data and pre-stored normal data are carried out
It compares;
If device data has differences with normal data, the abnormal data in device data is extracted, and in display
It is identified, to remind user.
A kind of controlling terminal, comprising: processor, the storage medium connecting with processor communication, the storage medium are suitable for
Store a plurality of instruction;The processor is suitable for transferring the instruction in the storage medium, is realized described in any of the above-described with executing
Device data management method the step of.
A kind of storage medium is stored thereon with a plurality of instruction, wherein and described instruction is suitable for being loaded and being executed by processor,
To execute the step of realizing device data management method described in any of the above embodiments.
Beneficial effects of the present invention: the present invention can obtain device data in time, guarantee the timeliness of data and accurate
Property, and by the way that different administration authorities is arranged, to realize that different users has the different power for checking data and operation
Limit guarantees the safety of device data, and the present invention is also identified abnormal data when device data is shown, to remind
User provides convenience to the use of user.
Detailed description of the invention
Fig. 1 is the flow chart of the preferred embodiment of device data management method of the invention.
Fig. 2 is the functional block diagram of a preferred embodiment of intelligent terminal of the invention.
Specific embodiment
Mobile terminal shutdown control method provided by the present application, can be applied in terminal.Wherein, terminal can with but it is unlimited
Then various personal computers, laptop, mobile phone, tablet computer, vehicle-mounted computer and portable wearable device.The application
Terminal use multi-core processor.Wherein, the processor of terminal can be central processing unit (Central Processing
Unit, CPU), graphics processor (Graphics Processing Unit, GPU), video processing unit (Video
At least one of Processing Unit, VPU) etc..
Due in the prior art, the acquisition methods for data are typically all and manually to be patrolled by the way of manual inspection
It is abnormal that the mode of inspection needs artificially to go to judge that the data of equipment whether there is, for people not abundant for working experience,
It is easy that there are biggish human errors.Also, the mode of the management of data is substantially using account in the prior art
Mode, Information Security is weak, and data are easily lost, and therefore, has seriously affected working efficiency.Therefore, one is provided in the present embodiment
Kind device data management method, it is specific as shown in fig. 1, it the described method comprises the following steps:
Step S100, the device data of each equipment is periodically obtained, and by accessed device data according to preset data
Mapping relations are sorted out, and are stored in preset memory space.
When it is implemented, taking the automatic mode for obtaining device data in this implementation, it is not necessarily to manual inspection, is avoided artificially accidentally
Difference.Preferably, the frequency for periodically obtaining each device data is preset in the present embodiment and obtains the time of device data
Point, and monitor whether current time reaches the time point for obtaining device data in real time.Device data is obtained for example, presetting
Frequency be three times a day, and when time point is respectively 9,14 when and when 18.When monitoring that current time reaches these three times
When point, then the instruction for obtaining device data is sent to each equipment.Preferably, in the present embodiment in advance by intelligent terminal with it is each
Equipment establishes communication connection, to carry out data interaction between intelligent terminal and each equipment.Communication in the present embodiment
Interconnection technique includes: PLC(Programmable Logic Controller, programmable logic controller (PLC)) technology, micropower without
The low-power consumption LAN protocol of line communication technology, Zig-Bee(based on IEEE802.15.4 standard), WiMAX, GPRS/CDMA
(General Packet Radio Service, general packet radio service technology/Code Division Multiple
Access, CDMA), a kind of overlength distance wireless transmission scheme based on spread spectrum of LoRa(), NB-IOT(Narrow
Band Internet of Things, be based on cellular narrowband Internet of Things) in any one or it is a variety of.Preferably, this reality
It applies the communications protocol in example and carries out unified conversion, uniform protocol output is that MODBVS communications protocol exports, and realizes communications protocol
Standardization.After each equipment receives the instruction that intelligent terminal is sent, then the device data of each equipment is sent out immediately
It send into intelligent terminal.
It preferably, include: device name, device model, device numbering, factory day in the device data in the present embodiment
Phase, equipment working state, equipment cumulative operation time, equipment position and the corresponding administrative staff's information of equipment.Furthermore
The present embodiment is also arranged Unique Device in advance for each equipment and numbers, and equipment is classified according to functions, by equipment
It is divided into multiple classifications, each classification is correspondingly arranged a memory space, for storing the device data of each classification.Example
Such as, a memory space is arranged in one memory space of air-conditioning setting setting, heating equipment, and a memory space is arranged in power supply unit
Deng.The device data of the equipment of the different function stored in each memory space, to carry out Classification Management to device data.For
The safety of device data is further increased, encipheror is set in each memory space in the present embodiment, the encryption
Program is for encrypting device data, will be according to setting after intelligent terminal receives the device data that equipment is sent
Standby functional category stores device data to corresponding memory space, and starts the encipheror of the memory space immediately, right
Device data is encrypted, and to guarantee that the device data got can be encrypted in time, is guaranteed data security.
Certainly, equipment can also be divided according to the band of position in the present embodiment, for example, according to room or floor
Equipment is divided, then stores the equipment for belonging to the equipment an of floor or belonging to a room to the same storage
In space.Equally can user be more easily managed to equipment in this way.
Further, a unique two-dimension code label can also be arranged in the present embodiment on each device, as inspection people
Member can be can directly use mobile terminal (such as mobile phone) to scan the two-dimension code label and carry out device data when carrying out inspection
Acquisition, device data is then sent to by intelligent terminal by mobile terminal, so that intelligent terminal receives number of devices
According to.In order to enable acquired device data is not chaotic, in the present embodiment in two-dimension code label corresponding to each equipment also
It is stored with device numbering, when scanning the two-dimension code label, so that it may obtain device numbering, then will obtain and set according to device numbering
The data such as the standby date of production of model, equipment.
Step S200, the operational order for receiving user, transfers out of described memory space according to the administration authority of user and sets
Standby data, and operation is decrypted to the equipment.
When it is implemented, relevant operational order can be inputted when user (administrative staff) needs to check device data.When
After intelligent terminal receives the operational order of user, then identifies the administration authority of user, extracted according to the administration authority identified
Corresponding device data.Preferably, the present embodiment is that different administration authorities is arranged in each user role in advance, the administrative power
Limit includes: to check the permission of distinct device data, operates the permission etc. of different instruction.For example, being responsible for management air-conditioning equipment user
(administrative staff) can only check the device data of air-conditioning equipment, and can only adjust to the device data of air-conditioning equipment
It is whole, and the device data of heating equipment can only be checked by being responsible for management heating equipment user (administrative staff), and can only be right
The device data of heating equipment is adjusted.That is, different administration authorities, which has, checks different data and operation
The function of different equipment.After receiving the operational order of user, the present embodiment will identify the administrative power of the user immediately
Limit, then transfers satisfaction according to the administration authority of the user from memory space automatically and identifies the matched number of devices of administration authority
According to for example, what is then transferred is the device data of air-conditioning equipment when user is air conditioning managing personnel.Then decryption program is transferred again,
Operation is decrypted to the device data transferred, to guarantee that device data can be checked normally.
Step S300, the device data Jing Guo decryption oprerations is shown, and to the abnormal number in the device data
According to being identified.
When it is implemented, device data is shown when obtaining after the device data of decryption oprerations.User's (pipe
Reason personnel) equipment state of the equipment, the equipment work of operating time and equipment can be checked in the device data of display
Make the information such as state, to understand the state of equipment in time.Remind customer equipment data whether abnormal of course for timely, this reality
It applies in example and also compares device data with the normal data being stored in advance in memory space, then judge equipment number of devices
Whether according to meeting the requirements, if device data and the normal data being stored in advance in memory space have differences, judgement is worked as
The device data of preceding equipment be it is undesirable, it is as abnormal, then further abnormal data are identified, and setting
Standby data are identified display when being shown, preferably to remind user.For example, intelligent terminal can be further to acquisition
Device data, analyze the current efficiency of the equipment, if beyond scheduled efficiency requirement, if beyond scheduled efficiency requirement,
Then can warning reminding user in time, and corresponding solution is shown in an intelligent terminal, to reach Intelligent treatment exception
Purpose.
Preferably, the display in the present embodiment for device data can be shown in the form of dialog box, can also
It is shown in the form of using 3D visual.Certainly, it can also be set by the camera that device context is arranged in the present embodiment
The current state of standby captured in real-time equipment, and real-time Transmission is shown into intelligent terminal.Preferably, as general in the present embodiment
When device data carries out 3D visualization display, need to carry out building Building Information Model (Building Information
Modeling), the equipment in the location of each equipment region and each equipment can be shown in Building Information Model
Data provide convenience to more intuitively understand device data to the use of user.
It should be understood that although each step in the flow chart of Fig. 1 is successively shown according to the instruction of arrow, this
A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps
It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part in Fig. 1
Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-steps
It completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out,
But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
Based on the above embodiment, the present invention also provides a kind of intelligent terminal, functional block diagram can be as shown in Figure 2.The intelligence
Energy terminal includes processor, memory, network interface, display screen and the temperature sensor connected by system bus.Wherein, should
The processor of wearable device is for providing calculating and control ability.The memory of the intelligent terminal includes that non-volatile memories are situated between
Matter, built-in storage.The non-volatile memory medium is stored with operating system and computer program.The built-in storage is non-volatile
The operation of operating system and computer program in storage medium provides environment.The network interface of the intelligent terminal is used for and outside
Terminal by network connection communication.To realize device data management method when the computer program is executed by processor.The intelligence
The display screen of energy terminal can be liquid crystal display or electric ink display screen, and the temperature sensor of the intelligent terminal is preparatory
It is arranged inside intelligent terminal, for detecting the current running temperature of internal unit.
It will be understood by those skilled in the art that functional block diagram shown in Figure 2, only portion relevant to application scheme
The block diagram of separation structure does not constitute the restriction for the intelligent terminal being applied thereon to application scheme, specific intelligent terminal
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of intelligent terminal, including memory and processor are provided, is stored with meter in memory
Calculation machine program, the processor perform the steps of when executing computer program
Periodically obtain the device data of each equipment, and by accessed device data according to preset data mapping relations into
Row is sorted out, and is stored in preset memory space;
The operational order for receiving user, transfers device data according to the administration authority of user, and to institute out of described memory space
It states equipment and operation is decrypted;
Device data Jing Guo decryption oprerations is shown, and the abnormal data in the device data is identified.
In one embodiment, it is each for can also performing the steps of when which executes computer program in advance
A equipment setting Unique Device is numbered, and equipment is classified according to functions, and equipment is divided into multiple classifications, each classification pair
One memory space should be set, for storing the device data of each classification.Preferably, device data includes: device name, equipment
Model, device numbering, the date of production, equipment working state, equipment cumulative operation time, equipment position and equipment are corresponding
Administrative staff's information.It is provided with encipheror in the memory space, when device data is stored to corresponding memory space
Afterwards, start the encipheror, machine encryption is carried out to device data.
In one embodiment, it can also perform the steps of to preset when which executes computer program and determine
Whether the phase obtains the frequency of each device data and obtains the time point of device data, and monitor current time in real time and reach and obtain
Take the time point of device data;If after current time reaches the time point for obtaining device data, sending acquisition to each equipment and setting
The instruction of standby data, and receive the device data that each equipment is sent;It will acquire according to the functional category of each equipment
Device data is stored to corresponding memory space.
In one embodiment, it is each for can also performing the steps of when which executes computer program in advance
A user role is arranged different administration authorities, and different administration authorities, which has, checks different data and the different equipment of operation
Function.
In one embodiment, it can also perform the steps of to work as when which executes computer program and receive use
After the operational order at family, the administration authority of user is identified, and satisfaction is transferred from memory space according to the administration authority identified
The matched device data of the administration authority identified;Decryption program is called, and operation is decrypted to the device data of calling.
In one embodiment, can also perform the steps of when which executes computer program will be by decrypting
The device data of operation is shown, and the device data is compared with pre-stored normal data;If number of devices
It has differences, then the abnormal data in device data is extracted according to normal data, and be identified in display, to mention
Wake up user.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, computer program
It is performed the steps of when being executed by processor
Periodically obtain the device data of each equipment, and by accessed device data according to preset data mapping relations into
Row is sorted out, and is stored in preset memory space;
The operational order for receiving user, transfers device data according to the administration authority of user, and to institute out of described memory space
It states equipment and operation is decrypted;
Device data Jing Guo decryption oprerations is shown, and the abnormal data in the device data is identified.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided by the present invention,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM(EPROM), electrically erasable ROM(EEPROM) or flash memory.Volatile memory may include
Random-access memory (ram) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM(SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM(ESDRAM), synchronization link (Synchlink) DRAM(SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
In conclusion the invention discloses a kind of device data management method, storage medium and intelligent terminal, method packet
Include: periodically obtaining the device data of each equipment, and by accessed device data according to preset data mapping relations into
Row is sorted out, and is stored in preset memory space;The operational order for receiving user, is deposited according to the administration authority of user from described
Storage transfers device data in space, and operation is decrypted to the equipment;Device data Jing Guo decryption oprerations is shown
Show, and the abnormal data in the device data is identified.The present invention can obtain device data in time, guarantee data
Timeliness and accuracy, and by the way that different administration authorities is arranged, to realize that different users checks number with different
Accordingly and the permission of operation, guarantee the safety of device data, the present invention is also to abnormal data when device data is shown
It is identified, to remind user, provides convenience to the use of user.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.