CN112769919A - Push flow task distribution method and device, storage medium and electronic equipment - Google Patents

Push flow task distribution method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112769919A
CN112769919A CN202011620077.0A CN202011620077A CN112769919A CN 112769919 A CN112769919 A CN 112769919A CN 202011620077 A CN202011620077 A CN 202011620077A CN 112769919 A CN112769919 A CN 112769919A
Authority
CN
China
Prior art keywords
server
mapping relation
push
flow
relation information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011620077.0A
Other languages
Chinese (zh)
Other versions
CN112769919B (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.)
Beijing Dami Technology Co Ltd
Original Assignee
Beijing Dami 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 Dami Technology Co Ltd filed Critical Beijing Dami Technology Co Ltd
Priority to CN202011620077.0A priority Critical patent/CN112769919B/en
Publication of CN112769919A publication Critical patent/CN112769919A/en
Application granted granted Critical
Publication of CN112769919B publication Critical patent/CN112769919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Signal Processing (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a method and a device for distributing plug flow tasks, a storage medium and electronic equipment, and belongs to the field of online education. When a course starts, a task distribution server firstly inquires mapping relation information in a local list according to a room number of the course, if the mapping relation information is not inquired, the mapping relation information corresponding to the room number is inquired in a shared server, a server identifier is obtained by analyzing the mapping relation, then a target plug flow server corresponding to the server identifier is determined in a plug flow cluster, the target plug flow server is indicated to carry out plug flow to a virtual classroom corresponding to the room number, and before the plug flow, the mapping relation information does not need to be inquired in the shared server every time, so that the inquiry times of the shared server are reduced, the efficiency of plug flow task distribution is improved, and the processing overhead of the shared server is reduced.

Description

Push flow task distribution method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of online education, and in particular, to a method and an apparatus for distributing plug flow tasks, a storage medium, and an electronic device.
Background
With the development of the internet, online education is popular with more and more people, and the online education can be flexibly learned in unlimited time and places, so that the skills of the online education are fully improved. Compared with the traditional fixed classroom, the mobile classroom is more mobile and convenient, and the visual classroom has more visualization and more attractive in pictures and audio.
In a network architecture of online education, a task distribution server is used for distributing a plug-flow task and indicating the plug-flow server to push a flow media stream to terminal equipment of students, before the plug-flow is distributed, the task distribution server needs to query a server identifier of the plug-flow server in a deployed database, then the query times are more and more frequent along with the increase of the number of the task distribution servers, certain bottleneck exists in the access of the database, the distribution efficiency of the plug-flow task is not high, and therefore how to improve the efficiency of distributing the plug-flow task is an urgent problem to be solved at present.
Disclosure of Invention
The method, the device, the storage medium and the electronic equipment for distributing the plug flow task can solve the problem of low efficiency of distributing the plug flow task. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for distributing a plug flow task, where the method includes:
determining a room number of a virtual teacher associated with a course at the beginning of the course;
inquiring in a local list according to the room number;
if the mapping relation information corresponding to the room number does not exist in the local list, the mapping relation information corresponding to the room number is inquired in a shared server;
analyzing the inquired mapping relation information to obtain a server identifier corresponding to the room number;
and determining a target pushing server in the pushing cluster according to the server identification, and instructing the target pushing server to push the media stream to the terminal equipment in the virtual classroom.
In one possible design, before determining the room number of the virtual classroom associated with the course at the beginning of the course, the method further includes:
receiving a binding request; the binding request carries a room number and a material identifier of a virtual classroom; the material identification is used for representing the identity of the material in class, the material in class can be a live video file or a recorded broadcast live file, the recorded broadcast video file is divided into an AI video file with an interactive function and a common video file without the interactive function, and the interactive function means that students can perform interactive operations such as question asking, wheat connecting or chatting with an AI teacher through terminal equipment.
Responding to the binding request, and selecting a target push flow server from the push flow cluster;
binding the server identification of the target plug-flow server with the room number of the virtual classroom to generate mapping relation information;
storing the mapping relation information in a local list;
and pushing the mapping relation information to the shared server so that the shared server pushes the mapping relation information to each task distribution server in the task distribution cluster.
In one possible design, the selecting a target push flow server from a push flow cluster includes:
selecting a target plug-flow server from the plug-flow cluster according to a polling mode; or
Selecting a plug flow server with the lightest load as a target plug flow server according to the load state parameters of all plug flow servers in the plug flow cluster; or
And selecting one plug flow server with the maximum load capacity as a target plug flow server from the plug flow servers in the idle state in the plug flow cluster.
In one possible design, the determining a target push server in the push stream cluster according to the server identifier and instructing the target push server to push a media stream to a terminal device in the virtual classroom includes:
determining a target push flow server from the push flow cluster according to the server identification;
sending a push flow task instruction to the target push flow server; the stream pushing task indication carries a material identifier, and the stream pushing indication information indicates the target stream pushing server to acquire a target material corresponding to the material identifier from a material library and to push a media stream to terminal equipment in the virtual classroom according to the target material.
In one possible design, further comprising:
and if the mapping relation information corresponding to the room number does not exist in the local list, storing the mapping relation information acquired from the sharing server into the local list.
In one possible design, further comprising:
monitoring the remaining space of the local list;
and when the capacity of the residual space is smaller than a capacity threshold value, deleting one or more pieces of mapping relation information in the local list according to the storage duration and the query times.
Sending a subscription request message to a sharing server; the subscription request message carries a server identifier of a task distribution server;
when the mapping relation information stored on the sharing server is updated, receiving the updated mapping relation information sent by the sharing server; the condition that the mapping relationship stored in the shared server is updated may be that the push server in the push cluster expands or contracts, so that the mapping relationship between the room number and the server identifier of the push server is updated.
And writing the updated mapping relation into the local list.
In a second aspect, an embodiment of the present application provides a distribution apparatus for a plug-flow task, where the distribution apparatus for a plug-flow task includes:
the system comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining the room number of a virtual classroom associated with a course when the course starts;
the query unit is used for querying in a local list according to the room number;
if the mapping relation information corresponding to the room number does not exist in the local list, the mapping relation information corresponding to the room number is inquired in a shared server;
the analysis unit is used for analyzing the mapping relation information inquired in the shared server to obtain a server identifier corresponding to the room number;
and the indicating unit is used for determining a target pushing server in the pushing cluster according to the server identifier and indicating the target pushing server to push the media stream to the terminal equipment in the virtual classroom.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
when a course starts, a task distribution server firstly inquires mapping relation information in a local list according to a room number of the course, if the mapping relation information is not inquired, the mapping relation information corresponding to the room number is inquired in a shared server, the mapping relation is analyzed to obtain a server identifier, then a target plug flow server corresponding to the server identifier is determined in a plug flow cluster, the target plug flow server is indicated to carry out plug flow to a virtual classroom corresponding to the room number, and before the plug flow, the mapping relation information does not need to be inquired in the shared server every time, so that the inquiry times of the shared server are reduced, the efficiency of plug flow task distribution is improved, and the processing overhead of the shared server is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a diagram of a network architecture provided by an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for distributing a plug-flow task according to an embodiment of the present application;
fig. 3 is another schematic flow chart of a method for distributing a plug-flow task provided in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an apparatus provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 shows an exemplary system architecture of a distribution method of a plug-flow task or a distribution apparatus of a plug-flow task that can be applied to the present application.
As shown in fig. 1, the system architecture may include: the system comprises a shared server 10, a task distribution cluster 11, a plug flow cluster 12, a material library 13 and a terminal device 14. The material library 13 is used for storing a plurality of lesson materials, and the material library 13 can be a non-relational database, such as: the nosql database. The material library can be deployed on a local physical server, and can also be deployed on a cloud server in the internet. The type of the material in class can be recorded and broadcast video files or live video files, the recorded and broadcast video files are pre-recorded video files, teachers record the video in class through terminal equipment to generate recorded and broadcast video files, and the recorded and broadcast video files are uploaded to a material library; the recorded and broadcast video file can be divided into a common video file and an AI video file, the common video file does not have an interaction function, only records the video file generated by sound and image when a teacher learns, then the follow-up student plays back the pre-recorded video file in class, and the student cannot interact with the teacher in the class process. The AI video file has an interactive function, and students can interact with teachers in the course of lessons. The live video file is a media stream acquired by a teacher in real time in the course of the lesson, and then the media stream is distributed to the terminal equipment of each student.
Wherein, wireless communication links may be adopted among the devices in the system architecture, and wired communication links may also be adopted, for example: the wired communication link includes an optical fiber, a twisted pair wire, or a coaxial cable, and the WIreless communication link includes a bluetooth communication link, a WIreless-FIdelity (Wi-Fi) communication link, or a microwave communication link, etc.
The shared server 10 and each task distribution server in the task distribution cluster 11 may communicate, the number of the shared servers 10 may be one or more, a plurality of shared servers 10 may form a cluster, the shared server 10 is configured to store mapping relationship information that indicates a mapping relationship between a server identifier of a plug flow server and a room number, and the shared server 10 may be a redis server. When the mapping relationship information in the shared server 10 is updated, the updated mapping relationship information is transmitted to each task distribution server in the task distribution cluster 11.
The task distribution cluster 11 includes a plurality of task distribution servers, each task distribution server manages one or more stream pushing servers, and all the stream pushing servers managed by the task distribution cluster 11 form a stream pushing cluster 12. Each task distribution server is provided with a local list, and mapping relation information between server identifications and room numbers of the plug flow servers managed by the task distribution servers is stored in the local list.
The plug flow cluster 12 includes a plurality of plug flow servers, each of which manages a plurality of terminal devices, where the terminal devices may be teacher's terminal devices or student's terminal devices, and the terminal devices are generally student's terminal devices in the present application. When the streaming server receives a streaming task instruction sent by the task distribution server, the streaming server determines the room number of a virtual classroom to be streamed and acquires a material in class from the material library 13, then the streaming server pushes a streaming media stream to the terminal device in the virtual classroom, a video picture of a course is displayed on a display screen of the terminal device, and a student can realize interaction with a teacher while watching the video picture.
The class mode of the application can be one-to-one or one-to-many, namely one teacher corresponds to one student or one teacher corresponds to a plurality of students. Correspondingly, in the one-to-one teaching mode, a terminal device used for a teacher to attend a class and a terminal device used for a student to attend the class are communicated; in the one-to-many teaching mode, communication is performed between one terminal device for a teacher to attend a class and a plurality of terminal devices for students to attend a class.
The terminal device 14 may be installed with various communication client applications, such as: video recording application, video playing application, voice interaction application, search application, instant messaging tool, mailbox client, social platform software, etc.
The terminal device 14 may be hardware or software. When the terminal device 14 is hardware, it may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal device 14 is software, it may be installed in the electronic device listed above. Which may be implemented as multiple software or software modules (e.g., to provide distributed services) or as a single software or software module, and is not particularly limited herein.
When the terminal device 14 is hardware, a display device and a camera may be further installed thereon, the display device may be various devices capable of implementing a display function, and the camera is used for collecting a video stream; for example: the display device may be a cathode ray tube (CR) display, a light-emitting diode (LED) display, an electronic ink panel, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), or the like. The user can utilize the display device on the terminal device to view the displayed information such as characters, pictures, videos and the like.
It should be noted that the method for distributing the plug-flow task provided in the embodiment of the present application is generally executed by the task distribution server 102, and accordingly, the distribution device for the plug-flow task is generally disposed in the task distribution server.
The task distribution server may be a server that provides various services, and the task distribution server may be hardware or software. When the task distribution server is hardware, the task distribution server can be implemented as a distributed server cluster formed by a plurality of servers, or can be implemented as a single server. When the task distribution server is software, it may be implemented as a plurality of software or software modules (for example, to provide distributed services), or may be implemented as a single software or software module, and is not limited in particular herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. Any number of terminal devices, networks, and servers may be used, as desired for implementation.
The method for distributing the plug-flow task provided by the embodiment of the present application will be described in detail below with reference to fig. 2 to 3. The distribution device of the plug-flow task in the embodiment of the present application may be any one task distribution server in a task distribution cluster.
Referring to fig. 2, a flow chart of a method for distributing a plug-flow task is provided in an embodiment of the present application. As shown in fig. 2, the method of the embodiment of the present application may include the steps of:
s201, when the course starts, the room number of the virtual classroom related to the course is determined.
Before a student goes to a class, the student reserves a course on a service console through terminal equipment, and sets information of the course such as the beginning time of the course, the ending time of the course, subject content and the like. Upon arrival at the time of the class, the service console will assign a virtual classroom to the class and a room number for the virtual classroom, the room number being used to uniquely represent the identity of the virtual classroom. The task distribution server may determine a room number of a virtual classroom associated with the course in the business console.
The virtual classroom is a logic space which is distributed by the service console and used for students and teachers to attend classes, the virtual classroom comprises terminal equipment for attending classes in classrooms and terminal equipment for attending classes by students, and the terminal equipment in the virtual classroom can carry out voice talkback, character chat and video playing operations.
And S202, inquiring in a local list according to the room number.
The local list is a storage space which is arranged in the task distribution server and used for storing the mapping relation information, and the data structure of the local list comprises but is not limited to an array, a stack, a linked list, a hash table and the like. The task distribution server queries corresponding mapping relation information in a local list by taking the room number as an index, the mapping relation information represents the mapping relation between the room number and the server identification, and the server identification represents the unique identity of a push server for executing the push task. When the task distribution server queries in the local list according to the room number, the query result may be that no mapping relationship information corresponding to the room number exists or that mapping relationship information corresponding to the room number exists.
S203, if the mapping relation information corresponding to the room number does not exist, the mapping relation information corresponding to the room number is inquired in the sharing server.
The shared server can be an individual server or a cluster formed by a plurality of servers, the shared server is provided with a database, the type of the database can be a redis database, and the shared server is communicated with the task distribution cluster to ensure that the mapping relation information stored by the shared server and the mapping relation stored on each task distribution server in the task distribution cluster are kept synchronous. When the mapping relation information corresponding to the room number is not inquired in the local list, the task distribution server inquires in the sharing server, and the mapping relation information configured by each completed task distribution server is stored in the sharing server, so that the mapping relation information related to the room number can be inquired in the sharing server.
And S204, determining the server identifier associated with the room number according to the mapping relation information.
The mapping relationship information is analyzed to determine a server identifier associated with the room number, where the server identifier may be an IP address, a MAC (media access control) address, or other identifiers.
S205, determining a target pushing server in the pushing cluster according to the server identifier, and instructing the target pushing server to push a media stream to a terminal device in the virtual classroom.
The task distribution server determines a corresponding target push server in the push cluster according to the server identifier, and then instructs the target push server to push the media stream to the terminal equipment in the virtual classroom. For example: and the task distribution server sends a streaming task instruction to a target streaming server determined by the target, wherein the streaming task instruction carries a material identifier, the target streaming server inquires the material in class from the material database from the material identifier, and pushes the streaming media stream for the terminal equipment in the virtual classroom according to the material in class. If the scene is a live broadcast scene, pushing the teacher media stream uploaded by the terminal equipment of the teacher to the terminal equipment in the virtual classroom; if the recording and broadcasting scene is the recording and broadcasting scene, generating a teacher media stream from the pre-stored media file, and then pushing the teacher media stream to the terminal equipment of each student; if the scene is an AI (artificial intelligence) course scene, selecting the course material from the material library according to the course content, generating a media stream of an AI teacher according to the material, and then pushing the media stream of the teacher by the terminal equipment of each student in the virtual classroom.
When the scheme of the embodiment of the application is executed, when a course starts, the task distribution server firstly inquires mapping relation information in a local list according to a room number of the course, if the mapping relation information is not inquired, the mapping relation information corresponding to the room number is inquired in the sharing server, the mapping relation is analyzed to obtain a server identifier, then a target plug flow server corresponding to the server identifier is determined in a plug flow cluster, the target plug flow server is indicated to carry out plug flow to a virtual classroom corresponding to the room number, and before the plug flow, the mapping relation information does not need to be inquired in the sharing server every time, so that the inquiry times of the sharing server are reduced, the efficiency of plug flow task distribution is improved, and the processing overhead of the sharing server is reduced.
Referring to fig. 3, a schematic flow chart of a method for distributing a plug-flow task is provided in an embodiment of the present application, and an execution main body of the embodiment is a task distribution server. The method for distributing the plug flow task can comprise the following steps:
s301, sending a subscription request message to the sharing server.
The task distribution server sends a subscription request message to the shared server, the task distribution server is any one server in the task distribution cluster, the subscription request message is used for subscribing updated mapping relation information to the shared server, the subscription request message carries a server identifier of the task distribution server, and the server identifier includes but is not limited to one or more of an IP address, a port number and an MAC address.
S302, when the mapping relation information stored in the sharing server is updated, the updated mapping relation information sent by the sharing server is received.
The shared server receives a subscription request message from the task distribution server, and when the mapping relationship on the shared server is updated, sends updated mapping relationship information to all subscribed task distribution servers, where the condition for triggering the update of the mapping relationship information on the shared server may be: and carrying out capacity expansion or capacity reduction on the push flow server cluster.
For example: in the scenario of capacity expansion of the push flow cluster, the task distribution cluster comprises 2 task distribution servers, namely a task distribution server 1 and a task distribution server 2, and the push flow cluster comprises 4 push flow servers in advance, namely a push flow server 1, a push flow server 2, a push flow server 3 and a push flow server 4. The task distribution server 1 manages the push flow server 1 and the push flow server 2, the task distribution server 2 manages the push flow server 3 and the push flow server 4, and the mapping relation information stored in the local list of the task distribution server 1 is represented as: the mapping relationship information stored in the local list of (the plug flow server 1, the virtual classroom 1), (the plug flow server 2, the virtual classroom 1), the task distribution server 22 is expressed as: (push streaming Server 3, virtual classroom 2), (push streaming Server 4, virtual classroom 3). The mapping relationship stored on the shared server is expressed as: the (push server 1, virtual classroom 1), (push server 2, virtual classroom 1), (push server 3, virtual classroom 2), (push server 4, virtual classroom 3), that is, the shared server stores complete mapping relationship information. When the push stream cluster is expanded, adding a push stream server 5 in the push stream cluster, allocating the push stream server 5 to the task distribution server 2 by the sharing server for management, and then binding the push stream server 5 with the virtual classroom 2, so that the mapping relationship information on the sharing server is updated, and the mapping relationship information is newly added: (the streaming server 5, the virtual classroom 2), the sharing server pushes the mapping relation information to the task distribution server for storage.
When the task distribution clusters expand or contract, the shared server distributes the managed plug flow clusters for each task distribution server in the task distribution clusters again, and then the mapping relation information of the plug flow servers managed by each task distribution server and the virtual classroom is synchronized to the corresponding task distribution server.
For example: the task distribution cluster comprises: the task distribution server 1, the push flow cluster includes: the system comprises a push flow server 1, a push flow server 2, a push flow server 3 and a push flow server 4, wherein a task distribution server 1 manages the 4 push flow servers, and the mapping relation stored in the task distribution server is expressed as: (plug flow server 1, virtual classroom 1), (plug flow server 2, virtual classroom 1), (plug flow server 3, virtual classroom 2), (plug flow server 4, virtual classroom 3). When the task distribution cluster expands, a new task distribution server 2 is added in the task distribution cluster, and then the push flow server 3 and the push flow server 4 are distributed to the task distribution server 2 for management, namely the task distribution server 1 manages the push flow server 1 and the push flow server 2, and the task distribution server 2 manages the push flow server 3 and the push flow server 4, so that the shared server pushes mapping relationship information (push flow server 1, virtual classroom 1) and (push flow server 2, virtual classroom 1) to the task distribution server 1, and pushes the mapping relationship information (push flow server 3, virtual classroom 2) and (push flow server 4, virtual classroom 3) to the task distribution server 2.
And S303, writing the updated mapping relation information into a local list.
And the task distribution server writes the mapping relation information from the sharing server into a local list. The local list has a storage space with a certain size, and when the storage space is insufficient when the mapping relationship information is written in, the mapping relationship information in the local list can be deleted according to a certain rule, wherein the rule can be determined according to the storage duration and the query times of the mapping relationship.
For example: the method comprises the steps that at most 100 pieces of mapping relation information can be stored in a local list of a task distribution server, when the task distribution server receives the mapping relation information of a shared server and writes the mapping relation information into the local list, the fact that the storage space in the local list is insufficient is found, then the storage duration and the query times of each piece of mapping relation information in the local list are obtained, the storage duration represents the duration from the moment when the mapping relation information is written into the local list to the current moment, the query times represent the queried times, then the storage duration and the reciprocal of the query times of each piece of mapping relation information are weighted and averaged to obtain an evaluation value, the mapping relation information with the evaluation value arranged in the front in a preset number is deleted from the local list, and therefore updated mapping relation information can be written successfully.
S304, receiving a binding request message from the service console.
The method comprises the steps that a student can access a service console through terminal equipment to achieve class appointment before class attendance, the terminal equipment of the student sends class appointment request information to the service console, the class appointment request information carries identification of classes reserved by the student, the service console distributes virtual classrooms and class attendance materials for the reserved classes, then the service console selects a task distribution server from a task distribution cluster, sends binding request information to the selected task distribution server, and the binding request information carries room numbers of the virtual classrooms and material identification of the class attendance materials. The virtual classroom is a virtual space in which students take lessons, and the students can receive media streams of the lessons and perform related interaction with teachers through terminal equipment, such as: connecting to wheat, chatting or answering, etc. The lesson material is a file for generating a media stream of a passenger place, the lesson material is a recorded and broadcast video file generally, and the recorded and broadcast video file can be an AI video file with an interactive function.
For example: the method comprises the steps that a student selects a course in English for a child through a terminal device, a course appointment request message carrying the course is sent to a service console, the service console receives the course appointment request message from the terminal device of the student, the service console allocates a room number of a virtual classroom to the course to be 11025, a material identification of a material in class allocated to the course is 5812, then the service console obtains load state parameters of each task distribution server in a task distribution cluster, and the load state parameters include but are not limited to: the method comprises the steps of utilizing CPU occupancy rate, disk occupancy rate, memory occupancy rate and number of the push flow tasks, then selecting a task distribution server with the lightest load in a task distribution cluster, and sending a binding request message to the selected task distribution server.
S305, selecting a target push flow server from the push flow cluster in response to the binding request message.
The task distribution server receives the binding request message from the shared server, and at this time, because the task distribution server does not bind the push flow server, the task distribution server needs to select a target push flow server in an idle state from the push flow cluster, the number of the target push flow servers can be one or more, and the idle state indicates that the push flow task is not executed.
Wherein the selecting a target push flow server from a push flow cluster comprises:
and selecting a target plug-flow server from the plug-flow cluster according to a polling mode. For example: the push flow cluster comprises 4 push flow servers, which are respectively as follows: the task distribution server selects a target push server in the order of push server 1 → push server 2 → push server 3 → push server 4 → push server 1 …. When the push server needs to be selected currently, it is determined that the push server selected last time is the push server 1, and then the push server 2 is selected currently as the target push server. Or
And selecting a push flow server with the lightest load as a target push flow server according to the load state parameters of all the push flow servers in the push flow cluster. For example: load state parameters include, but are not limited to: and selecting a push flow server with the lightest load from the push flow cluster as a target push flow server according to the load state parameters, wherein the CPU occupancy rate, the disk occupancy rate, the memory occupancy rate and the push flow task number are used as the target push flow server. Or
And selecting one plug flow server with the maximum load capacity as a target plug flow server from the plug flow servers in the idle state in the plug flow cluster. The load capacity represents the maximum number of terminal devices which can be pushed by the push streaming server.
S306, binding the server identification of the target push flow server and the room number of the virtual classroom to generate mapping relation information.
The task distribution server is used for binding the server identification of the selected target push flow server and the room number of the distributed virtual classroom to generate mapping relation information, wherein the mapping relation information comprises the room number and the server identification.
S307, storing the mapping relation information in the local list.
Wherein, the task distribution server writes the mapping relationship information generated in S306 into the local list. If the storage space in the local list is insufficient, a certain amount of mapping relationship information may be deleted with reference to the description of S303.
And S308, pushing the mapping relation information to a sharing server.
The task distribution server pushes the mapping relationship information generated in S306 to the shared server, where the shared server stores complete mapping relationship information generated on each task distribution server.
S309, at the beginning of the lesson, the room number of the virtual classroom associated with the lesson is determined.
Wherein, when a student reserves a course, the service console already distributes a virtual classroom for the guest room. When the class time of a class is reached, the task distribution server determines the room number of the virtual classroom associated with the class, wherein the room number is used for uniquely representing the identity of the virtual classroom, and the task distribution server can determine the room number of the virtual classroom associated with the class in the service console.
And S310, inquiring in a local list according to the room number.
The local list is a storage space which is arranged in the task distribution server and used for storing the mapping relation information, and the data structure of the local list comprises but is not limited to an array, a stack, a linked list, a hash table and the like. The task distribution server queries corresponding mapping relation information in a local list by taking the room number as an index, the mapping relation information represents the mapping relation between the room number and the server identification, and the server identification represents the unique identity of a push server for executing the push task. When the task distribution server queries in the local list according to the room number, the query result may be that no mapping relationship information corresponding to the room number exists or that mapping relationship information corresponding to the room number exists.
S311, if the mapping relation information corresponding to the room number does not exist in the local list, inquiring the sharing relation information corresponding to the room number in the sharing server.
The shared server can be an individual server or a cluster formed by a plurality of servers, the shared server is provided with a database, the type of the database can be a redis database, and the shared server is communicated with the task distribution cluster to ensure that the mapping relation information stored by the shared server and the mapping relation stored on each task distribution server in the task distribution cluster are kept synchronous. When the mapping relation information corresponding to the room number is not inquired in the local list, the task distribution server inquires in the sharing server, and the mapping relation information configured by each completed task distribution server is stored in the sharing server, so that the mapping relation information related to the room number can be inquired in the sharing server.
In addition, when the mapping relation information corresponding to the room number exists in the local list, the server identification associated with the room number is determined according to the mapping relation information inquired in the local list, and then the target stream pushing server corresponding to the server identification is instructed to push the media stream to the terminal equipment in the virtual classroom.
S312, analyzing the inquired mapping relation information to obtain the server identification associated with the room number.
The mapping relationship information is analyzed to determine a server identifier associated with the room number, where the server identifier may be an IP address, an MAC address, or other identifiers.
In addition, if the mapping relation information corresponding to the room number does not exist in the local list, the mapping relation information acquired from the sharing server is stored in the local list, so that the mapping relation can be hit when being inquired in the local list next time, the inquiry does not need to be carried out in the sharing server, and the inquiry efficiency is improved.
S313, determining a target push streaming server in the push streaming cluster according to the server identification, and instructing the target push streaming server to push the streaming media stream to the terminal equipment in the virtual classroom.
The streaming pushing cluster comprises a plurality of pushing servers, the task distribution server determines a corresponding target pushing server in the streaming pushing cluster according to a server identifier, then sends a streaming pushing task instruction to the pushing servers, the streaming pushing task instruction carries a material identifier, the target streaming pushing server selects a material in class from a material library according to the material identifier, then generates a media stream according to the material in class, and pushes the media stream to a terminal device in the virtual classroom.
According to the method and the device, when a course starts, a task distribution server firstly inquires mapping relation information in a local list according to a room number of the course, if the mapping relation information is not inquired, the mapping relation information corresponding to the room number is inquired in a shared server, the mapping relation is analyzed to obtain a server identifier, then a target plug flow server corresponding to the server identifier is determined in a plug flow cluster, the target plug flow server is indicated to carry out plug flow to a virtual classroom corresponding to the room number, and before the plug flow, the mapping relation information does not need to be inquired in the shared server every time, so that the inquiry times of the shared server are reduced, and the processing overhead of the shared server is reduced.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 4, a schematic structural diagram of a distribution apparatus for plug-flow tasks according to an exemplary embodiment of the present application is shown. Hereinafter referred to as device 4, the device 4 may be implemented as all or part of a task distribution server by software, hardware or a combination of both. The device 4 comprises: a determination unit 401, a query unit 402, a parsing unit 403 and an indication unit 404.
A determining unit 401, configured to determine, at the beginning of a course, a room number of a virtual classroom associated with the course;
a query unit 402, configured to query a local list according to the room number;
if the mapping relation information corresponding to the room number does not exist in the local list, the mapping relation information corresponding to the room number is inquired in a shared server;
an analyzing unit 403, configured to analyze the queried mapping relationship information to obtain a server identifier corresponding to the room number;
an indicating unit 404, configured to determine a target push server in the push stream cluster according to the server identifier, and instruct the target push server to push a media stream to a terminal device in the virtual classroom.
In one or more embodiments, further comprising:
a push unit (not shown in fig. 4) for receiving a binding request message from a service console; the binding request message carries a room number and a material identifier of a virtual classroom;
responding to the binding request message, and selecting a target push flow server from the push flow cluster;
binding the server identification of the target plug-flow server with the room number of the virtual classroom to generate mapping relation information;
storing the mapping relation information in a local list;
and pushing the mapping relation information to the sharing server.
In one or more embodiments, the selecting a target push flow server from a push flow cluster comprises:
selecting a target plug-flow server from the plug-flow cluster according to a polling mode; or
Selecting a plug flow server with the lightest load as a target plug flow server according to the load state parameters of all plug flow servers in the plug flow cluster; or
And selecting one plug flow server with the maximum load capacity as a target plug flow server from the plug flow servers in the idle state in the plug flow cluster.
In one or more embodiments, the determining a target push server in the push stream cluster according to the server identification, and instructing the target push server to push a media stream to a terminal device in the virtual classroom includes:
determining a target push flow server from the push flow cluster according to the server identification;
sending a push flow task instruction to the target push flow server; the stream pushing task indication carries a material identifier, and the stream pushing indication information indicates the target stream pushing server to acquire a target material corresponding to the material identifier from a material library and to push a media stream to terminal equipment in the virtual classroom according to the target material.
In one or more embodiments, further comprising:
a writing unit (not shown in fig. 4), configured to store, if mapping relationship information corresponding to the room number does not exist in a local list, the mapping relationship information obtained from the sharing server into the local list.
In one or more embodiments, further comprising:
a deletion unit (not shown in fig. 4) for monitoring the remaining space of the local list;
and when the capacity of the residual space is smaller than a capacity threshold value, deleting one or more pieces of mapping relation information in the local list according to the storage duration and the query times.
In one or more embodiments, the write unit is further to:
sending a subscription request message to a sharing server; the subscription request message carries a server identifier of a task distribution server;
when the mapping relation information stored on the sharing server is updated, receiving the updated mapping relation information sent by the sharing server;
and writing the updated mapping relation into the local list.
It should be noted that, when the apparatus 4 provided in the foregoing embodiment executes the distribution method of the plug flow task, only the division of the functional modules is illustrated, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above. In addition, the embodiments of the method for distributing a plug flow task provided by the above embodiments belong to the same concept, and details of the implementation process are referred to in the embodiments of the method, which are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 2 to fig. 3, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 2 to fig. 3, which is not described herein again.
The present application further provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the distribution method of the plug flow task according to the above embodiments.
Fig. 5 is a schematic structural diagram of a distribution apparatus for a plug-flow task provided in an embodiment of the present application, which is hereinafter referred to as an apparatus 5 for short, where the apparatus 5 may be integrated in the foregoing task distribution server, as shown in fig. 5, the apparatus includes: memory 502, processor 501, input device 503, output device 504, and communication interface.
The memory 502 may be a separate physical unit, and may be connected to the processor 501, the input device 503, and the output device 504 via a bus. The memory 502, processor 501, input device 503, and output device 504 may also be integrated, implemented in hardware, etc.
The memory 502 is used for storing a program for implementing the above method embodiment, or various modules of the apparatus embodiment, and the processor 501 calls the program to perform the operation of the above method embodiment.
Input devices 502 include, but are not limited to, a keyboard, a mouse, a touch panel, a camera, and a microphone; the output device includes, but is not limited to, a display screen.
Communication interfaces are used to send and receive various types of messages and include, but are not limited to, wireless interfaces or wired interfaces.
Alternatively, when part or all of the distributed task scheduling method of the above embodiments is implemented by software, the apparatus may also include only a processor. The memory for storing the program is located outside the device and the processor is connected to the memory by means of circuits/wires for reading and executing the program stored in the memory.
The processor may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
The memory may include volatile memory (volatile memory), such as random-access memory (RAM); the memory may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory may also comprise a combination of memories of the kind described above.
Wherein the processor 501 calls the program code in the memory 502 for executing the following steps:
at the beginning of a course, determining the room number of a virtual classroom associated with the course;
inquiring in a local list according to the room number;
if the mapping relation information corresponding to the room number does not exist in the local list, the mapping relation information corresponding to the room number is inquired in a shared server;
analyzing the inquired mapping relation information to obtain a server identifier corresponding to the room number;
and determining a target pushing server in the pushing cluster according to the server identification, and instructing the target pushing server to push the media stream to the terminal equipment in the virtual classroom.
In one or more embodiments, processor 501 is further configured to perform:
receiving a binding request message from a service console; the binding request message carries a room number and a material identifier of a virtual classroom;
responding to the binding request message, and selecting a target push flow server from the push flow cluster;
binding the server identification of the target plug-flow server with the room number of the virtual classroom to generate mapping relation information;
storing the mapping relation information in a local list;
and pushing the mapping relation information to the sharing server.
In one or more embodiments, the processor 501 performs the selecting a target push flow server from the push flow cluster, including:
selecting a target plug-flow server from the plug-flow cluster according to a polling mode; or
Selecting a plug flow server with the lightest load as a target plug flow server according to the load state parameters of all plug flow servers in the plug flow cluster; or
And selecting one plug flow server with the maximum load capacity as a target plug flow server from the plug flow servers in the idle state in the plug flow cluster.
In one or more embodiments, the processor 501 executes the determining of the target push server in the push stream cluster according to the server identification, and instructing the target push server to push the media stream to the terminal device in the virtual classroom, including:
determining a target push flow server from the push flow cluster according to the server identification;
sending a push flow task instruction to the target push flow server; the stream pushing task indication carries a material identifier, and the stream pushing indication information indicates the target stream pushing server to acquire a target material corresponding to the material identifier from a material library and to push a media stream to terminal equipment in the virtual classroom according to the target material.
In one or more embodiments, processor 501 is further configured to perform:
and if the mapping relation information corresponding to the room number does not exist in the local list, storing the mapping relation information acquired from the sharing server into the local list.
In one or more embodiments, processor 501 is further configured to perform:
monitoring the remaining space of the local list;
and when the capacity of the residual space is smaller than a capacity threshold value, deleting one or more pieces of mapping relation information in the local list according to the storage duration and the query times.
In one or more embodiments, processor 501 is further configured to perform:
sending a subscription request message to a sharing server; the subscription request message carries a server identifier of a task distribution server;
when the mapping relation information stored on the sharing server is updated, receiving the updated mapping relation information sent by the sharing server;
and writing the updated mapping relation into the local list.
The embodiment of the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for distributing a plug flow task provided by the above embodiment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (10)

1. A method for distributing a plug flow task, the method comprising:
at the beginning of a course, determining the room number of a virtual classroom associated with the course;
inquiring in a local list according to the room number;
if the mapping relation information corresponding to the room number does not exist in the local list, the mapping relation information corresponding to the room number is inquired in a shared server;
analyzing the inquired mapping relation information to obtain a server identifier corresponding to the room number;
and determining a target pushing server in the pushing cluster according to the server identification, and instructing the target pushing server to push the media stream to the terminal equipment in the virtual classroom.
2. The distribution method as described in claim 1, wherein said determining, at the beginning of a lesson, a room number of a virtual classroom associated with said lesson, further comprises:
receiving a binding request message from a service console; the binding request message carries a room number and a material identifier of a virtual classroom;
responding to the binding request message, and selecting a target push flow server from the push flow cluster;
binding the server identification of the target plug-flow server with the room number of the virtual classroom to generate mapping relation information;
storing the mapping relation information in a local list;
and pushing the mapping relation information to the sharing server.
3. The distribution method according to claim 1, wherein the selecting a target push flow server from a push flow cluster comprises:
selecting a target plug-flow server from the plug-flow cluster according to a polling mode; or
Selecting a plug flow server with the lightest load as a target plug flow server according to the load state parameters of all plug flow servers in the plug flow cluster; or
And selecting one plug flow server with the maximum load capacity as a target plug flow server from the plug flow servers in the idle state in the plug flow cluster.
4. The distribution method according to claim 2, wherein the determining a target push server in the push stream cluster according to the server identification, and instructing the target push server to push a media stream to a terminal device in the virtual classroom comprises:
determining a target push flow server from the push flow cluster according to the server identification;
sending a push flow task instruction to the target push flow server; the stream pushing task indication carries a material identifier, and the stream pushing indication information indicates the target stream pushing server to acquire a target material corresponding to the material identifier from a material library and to push a media stream to terminal equipment in the virtual classroom according to the target material.
5. The distribution method according to claim 1, further comprising:
and if the mapping relation information corresponding to the room number does not exist in the local list, storing the mapping relation information acquired from the sharing server into the local list.
6. The distribution method according to claim 1, further comprising:
monitoring the remaining space of the local list;
and when the capacity of the residual space is smaller than a capacity threshold value, deleting one or more pieces of mapping relation information in the local list according to the storage duration and the query times.
7. The method as claimed in claim 1, wherein before determining the room number of the virtual classroom associated with the course at the beginning of the course, further comprising:
sending a subscription request message to a sharing server; the subscription request message carries a server identifier of a task distribution server;
when the mapping relation information stored on the sharing server is updated, receiving the updated mapping relation information sent by the sharing server;
and writing the updated mapping relation into the local list.
8. A distribution apparatus for a plug-flow task, comprising:
the system comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining the room number of a virtual classroom associated with a course when the course starts;
the query unit is used for querying in a local list according to the room number;
if the mapping relation information corresponding to the room number does not exist, the mapping relation information corresponding to the room number is inquired in a shared server;
the analysis unit is used for analyzing the inquired mapping relation information to obtain the server identifier associated with the room number;
and the indicating unit is used for determining a target pushing server in the pushing cluster according to the server identifier and indicating the target pushing server to push the media stream to the terminal equipment in the virtual classroom.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
CN202011620077.0A 2020-12-30 2020-12-30 Distribution method and device of push tasks, storage medium and electronic equipment Active CN112769919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011620077.0A CN112769919B (en) 2020-12-30 2020-12-30 Distribution method and device of push tasks, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011620077.0A CN112769919B (en) 2020-12-30 2020-12-30 Distribution method and device of push tasks, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112769919A true CN112769919A (en) 2021-05-07
CN112769919B CN112769919B (en) 2023-07-25

Family

ID=75698359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011620077.0A Active CN112769919B (en) 2020-12-30 2020-12-30 Distribution method and device of push tasks, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112769919B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866594A (en) * 2022-04-24 2022-08-05 普联技术有限公司 Equipment connection management method, device, system, server and readable storage medium
CN115174569A (en) * 2022-06-27 2022-10-11 普联技术有限公司 Control method, device, server and storage medium for video streaming transmission

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921479A (en) * 2005-08-23 2007-02-28 中兴通讯股份有限公司 Method and system for partaking load of flow media system
CN103327372A (en) * 2013-06-06 2013-09-25 深圳市龙视传媒有限公司 Method, server and system for pushing video streams of switching type videocast
CN108055264A (en) * 2017-12-13 2018-05-18 平安科技(深圳)有限公司 Dispatching device, method and the computer readable storage medium of stream pushing server
WO2018232796A1 (en) * 2017-06-19 2018-12-27 网宿科技股份有限公司 Method for processing streaming media file and live broadcast system
CN110673777A (en) * 2019-08-28 2020-01-10 北京大米科技有限公司 Online teaching method and device, storage medium and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921479A (en) * 2005-08-23 2007-02-28 中兴通讯股份有限公司 Method and system for partaking load of flow media system
CN103327372A (en) * 2013-06-06 2013-09-25 深圳市龙视传媒有限公司 Method, server and system for pushing video streams of switching type videocast
WO2018232796A1 (en) * 2017-06-19 2018-12-27 网宿科技股份有限公司 Method for processing streaming media file and live broadcast system
CN108055264A (en) * 2017-12-13 2018-05-18 平安科技(深圳)有限公司 Dispatching device, method and the computer readable storage medium of stream pushing server
CN110673777A (en) * 2019-08-28 2020-01-10 北京大米科技有限公司 Online teaching method and device, storage medium and terminal equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866594A (en) * 2022-04-24 2022-08-05 普联技术有限公司 Equipment connection management method, device, system, server and readable storage medium
CN114866594B (en) * 2022-04-24 2023-08-08 普联技术有限公司 Device connection management method, device, system, server and readable storage medium
CN115174569A (en) * 2022-06-27 2022-10-11 普联技术有限公司 Control method, device, server and storage medium for video streaming transmission
CN115174569B (en) * 2022-06-27 2024-03-19 普联技术有限公司 Control method, device, server and storage medium for video stream transmission

Also Published As

Publication number Publication date
CN112769919B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN110570698B (en) Online teaching control method and device, storage medium and terminal
CN105306861B (en) A kind of Web-based instruction recorded broadcast method and system
CN110673777A (en) Online teaching method and device, storage medium and terminal equipment
JP2020173853A (en) System and method for tracking event and providing feedback of virtual conference
CN102523492A (en) Comment method for interactive comment system, television and mobile terminal
CN113825031A (en) Live content generation method and device
CN104408984A (en) Intelligent teaching system comprising multiple teaching terminals
CN103200430A (en) Personal content sharing method, system, server and terminal devices
CN112769919B (en) Distribution method and device of push tasks, storage medium and electronic equipment
CN103595759B (en) Desktop presentation method based on high in the clouds
CN104485031A (en) Intelligent teaching system
CN112714186A (en) Distribution method of push streaming server, push method and device of media stream, storage medium and electronic equipment
CN107147718B (en) Directional advertisement data publishing method, server and intelligent television terminal
CN106202074B (en) Method and device for processing shared file
CN110609970B (en) User identity identification method and device, storage medium and electronic equipment
CN112632342A (en) Data query method and device, storage medium and electronic equipment
CN113031943A (en) Code generation method, device, storage medium and electronic equipment
CN112000911A (en) Page management method and device, electronic equipment and storage medium
CN104768034A (en) Method and device for distributing resources
CN112822243A (en) Selection method and device of plug flow server, storage medium and electronic equipment
CN112333050A (en) Conference performance testing method, device, equipment and storage medium based on simulation
CN108966034B (en) Virtual article display method, device and storage medium
CN113625936A (en) Data processing method, device, storage medium and equipment
CN114339280A (en) Multimedia information transmission method and device applied to network teaching
CN112804540A (en) Media stream pushing method and device, storage medium and electronic equipment

Legal Events

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