CN111062681B - Course selection tour inspection method and device, server and storage medium - Google Patents

Course selection tour inspection method and device, server and storage medium Download PDF

Info

Publication number
CN111062681B
CN111062681B CN201911132569.2A CN201911132569A CN111062681B CN 111062681 B CN111062681 B CN 111062681B CN 201911132569 A CN201911132569 A CN 201911132569A CN 111062681 B CN111062681 B CN 111062681B
Authority
CN
China
Prior art keywords
course selection
course
server
information
target
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.)
Active
Application number
CN201911132569.2A
Other languages
Chinese (zh)
Other versions
CN111062681A (en
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.)
Hunan Qiangzhi Technology Development Co ltd
Original Assignee
Hunan Qiangzhi Technology Development 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 Hunan Qiangzhi Technology Development Co ltd filed Critical Hunan Qiangzhi Technology Development Co ltd
Priority to CN201911132569.2A priority Critical patent/CN111062681B/en
Publication of CN111062681A publication Critical patent/CN111062681A/en
Application granted granted Critical
Publication of CN111062681B publication Critical patent/CN111062681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a course selection tour inspection method, a course selection tour inspection device, a server and a storage medium. Wherein the method comprises the following steps: acquiring course selection information and course selection server information of a target school; determining the number of people participating in the course selection corresponding to the target course selection period based on the course selection period in the course selection information; and generating a tour inspection result of whether a course selecting server of the target school supports a course selecting access request of the target course selecting period according to the course selecting server information and the number of the participants of the course selecting corresponding to the target course selecting period. The method and the system can predict the situation that the course selection server cannot support the course selection access request in advance, so that related staff is instructed to timely change the hardware and/or software configuration of the course selection server to meet the course selection requirement of a educational administration management platform of a school.

Description

Course selection tour inspection method and device, server and storage medium
Technical Field
The invention relates to a educational administration management system, in particular to a course selection tour inspection method, a device, a server and a storage medium.
Background
The student course selection is an important part in teaching management, and is directly related to the acquisition of student teaching materials, daily teaching of students and the like, and even influences whether the students can normally carry out graduation. In the past, the number of people in the school is less, the informatization means is insufficient, and the manual statistics is mainly used when students select class. Along with the rapid development of education industry, the modern informatization management degree is continuously improved, and the course selection mode is mainly based on course selection of students on a educational administration management platform, so that the course selection efficiency is improved, and meanwhile, management errors are avoided.
In the related art, in order to meet the demands of students for course selection through a educational administration management platform, school educational administration departments and a network center need to be matched and completed, and the students are reasonably divided into work pieces. A educational administration management staff, a student and a teacher use an educational administration management platform; the network center maintains the normal operation of the educational administration management platform. The server of the educational administration management platform is frequently down when students select class, and students complain more and more, so that teaching management is affected. Some informationized schools with sufficient expense have better user experience for students, teachers and educational administration management staff, and network bandwidth is improved by increasing the number of servers so as to ensure that an educational administration management platform is normally used, but the servers are not reasonably used, so that hardware resources are wasted greatly and redundant resource consumption is caused. Some informationized schools with insufficient expenses often cannot normally operate the educational administration management platform when students select class because problems such as too low server configuration, hardware performance attenuation and the like are not found in time.
Disclosure of Invention
Therefore, the embodiment of the invention provides a course selecting and tour-inspection method, a device, a server and a storage medium, aiming at meeting the course selecting requirement of a educational administration management platform of a school.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a course selecting and tour-inspection method, which comprises the following steps:
acquiring course selection information and course selection server information of a target school;
determining the number of people participating in the course selection corresponding to the target course selection period based on the course selection period in the course selection information;
and generating a tour inspection result of whether a course selecting server of the target school supports a course selecting access request of the target course selecting period according to the course selecting server information and the number of the participants of the course selecting corresponding to the target course selecting period.
In the above scheme, the obtaining the course selection information and the course selection server information of the target school includes:
based on the configured access port, receiving patrol data corresponding to the course selection server of the target school; wherein, the inspection data includes: the system comprises course selection information and course selection server information, wherein the course selection information is used for counting the number of people participating in course selection corresponding to different course selection time periods, and the course selection server information is used for representing the current course selection access service capability;
analyzing the patrol data to obtain the course selecting information and the course selecting server information.
In the above scheme, the receiving, based on the configured access port, the patrol data corresponding to the course selection server of the target school includes:
based on the configured port, accessing a storage address for storing the patrol data according to the set timing task, and downloading the corresponding patrol data.
In the above scheme, the analyzing the patrol data to obtain the course selection information and the course selection server information includes:
and analyzing the patrol data based on a technology of creating a multi-task asynchronous coroutine by a thread to obtain the course selecting information and the course selecting server information.
In the above scheme, the course selection information at least includes: the method for determining the number of the participants in the course selection period based on the course selection period in the course selection information comprises the following steps:
and selecting a class selecting period within a set time length from the current time as an effective class selecting period, counting the number of the people participating in class selecting corresponding to each class selecting period in the effective class selecting period, taking the class selecting period with the largest number of the people participating in class selecting as a target class selecting period, and obtaining the number of the people participating in class selecting corresponding to the target class selecting period.
In the above scheme, the generating, according to the information of the course selection server and the number of the participants in the course selection corresponding to the target course selection period, whether the course selection server of the target school supports the patrol result of the course selection access request of the target course selection period includes:
evaluating the current supported course selection number according to the course selection server information, and generating early warning information if the current supported course selection number is smaller than the participation course selection number corresponding to the target course selection period;
the course selection server information includes at least one of: performance parameters of the course selection server and middleware parameters of the course selection server, wherein the performance parameters comprise at least one of the following: the number of concurrent connections of the course selection server, the number of processors of the course selection server and the network bandwidth of the course selection server, and the middleware parameters comprise at least one of the following: the concurrent connection number of the database on the course selection server, the concurrent connection number of the web container and the concurrent connection number of the load balancing service.
The embodiment of the invention also provides a course selecting and tour-inspection device, which comprises:
the system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring course selection information and course selection server information of a target school;
the first determining module is used for determining the number of people participating in the course selection corresponding to the target course selection period based on the course selection period in the course selection information;
and the second determining module is used for generating a patrol result of the course selecting access request of the target school according to the course selecting server information and the number of the participants in the course selecting corresponding to the target course selecting period.
In the above solution, the second determining module is further configured to:
evaluating the current supported course selection number according to the course selection server information, and generating early warning information if the current supported course selection number is smaller than the participation course selection number corresponding to the target course selection period;
the course selection server information includes at least one of: performance parameters of the course selection server and middleware parameters of the course selection server, wherein the performance parameters comprise at least one of the following: the number of concurrent connections of the course selection server, the number of processors of the course selection server and the network bandwidth of the course selection server, and the middleware parameters comprise at least one of the following: the concurrent connection number of the database on the course selection server, the concurrent connection number of the web container and the concurrent connection number of the load balancing service.
The embodiment of the invention also provides a course selecting and tour-inspection server, which comprises the following components: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is adapted to perform the steps of the method according to any of the embodiments of the invention when the computer program is run.
The embodiment of the invention also provides a storage medium, and the storage medium stores a computer program, and the computer program realizes the steps of the method of any embodiment of the invention when being executed by a processor.
According to the technical scheme provided by the embodiment of the invention, the course selecting information and the course selecting server information of the target school are obtained; determining the number of people participating in the course selection corresponding to the target course selection period based on the course selection period in the course selection information; according to the information of the course selecting server and the number of the participants in the course selecting corresponding to the target course selecting period, a patrol result of whether the course selecting server of the target school supports the course selecting access request of the target course selecting period is generated, and the condition that the course selecting server cannot support the course selecting access request can be predicted in advance through intelligent patrol, so that related staff is instructed to timely change hardware and/or software configuration of the course selecting server to meet the course selecting requirement of a educational administration platform of the school.
Drawings
FIG. 1 is a schematic flow chart of a course selection tour inspection method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a course selection inspection system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of the principle of realizing the acquisition of inspection data based on the containerized deployment technology according to the embodiment of the invention;
fig. 4 is a schematic structural diagram of a course selecting and inspecting device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a course selection inspection server according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
In the related art, in order to meet the course selection requirement of a school, a plurality of course selection servers are often configured for a educational administration management platform of the school, but because the course selection servers are used only when students select courses, record achievements and register, the course selection servers are not reasonably used, and hardware equipment resources and machine room power are greatly wasted. In addition, for a plurality of configured course selection servers, due to the reasons that the configuration of the servers is too low, the aging performance of hardware is attenuated and the like, whether the servers meet course selection performance indexes or not cannot be determined, and downtime faults easily occur during course selection cannot be met.
Based on this, in various embodiments of the present invention, course selection information and course selection server information of a target school are acquired through a patrol service; and generating a patrol result of whether the course selecting server of the target school supports the course selecting access request according to the course selecting information and the course selecting server information, and predicting the condition that the course selecting server cannot support the course selecting access request in advance through intelligent patrol, so that related staff is instructed to timely change hardware and/or software configuration of the course selecting server to meet the course selecting requirement of a educational administration management platform of the school.
The embodiment of the invention provides a course selection and inspection method which is applied to a course selection and inspection server, as shown in fig. 1, and comprises the following steps:
step 101, course selection information and course selection server information of a target school are obtained;
the platform providing the course selection service is generally referred to herein as a educational administration platform, which configures one or more course selection servers. In the embodiment of the invention, the course selection information and the course selection server information of each course selection server are required to be acquired through the inspection service.
In one embodiment, as shown in fig. 2, the course selection and inspection system includes a plurality of course selection servers 201 as monitored terminals, and further includes a data acquisition device 202 and a course selection and inspection server 203. The data collection device 202 may collect and obtain the course selection information and the course selection server information on each course selection server 201, obtain the inspection data, and store the inspection data to the set storage address. The course selection tour-inspection server 203 can access the storage address to download corresponding tour-inspection data, thereby obtaining course selection information and course selection server information of the target school.
In an embodiment, the collection of inspection data may be achieved through a containerized deployment technique. For example, as shown in fig. 3, the client program for patrol, the download interface program, and the data acquisition program for patrol are deployed in a container through a doker container, so that each program can be deployed on different course selection servers 201, thereby saving hardware devices, reducing the deployment cost, and the functions can be separately deployed on different servers, only the server corresponding to the download interface program accesses the outside, so that the leakage of server information can be prevented, and the security of data is improved.
In practical application, the patrol client program can be developed by python language, the download interface program can be developed by java language, and the patrol data acquisition program (also called acquisition script) can be developed by perl language.
Wherein, the patrol client program can configure parameter information of the monitored host (i.e. the course selection server), and the parameter information can include: IP address, login account, login password, host tag. The inspection client program configures an acquisition script according to parameter information of the monitored host, for example, when the monitored host sets a host tag to mark that a corresponding middleware application is installed, such as: tomcat, nginx, redis, oracle database, etc. The acquisition script acquires corresponding data according to the marks configured by the monitored host. And the patrol client program sends the configured acquisition script to the corresponding acquisition equipment. The acquisition script is used for acquiring class selection information and class selection server information of a monitored host computer, generating patrol data, storing the patrol data to a set storage address, for example, storing the patrol data to a sqlite database, and recording a storage path, a data packet name, acquisition time and downloading state information of the corresponding patrol data.
The patrol server is connected with a download interface program based on a configured access port and receives patrol data corresponding to the course selection server of the target school; wherein, the inspection data includes: the system comprises course selecting information and course selecting server information, wherein the course selecting information is used for counting the number of people participating in course selecting corresponding to different course selecting time periods, and the course selecting server information is used for representing the current course selecting access service capability.
In actual application, the patrol server can access the storage address for storing the patrol data based on the set timing task through the access connection provided by the download interface program, so as to download the corresponding patrol data at fixed time. Specifically, the inspection server configures an inspection timing plan, periodically calls a downloading interface program, and the downloading interface program queries data which is not downloaded in the sqlite database according to the incoming parameters (school id, inspection date) of the server for downloading. And after the downloading is finished, modifying the downloading state of the corresponding file in the sqlite database.
In an embodiment, when the acquisition script acquires the oracle database information, due to the problem of data access authority, the self-contained perl language environment of the operating system cannot access the oracle database information, the inspection client program adopts another technical mode, the script for acquiring the oracle information is independently sent to a monitored host where the oracle database is located, then is switched to an oracle user, the self-contained perl language environment of the oracle database is called, the acquisition script has authority to access the internal data of the oracle database, and after the acquisition is finished, the data is packed and returned to the inspection data storage directory of the acquisition script.
Here, the lesson selection information includes at least: and the number of people participating in the course selection period and the corresponding course selection period. The course selection server information includes at least one of: performance parameters of the course selection server and middleware parameters of the course selection server, wherein the performance parameters comprise at least one of the following: the number of concurrent connections of the course selection server, the number of processors of the course selection server and the network bandwidth of the course selection server, and the middleware parameters comprise at least one of the following: the concurrent connection number of the database on the course selection server, the concurrent connection number of the web container and the concurrent connection number of the load balancing service. Illustratively, the middleware parameters include: tomcat, nginx, redis, oracle number of concurrent connections; wherein tomcat is a web container for deploying educational administration system programs, nignx is a controller for serving as server load balancing service, and redis and oracle are databases respectively.
In an embodiment, the routing inspection server automatically invokes the download interface program according to the rule of the download plan management configuration timing task (for example, setting the download time of each day), remotely pulls the routing inspection data, returns the completion status to the download interface program after the routing inspection data is pulled, and the download interface program modifies the file download status in the sqlite database to be the downloaded and download time. The downloaded file will be rejected in the subsequent download and will not be downloaded repeatedly.
In one embodiment, since the inspection data is in units of schools, the inspection server analyzes and stores the inspection data downloaded by schools every day to the server database. To quickly and automatically parse hundreds or thousands of patrol data, in one embodiment, the patrol server employs a technique in which threads create multi-tasking asynchronous coroutines. The inspection server creates a plurality of coroutines through the main thread, each coroutine corresponds to an analysis task, and when the coroutine encounters an I/O operation, a new coroutine is automatically switched. The method is equivalent to asynchronous execution of the coroutine, and achieves the effect of simultaneous execution of multiple tasks. The data is parsed faster than in the traditional single-threaded single-tasking approach.
Step 102, determining the number of people participating in the course selection corresponding to the target course selection period based on the course selection period in the course selection information;
here, the course selection information stored in the database of the patrol server includes: the lesson selecting period and the number of the participants in the lesson selecting period. In practical application, the number of the participants in the same class selection period on each class selection server can be summarized, for example, the number of the participants in different courses in the same class selection period is summarized, and the number of the participants in the class selection period is obtained. In order to evaluate whether the educational administration management platform supports the course selection service, a course selection period in which the number of participants in the course selection is the largest may be determined as a target course selection period.
In an embodiment, a class selecting period within a set duration from the current time is selected as an effective class selecting period, the number of the participants in the class selecting corresponding to each class selecting period in the effective class selecting period is counted, and the class selecting period with the largest number of the participants in the class selecting period is used as a target class selecting period to obtain the number of the participants in the class selecting corresponding to the target class selecting period. For example, the class selecting starting time of the class selecting period is used as an effective class selecting period from the current tour inspection time within 7 days, and the class selecting period with the largest number of people participating in class selecting is selected in the effective class selecting period as a target class selecting period, so that whether the class selecting service of the educational administration platform meets the requirement can be prejudged in advance. Of course, the set period of time may be set as needed, and is not particularly limited herein.
And step 103, generating a patrol result of the course selection access request of the target course selection period according to the course selection server information and the number of the participants in the course selection corresponding to the target course selection period.
And evaluating the current lesson choosing number supported by the educational administration management platform according to the lesson choosing server information, and generating early warning information if the current lesson choosing number supported is smaller than the participating lesson choosing number corresponding to the target lesson choosing time period.
In practical application, the course selection server information comprises at least one of the following: performance parameters of the course selection server and middleware parameters of the course selection server, wherein the performance parameters comprise at least one of the following: the number of concurrent connections of the course selection server, the number of processors of the course selection server and the network bandwidth of the course selection server, and the middleware parameters comprise at least one of the following: the concurrent connection number of the database on the course selection server, the concurrent connection number of the web container and the concurrent connection number of the load balancing service. Specifically, the results of the course selection number supported by each parameter can be evaluated according to each parameter, so as to obtain the result of whether each parameter supports the current course selection service. Wherein, the concurrent connection number of the course selection server represents the maximum concurrent connection number (namely, the number of simultaneously receivable request connections) of one server, and can be modified; the number of processors of the course selection server is used for representing the data processing performance of the server, and if the number of processors is larger, the data processing performance is stronger; the network bandwidth of the course selection server is used for representing the corresponding network environment, and the larger the bandwidth is, the faster the data transmission speed and the response speed of the request are; the number of concurrent connections of the middleware on the course selection server is used to characterize the number of receivable request connections.
In an example, the patrol server determines the number of people participating in the course selection according to the course selection information, for example, the number of people participating in the course selection is the total number of students in the school (assuming 2 thousands); and then, the patrol server evaluates the current supported course selection number according to the acquired course selection server information, and if the current supported course selection number is smaller than the participation course selection number corresponding to the target course selection period, early warning information is generated. For example, performance parameters of the server: the CPU number, the memory size, the concurrent connection number and the network bandwidth of each server. If the network bandwidth is hundred megabytes, the network bandwidth is prompted to be gigabytes, and if the CPU/memory is too low, the number of servers is increased. For example, assuming that the servers are 4-core CPU/16G memory, at most 5000 students can be supported to access the course selection system at the same time, if 2 thousands of students are to be supported to access the course selection system at the same time, 3 servers with the same configuration need to be added. The number of concurrent connections of the server is too low and is set higher. Next, assuming that the server has satisfied that 2 thousands of people are supported to access the course selection system at the same time, continuing to judge whether middleware on the server supports course selection service, and assuming that one tomcat service supports 2000 students at the same time at most, 2 tomcat services are required to be added on the server to reach the index of 5000 students on the server at the same time. The maximum number of concurrent connections of the (dis/oracle) database server requires setting a larger value. The parameter value of each link is set to reach the optimal balance, and the whole course selecting performance can be achieved. The course selection inspection server is required to collect and evaluate all parameter values and generate inspection reports. Therefore, the manager can reasonably optimize the performance of the course selection server according to the patrol report so as to meet the course selection service requirement in a certain time.
In order to implement the method of the embodiment of the present invention, the embodiment of the present invention further provides a course selection tour inspection device, as shown in fig. 4, where the device includes: an acquisition module 401, a first determination module 402, a second determination module 403, wherein,
an acquisition module 401, configured to acquire lesson selection information and lesson selection server information of a target school;
a first determining module 402, configured to determine, based on the class selection period in the class selection information, the number of people participating in class selection corresponding to the target class selection period;
and a second determining module 403, configured to generate, according to the information of the course selection server and the number of people participating in the course selection corresponding to the target course selection period, a patrol result of a course selection access request of whether the course selection server of the target school supports the target course selection period.
In one embodiment, the obtaining module 401 is specifically configured to:
based on the configured access port, receiving patrol data corresponding to the course selection server of the target school; wherein, the inspection data includes: the system comprises course selection information and course selection server information, wherein the course selection information is used for counting the number of people participating in course selection corresponding to different course selection time periods, and the course selection server information is used for representing the current course selection access service capability;
analyzing the patrol data to obtain the course selecting information and the course selecting server information.
In one embodiment, the obtaining module 401 is specifically configured to:
based on the configured port, accessing a storage address for storing the patrol data according to the set timing task, and downloading the corresponding patrol data.
In one embodiment, the obtaining module 401 is specifically configured to:
and analyzing the patrol data based on a technology of creating a multi-task asynchronous coroutine by a thread to obtain the course selecting information and the course selecting server information.
In an embodiment, the lesson selection information at least includes: the first determining module 402 is specifically configured to:
and selecting a class selecting period within a set time length from the current time as an effective class selecting period, counting the number of the people participating in class selecting corresponding to each class selecting period in the effective class selecting period, taking the class selecting period with the largest number of the people participating in class selecting as a target class selecting period, and obtaining the number of the people participating in class selecting corresponding to the target class selecting period.
In an embodiment, the second determining module 403 is further configured to:
evaluating the current supported course selection number according to the course selection server information, and generating early warning information if the current supported course selection number is smaller than the participation course selection number corresponding to the target course selection period;
the course selection server information includes at least one of: performance parameters of the course selection server and middleware parameters of the course selection server, wherein the performance parameters comprise at least one of the following: the number of concurrent connections of the course selection server, the number of processors of the course selection server and the network bandwidth of the course selection server, and the middleware parameters comprise at least one of the following: the concurrent connection number of the database on the course selection server, the concurrent connection number of the web container and the concurrent connection number of the load balancing service.
In practical application, the obtaining module 401, the first determining module 402 and the second determining module 403 may be implemented by a processor in the course selection tour inspection device. Of course, the processor needs to run a computer program in memory to implement its functions.
It should be noted that: in the course selecting and tour-inspection device provided in the above embodiment, only the division of the program modules is used for illustration, and in practical application, the processing allocation may be completed by different program modules according to needs, i.e. the internal structure of the device is divided into different program modules, so as to complete all or part of the processing described above. In addition, the course selection tour inspection device and the course selection tour inspection method provided in the above embodiments belong to the same concept, and detailed implementation processes of the course selection tour inspection device and the course selection tour inspection method are detailed in the method embodiments, and are not repeated here.
Based on the hardware implementation of the program modules, and in order to implement the method of the embodiment of the invention, the embodiment of the invention also provides a course selection tour-inspection server. Fig. 5 shows only an exemplary structure of the course selection tour server, not all of which may be implemented as needed.
As shown in fig. 4, the course selection tour-inspection server 500 provided in the embodiment of the present invention includes: at least one processor 501, memory 502, a user interface 503, and at least one network interface 504. The various components in the course tour server 500 are coupled together by a bus system 505. It is understood that bus system 505 is used to enable connected communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled as bus system 505 in fig. 5.
The user interface 503 may include, among other things, a display, keyboard, mouse, trackball, click wheel, keys, buttons, touch pad, or touch screen, etc.
The memory 502 in the embodiment of the present invention is used to store various types of data to support the operation of the course selection tour inspection server. Examples of such data include: any computer program for operating on a course selection tour server.
The course selection tour-inspection method disclosed by the embodiment of the invention can be applied to the processor 501 or realized by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In the implementation process, the steps of the course patrol method may be completed by an integrated logic circuit of hardware in the processor 501 or an instruction in a software form. The processor 501 may be a general purpose processor, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 501 may implement or perform the methods, steps and logic blocks disclosed in embodiments of the present invention. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiment of the invention can be directly embodied in the hardware of the decoding processor or can be implemented by combining hardware and software modules in the decoding processor. The software module may be located in a storage medium, where the storage medium is located in the memory 502, and the processor 501 reads information in the memory 502, and combines with hardware to implement the steps of the course selection tour inspection method provided in the embodiments of the present invention.
In an exemplary embodiment, the course inspection server may be implemented by one or more application specific integrated circuits (ASIC, application Specific Integrated Circuit), DSPs, programmable logic devices (PLD, programmable Logic Device), complex programmable logic devices (CPLD, complex Programmable Logic Device), FPGAs, general purpose processors, controllers, microcontrollers (MCU, micro Controller Unit), microprocessors (Microprocessor), or other electronic elements for performing the aforementioned methods.
It is to be appreciated that memory 502 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory described by embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In an exemplary embodiment, the present invention further provides a storage medium, that is, a computer storage medium, specifically, a computer readable storage medium, for example, including a memory 502 storing a computer program, where the computer program may be executed by the processor 501 of the course inspection server to complete the steps described in the method of the embodiment of the present invention. The computer readable storage medium may be ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
It should be noted that: "first," "second," etc. are used to distinguish similar objects and not necessarily to describe a particular order or sequence.
In addition, the embodiments of the present invention may be arbitrarily combined without any collision.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. The course selecting and tour inspection method is characterized by comprising the following steps of:
acquiring course selection information and course selection server information of a target school;
determining the number of people participating in the course selection corresponding to the target course selection period based on the course selection period in the course selection information;
generating a tour inspection result of a course selection access request of whether a course selection server of the target school supports the course selection period according to the course selection server information and the number of people participating in the course selection corresponding to the target course selection period;
the obtaining course selection information and course selection server information of the target school includes: based on the configured access port, receiving patrol data corresponding to a course selection server of the target school, and analyzing the patrol data to obtain course selection information and course selection server information; the system comprises a course selection server of a target school, a course selection server of the target school, a course inspection client program used for configuring an acquisition script, wherein the acquisition script is used for acquiring course selection information and course selection server information corresponding to the course selection server and generating the course inspection data.
2. The method of claim 1, wherein the course selection information is used to count the number of participants in the course selection corresponding to different course selection periods, and the course selection server information is used to characterize current course selection access service capabilities.
3. The method of claim 1, wherein the receiving, based on the configured access port, the tour inspection data corresponding to the course selection server of the target school comprises:
based on the configured port, accessing a storage address for storing the patrol data according to the set timing task, and downloading the corresponding patrol data.
4. The method of claim 1, wherein the parsing the tour inspection data to obtain the lesson selection information and the lesson selection server information comprises:
and analyzing the patrol data based on a technology of creating a multi-task asynchronous coroutine by a thread to obtain the course selecting information and the course selecting server information.
5. The method of claim 1, wherein the lesson selection information includes at least: the method for determining the number of the participants in the course selection period based on the course selection period in the course selection information comprises the following steps:
and selecting a class selecting period within a set time length from the current time as an effective class selecting period, counting the number of the people participating in class selecting corresponding to each class selecting period in the effective class selecting period, taking the class selecting period with the largest number of the people participating in class selecting as a target class selecting period, and obtaining the number of the people participating in class selecting corresponding to the target class selecting period.
6. The method of claim 1, wherein the generating, according to the course selection server information and the number of the participants in the course selection corresponding to the target course selection period, the patrol result of whether the course selection server of the target school supports the course selection access request of the target course selection period comprises:
evaluating the current supported course selection number according to the course selection server information, and generating early warning information if the current supported course selection number is smaller than the participation course selection number corresponding to the target course selection period;
the course selection server information includes at least one of: performance parameters of the course selection server and middleware parameters of the course selection server, wherein the performance parameters comprise at least one of the following: the number of concurrent connections of the course selection server, the number of processors of the course selection server and the network bandwidth of the course selection server, and the middleware parameters comprise at least one of the following: the concurrent connection number of the database on the course selection server, the concurrent connection number of the web container and the concurrent connection number of the load balancing service.
7. The utility model provides a select class inspection device which characterized in that includes:
the system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring course selection information and course selection server information of a target school;
the first determining module is used for determining the number of people participating in the course selection corresponding to the target course selection period based on the course selection period in the course selection information;
the second determining module is used for generating a patrol result of the course selection access request of the target school according to the course selection server information and the number of the participants in the course selection corresponding to the target course selection period;
the acquisition module is used for receiving patrol data corresponding to a course selection server of the target school based on the configured access port, and analyzing the patrol data to obtain course selection information and course selection server information; the system comprises a course selection server of a target school, a course selection server of the target school, a course inspection client program used for configuring an acquisition script, wherein the acquisition script is used for acquiring course selection information and course selection server information corresponding to the course selection server and generating the course inspection data.
8. The apparatus of claim 7, wherein the second determination module is further configured to:
evaluating the current supported course selection number according to the course selection server information, and generating early warning information if the current supported course selection number is smaller than the participation course selection number corresponding to the target course selection period;
the course selection server information includes at least one of: performance parameters of the course selection server and middleware parameters of the course selection server, wherein the performance parameters comprise at least one of the following: the number of concurrent connections of the course selection server, the number of processors of the course selection server and the network bandwidth of the course selection server, and the middleware parameters comprise at least one of the following: the concurrent connection number of the database on the course selection server, the concurrent connection number of the web container and the concurrent connection number of the load balancing service.
9. The utility model provides a select class inspection server which characterized in that includes: a processor and a memory for storing a computer program capable of running on the processor, wherein,
the processor being adapted to perform the steps of the method of any of claims 1 to 6 when the computer program is run.
10. A storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method according to any of claims 1 to 6.
CN201911132569.2A 2019-11-19 2019-11-19 Course selection tour inspection method and device, server and storage medium Active CN111062681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911132569.2A CN111062681B (en) 2019-11-19 2019-11-19 Course selection tour inspection method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911132569.2A CN111062681B (en) 2019-11-19 2019-11-19 Course selection tour inspection method and device, server and storage medium

Publications (2)

Publication Number Publication Date
CN111062681A CN111062681A (en) 2020-04-24
CN111062681B true CN111062681B (en) 2023-10-13

Family

ID=70297996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911132569.2A Active CN111062681B (en) 2019-11-19 2019-11-19 Course selection tour inspection method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN111062681B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113422479B (en) * 2021-06-07 2022-10-14 中国科学院国家天文台南京天文光学技术研究所 Multi-unit spliced arc motor data acquisition system and method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753534A (en) * 2008-12-10 2010-06-23 徐文祥 Zoning adaptive network system based on cluster server and building method
CN106375420A (en) * 2016-08-31 2017-02-01 武汉钢信软件有限公司 System and method for intelligently monitoring server cluster based on load balancing
CN106390451A (en) * 2016-09-14 2017-02-15 腾讯科技(深圳)有限公司 Method and device for testing capacity of game server
CN107547266A (en) * 2017-07-31 2018-01-05 腾讯科技(深圳)有限公司 The detection method and device of online amount abnormity point, computer equipment and storage medium
CN108073465A (en) * 2017-12-29 2018-05-25 中国平安人寿保险股份有限公司 Dynamic current limiting method, Nginx servers, storage medium and device
CN109934560A (en) * 2019-03-12 2019-06-25 北京赢科天地电子有限公司 A kind of Student-Online-Course-Select method and system
CN110223203A (en) * 2019-04-26 2019-09-10 福州慧校通教育信息技术有限公司 A kind of student's time priority curricula-variable high concurrent processing method and system
CN110247856A (en) * 2019-05-24 2019-09-17 平安科技(深圳)有限公司 Server resource method for releasing and device
CN110266525A (en) * 2019-06-04 2019-09-20 湖北五五互联科技有限公司 CDN server quantity configuration method, equipment and computer readable storage medium
CN110417879A (en) * 2019-07-18 2019-11-05 北京蜜莱坞网络科技有限公司 A kind of message treatment method, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020055982A1 (en) * 2000-11-03 2002-05-09 The Board Of Regents Of The University Of Nebraska Controlled server loading using L4 dispatching

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753534A (en) * 2008-12-10 2010-06-23 徐文祥 Zoning adaptive network system based on cluster server and building method
CN106375420A (en) * 2016-08-31 2017-02-01 武汉钢信软件有限公司 System and method for intelligently monitoring server cluster based on load balancing
CN106390451A (en) * 2016-09-14 2017-02-15 腾讯科技(深圳)有限公司 Method and device for testing capacity of game server
CN107547266A (en) * 2017-07-31 2018-01-05 腾讯科技(深圳)有限公司 The detection method and device of online amount abnormity point, computer equipment and storage medium
CN108073465A (en) * 2017-12-29 2018-05-25 中国平安人寿保险股份有限公司 Dynamic current limiting method, Nginx servers, storage medium and device
CN109934560A (en) * 2019-03-12 2019-06-25 北京赢科天地电子有限公司 A kind of Student-Online-Course-Select method and system
CN110223203A (en) * 2019-04-26 2019-09-10 福州慧校通教育信息技术有限公司 A kind of student's time priority curricula-variable high concurrent processing method and system
CN110247856A (en) * 2019-05-24 2019-09-17 平安科技(深圳)有限公司 Server resource method for releasing and device
CN110266525A (en) * 2019-06-04 2019-09-20 湖北五五互联科技有限公司 CDN server quantity configuration method, equipment and computer readable storage medium
CN110417879A (en) * 2019-07-18 2019-11-05 北京蜜莱坞网络科技有限公司 A kind of message treatment method, device, equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
动态资源扩展技术在高校选课***的应用;连鸿鹏;;数字技术与应用(第04期);全文 *
基于DRX技术的学生选课***的设计与应用;梁志江等;《湛江师范学院学报》;全文 *
基于MVC框架的高校学生选课***的设计与实现;钮永莉等;《北京印刷学院学报》;全文 *
基于云动态资源扩展的选课***优化实践;史强等;《软件导刊》;全文 *

Also Published As

Publication number Publication date
CN111062681A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
US9367601B2 (en) Cost-based optimization of configuration parameters and cluster sizing for hadoop
US20170315902A1 (en) Systems And Methods For Performance Testing Cloud Applications From Multiple Different Geographic Locations
Subraya et al. Object driven performance testing of Web applications
CN108427631A (en) A kind of application test systems, method, electronic equipment and readable storage medium storing program for executing
CN110768872B (en) Inspection method, system, device, computer equipment and storage medium
CN111125444A (en) Big data task scheduling management method, device, equipment and storage medium
CN107133174A (en) Test case code automatically generating device and method
CN107608901B (en) Jmeter-based testing method and device, storage medium and electronic equipment
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN113778898B (en) User interface automatic test method and device, electronic equipment and storage medium
US11106509B2 (en) Cluster tuner
CN109460367A (en) Method based on the sustainable integrated automation performance test of Jmeter
CN103713935A (en) Method and device for managing Hadoop cluster resources in online manner
CN113127356A (en) Pressure measurement method and device, electronic equipment and storage medium
CN114818565A (en) Simulation environment management platform, method, equipment and medium based on python
AlGhamdi et al. Towards reducing the time needed for load testing
CN111062681B (en) Course selection tour inspection method and device, server and storage medium
CN112559525B (en) Data checking system, method, device and server
CN113360581A (en) Data processing method, device and storage medium
CN111258893A (en) Mobile terminal application automatic testing device for randomly assembling transaction path
CN116467188A (en) Universal local reproduction system and method under multi-environment scene
CN111309297B (en) Script development system and method
Rover et al. Software tools for complex distributed systems: Toward integrated tool environments
CN113268421A (en) Service call processing method, device, server and storage medium
CN114143235A (en) NFV automatic test method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant