Use free SMS to control the computer-"executor" Introduction

Source: Internet
Author: User

Last night, I had nothing to do. I made a software program for my convenience. I could use a text message to control my computer. Then I wrapped it up and shared it with you.
The software name is "performer". You can use text messages to control computer operations, such as shutdown, Google queries, and weather queries. The query results are sent back to your mobile phone via a text message; the software principle is actually very simple. The following is a detailed introduction to it. At the bottom isSource codeAnd hope to help you.

What is performer?
Executor is a software that can use short messages to control computers. By sending text messages, you can control the shutdown of your computer, query machine performance, query weather, query Google, and send the results to you via text messages.
Below is the configurationProgram:

The main program is as follows:


 
What can the performer do?
The executor can receive the text message command you sent, execute the command, and send the execution result to your mobile phone. The executed command can be extended through the plug-in.
Executors can help you shut down, log off, and enable the optical drive (although it is useless :))
YesEnglish-Chinese mutual query, Google search, enter a formula to return the results of the formula, query weather conditions in a region, query the mobile phone locations, query the stock information, query machine performance, and so on
Although mobile phones can also access the Internet now, the results are really unpleasant, and sometimes some calculations need to be executed by computers, so the executors are born.
If you are a programmer, you can also easily develop plug-ins for it to execute what you want to do.If you are not a programmer, you can always look at it or make your request,
Maybe the plug-in you need will be available someday :)
 

What is the principle of performer?
The performer used the SMS function of the chatbot (and whether or not) to apply for a chatbot account (similar to the chatbot account) and bind the mobile phone, in this case, we can use text messages to update our information;
We will publish our short messages sent via mobile phones into RSS;
The executor regularly obtains the RSS content. If a new RSS is found, the executor analyzes the information and executes the command when it meets the executor's execution format;
After the execution is completed, the performer publishes the result to the user through the API (or 139 email; the results will be sent back to our mobile phone (or the free email reminder function in the mobile phone 139 box will send the execution results to our mobile phone ).
 
 
What is the fee for sending text messages?
Because the executors use the SMS functions of the accounts, such as chatbot, meal, and 139 mail (China Mobile mail), the fee for sending text messages is the same as that for sending text messages. Each text message is free of charge.
Currently, there are two ways to receive text messages: 1. Notify the user through a prompt message (with a private message ); 2. A free reminder is sent via email 139 (emails received are sent to your mobile phone for free ).
The interface for Receiving text messages can also be easily added, such as free text message reminders or Google calendars.
 
 
What is the specific operation method?
1. Apply for an account (or not)
2. Bind your mobile phone
3. Run the executor and configure the executor.
4. you can send text messages (such as [command execution: shutdown] or [Google Search: vagerent] (no brackets) to the phone ), these commands can be seen in the executor configuration.
5. The executor regularly refreshes the RSS feeds and finds a new command to execute the command.
6. The execution result is sent back (or whether the meal is correct or the email address is 139)
7. Return the result to your mobile phone in a chat, meal, or 139 email address.


How to configure executors?

Shows the configuration program.



Will each execution result receive a text message?
At present, tests have found that prompt messages cannot be received at times, but messages sent to accounts can be received at the same time. SMS reminders sent to accounts in 139 can be received at almost all, which is very effective;
RecommendationUpdate the command by sending a comment, receive the execution result through 139 mailbox, and send the result through 126 mailbox;


How to Develop plug-ins?
1. Use vs2005 to open the plugin. sln solution under the plugin directory in the source code
2. Add a VisualC # Class Library Project
3. Add reference: reference the project plugininterface
4. Add plugin. CS class and inherit from iplugin
5. Implementation interface iplugin
6. You can test it in plugintest_ui.
You can refer to plugin. sln. This project contains examples of plug-ins and test programs. After development, copy the DLL file to the plug-in directory of the performer.
 
 
What should I pay attention to when developing plug-ins?
You must inherit the iplugin interface (ininterface must be referenced) and the class that inherits this interface must be named plugin.
 
 
Is the software free of charge?
This software is free of charge. The software is developed in C # And supports. net2.0. I will release the source code below. You can spread it freely. You are welcome to use it to develop your own plug-ins.
If you have a good idea or you have developed plug-ins, please take one minute to email me (vagerent@126.com), I will release your plug-ins or ideas, so that everyone can share your results.
Although the software has no powerful technology orAlgorithmBut it also contains the author's hard work. I hope that you can indicate the author and the source in the dissemination and reproduction. Thanks :)

: Http://www.cnblogs.com/vagerent/archive/2008/06/19/1225775.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.