CN114217961A - Campus information acquisition system, acquisition method, teaching server and mobile terminal - Google Patents

Campus information acquisition system, acquisition method, teaching server and mobile terminal Download PDF

Info

Publication number
CN114217961A
CN114217961A CN202111532099.6A CN202111532099A CN114217961A CN 114217961 A CN114217961 A CN 114217961A CN 202111532099 A CN202111532099 A CN 202111532099A CN 114217961 A CN114217961 A CN 114217961A
Authority
CN
China
Prior art keywords
target
server
information
mobile terminal
teaching
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
CN202111532099.6A
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.)
Hisense Group Holding Co Ltd
Original Assignee
Hisense Group Holding 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 Hisense Group Holding Co Ltd filed Critical Hisense Group Holding Co Ltd
Priority to CN202111532099.6A priority Critical patent/CN114217961A/en
Publication of CN114217961A publication Critical patent/CN114217961A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education

Abstract

The application discloses a campus information acquisition system, a campus information acquisition method, a teaching server and a mobile terminal, and relates to the technical field of information acquisition. Each teaching server stores the corresponding relation between the general identifier and the original resource path, so that the mobile terminal can acquire the campus information of the type corresponding to the general identifier from different teaching servers through the general identifier without storing the original resource path corresponding to each campus information in each teaching server, thereby effectively saving the storage resources of the mobile terminal on the premise of ensuring that the mobile terminal can access a plurality of different teaching servers.

Description

Campus information acquisition system, acquisition method, teaching server and mobile terminal
Technical Field
The present application relates to the field of information acquisition technologies, and in particular, to a system, a method, a teaching server, and a mobile terminal for acquiring campus information.
Background
The school is provided with a teaching server capable of storing campus information. The campus information may include at least one of the following: course information, student score information, teacher evaluation information, and the like.
The mobile terminal can acquire and display the campus information stored in the teaching server through the installed teaching client matched with the teaching server.
Disclosure of Invention
The application provides a campus information acquisition system, a campus information acquisition method, a teaching server and a mobile terminal, and the technical scheme is as follows:
in one aspect, a system for acquiring campus information is provided, the system comprising: the system comprises a mobile terminal and a plurality of teaching servers, wherein each teaching server is configured in a school;
the mobile terminal is configured to send a first information acquisition request to a target teaching server in response to an acquisition instruction for the campus information stored in the target teaching server, where the first information acquisition request includes: the target teaching server is any one of the plurality of teaching servers;
the target teaching server is configured to, in response to the first information acquisition request, determine a target original resource path corresponding to the target general identifier based on a corresponding relationship between a general identifier and an original resource path, acquire the campus information of the target type according to the target original resource path, and send the campus information of the target type to the mobile terminal, where the target original resource path is used to indicate a storage location of the campus information of the target type in the target teaching server.
On the other hand, a method for acquiring campus information is provided, which is applied to a mobile terminal in a system for acquiring campus information, and the system further includes: the target teaching server is any one of a plurality of teaching servers, and each teaching server is configured in a school; the method comprises the following steps:
receiving an acquisition instruction aiming at campus information stored in a target teaching server;
responding to the acquisition instruction, and sending an information acquisition request to the target teaching server, wherein the information acquisition request comprises: a target general identifier corresponding to the target type of the campus information;
the information acquisition request is used for indicating the target teaching server to determine a target original resource path corresponding to the target universal identifier based on the corresponding relation between the universal identifier and the original resource path, acquiring the campus information of the target type according to the target original resource path, and sending the campus information of the target type to the mobile terminal, wherein the target original resource path is used for indicating the storage position of the campus information of the target type in the target teaching server.
In another aspect, a method for acquiring campus information is provided, which is applied to a target teaching server in a system for acquiring campus information, where the target teaching server is any one of a plurality of teaching servers, and each teaching server is configured in a school, and the system further includes: a mobile terminal; the method comprises the following steps:
receiving an information acquisition request sent by the mobile terminal, wherein the first information acquisition request is sent by the mobile terminal in response to an acquisition instruction for the campus information stored in the target teaching server, and the information acquisition request comprises: a target general identifier corresponding to the target type of the campus information;
responding to the information acquisition request, and determining a target original resource path corresponding to the target universal identifier based on the corresponding relation between the universal identifier and the original resource path, wherein the target original resource path is used for indicating the storage position of the target type campus information in the target teaching server;
and acquiring the target type campus information according to the target original resource path, and sending the target type campus information to the mobile terminal.
In still another aspect, a mobile terminal is provided, which includes: a processor to:
receiving an acquisition instruction aiming at campus information stored in a target teaching server, wherein the target teaching server is any one of a plurality of teaching servers, and each teaching server is configured in a school;
responding to the acquisition instruction, and sending an information acquisition request to the target teaching server, wherein the information acquisition request comprises: a target general identifier corresponding to the target type of the campus information;
the information acquisition request is used for indicating the target teaching server to determine a target original resource path corresponding to a target general identifier based on a corresponding relation between the general identifier and the original resource path, acquiring the campus information of the target type according to the target original resource path, and sending the campus information of the target type to the mobile terminal, wherein the target original resource path is used for indicating a storage position of the campus information of the target type in the target teaching server.
In still another aspect, a teaching server is provided, which includes: a processor to:
receiving an information acquisition request sent by a mobile terminal, wherein the information acquisition request comprises: the information acquisition request is sent by the mobile terminal in response to an acquisition instruction for the campus information stored in the teaching server;
determining a target original resource path corresponding to the target universal identifier based on the corresponding relation between the universal identifier and the original resource path, wherein the target original resource path is used for indicating the storage position of the target type campus information in the teaching server;
and acquiring the target type campus information according to the target original resource path, and sending the target type campus information to the mobile terminal.
In still another aspect, a mobile terminal is provided, which includes: the device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the method for acquiring the campus information applied to the mobile terminal.
In still another aspect, a teaching server is provided, which includes: the system comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the method for acquiring the campus information applied to the teaching server.
In still another aspect, a computer-readable storage medium is provided, in which a computer program is stored, the computer program being loaded and executed by a processor to implement the method for acquiring campus information applied to a mobile terminal according to the above aspect, or the computer program being loaded and executed by a processor to implement the method for acquiring campus information applied to a tutor server according to the above aspect.
In still another aspect, a computer program product containing instructions is provided, which when run on the computer causes the computer to execute the method for acquiring campus information applied to a mobile terminal according to the above aspect, or the computer program is loaded and executed by a processor to implement the method for acquiring campus information applied to a teaching server according to the above aspect.
The beneficial effect that technical scheme that this application provided brought includes at least:
the application provides a campus information acquisition system, an acquisition method, teaching servers and a mobile terminal, wherein each teaching server stores the corresponding relation between a general identifier and an original resource path, so that the mobile terminal can acquire the campus information of the type corresponding to the general identifier from different teaching servers through the general identifier without storing the original resource path corresponding to each type of campus information in each teaching server, and therefore, on the premise that the mobile terminal can access a plurality of different teaching servers, the storage resources of the mobile terminal are effectively saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a system for acquiring campus information according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of another campus information acquiring system according to an embodiment of the present application;
fig. 3 is a block diagram of a management server according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating a mobile terminal displaying campus information from multiple teaching servers according to an embodiment of the present application;
fig. 5 is a flowchart of a method for acquiring campus information according to an embodiment of the present application;
fig. 6 is a flowchart of another method for acquiring campus information according to the embodiment of the present application;
fig. 7 is a schematic structural diagram of a teaching server provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 9 is a block diagram of a software structure of a mobile terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The school is provided with a teaching server capable of storing campus information. The mobile terminal can acquire and display the campus information stored in the teaching server through the installed teaching client matched with the teaching server. The teaching client matched with the teaching server stores the resource path corresponding to each campus information.
If the mobile terminal needs to acquire and display the campus information stored in the multiple teaching servers, multiple teaching clients need to be installed, and each teaching client is matched with one teaching server in the multiple teaching servers. However, this requires a large amount of memory resources of the mobile terminal.
For example, parents often view learning information of children. If a plurality of children in the family study in different schools, in order to check the study information of the plurality of children, a plurality of teaching clients need to be installed in the parent's mobile terminal. In addition, when parents check the learning information of children through a plurality of teaching clients, the mobile terminal needs to switch and operate the plurality of teaching clients so as to display the learning information of each child. Therefore, the mobile terminal is inefficient in displaying the campus information stored in the plurality of teaching servers.
An embodiment of the present application provides a system for acquiring campus information, referring to fig. 1, the system includes: a mobile terminal 110, and a plurality of tutorial servers 120. For example, FIG. 1 shows three tutorial servers 120. Each tutoring server 120 is configured in a school and is used for storing the school information of the school. Optionally, the mobile terminal 110 is a mobile phone, a tablet computer or a laptop desktop computer. For example, referring to fig. 1, the mobile terminal 110 may be a mobile phone. The teaching server 130 may be a server, or may be a server cluster composed of several servers, or may be a cloud computing service center.
In this embodiment, the mobile terminal 110 may send a first information acquisition request to the target teaching server 120 in response to an acquisition instruction for the campus information stored in the target teaching server 120. The target tutorial server 120 is any one of a plurality of tutorial servers 120. The first information acquisition request includes: and the target general identification corresponds to the target type of the campus information. As can be seen, for any one of the teaching servers 120 in the teaching server 120, if the mobile terminal 110 needs to acquire the campus information of the target type stored in the teaching server 120, an information acquisition request including the target general identifier corresponding to the target type may be sent to the teaching server 120.
The target teaching server 120 is capable of determining a target original resource path corresponding to the target universal identifier based on the corresponding relationship between the universal identifier and the original resource path in response to the first information acquisition request sent by the mobile terminal 110, where the target original path may be used to indicate a storage location of the target type of campus information in the target teaching server. Then, the target tutoring server 120 can obtain the target type of campus information according to the target original resource path and send the target type of campus information to the mobile terminal 110. After receiving the campus information sent by the target teaching server 120, the mobile terminal 110 may display the campus information.
It can be understood that the original resource paths corresponding to the same universal identifier stored in different education servers may be the same or different. A generic identification may correspond to one or more original resource paths.
To sum up, the embodiment of the present application provides a system for acquiring campus information, where each teaching server stores a corresponding relationship between a general identifier and an original resource path, and therefore, a mobile terminal can acquire, from different teaching servers, campus information of a type corresponding to the general identifier through the general identifier without storing an original resource path corresponding to each type of campus information in each teaching server, thereby effectively saving storage resources of the mobile terminal on the premise of ensuring that the mobile terminal can access multiple different teaching servers.
Alternatively, the mobile terminal 110 and the target teaching server 120 may exchange data (for example, the first information acquisition request and the campus information) through a communication connection established based on a File Transfer Protocol (FTP) communication protocol, or may exchange data through a Message Queue (MQ), or may exchange data through a representational state transfer (Rest) communication manner.
In this embodiment of the application, after obtaining the target original resource path based on the target general identifier, the target teaching server 120 may obtain the campus information indicated by the target original resource path by calling a get () method or a post () method. The parenthesized parameters of the get () method and the post () method include the target original resource path.
Optionally, each tutorial server 120 may include: and the service adaptation module can store the corresponding relation between the universal identifier and the original resource path, namely the service adaptation module can map the universal identifier to the original resource path.
The service adaptation module also stores input parameters corresponding to each original resource path and the type of the input parameters, and the input parameters corresponding to each original resource path can be different. When the education server 120 acquires the campus information indicated by any original resource path by calling the get () method or the post () method, the parameters in parentheses of the get () method and the post () method may further include: and the input parameters correspond to any original resource path.
In the embodiment of the present application, referring to table 1, the campus information may include at least one of the following different types of information: school public information, basic information, class management information, learning management information, online classroom information and student comprehensive quality information. For example, the campus information may include: school public information, basic information, class management information, learning management information, online classroom information and student comprehensive quality information.
Wherein, each kind of information may further include: at least one seed information. For example, as shown in table 1, the school public information includes at least one of the following different types of sub-information: campus style (i.e., campus introduction), teacher style (i.e., teacher introduction), campus photo album, and campus public class. The basic information includes at least one of the following different types of sub information: student information, authority authentication information, attendance information and leave-asking records. The student information may include: the age, school number, grade, school, etc. of the student. The authority authentication information can indicate whether the mobile terminal 110 for acquiring and displaying the campus information passes the authority authentication. The learning management information may include at least one of the following different types of sub information: job information, result information, and evaluation information.
TABLE 1
Figure BDA0003411168920000071
Figure BDA0003411168920000081
In the embodiment of the present application, the universal mark may be composed of numbers and/or letters. For example, the universal identification may be comprised of letters. Table 2 shows the general identifiers corresponding to the partial sub information types in table 1. As can be seen from table 2, the corresponding general identifier of the student information may be: Basicinfo/Student/Search/one. The general identification corresponding to the quality comprehensive evaluation information is as follows: StudyManagement/AssessInfo/Search.
TABLE 2
Sub information type Universal identification
Student information BasicInfo/Student/Search/one
Attendance information BasicInfo/Attendance/Search/one
Job information StudyManagement/Submit
Comprehensive evaluation information of quality StudyManagement/AssessInfo/Search
In this embodiment, in response to the instruction for acquiring the campus information stored in the target teaching server 120, the mobile terminal 110 may obtain the first information acquisition request based on a first Internet Protocol (IP) of the target teaching server 120 stored in advance and a target general identifier corresponding to a target type of the campus information. The first information acquisition request may further include: a first IP address of target tutoring server 120. Optionally, the first information obtaining request may further include: port number. In this way, after the mobile terminal 110 sends the first information obtaining request, the network device may find the target teaching server 120 based on the first IP address, and send the first obtaining request to the target teaching server 120 through the port indicated by the port number.
The first information acquisition request has a standard format as follows: < IP Address > < Port number >/< Path >. For example, assuming that the universal identifier is BasicInfo/Student/Search/one, the first information acquisition request may be: https:// IP PORT/Basicinfo/Student/Search/one. Wherein, IP is the IP address of the target teaching server 120, and PORT is the PORT number. Therefore, the first information acquisition request is the identifier of one service interface. The service interface may refer to: the mobile terminal 110 obtains the campus information channel from the tutoring server 120. It will be appreciated that the PORT, IP, in the first information acquisition request is different for different tutorial servers 120.
Fig. 2 is a schematic structural diagram of another system for acquiring campus information according to an embodiment of the present application. Referring to fig. 2, the system further comprises: a management server 130. The first IP address of the target tutor server 120 stored in the mobile terminal 110 may be that which the management server 130 transmits to the mobile terminal 110. The first IP address of the target teaching server 120 stored in the management server 130 may be acquired by the management server 130 when the target teaching server 120 registers in the management server 130.
In the embodiment of the present application, referring to fig. 3, the management server 130 may include: a campus registration module 1301, a service registration module 1302, a service storage module 1303, and a service retrieval module 1304. Campus registration module 1301 may provide registration service for teaching server 120. The tutorial server 120 can send a registration request to the management server 130 to register in the campus registration module 1301 of the management server 130. The registration request may include: the first IP address and registration information of the tutorial server 120. The registration information may include: the name, location, grade and scale of the school where the tutorial server 120 is located. The scale may include: school floor space, book volume, and teachers' ability, etc. After the education server 120 successfully registers with the management server 130, the campus registration module 1301 may allocate a Globally Unique Identifier (GUID) to the education server 120, so as to uniquely identify the education server 120 among the education servers 120. The GUID is in the format xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx, each x can be a hexadecimal number in the range of 0 to 9, or a to f.
The service registration module 1302 can provide the tutorial server 120 with an information registration service, an information modification service, and an information logout service. The information registration service may refer to: the tutor server 120 transmits the first name of the different type of campus information to the management server 130, and the management server 130 may store the first name of the different type of campus information so as to transmit the name of the different type of campus information to the mobile terminal 110 upon receiving an access request of the mobile terminal 110 to the tutor server 120. The information modification service may refer to: the tutoring server 120 may update the name of the campus information of a certain type from the first name to the second name, and then may send the second name to the management server 130. Then, the management server 130 may update the name of the recorded campus information of the type from the first name to the second name. The information logout service may refer to: the tutor server 120 no longer provides a certain type of campus information to the mobile terminal 110 and sends an information logout instruction to the management server 130, and the management server 130 may delete the name of the certain type of campus information in response to the information logout instruction. It can be seen that the service registration module 302 can perform unified management on the services provided by the teaching server 120.
The service storage module 1304 may store the IP address and registration information for each tutorial server 120. The service retrieval module 1304 may provide a retrieval service for the mobile terminal 110, and the mobile terminal 110 may obtain and display names of all the registered campus information provided by the teaching server 120 through the service retrieval module, so that a user can know the information service provided by the teaching server 120 conveniently.
In this embodiment, the mobile terminal 110 may send a login request to the management server 130 based on a Uniform Resource Locator (URL) of the management server 130, where the login request may include: user identification and authentication information. The management server 130 may perform authority authentication on the login request after receiving the login request, and after determining that the authority authentication is passed, send a school list to the mobile terminal 110 through the service retrieval module 1304. The school list may include: school identification of multiple schools. The teaching server 120 configured at the school indicated by each school identification has already completed registration in the management server 130. The user identifier may be a user account (e.g., a mobile phone number) currently logged in the teaching client installed in the mobile terminal 110. The authentication information may refer to: the password set by the user acquired by the mobile terminal 110 when the mobile terminal 110 is registered in the management server 130.
After receiving the school list, the mobile terminal 110 may display the school list. The user can select a designated school identification of a designated school to which the campus information to be acquired belongs from the school list. Accordingly, the mobile terminal 110 may transmit an address acquisition request for the tutor server 120 configured within a specified school identity to the management server 130 in response to a user's selection operation for the specified school identity. After receiving the address acquisition request, the management server 130 may send the first IP address of the education server 120 to the mobile terminal 110. Accordingly, the mobile terminal 110 may obtain the first IP address of the education server 120, and then access the education server 120 based on the first IP address.
In the embodiment of the present application, the mobile terminal 110 may send a status query request for the target teaching server 120 to the management server 130 in response to an acquisition instruction for the campus information stored in the target teaching server 120. The management server 130 may transmit the operation state of the target tutor server 120 to the mobile terminal 110 in response to the status query request after receiving the status query request for the target server. The operating state may include one of the following states: an access normal state and an access exception state.
If the mobile terminal 110 receives the access normal state of the target teaching server 120, it may send a first information obtaining request to the target teaching server 120. If the mobile terminal 110 receives the access abnormal state of the target teaching server 120, a prompt message may be sent. The prompting message is used to indicate that the target tutorial server 120 is not accessible.
Therefore, before accessing the target teaching server 120, the mobile terminal 110 may query the operating state of the target teaching server 120, and send the first information obtaining request to the target teaching server 120 only after the operating state of the target teaching server is the normal access state. Thus, the mobile terminal 110 can effectively access the target teaching server 120, and waste of communication resources of the mobile terminal 110 is avoided.
Optionally, the prompting message may include: a text message and/or a voice message. If the prompting message comprises a text message, mobile terminal 110 may control its display screen to display the text message. If the prompting message comprises a voice message, the mobile terminal 110 may control its speaker to play the voice message.
In this embodiment of the application, please continue to refer to fig. 3, the management server 130 may further include: a service status monitoring module 1305. The service status monitoring module 1305 may monitor the operating status of each registered teaching server 120 through a heartbeat detection method, and may send the monitored operating status of the teaching server 120 to the service storage module 1303. The service storage module 1303 may also record the operating status of each tutorial server 120.
The service status detection module 1305 may send a heartbeat detection request to each registered tutorial server 120 every polling period. Moreover, for each teaching server 120, if the service status detecting module 1305 receives the heartbeat response sent by the teaching server 120 within the preset time duration after sending the heartbeat detection request to the teaching server 120, the service status detecting module 1305 may determine that the operation status of the teaching server 120 is the access normal status. If the service status detection module 1305 does not receive the heartbeat response sent by the teaching server 120 within the preset time period after sending the heartbeat detection request to the teaching server 120, it may determine that the operation status of the teaching server 120 is an access abnormal status. The query period and the preset time period may be pre-stored in the management server 130, for example, the query period may be greater than or equal to 10 minutes (min) and less than or equal to 30 min. The preset time period may be 5 min.
Optionally, if the management server 130 determines that the operation state of a certain teaching server 120 is an access abnormal state, a reminding message may be sent. The reminding information is used for reminding the staff that the teaching server 120 cannot operate, so that the staff can timely inform maintenance personnel of the teaching server 120 to maintain the teaching server 120, and the teaching server 120 can recover to operate.
Alternatively, the management server 130 may have updated the stored IP address of the target teaching server 120, and the mobile terminal 110 may not have updated the IP address. This may result in the operation state of the target teaching server 120 acquired by the mobile terminal 110 from the management server 130 being the normal access state, but the mobile terminal 110 cannot access the target teaching server 120. In this case, the mobile terminal 110 may be further configured to: if the target type campus information sent by the target teaching server 120 is not received within the target duration after the first information acquisition request is sent to the target teaching server 120, an access failure message is sent to the management server 130. Wherein the target duration may be pre-stored by the mobile terminal 110. Upon receiving the access failure message, the management server 130 may send the second IP address of the target tutor server 120 to the mobile terminal 110.
If it is determined that the second IP address is different from the first IP address, the mobile terminal 110 may send a second information obtaining request to the target teaching server 120, where the second information obtaining request includes the second IP address. That is, if the mobile terminal 110 determines that the second IP address is different from the first IP address, the second information obtaining request may be obtained based on the second IP address. If the mobile terminal 110 determines that the second IP address is the same as the first IP address, it may send a warning message indicating a network failure.
In this embodiment, the target teaching server 120 may send the second IP address to the management server 130 after detecting that the IP address of the target server is updated from the first IP address to the second IP address. After receiving the second IP address, the management server 130 may update the recorded IP address of the target server from the first IP address to the second IP address. And the management server 130 may monitor the operation state of the target teaching server 120 based on the second IP address.
If the mobile terminal 110 does not have the authority to acquire the campus information in the tutor server 120 (i.e. the mobile terminal 110 does not pass the authority authentication of the tutor server 120), the mobile terminal 110 cannot acquire the campus information stored in the tutor server 120. If the mobile terminal 110 has the right to acquire the campus information in the education server 120 (i.e. the mobile terminal 110 passes the right authentication of the education server 120), the mobile terminal 110 can acquire the campus information stored in the education server 120. Based on this, the first information acquisition request may further include: and identity authentication information. In response to the first information acquisition request, the target teaching server 120 may determine, based on the correspondence between the universal identifier and the original resource path, a target original resource path corresponding to the target universal identifier if it is determined that the mobile terminal 110 has the acquisition permission of the campus information based on the identity authentication information.
If the mobile terminal 110 logs in the target teaching server 120 for the first time, the identity authentication information may be an identity identifier. For example, if the mobile terminal 110 is a parent of the mobile terminal 110, the id may be a school number or an identification number of a child. If the mobile terminal 110 is the mobile terminal 110 of the education staff, the identification may be the identification number of the education staff, and if the mobile terminal 110 does not log in the target teaching server 120 for the first time, the identification information may be a token (token). The token is sent to the mobile terminal 110 by the target teaching server 120 after the mobile terminal 110 logs in the target teaching server 120 for the first time and passes the authority authentication of the target teaching server 120.
Optionally, as shown in table 1, in the campus information stored in each teaching server 120, part of the information is public information, and part of the information is non-public information. For example, the public school information, the recorded broadcast class and the special delivery class in the information shown in table 1 are public information, and the campus information except the public school information, the recorded broadcast class and the special delivery class are non-public information. The obtaining authority of the campus information may refer to obtaining authority for non-public information in the campus information.
That is, the public information in the tutor server 120 can be acquired regardless of whether the mobile terminal passes the authority authentication of the tutor server 120 or the mobile terminal does not pass the authority authentication of the tutor server 120. However, the mobile terminal 110 that does not pass the authority authentication of the tutor server 120 cannot acquire the non-public information stored in the tutor server 120.
It can be understood that, if the mobile terminal 110 is a parent mobile terminal 110, the mobile terminal 110 may obtain the information about the target student in the non-public information after passing the authority authentication of the teaching server 120, but may not obtain the information about other students in the non-public information. The target student is a parent's child.
Taking the mobile terminal 110 as a parent, the parent needs to check the information of the student a and the student B, the school where the student a is located has the teaching server 120A, and the school where the student B is located has the teaching server 120B as an example, the system provided by the embodiment of the present application is exemplarily described:
referring to fig. 4, after the mobile terminal 110 runs the teaching client, the application interface of the teaching client displays a first selection control 01 corresponding to the student a and the student B, a second selection control 02 and an expansion control 03 corresponding to the school public information, the basic information, the class management information, the learning management information, the online classroom information, and the student comprehensive quality information, and an information acquisition control 04.
If the user touches the expansion control 02 corresponding to any piece of information, the mobile terminal 110 may display that any piece of information includes at least one piece of sub information, and a third selection control 05 corresponding to each piece of sub information. For example, as shown in fig. 4, the user touches the expansion control 02 corresponding to the student comprehensive quality information. Accordingly, the mobile terminal 110 may display the respective pieces of sub information included in the student comprehensive quality information and the third selection control 05 corresponding to each piece of sub information in response to the user's touch operation with respect to the expansion control 02.
Assuming that parents need to check student information, attendance information, score information, classroom performance, ranking trend and knowledge vulnerability of the students A and B, the first selection control 01 corresponding to the student A, the first selection control 01 corresponding to the student B, and the first selection control 01 and the second selection control 04 corresponding to the student information, the attendance information, the score information, the classroom performance, the ranking trend and the knowledge vulnerability respectively can be selected.
Then, the user can touch the information acquisition control 04. Correspondingly, the mobile terminal 110 may send, in response to the touch operation of the user on the information acquisition control 04, an information acquisition request including the general identifier corresponding to the student information, the general identifier corresponding to the attendance information, the general identifier corresponding to the achievement information, the general identifier corresponding to the classroom performance, the general identifier corresponding to the ranking trend, and the general identifier corresponding to the weak point of knowledge to the teaching server 120A and the teaching server 120B, respectively.
Then, the teaching server 120A can send the student information, attendance information, achievement information, classroom performance, ranking trend and knowledge vulnerability of the student a to the mobile terminal 110, and the teaching server 120B can send the student information, attendance information, achievement information, classroom performance, ranking trend and knowledge vulnerability of the student B to the mobile terminal 110. After receiving the information sent by the teaching server 120A and the teaching server 120B, the mobile terminal 110 may display the interface shown in fig. 4.
As can be seen from fig. 4, the student information of student a includes: the age is 7 years old, the grade is two, and the school is a central primary school; the ranking trend is midstream, and the attendance information is as follows: the Chinese language teaching demonstration instrument has the advantages of more leave requests, more late arrival, more inward characters, good Chinese classroom performance, excellent performance, commonly-expressed mathematics classroom performance, good performance and score operation of weak knowledge.
The student information of student B includes: the age is 13 years, the grade is junior-middle-second grade, and the school is sixty-four middle; the ranking trend is upstream, the attendance information is recorded without delay, the characters are inward, the Chinese classroom performance is good, the performance is excellent, the knowledge weakness is reading comprehension, the mathematic classroom performance is excellent, the performance is excellent, and the knowledge weakness is three-dimensional geometry.
Moreover, as can be seen from fig. 4, the mobile terminal 110 provided in the embodiment of the present application can display the campus information sent from different teaching servers 120 in one application interface of one teaching client, and does not need to frequently switch to operate different teaching clients, so that the efficiency of displaying the campus information stored in multiple teaching servers 120 by the mobile terminal 110 is improved, and the user experience is improved.
To sum up, the embodiment of the present application provides a system for acquiring campus information, where each teaching server stores a corresponding relationship between a general identifier and an original resource path, and therefore, a mobile terminal can acquire, from different teaching servers, campus information of a type corresponding to the general identifier through the general identifier without storing an original resource path corresponding to each type of campus information in each teaching server, thereby effectively saving storage resources of the mobile terminal on the premise of ensuring that the mobile terminal can access multiple different teaching servers.
Fig. 5 is a flowchart of a method for acquiring campus information according to an embodiment of the present application, where the method can be applied to a system for acquiring campus information, such as the system shown in fig. 1. The acquisition system may include: the system comprises a mobile terminal and a target teaching server, wherein the target teaching server is any one of a plurality of teaching servers, and each teaching server is configured in a school. Referring to fig. 5, the method includes:
step 101, the mobile terminal receives an acquisition instruction for the campus information stored in the target teaching server.
The mobile terminal can be provided with a teaching client. The obtaining instruction for the campus information stored in the target teaching server received by the mobile terminal may be triggered by an operation of starting a teaching client, or may be triggered by a touch operation of a user for an information obtaining control displayed in the teaching client. The embodiment of the present application does not limit the trigger mode of the acquisition instruction.
Step 102, the mobile terminal responds to the acquisition instruction and sends an information acquisition request to the target teaching server, wherein the information acquisition request comprises: and the target general identification corresponds to the target type of the campus information.
After receiving the acquisition instruction for the campus information, the mobile terminal can respond to the acquisition instruction, obtain a first information acquisition request based on a first pre-stored IP address of the target teaching server and a target general identifier corresponding to a target type of the campus information, and send the first information acquisition request to the target teaching server. The first information acquisition request includes: the first IP address and a target general identification corresponding to the target type of the campus information.
And 103, the target teaching server determines a target original resource path corresponding to the target general identifier based on the corresponding relation between the general identifier and the original resource path.
After receiving the first information acquisition request, the target teaching server can determine a target original resource path corresponding to the target general identifier based on the corresponding relationship between the pre-stored general identifier and the original resource path. The target raw resource path is used for indicating the storage position of the target type campus information in the target teaching server.
And step 104, the target teaching server acquires the campus information of the target type according to the target original resource path.
After the target teaching server obtains the target original resource path, the campus information indicated by the target original resource path can be obtained by calling a get () method or a post () method.
And 105, the target teaching server sends the target type campus information to the mobile terminal.
After the target teaching server acquires the target type of campus information, the target teaching server can send the target type of campus information to the mobile terminal for the mobile terminal to display.
To sum up, the embodiment of the present application provides a method for acquiring campus information, where each teaching server stores a corresponding relationship between a general identifier and an original resource path, so that a mobile terminal can acquire, from different teaching servers, campus information of a type corresponding to the general identifier through the general identifier without storing the original resource path corresponding to each type of campus information in each teaching server, thereby effectively saving storage resources of the mobile terminal on the premise of ensuring that the mobile terminal can access multiple different teaching servers.
Fig. 6 is a flowchart of another method for acquiring campus information according to an embodiment of the present disclosure, where the method can be applied to a system for acquiring campus information, such as the system shown in fig. 2. The acquisition system may include: the system comprises a mobile terminal, a target teaching server and a management server, wherein the target teaching server is any one of a plurality of teaching servers, and each teaching server is configured in a school. Referring to fig. 6, the method includes:
step 201, the mobile terminal receives an acquisition instruction for the campus information stored in the target teaching server.
The implementation process of step 201 may refer to the implementation process of step 101, and is not described herein again in this embodiment of the present application.
Step 202, the mobile terminal responds to the acquisition instruction and sends a state query request aiming at the target teaching server to the management server.
The state query request is used for indicating the management server to acquire the running state of the target teaching server.
Step 203, the management server responds to the state inquiry request and sends the running state of the target teaching server to the mobile terminal.
In the embodiment of the application, the management server can monitor the running state of the target teaching server. The operating state of the target teaching server may be one of the following states: an access normal state and an access exception state. After receiving the state query request for the target teaching server, the management server can respond to the state query request, read the running state of the target teaching server, and send the running state of the target teaching server to the mobile terminal.
The process of monitoring the operating state of the target teaching server by the management server may refer to a related implementation process in the above system embodiment, and details of the embodiment of the present application are not described herein again.
And 204, detecting whether the running state of the target teaching server is the normal access state or not by the mobile terminal.
After receiving the running state of the target teaching server, the mobile terminal can detect whether the running state is a normal access state. If the mobile terminal determines that the operation state is the access normal state, step 205 may be executed. If the mobile terminal determines that the operation state is the access normal state, step 206 may be executed.
That is, if the mobile terminal receives the access abnormal state of the target teaching server, step 205 may be executed. If the mobile terminal receives the access normal status of the target teaching server, step 206 may be executed.
Step 205, the mobile terminal sends out a prompt message.
If the mobile terminal receives the access abnormal state of the target teaching server, a prompt message can be sent out to prompt the user that the target teaching server cannot be accessed at present.
Optionally, the process of sending the prompt message by the mobile terminal may refer to a related implementation process in the foregoing system embodiment, and details of the embodiment of the present application are not described herein again.
Step 206, the mobile terminal sends a first information acquisition request to the target teaching server, wherein the first information acquisition request comprises: and the target general identification corresponds to the target type of the campus information.
If the mobile terminal receives the normal access state of the target teaching server, a first information acquisition request can be obtained based on a first pre-stored IP address of the target teaching server and a target general identification corresponding to the target type of the campus information, and the first information acquisition request is sent to the target teaching server. The first information acquisition request includes: the first IP address and a target general identification corresponding to the target type of the campus information.
The first IP address of the target teaching server stored in the mobile terminal may be sent to the mobile terminal by the management server, and the first IP address of the target teaching server stored in the management server may be obtained by the management server when the target teaching server is registered in the management server. The process of the management server acquiring the first IP address and the process of the mobile terminal acquiring the first IP address may refer to related implementation processes in the above system embodiment, and details of the embodiment of the present application are not repeated herein.
And step 207, the target teaching server determines a target original resource path corresponding to the target general identifier based on the corresponding relationship between the general identifier and the original resource path.
The target original resource path is used for indicating the storage position of the target type campus information in the target teaching server.
Optionally, the first information obtaining request may further include: and identity authentication information. The target teaching server responds to the first information acquisition request, and if the mobile terminal is determined to have the acquisition permission of the campus information based on the identity authentication information, a target original resource path corresponding to the target general identifier can be determined based on the corresponding relation between the general identifier and the original resource path.
And step 208, the target teaching server acquires the campus information of the target type according to the target original resource path.
And step 209, the target teaching server sends the campus information of the target type to the mobile terminal.
The implementation processes of step 208 and step 209 may refer to the implementation processes of step 104 and step 105, which are not described herein again.
Step 210, the mobile terminal detects whether the campus information of the target type is received within the target duration after the first information acquisition request is sent.
After sending the first information acquisition request to the target server, the mobile terminal may detect whether the campus information of the target type sent by the target teaching server is received within the target duration after sending the first information acquisition request. If the mobile terminal receives the campus information of the target type sent by the target tutoring server, step 211 may be executed. If the mobile terminal does not receive the target-type campus information sent by the target teaching server, step 212 may be executed.
And step 211, the mobile terminal displays the campus information of the target type.
The mobile terminal can display the campus information in a display screen after receiving the campus information of the target type sent by the target teaching server within the target time length after sending the first information acquisition request to the target server.
Step 212, the mobile terminal sends an access failure message to the management server.
And the mobile terminal does not receive the target type campus information sent by the target teaching server within the target time length after sending the first information acquisition request to the target server, and then can send an access failure message to the management server.
Step 213, the management server sends the second IP address of the target teaching server to the mobile terminal.
And after receiving the access failure message sent by the mobile terminal, the management server can send the second IP address of the target teaching server to the mobile terminal.
Wherein, the second IP address can be sent by the target teaching server to the management server. The process of the target teaching server sending the second IP address to the management server may refer to the related implementation process in the foregoing system embodiment, and details of the embodiment of the present application are not described herein again.
Step 214, the mobile terminal detects whether the second IP address is the same as the first IP address.
After receiving the second IP address of the target teaching server, the mobile terminal may detect whether the second IP address is the same as the first IP address. If the mobile terminal determines that the second IP address is the same as the first IP address, it may determine that the current network is faulty and may then perform step 215. If the mobile terminal determines that the second IP address is different from the first IP address, step 216 may be performed.
Step 215, the mobile terminal sends out a warning message for indicating the network failure.
If the mobile terminal determines that the second IP address of the target teaching server is the same as the first IP address, a reminding message for indicating network faults can be sent.
And step 216, the mobile terminal sends a second information acquisition request to the target teaching server.
If the mobile terminal determines that the second IP address of the target teaching server is different from the first IP address, the stored IP address of the target teaching server can be updated from the first IP address to the second IP address. Then, the mobile terminal may obtain a second information acquisition request based on the second IP address and the target universal identifier, and send the second information acquisition request to the target teaching server. The second information acquisition request may include: a second IP address and a target universal identification.
Then, the target teaching server may determine, in response to the second information acquisition request, a target original resource path corresponding to the target general identifier based on a correspondence between the general identifier and the original resource path, then acquire, based on the target original resource path, the campus information of the target type, and send the campus information to the mobile terminal.
It should be noted that, the order of the steps of the method for acquiring campus information provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be increased or decreased according to the situation. For example, steps 202 to 205 may be deleted as appropriate; alternatively, step 210, step 212, and step 213 may be deleted as appropriate; still alternatively, steps 214 through 216 may be deleted as appropriate. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
It should be further noted that, for convenience and brevity of description, the specific working processes of the mobile terminal and the target teaching server described above may refer to corresponding processes in the foregoing system embodiment, and details of the embodiment of the present application are not described herein again.
To sum up, the embodiment of the present application provides a method for acquiring campus information, where each teaching server stores a corresponding relationship between a general identifier and an original resource path, so that a mobile terminal can acquire, from different teaching servers, campus information of a type corresponding to the general identifier through the general identifier without storing the original resource path corresponding to each type of campus information in each teaching server, thereby effectively saving storage resources of the mobile terminal on the premise of ensuring that the mobile terminal can access multiple different teaching servers.
Fig. 7 is a schematic structural diagram of a teaching server according to an embodiment of the present application, and referring to fig. 7, the teaching server 120 includes: a processor 1201. The processor 1201 is configured to:
receiving an information acquisition request sent by a mobile terminal, wherein the information acquisition request comprises: the information acquisition request is sent by the mobile terminal in response to an acquisition instruction for the campus information stored in the teaching server;
determining a target original resource path corresponding to the target general identifier based on the corresponding relation between the general identifier and the original resource path, wherein the target original resource path is used for indicating the storage position of the target type campus information in the teaching server;
and acquiring the target type campus information according to the target original resource path, and sending the target type campus information to the mobile terminal.
Optionally, the processor 1201 may be further configured to:
and if the IP address of the target server is detected to be updated from the first IP address to a second IP address, sending the second IP address to the management server, wherein the second IP address is used for indicating the management server to update the recorded IP address of the target server from the first IP address to the second IP address.
To sum up, the embodiment of the present application provides a teaching server, where a corresponding relationship between a general identifier and an original resource path is stored in the teaching server, so that a mobile terminal can obtain campus information of a type corresponding to the general identifier from different teaching servers through the general identifier without storing the original resource path corresponding to each type of campus information in each teaching server, thereby effectively saving storage resources of the mobile terminal on the premise of ensuring that the mobile terminal can access multiple different teaching servers.
An embodiment of the present application further provides a teaching server, as shown in fig. 7, the teaching server may include a memory 1202, a processor 1201 and a computer program stored in the memory 1202 and executable on the processor 1201, and when the processor 1201 executes the computer program, the method for acquiring the campus information applied to the teaching server provided in the foregoing embodiment is implemented, for example, the method executed by the target teaching server in fig. 5 and fig. 6.
Fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application, and referring to fig. 8, the mobile terminal 110 includes: a processor 1101. The processor 1101 is configured to:
receiving an acquisition instruction aiming at campus information stored in a target teaching server, wherein the target teaching server is any one of a plurality of teaching servers, and each teaching server is configured in a school;
responding to the acquisition instruction, and sending an information acquisition request to the target teaching server, wherein the information acquisition request comprises: a target general identifier corresponding to the target type of the campus information;
the information acquisition request is used for indicating the target teaching server to determine a target original resource path corresponding to a target general identifier based on a corresponding relation between the general identifier and the original resource path, acquiring the campus information of the target type according to the target original resource path, and sending the campus information of the target type to the mobile terminal, wherein the target original resource path is used for indicating a storage position of the campus information of the target type in the target teaching server.
Optionally, the processor 1101 may be configured to: in response to the acquisition instruction, sending a state query request aiming at the target teaching server to the management server, wherein the state query request is used for instructing the management server to send an operation state of the target teaching server to the mobile terminal, and the operation state comprises one of the following states: accessing a normal state and accessing an abnormal state;
if the normal access state of the target teaching server is received, sending the information acquisition request to the target teaching server;
the processor 1101 may also be configured to: and if the abnormal access state of the target teaching server is received, sending a prompt message, wherein the prompt message is used for indicating that the target teaching server cannot be accessed.
Optionally, the processor 1101 may further be configured to: within the target time length after the first information acquisition request is sent to the target teaching server, if the campus information of the target type sent by the target teaching server is not received, an access failure message is sent to the management server, wherein the access failure message is used for indicating the management server to send a second IP address of the target teaching server to the mobile terminal; and if the second IP address is different from the first IP address, sending a second information updating acquisition request to the target teaching server, wherein the second information acquisition request comprises the second IP address.
To sum up, the embodiment of the present application provides a mobile terminal, because the teaching server stores the corresponding relationship between the general identifier and the original resource path, the mobile terminal can obtain the campus information of the type corresponding to the general identifier from different teaching servers through the general identifier without storing the original resource path corresponding to each campus information in each teaching server, thereby effectively saving the storage resource of the mobile terminal on the premise of ensuring that the mobile terminal can access multiple different teaching servers.
As shown in fig. 8, the mobile terminal 110 provided in the embodiment of the present application may further include: a display unit 130, a Radio Frequency (RF) circuit 150, an audio circuit 160, a wireless fidelity (Wi-Fi) module 170, a bluetooth module 180, a power supply 190, and a camera 121.
The camera 121 may be used to capture still pictures or video, among other things. The object generates an optical picture through the lens and projects the optical picture to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensitive elements convert the light signals into electrical signals which are then passed to the processor 1101 for conversion into digital picture signals.
The processor 1101 is a control center of the mobile terminal 110, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the mobile terminal 110 and processes data by running or executing software programs stored in the memory 140 and calling data stored in the memory 140. In some embodiments, processor 1101 may include one or more processing units; the processor 1101 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 1101. In the present application, the processor 1101 may run an operating system and an application program, may control a user interface to display, and may implement the method for acquiring the campus information applied to the mobile terminal provided in the embodiment of the present application. Additionally, processor 1101 is coupled to input unit and display unit 130.
The display unit 130 may be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the mobile terminal 110, and optionally, the display unit 130 may also be used to display information input by the user or information provided to the user and a Graphical User Interface (GUI) of various menus of the mobile terminal 110. The display unit 130 may include a display screen 131 disposed on the front surface of the mobile terminal 110. The display screen 131 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The display unit 130 includes: a display screen 131 and a touch screen 132 disposed on the front of the mobile terminal 110. The display screen 131 may be used to display preview pictures. Touch screen 132 may collect touch operations on or near by the user, such as clicking a button, dragging a scroll box, and the like. The touch screen 132 may be covered on the display screen 131, or the touch screen 132 and the display screen 131 may be integrated to implement the input and output functions of the mobile terminal 110, and after the integration, the touch screen may be referred to as a touch display screen for short.
Memory 140 may be used to store software programs and data. The processor 1101 executes various functions of the mobile terminal 110 and data processing by executing software programs or data stored in the memory 140. The memory 140 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Memory 140 stores an operating system that enables mobile terminal 110 to operate. The memory 140 in the present application may store an operating system and various application programs, and may also store codes for executing the method for acquiring the campus information applied to the mobile terminal provided in the embodiment of the present application.
The RF circuit 150 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then deliver the received downlink data to the processor 1101 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 110. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The mobile terminal 110 may also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the RF circuit 150 to be transmitted to, for example, another terminal or outputs the audio data to the memory 140 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and the mobile terminal 110 may help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, which provides a wireless broadband internet access for the user.
And the Bluetooth module 180 is used for performing information interaction with other Bluetooth devices with Bluetooth modules through a Bluetooth protocol. For example, the mobile terminal 110 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) also equipped with a bluetooth module through the bluetooth module 180, so as to perform data interaction.
Mobile terminal 110 also includes a power supply 190 (e.g., a battery) that powers the various components. The power supply may be logically coupled to the processor 1101 through a power management system to manage charging, discharging, and power consumption functions through the power management system. The mobile terminal 110 may also be configured with a power button for powering on and off the terminal, and locking the screen.
The mobile terminal 110 may include at least one sensor 1110, such as a motion sensor 11101, a distance sensor 11102, a fingerprint sensor 11103, and a temperature sensor 11104. Mobile terminal 110 may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the mobile terminal and each device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 9 is a block diagram of a software structure of a mobile terminal according to an embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the android system is divided into four layers, an application layer, an application framework layer, an Android Runtime (ART) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 9, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 9, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, pictures, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the mobile terminal 110. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the communication terminal vibrates, and an indicator light flashes.
The android runtime comprises a core library and a virtual machine. The android runtime is responsible for scheduling and management of the android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still picture files, etc. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, picture rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The embodiment of the application provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and the computer program is loaded by a processor and executes the method for acquiring the campus information applied to the teaching server provided by the embodiment; or the computer program is loaded by a processor and executes the method for acquiring the campus information applied to the mobile terminal provided in the above embodiment.
The embodiment of the application also provides a computer program product containing instructions, and when the computer program product runs on a computer, the computer is enabled to execute the method for acquiring the campus information applied to the teaching server provided by the method embodiment; or the computer program is loaded by a processor and executes the method for acquiring the campus information applied to the mobile terminal provided in the above embodiment.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
It should be understood that reference herein to "and/or" means that there may be three relationships, for example, a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Also, the term "at least one" in the present application means one or more, and the term "a plurality" in the present application means two or more.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution. For example, a first information acquisition request may be referred to as a second information acquisition request, and similarly, a second information acquisition request may be referred to as a first information acquisition request, without departing from the scope of the various described examples.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A system for acquiring campus information, the system comprising: the system comprises a mobile terminal and a plurality of teaching servers, wherein each teaching server is configured in a school;
the mobile terminal is configured to send a first information acquisition request to a target teaching server in response to an acquisition instruction for the campus information stored in the target teaching server, where the first information acquisition request includes: the target teaching server is any one of the plurality of teaching servers;
the target teaching server is configured to, in response to the first information acquisition request, determine a target original resource path corresponding to the target general identifier based on a corresponding relationship between a general identifier and an original resource path, acquire the campus information of the target type according to the target original resource path, and send the campus information of the target type to the mobile terminal, where the target original resource path is used to indicate a storage location of the campus information of the target type in the target teaching server.
2. The system of claim 1, further comprising: the management server records the running state of the target server and is connected with the mobile terminal;
the mobile terminal is further used for responding to an acquisition instruction for the campus information stored in the target teaching server and sending a state query request for the target teaching server to the management server;
the management server is used for responding to the state inquiry request and sending the running state of the target teaching server to the mobile terminal, wherein the running state comprises one of the following states: accessing a normal state and accessing an abnormal state;
the mobile terminal is further configured to send the first information acquisition request to the target teaching server if the access normal state of the target teaching server is received, and send a prompt message if the access abnormal state of the target teaching server is received, where the prompt message is used to indicate that the target teaching server cannot be accessed.
3. The system of claim 2, wherein the first information acquisition request further comprises: a first internet protocol, IP, address of the target teaching server;
the mobile terminal is further configured to send an access failure message to the management server if the target type campus information sent by the target teaching server is not received within a target time length after the first information acquisition request is sent to the target teaching server;
the management server is further used for sending a second IP address of the target teaching server to the mobile terminal after receiving the access failure message;
and the mobile terminal is further configured to send a second information acquisition update request to the target teaching server if it is determined that the second IP address is different from the first IP address, where the second information acquisition update request includes the second IP address.
4. The system of claim 3,
the target teaching server is further configured to send the second IP address to the management server if it is detected that the IP address of the target server is updated from the first IP address to the second IP address;
the management server is further configured to update the recorded IP address of the target server from the first IP address to the second IP address if the second IP address is received before the access failure message is received.
5. The system according to any one of claims 1 to 4, wherein the first information acquisition request further comprises: identity authentication information;
the target teaching server is further configured to respond to the first information acquisition request, and determine a target original resource path corresponding to the target general identifier based on a corresponding relationship between the general identifier and the original resource path if it is determined that the mobile terminal has the acquisition permission of the campus information based on the identity authentication information.
6. A method for acquiring campus information is applied to a mobile terminal in a system for acquiring campus information, and the system further comprises: the target teaching server is any one of a plurality of teaching servers, and each teaching server is configured in a school; the method comprises the following steps:
receiving an acquisition instruction aiming at campus information stored in a target teaching server;
responding to the acquisition instruction, and sending an information acquisition request to the target teaching server, wherein the information acquisition request comprises: a target general identifier corresponding to the target type of the campus information;
the information acquisition request is used for indicating the target teaching server to determine a target original resource path corresponding to the target universal identifier based on the corresponding relation between the universal identifier and the original resource path, acquiring the campus information of the target type according to the target original resource path, and sending the campus information of the target type to the mobile terminal, wherein the target original resource path is used for indicating the storage position of the campus information of the target type in the target teaching server.
7. The method of claim 6, wherein the acquisition system further comprises: the management server records the running state of the target server; the sending of an information acquisition request to the target teaching server in response to the acquisition instruction comprises:
in response to the acquisition instruction, sending a state query request aiming at the target teaching server to the management server, wherein the state query request is used for instructing the management server to send an operation state of the target teaching server to the mobile terminal, and the operation state comprises one of the following states: accessing a normal state and accessing an abnormal state;
if the normal access state of the target teaching server is received, sending the information acquisition request to the target teaching server;
the method further comprises the following steps:
and if the abnormal access state of the target teaching server is received, sending a prompt message, wherein the prompt message is used for indicating that the target teaching server cannot be accessed.
8. A campus information acquisition method is characterized in that the method is applied to a target teaching server in a campus information acquisition system, the target teaching server is any teaching server in a plurality of teaching servers, each teaching server is configured in a school, and the acquisition system further comprises: a mobile terminal; the method comprises the following steps:
receiving an information acquisition request sent by the mobile terminal, wherein the first information acquisition request is sent by the mobile terminal in response to an acquisition instruction for the campus information stored in the target teaching server, and the information acquisition request comprises: a target general identifier corresponding to the target type of the campus information;
responding to the information acquisition request, and determining a target original resource path corresponding to the target universal identifier based on the corresponding relation between the universal identifier and the original resource path, wherein the target original resource path is used for indicating the storage position of the target type campus information in the target teaching server;
and acquiring the target type campus information according to the target original resource path, and sending the target type campus information to the mobile terminal.
9. A mobile terminal, characterized in that the mobile terminal comprises: a processor to:
receiving an acquisition instruction aiming at campus information stored in a target teaching server, wherein the target teaching server is any one of a plurality of teaching servers, and each teaching server is configured in a school;
responding to the acquisition instruction, and sending an information acquisition request to the target teaching server, wherein the information acquisition request comprises: a target general identifier corresponding to the target type of the campus information;
the information acquisition request is used for indicating the target teaching server to determine a target original resource path corresponding to a target general identifier based on a corresponding relation between the general identifier and the original resource path, acquiring the campus information of the target type according to the target original resource path, and sending the campus information of the target type to the mobile terminal, wherein the target original resource path is used for indicating a storage position of the campus information of the target type in the target teaching server.
10. A teaching server, wherein the teaching server comprises: a processor to:
receiving an information acquisition request sent by a mobile terminal, wherein the information acquisition request comprises: the information acquisition request is sent by the mobile terminal in response to an acquisition instruction for the campus information stored in the teaching server;
determining a target original resource path corresponding to the target universal identifier based on the corresponding relation between the universal identifier and the original resource path, wherein the target original resource path is used for indicating the storage position of the target type campus information in the teaching server;
and acquiring the target type campus information according to the target original resource path, and sending the target type campus information to the mobile terminal.
CN202111532099.6A 2021-12-14 2021-12-14 Campus information acquisition system, acquisition method, teaching server and mobile terminal Pending CN114217961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111532099.6A CN114217961A (en) 2021-12-14 2021-12-14 Campus information acquisition system, acquisition method, teaching server and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111532099.6A CN114217961A (en) 2021-12-14 2021-12-14 Campus information acquisition system, acquisition method, teaching server and mobile terminal

Publications (1)

Publication Number Publication Date
CN114217961A true CN114217961A (en) 2022-03-22

Family

ID=80702150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111532099.6A Pending CN114217961A (en) 2021-12-14 2021-12-14 Campus information acquisition system, acquisition method, teaching server and mobile terminal

Country Status (1)

Country Link
CN (1) CN114217961A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116702100A (en) * 2022-10-21 2023-09-05 荣耀终端有限公司 Authority management method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116702100A (en) * 2022-10-21 2023-09-05 荣耀终端有限公司 Authority management method and electronic equipment
CN116702100B (en) * 2022-10-21 2024-04-16 荣耀终端有限公司 Authority management method and electronic equipment

Similar Documents

Publication Publication Date Title
US11711670B2 (en) Method for activating service based on user scenario perception, terminal device, and system
CN105634881B (en) Application scene recommendation method and device
EP3389230A2 (en) System for providing dialog content
US10866706B2 (en) Electronic device for displaying application and operating method thereof
EP3005080B1 (en) Synchronizing device association data among computing devices
US10462243B2 (en) Method and device for interaction between terminals
CN106503077A (en) The management method of media content, device and equipment
US20220382788A1 (en) Electronic device and method for operating content using same
WO2019037566A1 (en) Information display method and apparatus, device, and computer-readable storage medium
CN111857531A (en) Mobile terminal and file display method thereof
CN114117225A (en) Book recommendation method and book recommendation equipment
CN114217961A (en) Campus information acquisition system, acquisition method, teaching server and mobile terminal
KR102471739B1 (en) Apparatus and method for managing of history information in a electronic device
US20150199370A1 (en) Information management method, client and mobile terminal
CN114371895B (en) Terminal equipment, mail marking method and storage medium
CN114066098A (en) Method and device for estimating completion duration of learning task
KR20160033579A (en) System and method for providing service via application
US11317129B1 (en) Targeted content distribution in a messaging system
US11405341B1 (en) Audience-based content optimization in a messaging system
JP2019511142A (en) Information display method, apparatus and system
CN112667868A (en) Data detection method and device
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN112929858B (en) Method and terminal for simulating access control card
CN114998067A (en) Learning plan recommendation method and electronic equipment
CN115934493A (en) Memory leak detection method, related device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination