CN102455980A - System and method for controlling electronic device by using file - Google Patents

System and method for controlling electronic device by using file Download PDF

Info

Publication number
CN102455980A
CN102455980A CN2010105104352A CN201010510435A CN102455980A CN 102455980 A CN102455980 A CN 102455980A CN 2010105104352 A CN2010105104352 A CN 2010105104352A CN 201010510435 A CN201010510435 A CN 201010510435A CN 102455980 A CN102455980 A CN 102455980A
Authority
CN
China
Prior art keywords
control
electronic installation
documents
module
main control
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
CN2010105104352A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2010105104352A priority Critical patent/CN102455980A/en
Publication of CN102455980A publication Critical patent/CN102455980A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for controlling an electronic device by using a file. The electronic device is communicated with a main control end through a universal serial bus. The method comprises the following steps of: when a user sets a control command of the electronic device on the main control end, generating a control file according to the control command set by the user; when the main control end is communicated with the electronic device, sending the control file to the electronic device; receiving the control file sent from the main control end, and storing the control file to a storage unit of the electronic device; analyzing the control file in the storage unit to obtain the control command in the control file; and carrying out corresponding control on the electronic device according to the control command obtained through analysis. The invention also provides a system for controlling the electronic device by using the file.

Description

Utilize the system and method for document control electronic installation
Technical field
The present invention relates to a kind of electronic installation control system and method, particularly about a kind of system and method that utilizes the document control electronic installation.
Background technology
Open operating system (allowing the user to load and unload third party software at any time, for example: Windows or Linux etc.), the deviser can be in being equipped with the device of open operating system, and exploitation relative program and driver are controlled other electronic installation.But (user can not load and unload any third party software, and for example: embedded Linux), the deviser can't be in the device that the hands-off operation system is installed, and exploitation relative program and driver are controlled other electronic installation for the hands-off operation system.Therefore, the device that the hands-off operation system is installed can't see through control program and control other electronic installation, and the performance of hands-off operation system and device reduces greatly.
Summary of the invention
In view of above content; Be necessary to provide a kind of system that utilizes the document control electronic installation; Can be with the control command of electronic installation is sent to electronic installation with the mode of file; Electronic installation carries out control corresponding according to the control command in the control documents to electronic installation, has solved the problem of uncontrollable other electronic installation of hands-off operation system and device.
In addition, also be necessary to provide a kind of method of utilizing the document control electronic installation, electronic installation carries out control corresponding according to the control command in the control documents to electronic installation, has solved the problem of uncontrollable other electronic installation of hands-off operation system and device.
A kind of system that utilizes the document control electronic installation; This system comprises control documents generation module and the control documents sending module that runs on main control end; And run on control documents receiver module, parsing module and the control module of electronic installation; Wherein: said control documents generation module is used for when the user accomplishes control command to electronic installation and is provided with on main control end, and the control command set according to the user generates control documents; Said control documents sending module is used for when main control end and electronic installation communicate, said control documents being sent to electronic installation; Said control documents receiver module is used to receive the control documents that sends from main control end, and said control documents is stored to the storage unit of electronic installation; Said parsing module is used for the control documents of storage unit is resolved with the control command in the controlled file; The control command that said control module is used for obtaining according to said parsing is carried out control corresponding to electronic installation.
A kind of method of utilizing the document control electronic installation; This electronic installation communicates through USB and main control end; This method comprises the steps: that the control command set according to the user generates control documents when the user accomplishes control command to electronic installation and is provided with on main control end; When main control end and electronic installation communicate, said control documents is sent to electronic installation; The control documents that reception is sent from main control end, and said control documents is stored to the storage unit of electronic installation; Control documents in the storage unit is resolved with the control command in the controlled file; Control command according to said parsing obtains is carried out control corresponding to electronic installation.
Compared to prior art; The system and method that utilizes the document control electronic installation of the present invention; Can generate control documents in the set control command of main control end according to the user, and this control documents is sent to electronic installation, electronic installation carries out control corresponding according to the control command in the control documents to electronic installation; Solve the problem of uncontrollable other electronic installation of hands-off operation system and device, improved the performance of hands-off operation system and device.
Description of drawings
Fig. 1 is the configuration diagram of the preferred embodiment of the present invention system of utilizing the document control electronic installation.
Fig. 2 is the process flow diagram of the preferred embodiment of the present invention's method of utilizing the document control electronic installation.
Fig. 3 is the synoptic diagram that generates control documents according to the control command that the user is provided with.
The main element symbol description
Utilize the system of document control electronic installation 1
Main control end 10
The USB interface data line 20
Electronic installation 30
Storage unit 31
Circuit control operation interface 40
The control documents generation module 100
The control documents sending module 101
The control documents receiver module 300
Parsing module 301
Control module 302
Removing module 303
Embodiment
As shown in Figure 1, be the configuration diagram of the preferred embodiment of the present invention system of utilizing the document control electronic installation.This framework comprises that in the main control end 10 and electronic installation 30 that the hands-off operation system is installed, wherein, this electronic installation 30 can communicate through USB interface data line 20 and main control end 10.Main control end 10 can provide a circuit control operation interface, and the user can be provided with the order that need control electronic installation 30 on this circuit control operation interface, and after the user was provided with completion, main control end 10 generated control documents according to the order of said setting.Main control end 10 is stored to said control documents in the storage unit 31 of electronic installation 30 through USB interface data line 20.30 pairs of control documents of electronic installation are resolved with controlled order, and according to the control command that parsing obtains electronic installation 30 are carried out control corresponding.
Said main control end 10 comprises control documents generation module 100 and control documents sending module 101.Said electronic installation 30 comprises control documents receiver module 300, parsing module 301, control module 302 and removing module 303.The alleged module of the present invention is to accomplish the computer program code segments of a specific function, be more suitable in describing the implementation of software in computing machine than program, therefore below the present invention to all describing in the software description with module.
Said control documents generation module 100 is used for when the user accomplishes control command to electronic installation 30 and is provided with on main control end 10, and the control command set according to the user generates control documents.As shown in Figure 3, circuit control operation interface 40 is used to be provided with the control command to electronic installation 30 fan, and for example: in circuit control operation interface 40, clicking " fan power " is " on ", and " fan speed " is " 2 ".After the user is provided with completion; Click " send "; Then control documents generation module 100 generates control documents according to the control command that the user clicks; For example: according to the control documents of a called after fan.txt of content generation who clicks in the circuit control operation interface 40, the content of this control documents is power=on, speed=2.
Said control documents sending module 101 is used for when main control end 10 and electronic installation 30 communicate, said control documents being sent to electronic installation 30.
Said control documents receiver module 300 is used to receive the control documents that sends from main control end 10, and said control documents is stored to storage unit 31.
Said parsing module 301 is used for the control documents of storage unit 31 is resolved with the control command in the controlled file.
The control command that said control module 302 is used for obtaining according to said parsing is carried out control corresponding to electronic installation 30.For example: if resolve the control command that obtains is power=on, speed=2, and then the state of electronic installation 30 fan is set to opening, and the rotating speed of fan is set to 2 grades.
Said removing module 303 is used for after electronic installation 30 is accomplished control corresponding, the control documents in the deletion storage unit 31.
As shown in Figure 2, be the process flow diagram of the preferred embodiment of the present invention's method of utilizing the document control electronic installation.Step S10, when the user accomplished control command to electronic installation 30 and is provided with on main control end 10, control documents generation module 100 generated control documents according to the set control command of user.
Step S11, when main control end 10 and electronic installation 30 communicated, control documents sending module 101 sent to electronic installation 30 with said control documents.
Step S12, control documents receiver module 300 receives the control documents that sends from main control end 10, and said control documents is stored to storage unit 31.
Step S13, the control documents in 301 pairs of storage unit 31 of parsing module is resolved with the control command in the controlled file.
Step S14, control module 302 is carried out control corresponding according to the control command that said parsing obtains to electronic installation 30.
Step S15, after electronic installation 30 is accomplished control corresponding, the control documents in the removing module 303 deletion storage unit 31.
What should explain at last is; Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to preferred embodiment; Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and the scope of technical scheme of the present invention.

Claims (6)

1. system that utilizes the document control electronic installation; It is characterized in that; This system comprises control documents generation module and the control documents sending module that runs on main control end, and runs on control documents receiver module, parsing module and the control module of electronic installation, wherein:
Said control documents generation module is used for when the user accomplishes control command to electronic installation and is provided with on main control end, and the control command set according to the user generates control documents;
Said control documents sending module is used for when main control end and electronic installation communicate, said control documents being sent to electronic installation;
Said control documents receiver module is used to receive the control documents that sends from main control end, and said control documents is stored to the storage unit of electronic installation;
Said parsing module is used for the control documents of storage unit is resolved with the control command in the controlled file;
The control command that said control module is used for obtaining according to said parsing is carried out control corresponding to electronic installation.
2. the system that utilizes the document control electronic installation as claimed in claim 1 is characterized in that, this system also comprises:
Removing module is used for after electronic installation is accomplished control corresponding, the control documents in the deletion storage unit.
3. the system that utilizes the document control electronic installation as claimed in claim 1 is characterized in that, said control documents is the file of suffix .txt form by name.
4. method of utilizing the document control electronic installation, this electronic installation communicates through USB and main control end, it is characterized in that, and this method comprises the steps:
When the user accomplished control command to electronic installation and is provided with on main control end, main control end generated control documents according to the set control command of user;
When main control end and electronic installation communicated, main control end sent to electronic installation with said control documents;
Electronic installation receives the control documents that sends from main control end, and said control documents is stored to the storage unit of electronic installation;
Electronic installation is resolved with the control command in the controlled file the control documents in the storage unit;
Electronic installation carries out control corresponding according to the control command that said parsing obtains.
5. the method for utilizing the document control electronic installation as claimed in claim 4 is characterized in that, this method also comprises step:
After electronic installation is accomplished control corresponding, the control documents in the deletion storage unit.
6. the method for utilizing the document control electronic installation as claimed in claim 4 is characterized in that, said control documents is the file of suffix .txt form by name.
CN2010105104352A 2010-10-18 2010-10-18 System and method for controlling electronic device by using file Pending CN102455980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105104352A CN102455980A (en) 2010-10-18 2010-10-18 System and method for controlling electronic device by using file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105104352A CN102455980A (en) 2010-10-18 2010-10-18 System and method for controlling electronic device by using file

Publications (1)

Publication Number Publication Date
CN102455980A true CN102455980A (en) 2012-05-16

Family

ID=46039185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105104352A Pending CN102455980A (en) 2010-10-18 2010-10-18 System and method for controlling electronic device by using file

Country Status (1)

Country Link
CN (1) CN102455980A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560749A (en) * 2004-02-26 2005-01-05 晶晨半导体(上海)有限公司 Method for controlling command in playing procedure of video player
CN1828622A (en) * 2006-04-06 2006-09-06 徐佳晶 Control system and operating steps for Blue Tooth mobile phone remote-control computer
US7185029B1 (en) * 2003-06-27 2007-02-27 Unisys Corporation Method and apparatus for maintaining, and updating in-memory copies of the first and second pointers to reference the new versions of the first and second control structures that indicate available and allocated portions of usable space in the data file

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7185029B1 (en) * 2003-06-27 2007-02-27 Unisys Corporation Method and apparatus for maintaining, and updating in-memory copies of the first and second pointers to reference the new versions of the first and second control structures that indicate available and allocated portions of usable space in the data file
CN1560749A (en) * 2004-02-26 2005-01-05 晶晨半导体(上海)有限公司 Method for controlling command in playing procedure of video player
CN1828622A (en) * 2006-04-06 2006-09-06 徐佳晶 Control system and operating steps for Blue Tooth mobile phone remote-control computer

Similar Documents

Publication Publication Date Title
CN104461647A (en) Implementation method for remotely refreshing server power modules in batch
CN108604200A (en) The method and terminal device of the failure of processing terminal equipment
CN111432000A (en) Control method, device, equipment and storage medium of Internet of things equipment
CN103984564A (en) Method and device for installing and upgrading software
CN105144664A (en) User-aware cloud to device messaging systems and methods
CN1976517A (en) Mobile terminal and backup data information method thereof
CN104580378A (en) Installation package processing method and device
CN112394957A (en) Server upgrading method and device, server and storage medium
CN101661304B (en) Computer and input equipment sharing method thereof
CN111070662B (en) 3D printing method, device and storage medium
CN103473035A (en) Screen capturing method and device
US8595354B2 (en) Control method for wireless communications device compatible with universal serial bus mass storage device class protocol
CN102455980A (en) System and method for controlling electronic device by using file
CN110893616B (en) Remote control method and device, computer equipment and storage medium
CN104281462A (en) Firmware upgrade configuration saving system and method
CN111796903A (en) Virtual machine migration method, server and computer storage medium
CN102602253A (en) Driver display unit of electric locomotive
CN110213432B (en) Method for setting chip working frequency, mobile terminal and storage medium
US20170142245A1 (en) Electronic apparatus with shareable input devices and input device sharing method thereof
CN104468671A (en) Configuration information processing method, device and relevant device
CN114201234A (en) File processing method, device, system, equipment and storage medium
CN109933353B (en) Embedded Web-based controller firmware upgrading method
CN106954201B (en) Remote user support tool
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
CN111475177B (en) Program writing method and device of server and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120516