Summary of the invention
The object of the present invention is to provide a kind of method for remote management of embedded device, system, with the incompatible technical problem of making troubles to user of the operating system solving Windows7 and above system and embedded device.
First aspect present invention provides a kind of method for remote management of embedded device, comprising:
Set up and be connected with the network of described embedded device;
Connected by described network, obtain the information of the described embedded device of at least one item in the IP address of described embedded device, temporal information, Folder List and the process list that running;
Based on the information of accessed described embedded device, telemanagement is carried out to described embedded device.
Wherein, based on obtained Folder List, telemanagement is carried out to described embedded device and comprises at least one item in the following:
Browse file and the file of described embedded device, Delete Folder or file, from described embedded device download file, to described embedded device upload file.
Wherein, described process list comprises at least one item in the following:
Process sequence number, process title, process identification (PID) code, number of threads, load address, update time and remarks.
Wherein, based on described process list, telemanagement is carried out to described embedded device and comprises:
Select and close the process in described process list.
Wherein, based on obtained IP address, telemanagement is carried out to described embedded device and comprises:
Upgrade the IP address of described embedded device.
Wherein, based on obtained temporal information, telemanagement is carried out to described embedded device and comprises:
Adjust the time of described embedded device.
Present invention offers following beneficial effect: in this method, the PC being provided with Windows7 and above system and embedded device are set up after network is connected, can obtain and show at least one item in the IP address of embedded device, temporal information, Folder List and the process list that running, the information about embedded device that user can show based on PC, carries out telemanagement to embedded device.Improve and be provided with the PC of Windows7 and above system and the degree of compatibility of embedded device, user operation embedded device of being more convenient for.
Second aspect present invention provides a kind of long-distance management system of embedded device, comprises the server module being arranged at described embedded device and the client modules be arranged in PC:
Described client modules is connected with the network of described server module for setting up, and communicated with described server module by described network connection, the acquisition instruction of the information obtaining described embedded device is sent to described server module, and the information of the described embedded device sent according to described server module, send supervisory instruction to described server module, the information of described embedded device comprises at least one item in the IP address of described embedded device, temporal information, Folder List and the process list that running;
Described server module is used for the acquisition instruction of sending according to described client modules, obtain the information of corresponding described embedded device, and according to described supervisory instruction, call and perform the corresponding function of described embedded device, to realize the telemanagement to described embedded device.
Wherein, the information of the described embedded device that described client modules sends according to described server module, sends supervisory instruction to described server module and comprises:
The Folder List that described client modules sends according to described server module, supervisory instruction is sent to described server module, described supervisory instruction comprises the file and file of browsing described embedded device, Delete Folder or file, from described embedded device download file, at least one item in described embedded device upload file.
Wherein, the information of the described embedded device that described client modules sends according to described server module, sends supervisory instruction to described server module and comprises:
The process list that described client modules sends according to described server module, sends the supervisory instruction of rev down process rev to described server module.
Wherein, the information of the described embedded device that described client modules sends according to described server module, sends supervisory instruction to described server module and comprises:
The temporal information that described client modules sends according to described server module, sends the supervisory instruction of the time of the described embedded device of adjustment to described server module.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in specification, claims and accompanying drawing and obtain.
Embodiment
Describe embodiments of the present invention in detail below with reference to drawings and Examples, to the present invention, how application technology means solve technical problem whereby, and the implementation procedure reaching technique effect can fully understand and implement according to this.It should be noted that, only otherwise form conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other, and the technical scheme formed is all within protection scope of the present invention.
The technical problem of making troubles to user in order to the operating system solving Windows7 and above system and embedded device is incompatible, embodiments provides a kind of method for remote management of embedded device.Wherein, the operating system of embedded device is WindowsCE, to embedded equipment carry out telemanagement for operating system be Windows7 and above PC.
Embedded device is primarily of flush bonding processor, associated support hardware and embedded software system composition, and it is " device " that can work independently that integrate software and hardware.Flush bonding processor is primarily of a single-chip microcomputer or microcontroller (MicrocontrollerUnit is called for short MCU) composition.Associated support hardware comprises display card, storage medium (read-only memory (Read-OnlyMemory, be called for short ROM) and random access memory (Random-AccessMemory, be called for short RAM) etc.), the fetch equipment etc. of communication apparatus, integrated circuit (IntegratedCircuit, be called for short IC) card or credit card.Embedded device is different from general computer processing system, and it does not possess jumbo storage medium as hard disk, and mostly uses flash memory (FlashMemory) as storage medium.Embedded software comprises hardware-related bottom software, operating system, graphical interfaces, communications protocol, Database Systems, standardization browser and application software etc.In the embodiment of the present invention, this embedded device can be repeater.
Based on above-mentioned prerequisite, as shown in Figure 1, the method for remote management of this embedded device comprises:
Step S101, foundation are connected with the network of embedded device.
PC obtains the IP address of the acquiescence of embedded device, and communication protocol (TransmissionControlProtocol/InternetProtocol Network Based, be called for short TCP/IP), set up by the IP address of this acquiescence and be connected with the network of embedded device.
Step S102, to be connected by network, obtain at least one item in the IP address of embedded device, temporal information, Folder List and the process list that running.
After setting up network connection, user can in PC side, and according to individual demand, select, obtain the information oneself needing the embedded device understood, PC, after getting the information of embedded device, can be shown to user.Wherein, PC can obtain and the information of the embedded device shown can be the IP address of embedded device, temporal information, Folder List, and at least one item in the process list run in embedded device.
User also can pre-set PC, arranges and needs PC to obtain and the information shown, after setting up network connection, and the information of the embedded device that the need that PC automatic acquisition user pre-sets obtain, and user is shown.
Step S103, information based on accessed embedded device, carry out telemanagement to embedded device.
User, in PC side, based on the relevant information of accessed embedded device, can carry out telemanagement to embedded device.
User at least can carry out following telemanagement to embedded device:
The each file in embedded device is not only had in Folder List, after user's point opens a certain file, the information such as the sub-folder under PC also can show file to user and concrete file.Therefore, based on the Folder List that PC side obtains, user in PC side, by operating mouse, can click each file in Folder List and the file in file, thus browses file and the file of embedded device.
During the file of user in browse through folders and file, also can safeguard file or file, such as Delete Folder or file, or self-embedding formula device downloads file is in PC, for safeguarding embedded device later.
Similar, user can also select the file in PC, by the connection of setting up between embedded device, to embedded device upload file, realizes the file in remote update embedded device.
In the process list that PC is shown user, comprise at least one item in the following: process sequence number, process title, process identification (PID) code, number of threads, load address, update time and remarks.Give sequence number to each process, more can be conducive to user and understand and have how many processes at present in work.The effective information that update time of the title of each process, unique identification code, process is relevant to process with remarks etc., all can be illustrated in process list, manage the process run in embedded device for user better.
The process list that user shows according to PC, selects the process in also rev down process rev list.PC, according to the operation of user, sends corresponding supervisory instruction to embedded device.After embedded device receives corresponding supervisory instruction, close corresponding process.
Although user is when setting up PC and being connected with the network of embedded device, need the default ip address to PC input embedded device, search out embedded device to make PC according to the IP address of this acquiescence and set up and connect based on the network of TCP/IP.But PC and embedded device are set up after network is connected, and also again can obtain the IP address of embedded device, for the new IP address of user by PC input embedded device, make user can the IP address of remote update embedded device.
Because embedded device is normally for controlling, monitoring or the device of auxiliary operation machine and equipment, therefore, whether time and the current time of embedded device conform to very important.Because user is when assigning control command to embedded device, assign based on the current time in the time zone at Chinese place, if the time of embedded device and PC or user are not inconsistent the determined time, then the instruction that embedded device cannot be assigned according to user acts on schedule operates machines or equipment.Therefore, after getting the temporal information of embedded device, user also can in the time of PC side adjustment embedded device.Concrete, can be synchronous with PC by the Timing of embedded device.Then user only needs the time of calibrating PC, can adjust the time of embedded device easily.
In addition, user also can carry out remote reboot operation to embedded device.After PC sends the instruction of correspondence to embedded device, namely embedded device carries out reboot operation.Formula equipment to be embedded restart complete, restart work after, embedded device is automatically set up network with PC and is connected, and user can continue to carry out telemanagement, operation in PC side to embedded device.
User also when embedded device works, can be interrupted PC and is connected with the network of embedded device.Then the connection of PC and embedded device is interrupted, and user temporarily cannot carry out telemanagement in PC side to embedded device.
To sum up, a kind of method for remote management of embedded device is embodiments provided.In this method, the PC being provided with Windows7 and above system and embedded device are set up after network is connected, can obtain and show at least one item in the IP address of embedded device, temporal information, Folder List and the process list that running, the information about embedded device that user can show based on PC, carries out telemanagement to embedded device.Improve and be provided with the PC of Windows7 and above system and the degree of compatibility of embedded device, user operation embedded device of being more convenient for.
Accordingly, the embodiment of the present invention additionally provides a kind of long-distance management system of embedded device, and as shown in Figure 2, this system comprises the server module being arranged at described embedded device and the client modules be arranged in PC.
Client modules is connected with the network of server module for setting up, and communicated with server module by network connection, the acquisition instruction of the information obtaining embedded device is sent to server module, and the information of the embedded device sent according to server module, send supervisory instruction to server module, the information of embedded device comprises at least one item in the IP address of embedded device, temporal information, Folder List and the process list that running.
Server module is used for the acquisition instruction of sending according to client modules, obtains the information of corresponding embedded device, and according to supervisory instruction, calls and performs the corresponding function of embedded device, to realize the telemanagement to embedded device.
Wherein, the Folder List that client modules can send according to described server module, supervisory instruction is sent to server module, supervisory instruction comprises the file and file of browsing embedded device, Delete Folder or file, self-embedding formula device downloads file, at least one item in embedded device upload file.
Or the process list that client modules can send according to server module, sends the supervisory instruction of rev down process rev to server module; The temporal information that can send according to server module, sends the supervisory instruction of the time of the described embedded device of adjustment to server module; The IP address that can send according to server module, sends IP address to be updated to server module; The supervisory instruction etc. of restarting embedded device can be sent to server module.
After server module receives supervisory instruction, resolve, call according to supervisory instruction and perform the corresponding function of embedded device.After server module processes supervisory instruction, connected by the network set up and execution result is fed back to client modules.
The feedback result got from server module is showed user by client modules, is convenient to user's more effectively telemanagement embedded device.
Although execution mode disclosed in this invention is as above, the execution mode that described content just adopts for the ease of understanding the present invention, and be not used to limit the present invention.Technical staff in any the technical field of the invention; under the prerequisite not departing from spirit and scope disclosed in this invention; any amendment and change can be done what implement in form and in details; but scope of patent protection of the present invention, the scope that still must define with appending claims is as the criterion.