A data display method and device, computer equipment and storage medium
By determining the display status of classroom icons based on historical learning frequency and learning progress in online education, the problem of users being unable to quickly understand course information is solved, resulting in a better learning experience.
Patent Information
- Application Number
- CN202111240740.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-25
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2041-10-25
AI Technical Summary
In online education, users can only see whether they have taken a course and their learning progress after completing it, but they cannot quickly learn more relevant information, resulting in a poor learning experience.
The server receives class requests from users, determines the display status of each class icon based on historical learning counts and learning progress, and sends it to the user for display. The user then displays the class icon according to the display status.
Users can quickly understand the learning progress of each class through the user interface, thus improving the online education learning experience.
Smart Images

Figure CN116027947B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and more specifically, to a data display method, apparatus, computer equipment, and storage medium. Background Technology
[0002] With the popularization of the internet, online education has gradually entered many families. Online education can break through the limitations of time and space, improve learning efficiency, and at the same time, it can overcome the unequal distribution of educational resources caused by geographical and other factors, making educational resources shared and lowering the threshold for learning.
[0003] In online education, users can learn relevant knowledge by watching pre-recorded courses. However, in related technologies, once a user has already studied a course, they can often only see whether they have studied the course and their learning progress. They cannot quickly learn more relevant information through the user interface, resulting in a poor online education learning experience. Summary of the Invention
[0004] This disclosure provides at least one data display method, apparatus, computer device, and storage medium.
[0005] In a first aspect, embodiments of this disclosure provide a data display method applied to a server, comprising:
[0006] Receive class requests sent by the user client;
[0007] Determine the classroom identifier corresponding to the class request, and the display status corresponding to each classroom identifier, wherein the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier;
[0008] The classroom identifier and its corresponding display status are sent to the user terminal so that the user terminal displays each classroom identifier according to its respective display status.
[0009] In one possible implementation, the method further includes:
[0010] Receive a classroom data acquisition request sent by the user terminal based on the target classroom identifier in the classroom identifier;
[0011] The classroom data corresponding to the target classroom identifier will be sent to the user terminal for display.
[0012] In one possible implementation, after receiving a classroom data acquisition request initiated by the user terminal based on the target classroom identifier in the classroom identifier, the method further includes:
[0013] Update the historical learning count of the target classroom identifier stored in the database.
[0014] In one possible implementation, the method further includes determining the display status corresponding to each classroom icon according to the following method:
[0015] Set the display status of the first classroom identifier, whose historical learning count does not exceed a preset number, to the first display status; and...
[0016] Based on the difference in learning progress between each learning session in the second classroom identifier whose historical learning frequency exceeds the preset number, the second display state of the second classroom identifier is determined.
[0017] In one possible implementation, the method further includes:
[0018] Receive the answer request sent by the user terminal based on the interactive events in the classroom data;
[0019] Based on the identifier of the interaction event, the identifier of the user terminal, and the identifier of the target classroom, an answer identifier corresponding to the answer request is generated, and the answer identifier is sent to the user terminal to record the answer information of the user terminal in this question.
[0020] Receive and store the answer identifier and answer information sent by the user terminal.
[0021] Secondly, this disclosure provides a data display method applied to a user terminal, including:
[0022] Responding to the target-triggered action, a class request is sent;
[0023] Receive the classroom identifier corresponding to the class request, and the display status corresponding to each classroom identifier, wherein the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier;
[0024] The classroom icons are displayed according to their respective display states.
[0025] Thirdly, this disclosure also provides a data display device applied to a server, comprising:
[0026] The first receiving module is used to receive class requests sent by the user client;
[0027] The determination module is used to determine the classroom identifier corresponding to the class request, and the display status corresponding to each classroom identifier, wherein the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier;
[0028] The first sending module is used to send the classroom identifier and the corresponding display status of the classroom identifier to the user terminal, so that the user terminal displays each classroom identifier according to the display status corresponding to each classroom identifier.
[0029] In one possible implementation, the first receiving module is further configured to:
[0030] Receive a classroom data acquisition request sent by the user terminal based on the target classroom identifier in the classroom identifier;
[0031] The classroom data corresponding to the target classroom identifier will be sent to the user terminal for display.
[0032] In one possible implementation, after receiving a classroom data acquisition request initiated by the user terminal based on the target classroom identifier in the classroom identifier, the first receiving module is further configured to:
[0033] Update the historical learning count of the target classroom identifier stored in the database.
[0034] In one possible implementation, the determining module, when determining the display status corresponding to each classroom identifier, is used to:
[0035] Set the display status of the first classroom identifier, whose historical learning count does not exceed a preset number, to the first display status; and...
[0036] Based on the difference in learning progress between each learning session in the second classroom identifier whose historical learning frequency exceeds the preset number, the second display state of the second classroom identifier is determined.
[0037] In one possible implementation, the first receiving module is further configured to:
[0038] Receive the answer request sent by the user terminal based on the interactive events in the classroom data;
[0039] Based on the identifier of the interaction event, the identifier of the user terminal, and the identifier of the target classroom, an answer identifier corresponding to the answer request is generated, and the answer identifier is sent to the user terminal to record the answer information of the user terminal in this question.
[0040] Receive and store the answer identifier and answer information sent by the user terminal.
[0041] Fourthly, embodiments of this disclosure also provide a data display device, applied to a user terminal, including:
[0042] The second sending module is used to respond to the target trigger operation and send a class request;
[0043] The second receiving module is used to receive the classroom identifier corresponding to the class request, and the display status corresponding to each classroom identifier, wherein the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier;
[0044] The display module is used to display each classroom identifier according to its corresponding display status.
[0045] Fifthly, embodiments of this disclosure also provide a computer device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, they perform the steps in any of the possible implementations of the first or second aspect described above.
[0046] In a sixth aspect, embodiments of this disclosure also provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps in any of the possible implementations of the first or second aspect described above.
[0047] The data display method, apparatus, computer equipment, and storage medium provided in this disclosure, after receiving a class request from a user, determine the display status of each class identifier based on the historical learning count and learning progress corresponding to each class identifier, and display each class identifier on the user terminal according to the display status corresponding to each class identifier. This allows the user to quickly understand their learning status in each class through the display interface on the user terminal when starting to learn the course, thereby improving the user's online education learning experience.
[0048] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0049] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. These drawings are incorporated in and constitute a part of this specification. They illustrate embodiments conforming to this disclosure and, together with the specification, serve to explain the technical solutions of this disclosure. It should be understood that the following drawings only show some embodiments of this disclosure and should not be considered as limiting the scope. Those skilled in the art can obtain other related drawings based on these drawings without creative effort.
[0050] Figure 1 A flowchart of a data display method provided by an embodiment of this disclosure is shown;
[0051] Figure 2 A flowchart illustrating a specific method for receiving and storing response information sent by the user terminal in the data display method provided in this embodiment of the present disclosure is shown.
[0052] Figure 3 A flowchart of another data display method provided by an embodiment of this disclosure is shown;
[0053] Figure 4 An interactive flowchart of the data display method provided in an embodiment of this disclosure is shown;
[0054] Figure 5 This diagram illustrates the architecture of a data display device provided in an embodiment of the present disclosure;
[0055] Figure 6 This illustration shows a schematic diagram of the architecture of another data display device provided in an embodiment of the present disclosure;
[0056] Figure 7 A schematic diagram of the structure of a computer device provided in an embodiment of this disclosure is shown. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. The components of the embodiments of this disclosure described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.
[0058] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0059] In this document, the term "and / or" merely describes a relationship, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0060] Research has found that in online education, users can learn relevant knowledge by watching pre-recorded courses. However, in related technologies, once a user has already studied a course, they can often only see whether they have studied the course and their learning progress. They cannot quickly learn more relevant information through the user interface, resulting in a poor online education learning experience.
[0061] Based on the above research, this disclosure provides a data display method, apparatus, computer equipment, and storage medium. After receiving a class request from a user, the display status of each class identifier is determined based on the historical learning count and learning progress corresponding to each class identifier. The user then displays each class identifier on the user's end according to its respective display status. This allows the user to quickly understand their learning progress in each class through the user's end's display interface when starting a course, thereby improving the user's online education learning experience.
[0062] To facilitate understanding of this embodiment, a data display method disclosed in this disclosure will first be described in detail. The execution entity of the data display method provided in this disclosure is generally a server with a certain computing power. In some possible implementations, this data display method can be implemented by a processor calling computer-readable instructions stored in memory.
[0063] See Figure 1 The diagram shown is a flowchart of a data display method provided in an embodiment of this disclosure, applied to a server. The method includes steps S101 to S103, wherein:
[0064] S101: Receive class request sent by the user client.
[0065] S102: Determine the classroom identifier corresponding to the class request, and the display status corresponding to each classroom identifier, wherein the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier.
[0066] S103: Send the classroom identifier and the corresponding display status of the classroom identifier to the user terminal, so that the user terminal displays each classroom identifier according to the display status corresponding to each classroom identifier.
[0067] The following is a detailed explanation of the steps described above.
[0068] For S101 and S102, the class request may be generated after the user responds to the target trigger operation of the button representing "start course learning".
[0069] For example, a user on the client-side can send a class request to the server by triggering the "Advanced Mathematics" button on the client-side display page, in order to begin learning advanced mathematics-related content.
[0070] Accordingly, after receiving the class request, the server can determine the class identifier corresponding to the class request, as well as the display status corresponding to each class identifier. The display status corresponding to each class identifier is determined based on the historical learning count and learning progress corresponding to each class identifier.
[0071] Here, when determining the classroom identifier corresponding to the class request, the course identifier carried by the class request can be determined first, and then the classroom identifier corresponding to the class request can be determined through the correspondence between the course identifier and the classroom identifier.
[0072] Specifically, a class request represents a user's request to start learning a certain course. The course can consist of multiple classes. For example, the course "Advanced Mathematics" can consist of multiple complete learning videos. A complete learning video can be regarded as a class. Or, course video 1 can be divided into multiple video segments in advance. A video segment can also be regarded as a class. This disclosure does not limit this.
[0073] For example, taking the request to attend a class as an example of requesting a higher mathematics course, after receiving the relevant request, the server can determine the 16 learning videos included in the higher mathematics course, as well as the class identifier corresponding to each learning video.
[0074] In one possible implementation, the display status of each classroom icon can be determined as follows:
[0075] Method 1: Set the display status of the first classroom identifier, whose historical learning count does not exceed a preset number, to the first display status.
[0076] Here, when setting the display state of the first classroom icon to the first display state, at least one of the attributes of the first classroom icon, such as display color, transparency, and display size, can be set to a first preset value.
[0077] For example, taking the preset number of times as 3 times, the display color of the first lesson identifier with no more than 3 historical learning times can be set to green (that is, the pixel value corresponding to the first lesson identifier is set to the pixel value corresponding to green).
[0078] Method 2: Based on the difference in learning progress between each learning session in the second classroom identifier whose historical learning frequency exceeds the preset number, determine the second display state of the second classroom identifier.
[0079] Here, determining the second display state of the second classroom identifier can be achieved by setting at least one of the attributes of the second classroom identifier, such as display color, transparency, and display size, to a second preset value; the user's learning progress during each learning session can be the time period corresponding to a certain video segment in the learning video during the learning process, for example, the learning progress corresponding to user A's current learning session is the time period from the 15th to the 20th minute of the class.
[0080] Specifically, when determining the second display state of the second classroom identifier based on the differences in learning progress between each learning session, the determined second display state may also be different depending on the intersection of learning progress during each learning session.
[0081] Scenario 1: There are overlapping parts in the learning progress of each learning session, and the number of intersections and / or the duration of intersections meet the preset conditions.
[0082] Here, the number of intersections can represent the number of times the learning progress of any learning session intersects with the learning progress of other learning sessions. If the learning progress of the fourth learning session intersects with the learning progress of the previous three learning sessions, then the number of intersections corresponding to the fourth learning session can be recorded as 1 (that is, for any learning session, as long as there is an intersection with the learning progress of previous learning sessions, the newly added number of intersections for that learning session is recorded as 1). Alternatively, the number of intersections corresponding to the fourth learning session can also be recorded as 3 (that is, if there is an intersection with the learning progress of the previous N learning sessions, the newly added number of intersections can be recorded as N). This embodiment of the present disclosure does not limit this. The number of intersections satisfying the preset condition can be that the number of intersections exceeds the intersection threshold. The intersection duration represents the duration of the intersection portion of the time period corresponding to the learning progress of each learning session. The intersection duration satisfying the preset condition can be that the intersection duration exceeds the preset duration. The number of intersections and the intersection duration satisfying the preset condition can be that the number of intersections with the corresponding intersection duration exceeding the preset duration exceeds the preset number of intersections.
[0083] For example, user A has studied learning video 1 a total of 4 times. The corresponding learning progress for each study session is as follows: 1-45 minutes, 10-20 minutes, 15-20 minutes, and 18-20 minutes. The overlapping part of the learning progress for each study session is 18-20 minutes, and the number of intersections is 3. At this time, based on the number of intersections, the display color of the second classroom icon corresponding to learning video 1 is determined to be red, indicating that there is content in learning video 1 that user A has watched repeatedly. This content is more likely to be content that user A has not mastered well. Therefore, red can be used to highlight the content to remind user A to review it in the future.
[0084] Scenario 2: There are overlapping parts in the learning progress of each learning session, but the number of intersections and the duration of intersections do not meet the preset conditions.
[0085] At this point, since the number of intersections and the duration of intersections do not meet the preset conditions, the probability that a user needs to review is low.
[0086] For example, user B has studied learning video 2 twice. The corresponding learning progress for each study session is from minute 1 to 45 and from minute 10 to 20, respectively. The overlapping part of the learning progress for each study session is from minute 18 to 20, and the number of intersections is 1. At this time, based on the number of intersections, the display color of the second classroom icon corresponding to learning video 2 is determined to be orange, indicating that there is content in learning video 1 that user B has watched repeatedly. However, this content may be content that user B has not mastered well, or it may not be content that user B has not mastered well. Therefore, orange, which is used to highlight the general display effect, can be used to prompt user B.
[0087] Scenario 3: There is no overlap between the learning progress of each learning session.
[0088] At this point, since there is no overlap between the learning progresses, there may not be any content that the user needs to review. Therefore, the second display state determined at this time may not have a prominent display effect. For example, green, which does not have a prominent display effect, can be used as the second display state of the second classroom identifier.
[0089] In one possible implementation, the knowledge point corresponding to the intersecting part can be identified as the target knowledge point, and the target knowledge point identifier corresponding to the target knowledge point can be sent to the user terminal together with the second classroom identifier. In order to prompt the user that the knowledge point corresponding to the target knowledge point identifier is the knowledge point that the user needs to review by simultaneously displaying the second classroom identifier and the target knowledge point identifier on the user terminal.
[0090] S103: Send the classroom identifier and the corresponding display status of the classroom identifier to the user terminal, so that the user terminal displays each classroom identifier according to the display status corresponding to each classroom identifier.
[0091] Here, since the display status of each classroom icon is determined based on the historical number of learning sessions and learning progress corresponding to each classroom icon, displaying each classroom icon according to its corresponding display status can provide a more detailed picture of the user's learning situation in each classroom. This allows users to quickly understand the detailed learning situation in each classroom and improves the user's online education learning experience.
[0092] In one possible implementation, the server may also receive a classroom data acquisition request initiated by the user terminal based on the target classroom identifier in the classroom identifier; then, the server may send the classroom data corresponding to the target classroom identifier to the user terminal for display.
[0093] Here, the classroom data corresponding to the target classroom identifier can be the target video data corresponding to the target classroom identifier.
[0094] For example, after receiving classroom identifier 1, classroom identifier 2, and classroom identifier 3, the user terminal can display each classroom identifier according to the display status corresponding to each classroom identifier, and respond to the user's trigger operation, take classroom identifier 2 as the target classroom identifier, and send a classroom data acquisition request containing classroom identifier 2 to the server to obtain the target video data corresponding to classroom identifier 2.
[0095] Furthermore, after receiving a classroom data acquisition request initiated by the user terminal based on the target classroom identifier in the classroom identifier, the historical learning count of the stored target classroom identifier can also be updated.
[0096] Specifically, since the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier, after the user sends a classroom data acquisition request to the server, the historical learning corresponding to the target classroom identifier can be updated accordingly, so as to facilitate the subsequent determination of the display status corresponding to the target classroom identifier.
[0097] In practical applications, after the user obtains the classroom data corresponding to the target classroom identifier, the user can start learning in the target classroom. In order to improve the learning effect and enhance the user's sense of participation, interactive events can be set in the target classroom.
[0098] One possible implementation, such as Figure 2As shown, the response information sent by the user terminal can be received and stored through the following steps:
[0099] S201: Receive the answer request sent by the user terminal based on the interactive events in the classroom data.
[0100] S202: Based on the identifier of the interaction event, the identifier of the user terminal, and the identifier of the target classroom, generate an answer identifier corresponding to the answer request, and send the answer identifier to the user terminal to record the answer information of the user terminal in this question.
[0101] S203: Receive and store the answer identifier and the answer information sent by the user terminal.
[0102] Here, when generating the answer identifier corresponding to the answer request based on the identifier of the interaction event, the identifier of the user terminal, and the identifier of the target classroom, a preset identifier generation algorithm can be used to generate the answer identifier corresponding to this answer request, thereby facilitating the subsequent recording of the answer data.
[0103] For example, the answer identifier can be generated based on the identifier of the interaction event, the identifier of the user terminal, the identifier of the target classroom, and the Snowflake algorithm.
[0104] Specifically, after receiving the answer identifier sent by the server, the user can send the answer information and the answer identifier to the server. After receiving the answer identifier and the answer information, the server can store them accordingly, thereby completing the data recording of the user's answer for this question.
[0105] In this way, after determining the answer identifier, the multiple answer results given by the same user in the same answering stage can be statistically analyzed through the answer identifier, thereby enabling a complete statistical analysis of the user's answering situation, which is convenient for subsequent learning analysis.
[0106] See Figure 3 The diagram shown is a flowchart of a data display method provided in an embodiment of this disclosure, applied to a user terminal. The method includes steps S301 to S303, wherein:
[0107] S301: Respond to the target trigger operation and send a class request.
[0108] S302: Receive the classroom identifier corresponding to the class request, and the display status corresponding to each classroom identifier, wherein the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier.
[0109] S303: Display each classroom identifier according to its corresponding display status.
[0110] Specifically, the relevant content of S301 to S303 is described above and will not be repeated here.
[0111] The following section, using an interactive flowchart, will describe the interaction process between the user and the server during the execution of the above data display method.
[0112] See Figure 4 The diagram shown is an interactive flowchart of the data display method provided in this embodiment of the disclosure. Figure 4 The method includes a user client, a teaching server, a database, and a message queue. The teaching server, database, and message queue are different modules of the server, which can be deployed on the same server or distributed across different servers. The method includes steps S401 to S424, wherein:
[0113] S401: The teaching server receives class requests sent by the user client.
[0114] Here, the class request can be sent by the user client after responding to the target trigger operation.
[0115] S402: The teaching server determines whether the user corresponding to the user terminal has already studied the target course.
[0116] In one possible implementation, when determining whether a user corresponding to the user terminal has already studied the target course, the teaching progress table corresponding to the user terminal can be queried from the database. If the course identifier corresponding to the target course exists in the teaching progress table, it can be determined that the user corresponding to the user terminal has already studied the target course; otherwise, if the course identifier corresponding to the target course does not exist in the teaching progress table, it can be determined that the user corresponding to the user terminal has not studied the target course.
[0117] For example, taking MongoDB as the database, the fields in the database table structure corresponding to the teaching progress table may include user identifier, course identifier, course type, course completion status, progress information, update time, etc. By querying the course identifier, it can be determined whether the user has studied the target course.
[0118] Specifically, if the user corresponding to the user terminal has already studied the target course, then execute S403; if the user corresponding to the user terminal has not studied the target course, then execute S404.
[0119] S403: The teaching server retrieves the target progress information corresponding to the target course from the database and sends the target progress information to the user terminal.
[0120] Here, the target progress information may include the classroom identifiers of the first classroom that the user has already studied and the classroom identifiers of the second classroom that the user has not yet studied.
[0121] Furthermore, the teaching server can also determine the display status corresponding to the classroom identifier of each of the first classrooms. The details of determining the display status of the classroom identifier can be found in the relevant description above, and will not be repeated here.
[0122] S404: Create a learning record in the database corresponding to the user terminal.
[0123] Here, when creating a learning record corresponding to the user terminal in the database, a course identifier for the target course can be added to the teaching progress table corresponding to the user terminal to record the user's learning of the target course.
[0124] S405: Send the class event corresponding to the class request to the message queue for storage.
[0125] Here, the class event may include the user identifier and course identifier of the user terminal corresponding to this class request, so as to complete the recording of the user terminal starting this learning session.
[0126] For example, taking the message queue as a RocketMQ message queue, the course start event can be added to the RocketMQ message queue in an asynchronous manner to record the start of learning by the user.
[0127] Thus, through the above steps S401 to S405, data recording for the "start learning the target course" stage on the user terminal can be completed. At this time, the user terminal can receive the target progress information sent by the teaching server. The user terminal can display the classroom identifiers corresponding to each class included in the target course through the target progress information. The user can send a classroom data acquisition request to the teaching server by triggering a target operation on any of the classroom identifiers.
[0128] S406: The teaching server receives a request from the user client to retrieve classroom data.
[0129] S407: The teaching server determines whether the user corresponding to the user terminal has already completed the learning in the target class.
[0130] In one possible implementation, when determining whether the user corresponding to the user terminal has already studied the target class, since the target progress includes the classroom identifier of the first class that the user terminal has already studied and the classroom identifier of the second class that the user terminal has not studied, it is possible to determine whether the user corresponding to the user terminal has already studied the target class by obtaining the target progress information corresponding to the target course from the database.
[0131] Specifically, if the user corresponding to the user terminal has already completed the learning in the target classroom, then execute S408; if the user corresponding to the user terminal has not completed the learning in the target classroom, then execute S409.
[0132] S408: The teaching server sends a notification message to the user terminal to indicate that the user corresponding to the user terminal has completed the learning in the target class.
[0133] Here, if the user terminal has locally stored the class data of the target class that has already been completed, the teaching server can send a prompt message to the user terminal to indicate that the user terminal has completed the learning of the target class, and the user terminal can display the class data of the target class that the user terminal has saved; however, if the user terminal has not locally stored the class data of the target class that has already been completed, the server can send the class data corresponding to the target class to the user terminal at the same time as sending the prompt message.
[0134] S409: Update the learning status in the database corresponding to the target classroom to "learning", and send the classroom data corresponding to the target classroom to the user terminal.
[0135] Here, the database can store classroom record tables corresponding to each classroom. For any classroom, the classroom record table can record the user's learning status for that classroom and the classroom data, etc.
[0136] Specifically, the learning status in the target classroom record table corresponding to the target classroom can be updated to "learning", the classroom data in the target classroom record table can be read, and then the classroom data corresponding to the target classroom can be sent to the user terminal.
[0137] S410: Send the classroom data acquisition event corresponding to the classroom data acquisition request to the message queue for storage.
[0138] Here, the classroom data acquisition event may include the user identifier of the user terminal corresponding to this class request and the target classroom identifier, thereby enabling the recording of the user terminal's current learning of the target classroom.
[0139] For example, still taking the message queue as a RocketMQ message queue, the classroom data acquisition event can be added to the RocketMQ message queue in an asynchronous manner to record the start of the target classroom learning by the user.
[0140] Thus, through steps S406 to S410 above, data recording for the "start target classroom learning" stage on the user terminal can be completed. At this time, the user terminal corresponding to the user terminal can begin learning in the target classroom. During classroom learning, the user terminal can send answer requests based on the interactive events in the classroom data.
[0141] S411: The teaching server receives the answer request sent by the user.
[0142] S412: Based on the identifier of the interaction event, the identifier of the user terminal, and the identifier of the target classroom, generate an answer identifier corresponding to the answer request, and send the answer identifier to the user terminal to record the answer information of the user terminal in this question.
[0143] S413: Receive and store the answer identifier and the answer information sent by the user terminal.
[0144] For details regarding S411 to S413, please refer to the descriptions of S201 to S203 above, which will not be repeated here.
[0145] S414: Send the answer event corresponding to the answer request to the message queue for storage.
[0146] Here, the answer event may include the user identifier of the user terminal corresponding to this class request and the identifier of the interaction event, so as to complete the recording of the interaction event of the user terminal this time.
[0147] For example, taking the message queue as a RocketMQ message queue, the answer event can be added to the RocketMQ message queue in an asynchronous manner to record the user's answer to the question.
[0148] In this way, through the above S410 to S414, the data recording of the "start answering questions" stage of the user terminal can be completed. At this time, after the user terminal answers the questions and completes the learning of the target class, the user can send a request to the teaching server to complete the learning of the target class in order to record the completion status of the learning of the target class.
[0149] S415: The teaching server receives a class end request sent by the user.
[0150] Here, the class end request can be generated after the user has finished displaying the class data of the target classroom.
[0151] For example, taking the classroom data as video data, after the user finishes playing the video data, the class end request can be generated and sent.
[0152] S416: The teaching server determines whether the user corresponding to the user terminal has completed the learning of the target class.
[0153] Here, when determining whether the user corresponding to the user terminal has completed the learning of the target class, the learning status in the target class record table corresponding to the target class can be queried to see if the learning status is "learning completed". If the learning status is "learning completed", it means that the user corresponding to the user terminal has completed the learning of the target class; if the learning status is "learning in progress", it means that the user corresponding to the user terminal has not completed the learning of the target class.
[0154] Specifically, if the user corresponding to the user terminal has completed the learning of the target class, then execute S417; if the user corresponding to the user terminal has not completed the learning of the target class, then execute S418.
[0155] S417: The teaching server sends a notification message to the user terminal to indicate that the user corresponding to the user terminal has completed the learning of the target class.
[0156] S418: Update the learning status in the database corresponding to the target classroom to "learning completed".
[0157] Here, the learning status in the target classroom record table corresponding to the target classroom can be updated to "learning completed".
[0158] S419: Send the class end event corresponding to the class end request to the message queue for storage.
[0159] Here, the class end event may include the user identifier of the user terminal corresponding to this class request and the target classroom identifier, so as to complete the recording of the user terminal's end of learning in the target classroom.
[0160] For example, taking the message queue as a RocketMQ message queue, the class end event can be added to the RocketMQ message queue in an asynchronous manner to record that the user corresponding to the user terminal has ended the learning of the target class.
[0161] Thus, by performing steps S415 to S419 above, the data recording for the "end of target class learning" stage on the user terminal can be completed. At this time, the user terminal can reselect the target class they want to learn and start learning accordingly. The corresponding steps are to repeat steps S406 to S419 above. In addition, if the user terminal has completed the learning of all classes in the target course, it can also send a course end request to the teaching server.
[0162] S420: The teaching server receives a course end request sent by the user.
[0163] S421: The teaching server determines whether the user corresponding to the user terminal has completed the learning of the target course.
[0164] Here, when determining whether the user corresponding to the user terminal has completed the learning of the target course, the course completion status in the teaching progress table can be used for judgment. If the course completion status is "learning completed", it means that the user corresponding to the user terminal has completed the learning of the target course; while if the course completion status is "learning in progress", it means that the user corresponding to the user terminal has not completed the learning of the target course.
[0165] Specifically, if the user corresponding to the user terminal has completed the learning of the target course, then execute S422; if the user corresponding to the user terminal has not completed the learning of the target course, then execute S423.
[0166] S422: The teaching server sends a notification message to the user terminal to indicate that the user corresponding to the user terminal has completed the learning of the target course.
[0167] S423: Update the learning status of the target course in the database to "learning completed".
[0168] Here, the learning status corresponding to the target course in the teaching schedule can be updated to "learning completed".
[0169] S424: Send the course end event corresponding to the course end request to the message queue for storage.
[0170] Here, the course completion information may include the user identifier and course identifier of the user terminal corresponding to this class request, thereby enabling the recording of the user terminal's completion of the target course.
[0171] For example, taking the message queue as a RocketMQ message queue, the course completion event can be added to the RocketMQ message queue in an asynchronous manner to record that the user corresponding to the client has finished learning the target course.
[0172] In this way, by using the above steps S420 to S424, the data recording for the "end of target course learning" stage on the user side can be completed.
[0173] In summary, through the above steps S401 to S424, the entire process of data recording during the user's online learning can be completed, encompassing the five stages of "starting target course learning," "starting target classroom learning," "starting answering questions," "ending target classroom learning," and "ending target course learning." Each stage sends events corresponding to relevant requests to a message queue for storage, thus comprehensively recording events during the user's online learning process. This facilitates subsequent learning analysis of the user corresponding to any given user based on the events stored in the message queue, and allows for the creation of personalized teaching plans for that user based on the analysis results.
[0174] The data display method provided in this embodiment, after receiving a class request from a user, determines the display status of each class identifier based on the historical learning count and learning progress corresponding to each class identifier, and displays each class identifier on the user's terminal according to the display status of each class identifier. This allows the user to quickly understand their learning status in each class through the display interface on the user's terminal when starting a course, thereby improving the user's online education learning experience.
[0175] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0176] Based on the same inventive concept, this disclosure also provides an apparatus corresponding to the data display method. Since the principle of the apparatus in this disclosure for solving the problem is similar to the data display method described above, the implementation of the apparatus can refer to the implementation of the method, and repeated details will not be repeated.
[0177] Reference Figure 5 The diagram shown is an architectural schematic of a data display device provided in an embodiment of this disclosure, applied to a server. The device includes: a first receiving module 501, a determining module 502, and a first sending module 503; wherein,
[0178] The first receiving module 501 is used to receive class requests sent by the user terminal;
[0179] The determining module 502 is used to determine the classroom identifier corresponding to the class request, and the display status corresponding to each classroom identifier, wherein the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier;
[0180] The first sending module 503 is used to send the classroom identifier and the corresponding display status of the classroom identifier to the user terminal, so that the user terminal displays each classroom identifier according to the display status corresponding to each classroom identifier.
[0181] In one possible implementation, the first receiving module 501 is further configured to:
[0182] Receive a classroom data acquisition request sent by the user terminal based on the target classroom identifier in the classroom identifier;
[0183] The classroom data corresponding to the target classroom identifier will be sent to the user terminal for display.
[0184] In one possible implementation, after receiving a classroom data acquisition request initiated by the user terminal based on the target classroom identifier in the classroom identifier, the first receiving module 501 is further configured to:
[0185] Update the historical learning count of the target classroom identifier stored in the database.
[0186] In one possible implementation, the determining module 502, when determining the display status corresponding to each classroom identifier, is used to:
[0187] Set the display status of the first classroom identifier, whose historical learning count does not exceed a preset number, to the first display status; and...
[0188] Based on the difference in learning progress between each learning session in the second classroom identifier whose historical learning frequency exceeds the preset number, the second display state of the second classroom identifier is determined.
[0189] In one possible implementation, the first receiving module 501 is further configured to:
[0190] Receive the answer request sent by the user terminal based on the interactive events in the classroom data;
[0191] Based on the identifier of the interaction event, the identifier of the user terminal, and the identifier of the target classroom, an answer identifier corresponding to the answer request is generated, and the answer identifier is sent to the user terminal to record the answer information of the user terminal in this question.
[0192] Receive and store the answer identifier and answer information sent by the user terminal.
[0193] Reference Figure 6 The diagram shown illustrates the architecture of another data display device provided in this embodiment of the present disclosure, applied to a user terminal. The device includes: a second sending module 601, a second receiving module 602, and a display module 603; wherein...
[0194] The second sending module 601 is used to respond to the target trigger operation and send a class request;
[0195] The second receiving module 602 is used to receive the classroom identifier corresponding to the class request, and the display status corresponding to each classroom identifier, wherein the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier;
[0196] The display module 603 is used to display each classroom identifier according to the display status corresponding to each classroom identifier.
[0197] The data display device provided in this embodiment, after receiving a class request from a user, determines the display status of each class identifier based on the historical learning count and learning progress corresponding to each class identifier, and displays each class identifier on the user's terminal according to the display status of each class identifier. This allows the user to quickly understand their learning status in each class through the display interface on the user's terminal when starting a course, thereby improving the user's online education learning experience.
[0198] The processing flow of each module in the device and the interaction flow between each module can be referred to the relevant descriptions in the above method embodiments, and will not be detailed here.
[0199] Based on the same technical concept, this disclosure also provides a computer device. (See also...) Figure 7 The diagram shows the structure of a computer device 700 provided in this embodiment, including a processor 701, a memory 702, and a bus 703. The memory 702 stores execution instructions and includes main memory 7021 and external memory 7022. The main memory 7021, also called internal memory, is used to temporarily store computational data in the processor 701 and data exchanged with external memory 7022 such as a hard disk. The processor 701 exchanges data with the external memory 7022 through the main memory 7021. When the computer device 700 is running, the processor 701 and the memory 702 communicate through the bus 703, causing the processor 701 to execute the following instructions:
[0200] Receive class requests sent by the user client;
[0201] Determine the classroom identifier corresponding to the class request, and the display status corresponding to each classroom identifier, wherein the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier;
[0202] The classroom identifier and its corresponding display status are sent to the user terminal so that the user terminal displays each classroom identifier according to its respective display status.
[0203] In one possible implementation, the instructions of the processor 701 further include:
[0204] Receive a classroom data acquisition request sent by the user terminal based on the target classroom identifier in the classroom identifier;
[0205] The classroom data corresponding to the target classroom identifier will be sent to the user terminal for display.
[0206] In one possible implementation, after receiving the classroom data acquisition request initiated by the user terminal based on the target classroom identifier in the classroom identifier, the instructions of the processor 701 further include:
[0207] Update the historical learning count of the target classroom identifier stored in the database.
[0208] In one possible implementation, the instructions of the processor 701 further include determining the display status corresponding to each classroom identifier according to the following method:
[0209] Set the display status of the first classroom identifier, whose historical learning count does not exceed a preset number, to the first display status; and...
[0210] Based on the difference in learning progress between each learning session in the second classroom identifier whose historical learning frequency exceeds the preset number, the second display state of the second classroom identifier is determined.
[0211] In one possible implementation, the instructions of the processor 701 further include:
[0212] Receive the answer request sent by the user terminal based on the interactive events in the classroom data;
[0213] Based on the identifier of the interaction event, the identifier of the user terminal, and the identifier of the target classroom, an answer identifier corresponding to the answer request is generated, and the answer identifier is sent to the user terminal to record the answer information of the user terminal in this question.
[0214] Receive and store the answer identifier and answer information sent by the user terminal.
[0215] Alternatively, the processor 701 may execute the following instructions:
[0216] Responding to the target-triggered action, a class request is sent;
[0217] Receive the classroom identifier corresponding to the class request, and the display status corresponding to each classroom identifier, wherein the display status corresponding to each classroom identifier is determined based on the historical learning count and learning progress corresponding to each classroom identifier;
[0218] The classroom icons are displayed according to their respective display states.
[0219] This disclosure also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the data display method described in the above method embodiments. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0220] This disclosure also provides a computer program product carrying program code. The program code includes instructions that can be used to execute the steps of the data display method described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.
[0221] The aforementioned computer program product can be implemented through hardware, software, or a combination thereof. In one optional embodiment, the computer program product is specifically embodied in a computer storage medium; in another optional embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.
[0222] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division; in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0223] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0224] In addition, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0225] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0226] Finally, it should be noted that the above-described embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.
Claims
1. A data presentation method, characterized by, Applied to a server, comprising: Receiving a class request sent by a user end; Determining a class identifier corresponding to the class request, and a display state corresponding to each class identifier, wherein the display state corresponding to each class identifier is determined based on a historical learning number corresponding to each class identifier and a learning progress at each learning time, wherein the learning progress refers to a time period corresponding to a video segment that has been watched in a class corresponding to each class identifier; Sending the class identifier and the display state corresponding to the class identifier to the user end, so that the user end displays each class identifier according to the display state corresponding to each class identifier; The method further comprises determining the display state corresponding to each class identifier according to the following method: Setting the display state of a first class identifier with a historical learning number less than a preset number to a first display state; and Determining a second display state of a second class identifier based on the difference between the learning progress corresponding to each learning time in the second class identifier with a historical learning number greater than the preset number; Wherein, the second display state of the second class identifier is determined based on the intersection part of the learning progress corresponding to each learning time in the second class identifier with a historical learning number greater than the preset number. The method further comprises:
2. The method of claim 1, wherein, Receiving a class data acquisition request initiated by a target class identifier in the class identifier based on the class data sent by the user end; Sending the class data corresponding to the target class identifier to the user end for display. After receiving the class data acquisition request initiated by the target class identifier in the class identifier based on the class data sent by the user end, the method further comprises:
3. The method of claim 2, wherein, Updating the historical learning number of the target class identifier stored. The method further comprises:
4. The method of claim 2, wherein, Receiving an answer request sent by the user end based on an interaction event in the class data; Based on the identifier of the interaction event, the identifier of the user end and the target class identifier, generating an answer identifier corresponding to the answer request, and sending the answer identifier to the user end to record the answer information of this time answer of the user end; Receiving and storing the answer identifier and the answer information sent by the user end. Applied to a user end, comprising:
5. A data presentation method, characterized by, Sending a class request in response to a target trigger operation; Receiving a class identifier corresponding to the class request, and a display state corresponding to each class identifier, wherein the display state corresponding to each class identifier is determined based on a historical learning number corresponding to each class identifier and a learning progress at each learning time, wherein the learning progress refers to a time period corresponding to a video segment that has been watched in a class corresponding to each class identifier; Displaying each class identifier according to the display state corresponding to each class identifier; The display state corresponding to each class identifier is determined by the following method: The display state of the first classroom identifier with the historical learning times not exceeding the preset number of times is set as a first display state; and The second display state of the second classroom identifier is determined based on the difference between the learning progress corresponding to each learning in the second classroom identifier with the historical learning times exceeding the preset number of times; The second display state of the second classroom identifier is determined based on the difference between the learning progress corresponding to each learning in the second classroom identifier with the historical learning times exceeding the preset number of times. The second display state of the second classroom identifier is determined based on the intersection part between the learning progress corresponding to each learning in the second classroom identifier with the historical learning times exceeding the preset number of times.
6. A data presentation device, characterized by Applied to a server, comprising: A first receiving module configured to receive a class request sent by a user end; A determining module configured to determine a classroom identifier corresponding to the class request and a display state corresponding to each classroom identifier, wherein the display state corresponding to each classroom identifier is determined based on a historical learning time corresponding to each classroom identifier and a learning progress at each learning, wherein the learning progress refers to a time period corresponding to a video segment that has been watched in a classroom corresponding to each classroom identifier; A first sending module configured to send the classroom identifier and the display state corresponding to the classroom identifier to the user end, so that the user end displays each classroom identifier according to the display state corresponding to each classroom identifier; The determining module is configured to: Set the display state of the first classroom identifier with the historical learning times not exceeding the preset number of times as a first display state; and Determine the second display state of the second classroom identifier based on the difference between the learning progress corresponding to each learning in the second classroom identifier with the historical learning times exceeding the preset number of times; The second display state of the second classroom identifier is determined based on the difference between the learning progress corresponding to each learning in the second classroom identifier with the historical learning times exceeding the preset number of times. The second display state of the second classroom identifier is determined based on the intersection part between the learning progress corresponding to each learning in the second classroom identifier with the historical learning times exceeding the preset number of times.
7. A data presentation device, characterized by Applied to a user end, comprising: A second sending module configured to send a class request in response to a target trigger operation; A second receiving module configured to receive a classroom identifier corresponding to the class request and a display state corresponding to each classroom identifier, wherein the display state corresponding to each classroom identifier is determined based on a historical learning time corresponding to each classroom identifier and a learning progress at each learning, wherein the learning progress refers to a time period corresponding to a video segment that has been watched in a classroom corresponding to each classroom identifier; A display module configured to display each classroom identifier according to the display state corresponding to each classroom identifier; The display state corresponding to each classroom identifier is determined by the following method: The display state of the first classroom identifier with the historical learning times not exceeding the preset number of times is set as a first display state; and The second display state of the second classroom identifier is determined based on a difference between learning progress corresponding to each learning in the second classroom identifier with the historical learning times exceeding the preset number of times; The second display state of the second classroom identifier is determined based on a difference between learning progress corresponding to each learning in the second classroom identifier with the historical learning times exceeding the preset number of times, including: The second display state of the second classroom identifier is determined based on an intersection part between learning progress corresponding to each learning in the second classroom identifier with the historical learning times exceeding the preset number of times.
8. A computer device, comprising: including: A processor, a memory and a bus, the memory stores machine readable instructions executable by the processor, when the computer device is running, the processor and the memory communicate through the bus, the machine readable instructions are executed by the processor to execute the steps of the data display method as claimed in any one of claims 1 to 4, or execute the steps of the data display method as claimed in claim 5.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, the computer program is executed by the processor to execute the steps of the data display method as claimed in any one of claims 1 to 4, or execute the steps of the data display method as claimed in claim 5.
Citation Information
Patent Citations
Online course management method and system
CN105574630A
The state of study display method
KR1020080094743A