CN117221616A - Network teaching service processing method and device, electronic equipment and storage medium - Google Patents

Network teaching service processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117221616A
CN117221616A CN202311220481.2A CN202311220481A CN117221616A CN 117221616 A CN117221616 A CN 117221616A CN 202311220481 A CN202311220481 A CN 202311220481A CN 117221616 A CN117221616 A CN 117221616A
Authority
CN
China
Prior art keywords
client
machine room
teaching service
network
network 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
CN202311220481.2A
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.)
Beijing Xintang Sichuang Educational Technology Co Ltd
Original Assignee
Beijing Xintang Sichuang Educational Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xintang Sichuang Educational Technology Co Ltd filed Critical Beijing Xintang Sichuang Educational Technology Co Ltd
Priority to CN202311220481.2A priority Critical patent/CN117221616A/en
Publication of CN117221616A publication Critical patent/CN117221616A/en
Pending legal-status Critical Current

Links

Abstract

The disclosure provides a method, a device, electronic equipment and a storage medium for processing a network teaching service, wherein the method comprises the following steps: identifying a request header of a network teaching service request of the client, and determining a target machine room of the client according to the machine room identifier if the request header contains the machine room identifier; if the request header does not contain a machine room identifier, determining a target machine room of the client according to each network teaching service to be executed by the client; and providing the network teaching service meeting the network teaching service request to the client through the target machine room. Therefore, the method and the device effectively improve the stability of the network teaching service and improve the use experience of the network teaching service.

Description

Network teaching service processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and apparatus for processing a network teaching service, an electronic device, and a storage medium.
Background
With the rapid development of internet technology, the form of network teaching is favored by more and more institutions, teachers and students by virtue of the characteristic that the form of network teaching can be used for learning anytime and anywhere.
In the network teaching service under the live broadcast form, the anchor server is connected with an anchor client, and at least one audience server can be connected with at least one audience client. In the live teaching process, the anchor client can collect live broadcast data and send the live broadcast data to the anchor server, and the anchor server sends the live broadcast data to each audience client under each audience server. Wherein the anchor client and the spectator client may be distributed in different network environments.
However, in order to ensure that the network connection of the clients (including the anchor client and the spectator client) in the same live class is good, it is preferable that the clients in the same live class be configured in the same service room.
Disclosure of Invention
In view of the above, embodiments of the present disclosure provide a method, an apparatus, an electronic device, and a storage medium for processing a network teaching service, which can effectively improve stability of the network teaching service and improve use experience of the network teaching service.
According to a first aspect of an embodiment of the present disclosure, there is provided a network teaching service processing method, including: identifying a request header of a network teaching service request of a client, and determining a target machine room of the client according to the machine room identifier if the request header is identified to contain the machine room identifier; or if the request header is identified not to contain a machine room identifier, determining a target machine room of the client according to each network teaching service to be executed by the client; and providing the network teaching service meeting the network teaching service request to the client through the target machine room.
According to a second aspect of the embodiments of the present disclosure, there is provided a network lecture service processing apparatus, the apparatus including: the analysis module is used for identifying a request header of a network teaching service request of a client, determining a target machine room of the client according to the machine room identifier if the request header contains the machine room identifier, and determining the target machine room of the client according to each network teaching service to be executed by the client if the request header does not contain the machine room identifier; and the service module is used for providing the network teaching service meeting the network teaching service request for the client through the target machine room.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory storing a program, wherein the program includes instructions that when executed by the processor cause the processor to perform the network teaching service processing method of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the network lecture service processing method according to the first aspect.
In summary, according to the network teaching service processing scheme provided in the aspects of the disclosure, the target machine room of the client may be directly determined by identifying the machine room identifier in the request header of the network teaching service request, or the target machine room of the client may be determined by analyzing each network teaching service to be executed by the client in the case that the request header does not include the machine room identifier. Therefore, the application can reasonably split the network teaching service request of the client so as to improve the network teaching service quality.
Drawings
Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments, with reference to the following drawings, wherein:
fig. 1 illustrates a process flow diagram of a network teaching service processing method according to an exemplary embodiment of the present disclosure.
Fig. 2 illustrates a process flow diagram of a network lecture service processing method according to another exemplary embodiment of the present disclosure.
Fig. 3 illustrates a block diagram of a network teaching service processing apparatus according to an exemplary embodiment of the present disclosure.
Fig. 4 shows a block diagram of a node updating apparatus according to an exemplary embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below. It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise. The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
As described in the foregoing background, in the network teaching service in the live broadcast mode, the clients in the same network classroom may be distributed in different network environments, however, in order to ensure that the network connection of the clients (including the anchor client and the audience client) in the same network classroom is good, it is preferable that the clients in the same network classroom be configured in the same service room.
The diversion rules of the existing network teaching service generally comprise the following two types:
the first is to allocate traffic according to a user identification number (hereinafter referred to as a user ID). For example, the traffic of the clients with the user ID tail numbers of 0 to 4 is distributed in the machine room A, the traffic of the clients with the user ID tail numbers of 5 to 9 is distributed to the machine room B, namely, the traffic distribution is performed according to the latitude of the user; the second is to distribute the flow according to the session identification code (hereinafter referred to as session ID). For example, the traffic of the client with the field ID tail number of 0 to 4 is distributed in the machine room a, and the traffic of the client with the field ID tail number of 5 to 9 is distributed in the machine room B, i.e. the traffic distribution is performed according to the field latitude.
According to the two flow distribution schemes, the flow can be cut according to one dimension at the same time, wherein if the flow distribution is carried out according to the user ID, different user flows can be distributed in different machine rooms, and when any one machine room breaks down, partial users under the broken machine room can not continue to provide network teaching services, so that the user experience is affected. If the flow distribution is performed according to the session ID, it is ensured that all users of the same session are distributed in one machine room, but the user needs to first query the corresponding courses of the designated session on the premise that the user enters the designated session. However, at present, the user can only input the user ID to perform course inquiry, and cannot obtain the information of the session of the related course, so that it cannot be guaranteed that all users can enter the designated session of the session.
In view of this, various embodiments of the present disclosure provide a network teaching service process, which can be used for all users in the same teaching session to be distributed in the same machine room all the time, so as to improve the stability of the network teaching service.
Specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a process flow diagram of a network teaching service processing method according to an exemplary embodiment of the present disclosure. As shown in the figure, this embodiment mainly includes the following steps:
step S102, a request header of the network lecture service request of the client is identified.
For example, the client's network teaching service request may be sent by opening a specified application (e.g., a cell phone application) of the client.
Optionally, the network teaching service request of the client can be analyzed, the position information of the client is obtained, and accordingly, one target node closest to the client is obtained from all edge nodes, and the target node is used as an access node of the client.
Specifically, the domain name resolution server (e.g., httpdns server) may receive a network teaching service request of the client, and may obtain an IP position of the client by resolving the network teaching service request, obtain a server IP of a DCDN nearest to the client according to the IP position of the client, and use the server IP of the DCDN as an upper access node of the client.
Step S104, if the identification request header contains a machine room identifier, determining a target machine room of the client according to the machine room identifier.
In this embodiment, if the request header identifying the network teaching service request includes a machine room identifier, the target machine room of the client may be determined directly according to the machine room identifier in the request header. For example, if the request header includes the ROOM identifier of the ROOM a, the target ROOM of the client is determined to be the ROOM a, and if the request header includes the ROOM identifier of the ROOM B, the target ROOM of the client is determined to be the ROOM B.
Step S106, if the identification request header does not contain the machine room identification, determining the target machine room of the client according to each network teaching service to be executed by the client.
In this embodiment, if the request header of the network teaching service request is identified not to include the machine room identifier, the target machine room is allocated to the client based on the preset tangential rule.
Optionally, under the condition that the request header of the network teaching service request does not include the machine room identifier, a network teaching service with the nearest teaching time can be identified according to the teaching time of each network teaching service to be executed by the client, and the target machine room of the client can be determined according to the number of classes or class identifiers of the nearest network teaching service.
Specifically, in the case that the target machine room of the client cannot be determined directly according to the request header, the current time of the client (i.e., the time of the client to give lessons recently) can be determined by querying the purchase course of the client, and the target machine room is allocated to the client according to the number of the classes or class identification number (class ID) of the time of the lessons.
Step S108, providing the network teaching service meeting the network teaching service request to the client through the target machine room.
Specifically, the network teaching service request of the client can be distributed to the target machine room according to the target machine room of the client, so that the corresponding network teaching service can be provided for the client by responding to the network teaching service request of the client through the target machine room.
In summary, the embodiment of the disclosure determines the service room of the client by identifying the room identifier in the request header of the network teaching service request, and determines the target room of the client by analyzing the network teaching service to be executed by the client when the request header does not include the room identifier. Therefore, the application can reasonably split the network teaching service request of the client so as to improve the network teaching service quality.
Fig. 2 is a process flow chart of a network teaching service processing method according to another embodiment of the disclosure, and this embodiment shows a specific implementation of the step S106. As shown in the figure, this embodiment mainly includes the following steps:
step S202, obtaining each network teaching service to be executed by the client.
In this embodiment, when the request header identifying the network teaching service request does not include the machine room identifier, a target machine room may be allocated to the network teaching service request of the client according to each network teaching service to be executed by the client.
In this embodiment, each network teaching service to be executed by the client indicates the number of times that the client has purchased but has not executed.
Step S204, judging whether each network teaching service to be executed by the client is successfully acquired, if yes, proceeding to step S206, otherwise proceeding to step S212.
In this embodiment, if the network teaching services to be executed by the client are not successfully obtained, and the representative client is a new user who has not purchased a course, the diversion rule of step S212 is executed.
In step S206, according to the teaching time of each network teaching service to be executed by the client, determining one network teaching service with the nearest teaching time as the target teaching service.
In this embodiment, the network teaching service may also be referred to as a teaching session. For example, by querying all the lectures purchased by the client, one lecture session closest to the current time of the client (i.e., one lecture session on which the client is about to give lessons recently) can be determined according to the lecture times corresponding to the lecture sessions.
Step S208 judges whether the number of the classroom people of the target teaching service is larger than a preset number threshold, if not, step S210 is performed, and if yes, step S212 is performed.
In this embodiment, if the number of classes of the target teaching service is not greater than the preset number threshold (for example, greater than 10 ten thousand number threshold), the diversion rule of step S210 is executed; if the number of the classroom people of the target teaching service is greater than the preset number threshold, executing the diversion rule of step S212.
Step S210, identifying the class identification number of the target teaching service, and determining one candidate machine room associated with the class identification number of the target teaching service as the target machine room of the client based on the association relationship between each class identification number and each candidate machine room.
In this embodiment, one target room associated with the class identifier of the target teaching service may be determined from among the candidate rooms according to the tail number of the class identifier of the target teaching service. For example, the target room associated with the target teaching service is determined based on the tail number 4 of the class identifier 5201314 of the target teaching service.
Step S212, obtaining each performance evaluation value corresponding to each candidate machine room, and determining one candidate machine room with the highest performance evaluation value as a target machine room of the client.
Alternatively, each performance evaluation value corresponding to each candidate machine room may be obtained according to the performance configuration, load redundancy, and other factors of each candidate machine room, and one candidate machine room with the highest performance evaluation value may be determined as the target machine room of the client.
Step S214, the machine room identifier of the target machine room is sent to the client, so that the client adds the machine room identifier of the target machine room in the request header of each network teaching service request.
Optionally, after the client obtains the machine room identifier of the target machine room, a corresponding request header may be set on the local request proxy, so that the client may include the machine room identifier of the target machine room in the request headers of all subsequent network teaching service requests sent by the client, so that an upper service node (e.g., a server of the DCDN) of the client may quickly execute the splitting process of the network teaching service request according to the machine room identifier in the request header.
In summary, the method for processing the network teaching service provided in this embodiment determines the target machine room of the client according to the number of classes or class identification numbers of the last network teaching service (or may be called the number of classes) of the client. By utilizing the diversion rule, all users in the same teaching session can be ensured to be distributed in the same machine room all the time, and the stability of the network teaching service is improved.
Specifically, in the prior art, since the client cannot obtain the session identifier of the designated session before entering the designated session, the client may be allocated in the machine room a when selecting a course, but the entering specific session may be allocated in the machine room B, and different users under the same session may be allocated in different machine rooms, where when a certain machine room fails, the network teaching service of some users in the machine room may be affected.
In general, a client only participates in one session in the same period, but the last session of the same session should be the same, so the solution of this embodiment determines the target machine room of the client by determining the last network session service of the client, all users under the same teaching session can be effectively ensured to be always distributed in the same machine room, and the system has the advantages that when the machine room fails, the flow of all users under the teaching session can be uniformly switched to another machine room, so that normal execution of network teaching is ensured, the stability of network teaching service is improved, and the use experience of the network teaching service is improved. And when all users in the same teaching session are always distributed in the same machine room, better teaching interaction experience can be provided, and the risk of data synchronization is lower.
Fig. 3 is a block diagram of a network teaching service processing apparatus 300 according to an exemplary embodiment of the present disclosure. As shown in the figure, the network teaching service processing apparatus 300 of the present embodiment is a block diagram. As shown in the figure, this embodiment mainly includes:
the analysis module 302 is configured to identify a request header of a network teaching service request of a client, determine a target machine room of the client according to the machine room identifier if the request header includes the machine room identifier, and determine the target machine room of the client according to each network teaching service to be executed by the client if the request header does not include the machine room identifier.
And the service module 304 is configured to provide the network teaching service meeting the network teaching service request to the client via the target machine room.
Optionally, the service module 304 is further configured to: and under the condition that the target machine room of the client is determined according to each network teaching service to be executed by the client, sending the machine room identification of the target machine room to the client so that the client can add the machine room identification of the target machine room in a request header of each network teaching service request.
Optionally, the analysis module 302 is further configured to: according to the teaching time of each network teaching service to be executed by the client, identifying one network teaching service with the nearest teaching time; and determining the target machine room of the client according to the number of classroom people or the number of classroom identification of the network teaching service with the latest teaching time.
Optionally, the analysis module 302 is further configured to: determining one network teaching service with the nearest teaching time as a target teaching service, and identifying the number of classroom people of the target teaching service; if the number of the classroom people is greater than a preset number threshold, acquiring each performance evaluation value corresponding to each candidate machine room, and determining one candidate machine room with the highest performance evaluation value as a target machine room of the client; and if the number of the classroom people is not greater than the preset number threshold, identifying the classroom identification number of the target teaching service, and determining one candidate machine room associated with the classroom identification number of the target teaching service as the target machine room of the client based on the association relationship between each classroom identification number and each candidate machine room.
Optionally, the analysis module 302 is further configured to: and under the condition that the request header does not contain a machine room identifier and each network teaching service to be executed by the client is not obtained, each performance evaluation value corresponding to each candidate machine room is obtained, and one candidate machine room with the highest performance evaluation value is determined as the target machine room of the client.
Optionally, the network teaching service processing apparatus 300 is further configured to: analyzing the network teaching service request of the client to acquire the position information of the client; and according to the position information of the client, acquiring a target node closest to the client from each edge node, and taking the target node as an access node of the client.
The embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the network teaching service processing method according to the exemplary embodiments of the present disclosure.
Exemplary embodiments of the present disclosure provide an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program for causing the electronic device to perform the network lecture service processing method according to the exemplary embodiments of the present disclosure when executed by the at least one processor.
Referring to fig. 4, a block diagram of an electronic device 400 that may be a server or client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the electronic device 400 includes a computing unit 401 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In RAM 403, various programs and data required for the operation of device 400 may also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Various components in electronic device 400 are connected to I/O interface 405, including: an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 may be any type of device capable of inputting information to the electronic device 400, and the input unit 406 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. The output unit 407 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, video/audio output terminals, vibrators, and/or printers. Storage unit 408 may include, but is not limited to, magnetic disks, optical disks. The communication unit 409 allows the electronic device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth (TM) devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The computing unit 401 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 performs the respective methods and processes described above. For example, in some embodiments, a network teaching service processing method as described above may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 400 via the ROM 402 and/or the communication unit 409. In some embodiments, the computing unit 401 may be configured to perform the above-described network teaching service processing method by any other suitable means (e.g., by means of firmware).
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data service), or that includes a middleware component (e.g., an application service), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and the server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be noted that each component/step described in the embodiments of the present disclosure may be split into more components/steps, or two or more components/steps or partial operations of the components/steps may be combined into new components/steps according to implementation needs, to achieve the objects of the embodiments of the present disclosure.
The above embodiments are only for illustrating the embodiments of the present disclosure, not for limiting the embodiments of the present disclosure, and various changes and modifications may be made by one of ordinary skill in the relevant art without departing from the spirit and scope of the embodiments of the disclosure, so all equivalent technical solutions also fall within the scope of the embodiments of the present disclosure, the scope of which is defined by the claims.

Claims (10)

1. A method of processing a network teaching service, the method comprising:
a request header identifying a network lecture service request of the client,
if the request header is identified to contain a machine room identifier, determining a target machine room of the client according to the machine room identifier; or alternatively
If the request header is identified not to contain a machine room identifier, determining a target machine room of the client according to each network teaching service to be executed by the client;
and providing the network teaching service meeting the network teaching service request to the client through the target machine room.
2. The method of claim 1, wherein the determining the target machine room of the client according to each network lecture service to be performed by the client comprises:
according to the teaching time of each network teaching service to be executed by the client, identifying one network teaching service with the nearest teaching time;
and determining the target machine room of the client according to the number of classroom people or the number of classroom identification of the network teaching service with the latest teaching time.
3. The method of claim 2, wherein the determining the target machine room of the client according to the number of classes or class identification number of one network teaching service with the nearest teaching time comprises:
determining one network teaching service with the nearest teaching time as a target teaching service, and identifying the number of classroom people of the target teaching service;
if the number of the classroom people is greater than a preset number threshold, acquiring each performance evaluation value corresponding to each candidate machine room, and determining one candidate machine room with the highest performance evaluation value as a target machine room of the client;
and if the number of the classroom people is not greater than the preset number threshold, identifying the classroom identification number of the target teaching service, and determining one candidate machine room associated with the classroom identification number of the target teaching service as the target machine room of the client based on the association relationship between each classroom identification number and each candidate machine room.
4. The method according to claim 1 or 2, wherein the method comprises:
and under the condition that the request header does not contain a machine room identifier and each network teaching service to be executed by the client is not obtained, each performance evaluation value corresponding to each candidate machine room is obtained, and one candidate machine room with the highest performance evaluation value is determined as the target machine room of the client.
5. The method of claim 1, wherein in case of determining a target machine room of the client according to each network lecture service to be performed by the client, the method further comprises:
and sending the machine room identifier of the target machine room to the client so that the client adds the machine room identifier of the target machine room in the request header of each network teaching service request.
6. The method of claim 1, wherein, before performing the step of identifying the request header of the client's network lecture service request, the method further comprises:
analyzing the network teaching service request of the client to acquire the position information of the client;
and according to the position information of the client, acquiring a target node closest to the client from each edge node, and taking the target node as an access node of the client.
7. A network teaching service processing apparatus, the apparatus comprising:
the analysis module is used for identifying a request header of a network teaching service request of a client, determining a target machine room of the client according to the machine room identifier if the request header contains the machine room identifier, and determining the target machine room of the client according to each network teaching service to be executed by the client if the request header does not contain the machine room identifier;
and the service module is used for providing the network teaching service meeting the network teaching service request for the client through the target machine room.
8. The apparatus of claim 7, wherein the service module is further to:
in case of determining a target machine room of the client according to each network teaching service to be executed by the client,
and sending the machine room identifier of the target machine room to the client so that the client adds the machine room identifier of the target machine room in the request header of each network teaching service request.
9. An electronic device, comprising:
a processor; and
a memory in which a program is stored,
wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method of any one of claims 1 to 6.
10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1 to 6.
CN202311220481.2A 2023-09-20 2023-09-20 Network teaching service processing method and device, electronic equipment and storage medium Pending CN117221616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311220481.2A CN117221616A (en) 2023-09-20 2023-09-20 Network teaching service processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311220481.2A CN117221616A (en) 2023-09-20 2023-09-20 Network teaching service processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117221616A true CN117221616A (en) 2023-12-12

Family

ID=89049192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311220481.2A Pending CN117221616A (en) 2023-09-20 2023-09-20 Network teaching service processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117221616A (en)

Similar Documents

Publication Publication Date Title
US10225313B2 (en) Media quality prediction for collaboration services
CN110839084B (en) Session management method, device, equipment and medium
US20240126673A1 (en) Methods and systems for status determination
US9282157B2 (en) Intermediary API for providing presence data to requesting clients
CN107995013B (en) Customer service distribution method and device
CN114513552B (en) Data processing method, device, equipment and storage medium
CN110601891B (en) Alarm processing method and related device
CN106992893A (en) The management method and device of router
CN108011779A (en) The test method of Cloud Server task throughput under limited resources supplIes
CN110784358A (en) Method and device for constructing network call relation topological graph
CN113012695B (en) Intelligent control method and device, electronic equipment and computer readable storage medium
CN112152879B (en) Network quality determination method, device, electronic equipment and readable storage medium
CN113630418A (en) Network service identification method, device, equipment and medium
CN117221616A (en) Network teaching service processing method and device, electronic equipment and storage medium
CN111193778A (en) Method, device, equipment and medium for WEB service load balancing
CN114679602A (en) Data processing method and device, electronic equipment and storage medium
CN113724735A (en) Voice stream processing method and device, computer readable storage medium and electronic equipment
CN113315736B (en) Data synchronization method and device between business processes
CN113691403A (en) Topological node configuration method, related device and computer program product
CN110933122B (en) Method, apparatus and computer storage medium for managing server
US8873734B2 (en) Global logging and analysis system
CN108696549B (en) Load balancing method, device and system
US9854066B1 (en) System, method, and computer program for customizing a response to a request
CN111475289B (en) Load balancing method and device
KR102598919B1 (en) Method and apparatus for providing counseling service

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