Difference between revisions of "Team:BIT/Software"

Line 175: Line 175:
 
                 <div id="words" style="float:right;width:70%">
 
                 <div id="words" style="float:right;width:70%">
 
                 <div class="row text-center">
 
                 <div class="row text-center">
<h2><br><br><br><br><br><br><br>SOFTWARE</h2>
+
<h2><br><br><br><br><br><br><br>Abstract</h2>
 
<center><hr width="70%"  align="center"  color="#c91f77" size=1;></hr></center>
 
<center><hr width="70%"  align="center"  color="#c91f77" size=1;></hr></center>
 
</div>
 
</div>
 
                 <div class="indent">
 
                 <div class="indent">
 
<p>
 
<p>
Chinese Premier Li Keqiang delivers a keynote speech on October 11 at the opening ceremony of the Fifth Ministerial Conference of The Forum for Economic and Trade Cooperation Between China and Portuguese-speaking Countries in Macao. [Photo/Xinhua]<br><br></p>
+
Mr. Doctor is an Android medical application based on JAVA and Android XML language. It can gather data from raspberry-pi through Bluetooth serial port, and then make analysis. Finally, it will show intuitive data with several graphs and charts. What's more, it has a connection with the health application comes with phone. Obviously, it is a well-rounded and powerful family-used medical application. <br><br></p>
   
+
 
 +
<div class="row text-center">
 +
<h2><br><br><br><br><br><br><br>Background</h2>
 +
<center><hr width="70%" align="center"  color="#c91f77" size=1;></hr></center>
 +
</div>
 
<p>
 
<p>
Premier Li Keqiang announced 18 measures on Tuesday in Macao to boost ties with Portuguese-speaking countries in fields such as production capacity, people-to-people exchanges and maritime development.<br><br>
+
As one of the broadest industries in the future, medicine has drawn more and more attention. In china, a large amount of people have difficulties in going to hospital and cannot afford the medical fee. As for the reason, socialists believe that the medical resource is limited and is not well distributed. In fact, these problem doesn't only occur in china, but in all over the world. Fortunately, we have mobile health, for it will balance the medical resource and reduce the prime cost of integrating medical resources. No matter doctors or civilians, we will all definitely benefit from it.<br><br>
 
</p>
 
</p>
 
<p>
 
<p>
The measures will be implemented in the next three years, and the Chinese government will support the Macao Special Administrative Region in establishing a financial service program, cultural exchange centers, bilingual training bases and juvenile innovation centers for exchanges with these countries, the premier said.<br><br>
+
In the apps store, most medical applications are e-business and hospital registration. Others are pedometers and cardio tachometers, but barely on detection applications. This is because on one hand, there still exists system restriction; on the other hand, detecting method isn't so convenient. Therefore, medical applications has a great potential on development.<br><br>
 
</p>
 
</p>
 +
<div class="row text-center">
 +
<h2><br><br><br><br><br><br><br>Design</h2>
 +
<center><hr width="70%"  align="center"  color="#c91f77" size=1;></hr></center>
 +
</div>
 
<p>
 
<p>
China resumed sovereignty over Macao in December 1999 after it had been ruled since the mid-16th century by Portugal.<br><br>
+
Firstly, the raspberry-pi can get the value of fluorescence(also some other values). Then it will send these data to the application through the Bluetooth serial port. After that the application will make analysis. Finally, it will show intuitive data with several graphs and charts. In addition, users can get their sports data such as the distance they have walked and physiology such us heart rate as well. What will impress the users is the user interface. We will make a professional, friendly and avant-garde UI to give users a fantastic using experience.<br><br>
 
</p>
 
</p>
 
<p>
 
<p>
Beijing is willing to carry out major projects with these countries by making use of the China-Portuguese-Speaking Countries Cooperation Development Fund and the Silk Road Fund, Li said.<br><br>
+
For the communication part, we use the Bluetooth module(BF10-A) to establish communication channel. We can register the BroadcastReceiver to get the status of Bluetooth and device. The information is contained in the onReceive function in BroadcastReceiver. After that, we create a BluetoothDevice object through the MAC address in device. Then we connect to Bluetooth. Finally, we will start the activity in the application to receive or send the data. That's all of the communication. Because both the raspberry-pi and the mobile phone support the Bluetooth BF10-A protocol, this communication part is totally feasible.<br><br>
 
</p>
 
</p>
 
<p>
 
<p>
The announcement was made in Li's keynote speech on Tuesday at the opening ceremony of the two-day Fifth Ministerial Conference of the Forum for Economic and Trade Cooperation Between China and Portuguese-Speaking Countries.<br><br>
+
For the health part, we use Android API to access the health application. We can drive the data we want, then the application can make these to a graph or a chart. Because many applications such as WeChat, Whatapps, Facebook etc. can access the data in health, this part is feasible.<br><br>
 
</p>
 
</p>
 
<p>
 
<p>
Delegates from seven Portuguese speaking countries — Portugal, Brazil, Cape Verde, Guinea-Bissau, Mozambique, Angola and East Timor — attended the forum.<br><br>
+
A appealing user interface has a great attraction to customers. This application will use some superb UI segments with professional layout. The main color and shape of UI will fit in our other design such as Wiki, handout, poster. We will apply some special effect, gestures to catch up with the user interface in iOS system.<br><br>
 
</p>
 
</p>
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
<div class="row text-center">
 +
<h2><br><br><br><br><br><br><br>Result</h2>
 +
<center><hr width="70%"  align="center"  color="#c91f77" size=1;></hr></center>
 +
</div>
 
<p>
 
<p>
Before the ceremony, Li launched a trade and economic cooperation program to promote further exchanges between China and Portuguese-speaking countries.
+
<b>1. Welcome Page</b><br>
 +
</p>
 +
<p>
 +
When we start the application for the first time, we can see these four welcome pages and they will show us the specialty and function of the software.
 
<br><br>
 
<br><br>
 +
</p>
 +
 +
 +
 +
 +
 +
 +
 +
 +
<p align=center>Figure. Welcome Pages</p>
 +
<p>
 +
<b>2. Login page</b><br>
 +
</p>
 +
<p>
 +
After each start, there will be a login page. For old users, they will input their name and password. For new users, they will register a new account. If we forget our password, don't worry, we can find it by answering the  two questions we set in the registration.<br><br>
 +
</p>
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
<p><center>Figure. Login page</center></p>
 +
<p>
 +
<b>3. Detection page</b><br>
 
</p>
 
</p>
 
<p>
 
<p>
China and the Portuguese-speaking countries contribute 17 percent of the world economy and 22 percent of global population, with varying advantages in technology, capital and market practices, Li said.<br><br>
+
As the figure below, the application will first judge if the mobile phone is connected to Bluetooth and if it is paired with other devices. If not, then we will be reminded on the screen. After paring with others, the application can communicate with the paired devices, which means it can send or receive data. The data it received will show on the screen. We can cancel the connection by clicking the button.<br><br>
 
</p>
 
</p>
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
<div style="text-align:center">Figure. Welcome Pages</div>
 
<p>
 
<p>
The participating countries should consolidate political trust, promote trade liberalization and investment and strengthen cooperation in production capacity and people-to-people exchanges, the premier told the forum.<br><br>
+
<b>4. UI design</b><br>
 
</p>
 
</p>
 
<p>
 
<p>
China's economic restructuring and upgrading will bring great investment opportunities and market potential, creating bright prospects for businesses from Portuguese-speaking countries, Li said.<br><br>
+
Detection module:
 +
We use the vertical layout mode. In the above, we can see the basic information of the person, the organ in the graph is matched to the disease. The probability of having the disease is in below. Click the macro scope we can see the full report, which will tell you the result in detail, as well as the comparison to standard result. Click the download button we can save the result to local. By the way, doctors can use the report as reference.<br><br>
 
</p>
 
</p>
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 
<p>
 
<p>
He said the trade volume between China and Portuguese-speaking countries reached $100 billion last year — about 10 times of that of 2003.<br><br>
+
Doctor module:
 +
We use the vertical layout. Through the filter above, we can get the doctor we want. Click the button, more information will show us. We can make online consultation with him. <br><br>
 
</p>
 
</p>
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 
<p>
 
<p>
Cape Verde's Prime Minister Ulisses Correia e Silva said the Macao forum injected new momentum into strategic cooperation between all the participating countries. He added that his country will align with China's Belt and Road Initiative and make use of the Macao forum to bring more commodities to Africa.<br><br>
+
Discover module:
 +
This part tries to popularize some general knowledge written by famous scientists or doctors in medicine to users.. We can make comment or like the article in below.<br><br>
 
</p>
 
</p>
 
<p>
 
<p>
The prime ministers of Guinea-Bissau and Mozambique vowed to adopt favorable policies and improve the rule of law to attract investors.<br><br>
+
Personal module:
 +
It contains all information about ourselves such medical history, all earlier result, comment, settings etc.<br><br>
 
</p>
 
</p>
 
<p>
 
<p>
Deng Yanzi contributed to this story<br><br><br><br><br><br>
+
<b>5 Core codes</b><br><br>
 
</p>
 
</p>
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
<center>Figure. Main program codes of detection module</center>
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
<center>Figure. Main program codes of communication module</center>
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 07:18, 19 October 2016

<!DOCTYPE html> Biology

PROJECT


SOFTWARE








Abstract


Mr. Doctor is an Android medical application based on JAVA and Android XML language. It can gather data from raspberry-pi through Bluetooth serial port, and then make analysis. Finally, it will show intuitive data with several graphs and charts. What's more, it has a connection with the health application comes with phone. Obviously, it is a well-rounded and powerful family-used medical application.








Background


As one of the broadest industries in the future, medicine has drawn more and more attention. In china, a large amount of people have difficulties in going to hospital and cannot afford the medical fee. As for the reason, socialists believe that the medical resource is limited and is not well distributed. In fact, these problem doesn't only occur in china, but in all over the world. Fortunately, we have mobile health, for it will balance the medical resource and reduce the prime cost of integrating medical resources. No matter doctors or civilians, we will all definitely benefit from it.

In the apps store, most medical applications are e-business and hospital registration. Others are pedometers and cardio tachometers, but barely on detection applications. This is because on one hand, there still exists system restriction; on the other hand, detecting method isn't so convenient. Therefore, medical applications has a great potential on development.








Design


Firstly, the raspberry-pi can get the value of fluorescence(also some other values). Then it will send these data to the application through the Bluetooth serial port. After that the application will make analysis. Finally, it will show intuitive data with several graphs and charts. In addition, users can get their sports data such as the distance they have walked and physiology such us heart rate as well. What will impress the users is the user interface. We will make a professional, friendly and avant-garde UI to give users a fantastic using experience.

For the communication part, we use the Bluetooth module(BF10-A) to establish communication channel. We can register the BroadcastReceiver to get the status of Bluetooth and device. The information is contained in the onReceive function in BroadcastReceiver. After that, we create a BluetoothDevice object through the MAC address in device. Then we connect to Bluetooth. Finally, we will start the activity in the application to receive or send the data. That's all of the communication. Because both the raspberry-pi and the mobile phone support the Bluetooth BF10-A protocol, this communication part is totally feasible.

For the health part, we use Android API to access the health application. We can drive the data we want, then the application can make these to a graph or a chart. Because many applications such as WeChat, Whatapps, Facebook etc. can access the data in health, this part is feasible.

A appealing user interface has a great attraction to customers. This application will use some superb UI segments with professional layout. The main color and shape of UI will fit in our other design such as Wiki, handout, poster. We will apply some special effect, gestures to catch up with the user interface in iOS system.








Result


1. Welcome Page

When we start the application for the first time, we can see these four welcome pages and they will show us the specialty and function of the software.

Figure. Welcome Pages

2. Login page

After each start, there will be a login page. For old users, they will input their name and password. For new users, they will register a new account. If we forget our password, don't worry, we can find it by answering the two questions we set in the registration.

Figure. Login page

3. Detection page

As the figure below, the application will first judge if the mobile phone is connected to Bluetooth and if it is paired with other devices. If not, then we will be reminded on the screen. After paring with others, the application can communicate with the paired devices, which means it can send or receive data. The data it received will show on the screen. We can cancel the connection by clicking the button.

Figure. Welcome Pages

4. UI design

Detection module: We use the vertical layout mode. In the above, we can see the basic information of the person, the organ in the graph is matched to the disease. The probability of having the disease is in below. Click the macro scope we can see the full report, which will tell you the result in detail, as well as the comparison to standard result. Click the download button we can save the result to local. By the way, doctors can use the report as reference.

Doctor module: We use the vertical layout. Through the filter above, we can get the doctor we want. Click the button, more information will show us. We can make online consultation with him.

Discover module: This part tries to popularize some general knowledge written by famous scientists or doctors in medicine to users.. We can make comment or like the article in below.

Personal module: It contains all information about ourselves such medical history, all earlier result, comment, settings etc.

5 Core codes

Figure. Main program codes of detection module
Figure. Main program codes of communication module

Message Board


iGEM is a Jamboree!


Wang Xu

Fusce dapibus, tellus ac cursus commodo, tortor
mauris condimentum. Duis mollis, est non commodo luctus, nisi erat


Kai, Web Geekster

Cras justo odio, dapibus ac facilisis in, egestas
eget quam. Donec id elit non mi porta gravida at eget metus.


Jenn, Coders' Playground

Contact Us


Address

Beijing Institute of Technology,
No. 5 South Zhong Guan Cun Street,
Haidian Beijing 100081, P. R. China

Twitter : @igem_BIT

Sina Weibo : @igem_BIT

Website : http://www.bit.edu.cn