We all know whether the meal is correct or not. MSN And mobile phone text messages, etc. So I want to ask the computer to do something (such as shutdown, such as sign off...) if we are not next to our computer ...), can I use text messages to control it? The answer is yes. Next I will discuss my ideas.
Let's take an example (whether or not the same is true). We apply for an account. The address isHttp://jiwai.de/after applying,First, log on to the system and check that there is a setting at the top. Click in to bind the settings and follow the prompts to bind the mobile phone.
In this case, we can send text messages to the SMS center on our mobile phone to update our information (the cost is 1 hair per article). When our information is updated, it will automatically publish your informationRSS, The specific address is as follows:Http://api.jiwai.de/statuses/user_timeline/107279.rss
You can obtain thisRSSIn the upper part of the homepage, we have our login name. Click here and subscribe to XXX in the lower right corner. Click it to view the RSS address. (RunProgramYou need to write this RSS to the config file)
We only need to readRSSThen we can know the content of the text message sent by our mobile phone, as long as the content of the text message is the same as the content configured in our program (such as executing the command: shutdown ), then we can use text messages to control computers to execute certain functions.
It seems that there is also a function of paying attention to a friend, which can automatically send the friend information to your mobile phone. This and their api can be used to interact with the computer, for example, you can use text messages to query and so on. I will talk about it later. If a friend wishes to share it, I can share it with you :)
Download from hereSource code.
What program is used to execute commands is defined in the config file, and you can write your own execution process (you need to inherit the iplugin interface, but this class needs to be named plugin, namespace), the program will reflect your class. This is a bit complicated. We look forward to your criticism.