I've always wanted to make something for interacting between a mobile phone and a computer, but I'm limited in ability. I'm posting to let everyone study together.
The general idea is like this: When I go out, I forget to turn off the computer, but I might not be home for the next three days. I want to send an instruction to the computer via the mobile phone, saying, "Computer, I'm not going home, you shut down and go to sleep." How to implement this with a batch script?
Computers can communicate with each other via browsers, chat tools, etc., and mobile phones can communicate with each other via phone numbers. What way is there to communicate between a mobile phone and a computer?
1. Feixin: You can send free text messages on the computer, and you can also install Feixin on a smart phone.
2. QQ: QQ on both computers and mobile phones is already very popular.
3. Email: Now mobile phones can also easily receive emails.
The above are three common communication methods between mobile phones and computers. It can be seen that there is already a basic foundation for communication between mobile phones and computers. Then, what role can our batch script play in the middle?
I've found the command-line versions of Feixin, QQ, and email. The command-line version of Feixin was lost by me, and I can look for it again. The command-line version of QQ can be used, but it seems to be independent like the official version, and manual operation is required. The batch script can't "embed" into its program (maybe my ability is limited), so I can't pre-set the QQ number and password, and I can't import and export communication content. The command-line version of email I use is blat.exe, but currently I only understand sending emails, and I can't figure out how to receive emails.
Using email as a medium to connect the computer and the mobile phone (smart phone), on the computer, the batch script can send emails with the cooperation of blat. For example, I send an email from the mobile phone to the computer saying "Computer, execute shutdown" - converted into code: Dear007,shutdown -s. The computer is always running a batch script specifically to monitor the email. When it receives the command "Dear007,shuodown -s", it analyzes that dear007 is the computer name and "shutdown -s" is the command to execute. After receiving the command, the batch script first automatically replies an email to the mobile phone saying "Received! Executing immediately!" and starts executing the shutdown command after one minute.
The entire process requires a P to monitor the email, a P to receive and analyze the email, a P to send the email, and a P to execute the command. The P to send the email can already be implemented, but the P to receive and analyze the email I haven't figured out yet. Currently, there are no specific clues. I want to ask all the experts, how to specifically implement receiving and analyzing emails? It needs to be highly operable, and both code and tools are needed. Post some out, and everyone can complete this interesting experiment, and let the batch script also achieve intelligence!~
[ Last edited by cjiabing on 2010-2-28 at 21:49 ]
The general idea is like this: When I go out, I forget to turn off the computer, but I might not be home for the next three days. I want to send an instruction to the computer via the mobile phone, saying, "Computer, I'm not going home, you shut down and go to sleep." How to implement this with a batch script?
Computers can communicate with each other via browsers, chat tools, etc., and mobile phones can communicate with each other via phone numbers. What way is there to communicate between a mobile phone and a computer?
1. Feixin: You can send free text messages on the computer, and you can also install Feixin on a smart phone.
2. QQ: QQ on both computers and mobile phones is already very popular.
3. Email: Now mobile phones can also easily receive emails.
The above are three common communication methods between mobile phones and computers. It can be seen that there is already a basic foundation for communication between mobile phones and computers. Then, what role can our batch script play in the middle?
I've found the command-line versions of Feixin, QQ, and email. The command-line version of Feixin was lost by me, and I can look for it again. The command-line version of QQ can be used, but it seems to be independent like the official version, and manual operation is required. The batch script can't "embed" into its program (maybe my ability is limited), so I can't pre-set the QQ number and password, and I can't import and export communication content. The command-line version of email I use is blat.exe, but currently I only understand sending emails, and I can't figure out how to receive emails.
Using email as a medium to connect the computer and the mobile phone (smart phone), on the computer, the batch script can send emails with the cooperation of blat. For example, I send an email from the mobile phone to the computer saying "Computer, execute shutdown" - converted into code: Dear007,shutdown -s. The computer is always running a batch script specifically to monitor the email. When it receives the command "Dear007,shuodown -s", it analyzes that dear007 is the computer name and "shutdown -s" is the command to execute. After receiving the command, the batch script first automatically replies an email to the mobile phone saying "Received! Executing immediately!" and starts executing the shutdown command after one minute.
The entire process requires a P to monitor the email, a P to receive and analyze the email, a P to send the email, and a P to execute the command. The P to send the email can already be implemented, but the P to receive and analyze the email I haven't figured out yet. Currently, there are no specific clues. I want to ask all the experts, how to specifically implement receiving and analyzing emails? It needs to be highly operable, and both code and tools are needed. Post some out, and everyone can complete this interesting experiment, and let the batch script also achieve intelligence!~
[ Last edited by cjiabing on 2010-2-28 at 21:49 ]

