CN105205757A - Android-based elective system - Google Patents

Android-based elective system Download PDF

Info

Publication number
CN105205757A
CN105205757A CN201510609068.4A CN201510609068A CN105205757A CN 105205757 A CN105205757 A CN 105205757A CN 201510609068 A CN201510609068 A CN 201510609068A CN 105205757 A CN105205757 A CN 105205757A
Authority
CN
China
Prior art keywords
module
curriculum
information
student
personal information
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
CN201510609068.4A
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.)
Chengdu Rongchuang Zhigu Science and Technology Co Ltd
Original Assignee
Chengdu Rongchuang Zhigu Science and Technology 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 Chengdu Rongchuang Zhigu Science and Technology Co Ltd filed Critical Chengdu Rongchuang Zhigu Science and Technology Co Ltd
Priority to CN201510609068.4A priority Critical patent/CN105205757A/en
Publication of CN105205757A publication Critical patent/CN105205757A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an Android-based elective system adopting an Android platform and belongs to the field of Android elective systems. The Android-based elective system comprises a student module and a teacher module, wherein the student module comprises a personal information module, a course information display module, a course information inquiring module and a selected course displaying and deleting module, and the teacher module comprises a personal information module, a course information adding and editing module, a course information modifying module and a course information deleting module. According to the Android-based elective system, data are received from a server in the stream mode by means of a customer side/server (C/S) framework so that users can select courses at any places.

Description

System is taken as an elective course based on Android
Technical field
Take as an elective course system based on Android, utilize Android platform, adopt client/server (C/S) framework to accept data by the mode flowed from server and make user can carry out curricula-variable operation in any place, belong to the Course-Selecting System field of Android.
Background technology
Along with the fast development of internet and infotech, internet is efficient because of it, and convenient and supermatic feature becomes a requisite part in people's live and work.
Meanwhile, colleges and universities are in continuous educational reform in recent years with under expanding the enrollment, and school size also brings many pressure and challenge when development.The increase of number of student makes the institutional framework of school huger, the relation even more complex between system, and the information extensively making to manage in student source is more various, also tests the hardware and software facility of school.The routine service management of colleges and universities achieves information process-in view of the situation, and Online-Course-Select System also uses widely in colleges and universities.
Online-Course-Select System after a large amount of labour, exposes the shortcoming of oneself also in initial liberation.What Online-Course-Select System adopted is browser/server (B/S) pattern; its information must depend on browser and network alternately; for the acquisition of curricula-variable information; student can only wait by computer; and curricula-variable information is such as measured after school; fresh course is offered etc. has instantaneity; chronicity; curricula-variable can continue 3 days usually; and the choice often only having several seconds when certain the popular class oneself do not chosen occurs extracurriliar, therefore curricula-variable often needs to wait for long time and few pitiful of effective time.In development and universal today of the mobile devices such as smart mobile phone, student is in the urgent need to a kind of curricula-variable mode having more movability and instantaneity, and after Online-Course-Select System, Mobile Elective just becomes another kind of curricula-variable mode.
It is unfriendly that the subject matter of present Course-Selecting System is embodied in first information displaying, in all curriculum informations, information needed for student individual or to its useful information often less than half, there is information similar in a large number in information display interface and take a large amount of version width, Course-Selecting System does not but provide the function of shielding to make student waste a large amount of energy when finding useful course.Secondly the formfeed function of information display interface is incomplete, only provides the movement of adjacent page and cannot carry out formfeed operation and make student carry out curricula-variable to take a large amount of operation well.When certain subject finally needed when oneself does not have a surplus, student constantly can only refresh until occur remaining before computer.
Summary of the invention
The present invention is directed to the deficiencies in the prior art part to provide and a kind ofly take as an elective course system based on Android, utilize Android platform, adopt client/server (C/S) framework to accept data by the mode of stream from server and make user can carry out curricula-variable operation in any place.
To achieve these goals, the technical solution used in the present invention is:
Take as an elective course a system based on Android, it is characterized in that: comprise student's module and teacher model;
Described student's module comprise personal information module, curriculum information display module, curriculum information enquiry module and curricula-variable journey display and removing module;
Personal information module: display student personal information;
Curriculum information display module: function of shielding and prompting message function are provided, display interface needs all curriculum informations of display;
Curriculum information enquiry module: search student needs the journey information of inquiry class;
The display of curricula-variable journey and removing module: display user's school timetable also provides deletion action;
Described teacher model comprises personal information module, adds editor's curriculum information module, amendment curriculum information module and delete curriculum information module;
Personal information module: display teacher personal information;
Add editor's curriculum information module: interpolation operation is carried out to curriculum schedule;
Amendment curriculum information module: curriculum schedule is modified operation;
Delete curriculum information module: deletion action is carried out to curriculum schedule.
As preferably, in described student's module, the operating process of personal information module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate.
As preferably, in described student's module, the operating process of curriculum information display module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate;
(4), after showing personal information, click curriculum information display link, show all curriculum informations.
As preferably, in described student's module, the operating process of curriculum information enquiry module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate;
(4) after showing personal information, fill in querying condition list and submit to, display Query Result.
As preferably, in described student's module, the operating process of the display of curricula-variable journey and removing module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate;
(4), after showing personal information, click curriculum information query link, show curricula-variable journey;
(5) deletion has been chosen display course and has been shown.
As preferably, in described teacher model, the operating process of personal information module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate.
As preferably, the operating process of adding editor's curriculum information module in described teacher model is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate;
(4) after showing personal information, click and add curriculum information link, fill in newly-increased curriculum information and submit to and show the curriculum information successfully added.
As preferably, the operating process revising curriculum information module in described teacher model is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate;
(4) after showing personal information, click the link of amendment curriculum information, show all curriculum informations, the newly-increased curriculum information of amendment is also submitted to.
As preferably, the operating process of deleting curriculum information module in described teacher model is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate;
(4), after showing personal information, click the link of amendment curriculum information, show all curriculum informations, delete curriculum information and submit to.
Compared with prior art, the invention has the advantages that:
One, utilize Android platform, adopt client/server (C/S) framework to accept data by the mode of stream from server and make user can carry out curricula-variable operation in any place;
Two, pin of the present invention is in conjunction with actual conditions, carries out supplementing and optimizing with existing Online-Course-Select basis.Realize convenient, instant, efficient Course-Selecting System.
Accompanying drawing explanation
Fig. 1 present system structural representation;
Fig. 2 student's personal information of the present invention operational flowchart;
Fig. 3 student's course of the present invention information displaying process flow diagram;
Fig. 4 student's course of the present invention information inquiry operational flowchart;
Fig. 5 student of the present invention is the display of curricula-variable journey and deletion action process flow diagram;
Fig. 6 teacher's personal information of the present invention process flow diagram;
Fig. 7 teacher of the present invention adds curriculum information operational flowchart;
Fig. 8 teacher of the present invention adds curriculum information operational flowchart;
Fig. 9 teacher of the present invention deletes curriculum information operational flowchart;
Figure 10 user E-R of the present invention schemes;
Figure 11 student E-R of the present invention schemes;
Figure 12 teacher E-R of the present invention schemes;
Figure 13 course E-R of the present invention schemes;
Figure 14 curricula-variable E-R of the present invention schemes.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.
As shown in Figure 1, a kind ofly take as an elective course system based on Android, comprise student's module and teacher model;
Described student's module comprise personal information module, curriculum information display module, curriculum information enquiry module and curricula-variable journey display and removing module.
Personal information module: display student personal information.Personal information interface is mainly supplied to the function that student contrasts the information such as the student number name of oneself, and interface should be brief and concise.
Login interface does not provide registering functional, because this system is Mobile Elective System, is a branch system under education administration system, and the data message of user and the information of teacher should be preset or by education administration system write into Databasce.
As shown in Figure 2, the operating process of described personal information module is:
(1) user's login interface, input username and password;
Judge that whether username and password is that empty code is as follows:
privatebooleanvalidate(){
Stringusername=userEditText.getText().toString();
if(username.equals("")){
ShowDialog (" user's name is required item! ");
returnfalse;
}
Stringpwd=pwdEditText.getText().toString();
if(pwd.equals("")){
ShowDialog (" user cipher is required item! ");
returnfalse;
}
returntrue;
}
If code error, return corresponding prompting.
Judge that the code of log-on message whether mistake is as follows:
try{
Connectioncon=DriverManager. getConnection(dbURL,userName,
userPwd);
Statementlogin=con.createStatement();
ResultSetyhb=login.executeQuery (" select student number, password from subscriber's meter ");
while(yhb.next()){
if(username.equals (yhb.getString (" student number "))
& & userpwdmima.equals (yhb.getString (" password ")))
ifdenglu= true;
ifdenglu1="t";
break;
}
} else{
System. out.println (" user name or code error, please re-enter! ");
ifdenglu1="f";
}
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate.
Curriculum information display module: provide function of shielding and prompting message function, display interface needs all curriculum informations of display.The display of curriculum information display page can for all curriculum informations of curricula-variable operation, and student can browse all information of all courses at this, and provides curricula-variable function.Student can select at this page for the course met, and confirms curricula-variable.
The homepage of native system, also provides the function of shielding curriculum information, and student is for oneself course completely improper, and such course quantity is many, ranking is forward, when may cause puzzlement for looking for operation when finding course, this type of course can be selected, carry out masking operation.Meanwhile, this page also provides the function of corresponding cancellation shielding.
As shown in Figure 3, the operating process of described curriculum information display module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate;
(4), after showing personal information, click curriculum information display link, show all curriculum informations.
Curriculum information enquiry module: search student needs the journey information of inquiry class.Curriculum information query page is the course searched page that multiple way of search provided by the invention combines, curriculum information is then returned when not filling in search condition, search condition comprises class sequence number, course name, teacher, class period, to attend class place, learn grading information, can search for one of them or to individual information condition, the result returned provides curricula-variable function.
As shown in Figure 4, the operating process of described curriculum information enquiry module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate;
(4) after showing personal information, fill in querying condition list and submit to, display Query Result.
The display of curricula-variable journey and removing module: display user's school timetable also provides deletion action.This page display student current school timetable, comprise the information of current student curricula-variable journey, this page provides and moves back class function, and selected needs carry out the course moving back class operation, carry out deletion action.
As shown in Figure 5, the operating process of the described journey of curricula-variable display and removing module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate;
(4), after showing personal information, click curriculum information query link, show curricula-variable journey;
(5) deletion has been chosen display course and has been shown.
Described teacher model comprises personal information module, adds editor's curriculum information module, amendment curriculum information module and delete curriculum information module.
Personal information module: display teacher personal information.The interface of personal information module is the same with student's module, and the key distinction is the authority of login account, and when the authority of login account is teacher, information displaying is teacher.
As shown in Figure 6, the operating process of described personal information module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate.
Add editor's curriculum information module: interpolation operation is carried out to curriculum schedule.The interpolation curriculum information page is mainly teacher and provides the newly-increased course can selected for student, and teacher must fill in the class sequence of adding course in detail, course name, teacher, class period, place of attending class, credit, all properties such as amount extracurriliar, then carry out interpolation operation.
As shown in Figure 7, described operating process of adding editor's curriculum information module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate;
(4) after showing personal information, click and add curriculum information link, fill in newly-increased curriculum information and submit to and show the curriculum information successfully added.
Amendment curriculum information module: curriculum schedule is modified operation.The amendment curriculum information page is mainly the modify feature that teacher provides curriculum information.The current all curriculum informations of this page display, teacher can select to need the curriculum information of amendment to modify operation.Class sequence number does not allow amendment as major key, the retouching operation of amount extracurriliar be to current after school add reducing.
As shown in Figure 8, the operating process of described amendment curriculum information module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate;
(4) after showing personal information, click the link of amendment curriculum information, show all curriculum informations, the newly-increased curriculum information of amendment is also submitted to.
Delete curriculum information module: deletion action is carried out to curriculum schedule.The deletion curriculum information page is mainly teacher provides deletion to there is the function of curriculum information, the current all curriculum informations of this page display, and teacher can select to need the curriculum information deleted to carry out deletion action.This page provides the function of deleting all courses simultaneously.
As shown in Figure 9, the operating process of described deletion curriculum information module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate;
(4), after showing personal information, click the link of amendment curriculum information, show all curriculum informations, delete curriculum information and submit to.
E-R method full name " Entity-Relationship method ", is mainly used in data division in design system.
What E-R figure adopted is rectangle and ellipse is to describe conceptual structure model in reality, and wherein rectangle represents entity, and ellipse represents entity attributes, the contact between rhombus presentation-entity.As shown in figures 10-14, described E-R methods analyst is:
User logs in needs creation database subscriber's meter, in order to verify log-on message.First the attribute that subscriber's meter has is user ID, and as the major key of this database table, the attribute that then Ku Biao also needs comprises address name, the type/authority of login password and user.These attributes do not allow for sky.
Personal information display then needs the personal information showing user, needs creation database student to show, record student information.The major key of student's table is student ID, and all the other attributes comprise specialty, phone, name, student number and I.D., and wherein specialty and phone allow for sky, and other attributes do not allow for sky.
Personal information display needs the personal information showing user, also needs creation database teacher to show simultaneously, record teacher's information.The major key of teacher's table is teacher ID, and all the other attributes comprise institute, name, and employee number and I.D., these attributes do not allow for sky.
Then curriculum information display and curriculum information inquiry all need creation database curriculum schedule, are the operating main bodies realizing curricula-variable function.The major key of curriculum schedule is course ID, and the attribute that also should have is course name, credit, the class period, place of attending class, teacher ID and measuring after school.These attributes do not allow for sky.
Be finally the required database curricula-variable table created of function of curricula-variable operation, the curricula-variable relation of curricula-variable table main manifestations student, has the relation of n:n, and the major key of curricula-variable table is curricula-variable ID, determines primarily of student ID attribute and course ID attribute.
Between database table, relation is set to:
Subscriber's meter uses when acting on logging in system by user, is student or teacher according to the authority recognition user of user, redirect student's personal information center or teacher's personal information center when user's Successful login.
The personal information of student's table record student, student ID is the major key of this database table, and student number can as external key.
The personal information of teacher's table record teacher, teacher ID is the major key of this database table, and employee number can as external key.
Curriculum schedule, as main database table, comprises all curriculum informations, is the carrier of most of functional realiey, searching of course, and shielding etc. is all by realizing the retrieval of curriculum schedule.
Curricula-variable table acts on student and carries out curricula-variable operation and deletion action, is the final target of Course-Selecting System.Curricula-variable operation the increasing newly namely to curricula-variable table of student, curricula-variable journey has been deleted is then realize the deletion action of curricula-variable table data item.
The Servlet routine package of this Mobile Elective System containing LoginServlet, Query, Delete, Show and Elective five classes, these five roughly the same time inherit HttpServlet class.The functional description of these five classes is as follows:
LoginServlet class: for receiving and return the logon information of user.
Query class: for receiving the request that user inquires about course, return the corresponding data message of user.
Delete class: for receiving the removal request of user to curricula-variable journey, returning user and whether having deleted successful corresponding information.
Show class: for receiving user to display or the request refreshing all optional courses, return the corresponding information of user.
Select class: for receiving the curricula-variable request of user, returns user's whether successful relevant information of curricula-variable.
Database interactive program is the kernel program of server, comprises Link, LogIn, Query, Show, Select and Delete six methods altogether.Functional description is as follows:
Link method: by JDBC connection data storehouse.
LogIn method: whether legal by the identity of the validation-cross user with database.
Query method: by with data can the condition query that provides of mutual basis go out the course that user needs.
Show method: by providing current all alternative curriculum informations with the mutual of database to stepping on user.
Select method: by preserving with the friendship user for each other of database the curricula-variable information selected.
Delete method: by specifying by the curriculum information selected with the mutual user of deletion of database.
JDBC operating database is used mainly to comprise following 3 steps:
1. load JDBC driver:
Realized by the static method forName () of Class class, parameter is determined by database supplier.
staticStringdriverName="com.microsoft.sqlserver.jdbc.SQLServerDriver";
Class.forName(driverName);
2. creation database connects:
Call the getConnection () method of java.sql.DriverManager, obtain a Connection object, this object represents the connection of a database.
staticStringurl="jdbc:sqlserver://ZHANG-PC\\SQLEXPRESS;databaseName=cDB";
staticStringuserName="sa";
staticStringpassword="admin";
Connectionconn=null;
conn=(Connection)DriverManager.getConnection(url,userName,password);
3. discharge DataBase combining:
Create after using JDBC object and should close database connection object, the resource of release JDBC.Compare the order of establishment, just in time contrary during releasing resource.
publicstaticvoidfree(ResultSetrs,Connectionconn,Statementstmt){
try{
if(rs!=null)rs.close();
}catch(SQLExceptione){
e.printStackTrace();
}finally{
try{
if(conn!=null)conn.close();
}catch(SQLExceptione){
e.printStackTrace();
}finally{
try{
if(stmt!=null)stmt.close();
}catch(SQLExceptione){
e.printStackTrace();
}
}
}
Android client mainly comprises 5 pages, login page, the personal information page, curriculum information display page, curriculum information query page and the display of curricula-variable journey and the deletion page
Login page: for logging in system by user.Whether the information simultaneously detecting user's login is empty or legal.
The personal information page: the personal information this page showing user, and have some menus connections, the operation that oneself will complete is selected for user.
Curriculum information display page: this page shows current alternative all curriculum informations, user can need to find all courses or screen by oneself.
Curriculum information query page: this page is used for providing user to carry out query manipulation to curriculum information database.
Curriculum information display and delete the page: this page by list user all select curriculum information, and provide user to delete the operation of curricula-variable journey.
Wherein, " course shielding " function adds " shielding " button realization after the curriculum information item that curriculum information display page shows.
Employing LogIn, Query, Delete, Show and Select five classes in the Servlet programming of server comes with database mutual, and the data that database receives are processed, finally the result of process is returned to client, and in the relevant information that server end printing user asks.
Wherein Query(shows curricula-variable information) correlative code of class is as follows:
try{
Connectioncon=DriverManager. getConnection(dbURL,userName,
userPwd);
Statements=con.createStatement();
ResultSetifyixuanke=s.executeQuery(sql);
while(ifyixuanke.next()){
Ifhas=ifyixuanke.getString (" whether curricula-variable ");
}
s.close();
if(ifhas.equals("t")){
PreparedStatementchaxun=con
.prepareStatement (" select course ID, course name, the credit class period, place of attending class, teach teacher ID, amount from curriculum schedule where course extracurriliar number=(select course from curricula-variable table where student number=) ");
Query.setString(1,username);
ResultSetkch=Query.executeQuery();
while(kch.next()){
Re=" t "+" "+kch.getString (" course name ")+" "+kch.getString (" class hour ")+" "+kch.getString (" credit ")
+ " "+kch.getString (" curriculum character ")+" "
+ kch.getString (" Assessment ")+" "+
Kch.getString (" term ");
}
ifkx="f";
Query.close();
} else{
System. out.println (" you also do not have curricula-variable! ! ");
ifkx="t";
re="f";
}
con.close();
} catch(Exceptione){
System. out.println (" connection data storehouse failure! "+e+ " false ");
re="f";
}
returnre;
}
The correlative code of other several classes and the similar of Query class, just the Select statement of relevant sql is different, only provides the Select statement relevant to class below.
The Select statement that LogIn class is relevant is as follows:
ResultSetyhb=login.executeQuery (" select student number, password from subscriber's meter ");
The Select statement of Delete class is as follows:
PreparedStatementsc=con.prepareStatement (" deletefrom curricula-variable table where student number=");
The Select statement of Show class is as follows:
ResultSetrs=xs
.executeQuery (" select course ID, course name, credit class period; place of attending class, teach teacher ID, measures after school; teacher's name, and affiliated pastern from curriculum schedule, teacher's information shows where curriculum schedule. course number=teacher's information's table. and course number ");
The Select statement of Select class is as follows:
PreparedStatementtianjia=con
.prepareStatement (" insertinto curricula-variable table values () ");
Android is integrated with ApacheHTTP client, uses HttpServletRequest and HttpServletResponse to represent request and response in server S ervlet programming.Request and response encapsulate by ApacheHTTP, then corresponding different requesting method, use HttpGet and HttpPost two objects.Wherein, HttpResponse is response object, uses DefaultHttpClient to perform request and obtains.
Realize the core code of this module:
publicclassHttpUtil{
// life BaseURL constant
publicstaticfinalString BASE_URL="http://192.168.1.111:8080/xiaoge/";
// obtain HttpGet object by URL
publicstaticHttpGetgetHttpGet(Stringurl){
HttpGetrequest= newHttpGet(url);
returnrequest;
}
publicstaticStringqueryStringForGet(Stringurl){
HttpGetrequest=HttpUtil. getHttpGet(url);
Stringresult= null;
try{
HttpResponseresponse=HttpUtil. getHttpResponse(request);
if(response.getStatusLine().getStatusCode()==200){
result=EntityUtils. toString(response.getEntity());
byte[]b=result.getBytes("8859-1");
String a= newString(b,"UTF-8");
returnresult;
}
} catch(ClientProtocolExceptione){
e.printStackTrace();
A result=" Network Abnormal! ";
returnresult;
} catch(IOExceptione){
e.printStackTrace();
A result=" Network Abnormal! ";
returnresult;
}
returnnull;
}
publicstaticHttpResponsegetHttpResponse(HttpGetrequest) throwsClientProtocolException,IOException{
HttpResponseresponse= newDefaultHttpClient().execute(request);
returnresponse;
}}。

Claims (9)

1. take as an elective course system based on Android, it is characterized in that: comprise student's module and teacher model;
Described student's module comprise personal information module, curriculum information display module, curriculum information enquiry module and curricula-variable journey display and removing module;
Personal information module: display student personal information;
Curriculum information display module: function of shielding and prompting message function are provided, display interface needs all curriculum informations of display;
Curriculum information enquiry module: search student needs the journey information of inquiry class;
The display of curricula-variable journey and removing module: display user's school timetable also provides deletion action;
Described teacher model comprises personal information module, adds editor's curriculum information module, amendment curriculum information module and delete curriculum information module;
Personal information module: display teacher personal information;
Add editor's curriculum information module: interpolation operation is carried out to curriculum schedule;
Amendment curriculum information module: curriculum schedule is modified operation;
Delete curriculum information module: deletion action is carried out to curriculum schedule.
2. according to claim 1ly take as an elective course system based on Android, it is characterized in that: in described student's module, the operating process of personal information module is:
User's login interface, input username and password;
The username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
Judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate.
3. according to claim 1ly take as an elective course system based on Android, it is characterized in that: in described student's module, the operating process of curriculum information display module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate;
(4), after showing personal information, click curriculum information display link, show all curriculum informations.
4. according to claim 1ly take as an elective course system based on Android, it is characterized in that: in described student's module, the operating process of curriculum information enquiry module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate;
(4) after showing personal information, fill in querying condition list and submit to, display Query Result.
5. according to claim 1ly take as an elective course system based on Android, it is characterized in that: in described student's module, the operating process of the display of curricula-variable journey and removing module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as student, if just enter student's homepage, and show personal information, otherwise terminate;
(4), after showing personal information, click curriculum information query link, show curricula-variable journey;
(5) deletion has been chosen display course and has been shown.
6. according to claim 1ly take as an elective course system based on Android, it is characterized in that: in described teacher model, the operating process of personal information module is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate.
7. according to claim 1ly take as an elective course system based on Android, it is characterized in that: the operating process of adding editor's curriculum information module in described teacher model is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate;
(4) after showing personal information, click and add curriculum information link, fill in newly-increased curriculum information and submit to and show the curriculum information successfully added.
8. according to claim 1ly take as an elective course system based on Android, it is characterized in that: the operating process revising curriculum information module in described teacher model is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate;
(4) after showing personal information, click the link of amendment curriculum information, show all curriculum informations, the newly-increased curriculum information of amendment is also submitted to.
9. according to claim 1ly take as an elective course system based on Android, it is characterized in that: the operating process of deleting curriculum information module in described teacher model is:
(1) user's login interface, input username and password;
(2) username and password of input is judged, if there is no then forwards step (1) to exist and then forward step (3) to;
(3) judge user whether as teacher, if just enter teacher's homepage, and show personal information, otherwise terminate;
(4), after showing personal information, click the link of amendment curriculum information, show all curriculum informations, delete curriculum information and submit to.
CN201510609068.4A 2015-09-23 2015-09-23 Android-based elective system Pending CN105205757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510609068.4A CN105205757A (en) 2015-09-23 2015-09-23 Android-based elective system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510609068.4A CN105205757A (en) 2015-09-23 2015-09-23 Android-based elective system

Publications (1)

Publication Number Publication Date
CN105205757A true CN105205757A (en) 2015-12-30

Family

ID=54953420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510609068.4A Pending CN105205757A (en) 2015-09-23 2015-09-23 Android-based elective system

Country Status (1)

Country Link
CN (1) CN105205757A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022153A (en) * 2016-06-06 2016-10-12 国网北京市电力公司 Course selection data processing method and device
CN106530160A (en) * 2016-11-10 2017-03-22 安徽云看信息技术有限公司 Education platform operation method based on monitoring positioning
CN106548293A (en) * 2016-11-10 2017-03-29 安徽云看信息技术有限公司 A kind of many driving school's Internet business platforms
CN106651693A (en) * 2016-11-10 2017-05-10 安徽云看信息技术有限公司 Integrated kindergarten management platform
WO2017214915A1 (en) * 2016-06-16 2017-12-21 汤美 Internet education grouping method and system
CN108509402A (en) * 2018-03-15 2018-09-07 北京市育学林教育技术有限公司 It is a kind of can online editing curriculum schedule
CN108564496A (en) * 2018-03-23 2018-09-21 石臻禾 Student's course management system
CN110472129A (en) * 2019-07-24 2019-11-19 广东校园卫士网络科技有限责任公司 A kind of students' needs and aspiration make a report on wisdom system
CN110599376A (en) * 2019-08-29 2019-12-20 复旦大学 Course selection system based on attribute password

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《HTTPS://BLOG.CSDN.NET/QWM8777411/ARTICLE/DETAILS/9232623》 *
《数字技术与应用》 *
《民营科技》 *
《电能知识与技术》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022153A (en) * 2016-06-06 2016-10-12 国网北京市电力公司 Course selection data processing method and device
WO2017214915A1 (en) * 2016-06-16 2017-12-21 汤美 Internet education grouping method and system
CN106530160A (en) * 2016-11-10 2017-03-22 安徽云看信息技术有限公司 Education platform operation method based on monitoring positioning
CN106548293A (en) * 2016-11-10 2017-03-29 安徽云看信息技术有限公司 A kind of many driving school's Internet business platforms
CN106651693A (en) * 2016-11-10 2017-05-10 安徽云看信息技术有限公司 Integrated kindergarten management platform
CN108509402A (en) * 2018-03-15 2018-09-07 北京市育学林教育技术有限公司 It is a kind of can online editing curriculum schedule
CN108564496A (en) * 2018-03-23 2018-09-21 石臻禾 Student's course management system
CN108564496B (en) * 2018-03-23 2021-08-20 石臻禾 Student course management system
CN110472129A (en) * 2019-07-24 2019-11-19 广东校园卫士网络科技有限责任公司 A kind of students' needs and aspiration make a report on wisdom system
CN110599376A (en) * 2019-08-29 2019-12-20 复旦大学 Course selection system based on attribute password

Similar Documents

Publication Publication Date Title
CN105205757A (en) Android-based elective system
US8977693B2 (en) Browser based application development framework
US11727141B2 (en) Data processing systems and methods for synching privacy-related user consent across multiple computing devices
CN109074265A (en) The preformed instruction of mobile cloud service
CN109634607A (en) A kind of method and device of Code automatic build
US11430346B2 (en) Systems and methods for validating localized assessments in an external system
US10372512B2 (en) Method and apparatus for automatic processing of service requests on an electronic device
US10223105B2 (en) Automatic configuration of a computer system based on process modeling of an implemented process
CN110704476A (en) Data processing method, device, equipment and storage medium
US11782958B2 (en) Multi-user cross-device tracking
CN109829123A (en) A kind of method for sending information and device
CN105373382A (en) Android-based student schedule system design method
CN107608663A (en) A kind of development approach and device of Mobile solution plug-in unit and Mobile solution
CN116048987A (en) Processing method, device, electronic equipment, system and storage medium for flow business
CN115857886A (en) Low code development platform for basic government affair application
US10713604B2 (en) Bi-directional notification framework
CN113408254A (en) Page form information filling method, device, equipment and readable medium
US20180081505A1 (en) Osn/pcs collaboration mechanism integration
CN103971224A (en) Signing method and system
CN109033447B (en) Face recognition data visualization system
Sreeram Azure Serverless Computing Cookbook: Build and monitor Azure applications hosted on serverless architecture using Azure functions
CN111459917B (en) Knowledge base management method, device and processing equipment
CN108763296A (en) A kind of online database structure generation method checked and edited and device
US11294925B2 (en) Methods for implementing and using a database actuator
Kaplanović Information system to support the operation of the car park

Legal Events

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

Application publication date: 20151230