Implementation method and system of session management record on-demand breakpoint information based on video plug flow, electronic equipment and readable storage medium
By monitoring and saving video on-demand requests in the session resource scheduling service, the problem of inconsistent video on-demand breakpoint records is solved, breakpoint sharing across devices and multiple platforms is achieved, and the smoothness and reliability of the video viewing experience is improved. Reduced development costs.
Patent Information
- Application Number
- CN202410736846.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-17
AI Technical Summary
Existing video-on-demand technology has inconsistencies across devices and multiple platforms when recording and restoring playback breakpoints, resulting in increased development costs and low data processing efficiency. In addition, the device directly shuts down or frequently sends breakpoint records, which puts pressure on the server.
Monitor video on demand requests in the session resource scheduling service, intercept and save user session request information, monitor session validity period or scheduled tasks, define playback end breakpoints and save them to the database to ensure that users can obtain breakpoint information at the next request, and implement video Unified recording and resumption of on-demand playback.
By uniformly recording and managing playback breakpoints on the server, it solves the problem of breakpoint sharing across devices and multiple platforms, improves the smoothness and reliability of the video viewing experience, reduces development costs, and reduces the load on the server.
Smart Images

Figure CN118660180A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of video processing, and in particular relates to a method, system, electronic device and readable storage medium for implementing session management and recording on-demand breakpoint information based on video streaming. Background Art
[0002] The current video on demand has the characteristics of cross-platform and multiple playback terminals. The methods of recording on-demand breakpoint information are diverse and not unified, and the terminal requires additional development costs such as docking adaptation when docking with the system.
[0003] In the prior art, commonly used playback breakpoints are saved locally on the user terminal, which is simple and convenient, but users cannot use playback breakpoint information across devices. Saving breakpoints on the server side can solve the benefit of sharing breakpoints on multiple screens, but it usually requires the terminal device to actively send breakpoint records, which has some disadvantages.
[0004] First, if the breakpoint record is sent only when the video playback ends, the device may be shut down and lose power without enough time to save the breakpoint record to the server. Second, if the breakpoint record is sent to the server at regular intervals, it will inevitably cause great pressure on the server. Finally, for multi-terminal and multi-platform playback devices, each type of device needs to develop or integrate the workload of saving breakpoint records. This increases the workload of development or integration and affects the data processing efficiency of the system. Summary of the invention
[0005] The present invention provides a method for realizing recording of on-demand breakpoint information based on session management of video streaming, so as to at least solve the problem that all breakpoints of video on demand can be uniformly recorded for continued playback.
[0006] Methods include:
[0007] S101: monitoring or intercepting a video on demand request in a session resource scheduling service, and forwarding the file requested by the user from a streaming server;
[0008] S102: When a sliced video file requested by a user is intercepted, user session request information is saved;
[0009] S103: Monitor the session validity period or scheduled tasks, define the user session request that has not been updated after a preset time as a playback end breakpoint, and save the playback end breakpoint in the user on-demand record database so that the user can obtain the breakpoint information when requesting on-demand next time.
[0010] It should be further explained that the user session request information in step S102 includes: user information, requested video information and requested timestamp information.
[0011] It should be further explained that the interruption point information in step S103 includes: user ID information, program ID information and timestamp information.
[0012] It should be further explained that the method also includes:
[0013] S201, the scheduling server receives user session request information;
[0014] S202, the scheduling server identifies whether the streaming server stores the sliced video file corresponding to the user session request information, if yes, executes step S203; if not, terminates this process;
[0015] S203: The scheduling server retrieves the access address information corresponding to the sliced video file and sends it to the user terminal. The user terminal accesses the corresponding streaming server according to the access address information. The streaming server sends the sliced video file to the user terminal according to the preset video file slice number sequence.
[0016] It is further necessary to define the server ID address of each streaming server; encode each sliced video file;
[0017] When storing each sliced video file, the file code of the sliced video file is matched with the server ID address, and a sliced video file storage list is established;
[0018] Based on the matching file code in the user session request information and the file code in the slice video file storage list, the server ID address is obtained, and the streaming server where the slice video file corresponding to the user session request information is located is obtained.
[0019] It should be further explained that, after step S203, the following steps are also included:
[0020] S301, the user terminal obtains a sliced video file from a streaming server;
[0021] S302, converting the sliced video file into a video playback file that meets the requirements of the user terminal, and executing the playback process;
[0022] S303, dividing the video playback file into transcoded video file slices, wherein each transcoded video file slice is configured with a file code;
[0023] S304, the user terminal uploads the segmented transcoded video file slices to the scheduling server;
[0024] S305: The scheduling server retrieves a streaming server that pre-stores the sliced video file, establishes a communication channel between the user terminal and the streaming server, and forms a corresponding relationship between the streaming server, the user terminal, and the transcoded video file slices;
[0025] S306, the streaming server receives the transcoded video file slice sent by the user terminal;
[0026] S307: The streaming server stores the transcoded video file slices.
[0027] It should be further explained that the method also includes:
[0028] S401, the scheduling server receives user session request information sent by the user terminal;
[0029] S402, the scheduling server parses the user session request information to find a streaming server that matches it;
[0030] S403, obtaining a video playback file matched by the user terminal;
[0031] S404, the scheduling server determines a streaming server from the streaming servers having a corresponding relationship;
[0032] S406, before the timestamp of the requested playback arrives, the scheduling server sends the server ID address having the file encoding and meeting the file format of the user terminal to the user terminal;
[0033] S407, constructing a correspondence between the on-demand time, user ID information, file encoding and scheduled on-demand address.
[0034] The present invention also provides a system for implementing session management and recording on-demand breakpoint information based on video push streaming, and the system is used to implement a method for implementing session management and recording on-demand breakpoint information based on video push streaming;
[0035] The system includes: a scheduling server, a streaming server and a user terminal;
[0036] The scheduling server is used to monitor or intercept video-on-demand requests in the session resource scheduling service, and forward the files requested by the user from the streaming server;
[0037] When the scheduling server intercepts the sliced video file requested by the user, it saves the user session request information;
[0038] The scheduling server monitors the session validity period or scheduled tasks, defines the user session request that has not been updated after a preset period of time as a playback end breakpoint, and saves the playback end breakpoint in the user on-demand record database so that the user can obtain the breakpoint information when requesting on-demand next time.
[0039] According to another embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for implementing session management based on video streaming to record on-demand breakpoint information are implemented.
[0040] According to another embodiment of the present application, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for implementing session management based on video streaming to record on-demand breakpoint information are implemented.
[0041] It can be seen from the above technical solutions that the present invention has the following advantages:
[0042] The implementation method of recording video-on-demand breakpoint information based on video streaming session management provided in this application shows how to process video-on-demand requests in session resource scheduling services, including request monitoring / interception, file forwarding, session request information preservation, and definition and preservation of playback end breakpoints. These functions together constitute the key part of the video-on-demand service, providing users with a smooth and reliable video viewing experience.
[0043] Before the timestamp of the requested playback arrives, the scheduling server sends the server ID address with file encoding and meeting the file format of the user terminal to the user terminal. When the on-demand time is reached, the user terminal responds to the sliced video file based on the server ID address, thereby ensuring smooth video playback and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0045] Figure 1 A flowchart of a method for implementing session management based on video streaming to record on-demand breakpoint information;
[0046] Figure 2 A flow chart of an embodiment of a method for recording on-demand breakpoint information for session management;
[0047] Figure 3 A flow chart of another embodiment of a method for recording on-demand breakpoint information for session management;
[0048] Figure 4 Schematic diagram of the implementation system for recording on-demand breakpoint information for session management based on video streaming. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] See also Figure 1 The figure is a flowchart of a method for implementing session management and recording on-demand breakpoint information based on video streaming in a specific embodiment, the method comprising:
[0051] S101: monitoring or intercepting video on demand requests in the session resource scheduling service, and forwarding the files requested by the user from the streaming server.
[0052] In this embodiment, the request can be monitored or intercepted. Specifically, the session resource scheduling service needs to monitor or intercept the video-on-demand request from the user. These requests usually contain the identification information of the video file that the user wants to watch.
[0053] Identifying the streaming server is based on the video file identification information in the request. The service needs to determine the location of the streaming server that stores the file. Once the streaming server is determined, the session resource scheduling service will obtain the video file requested by the user from the server and forward it to the user.
[0054] S102: When the sliced video file requested by the user is intercepted, the user session request information is saved.
[0055] In this embodiment, identifying the sliced video file means that when the session resource scheduling service intercepts the user's request for a sliced video file (i.e., the video stream is cut into multiple small segments for transmission), the service needs to identify it. The service will save the user session request information related to the sliced video file. This information may include the user's identity, the identity of the requested slice file, the request time, etc.
[0056] S103: Monitor the session validity period or scheduled tasks, define the user session request that has not been updated after a preset time as a playback end breakpoint, and save the playback end breakpoint in the user on-demand record database so that the user can obtain the breakpoint information when requesting on-demand next time.
[0057] In an exemplary embodiment, monitoring the session validity period is based on the session resource scheduling service monitoring the validity period of each user session, or periodically checking the status of the user session through a timer task.
[0058] For defining the end of playback breakpoint, if a user session is not updated within a preset duration (i.e., the user does not continue to request new video slices), the service will define this moment as the end of playback breakpoint. The service of this embodiment will save the end of playback breakpoint information in the user on-demand record database. This information may include user identity, video file identifier, end of playback time, etc.
[0059] The breakpoint resume function is provided so that when the user requests to play the same video file on demand next time, the service can retrieve the last playback end breakpoint information from the database and provide the breakpoint resume function for the user accordingly.
[0060] It can be seen that the implementation method of recording on-demand breakpoint information based on video streaming session management provided by this application shows how to process video on demand requests in session resource scheduling services, including request monitoring / interception, file forwarding, session request information preservation, and definition and preservation of playback end breakpoints. These functions together constitute the key part of the video on demand service, providing users with a smooth and reliable video viewing experience.
[0061] On the basis of the above embodiments, in order to further improve the reliability of the session management recording on-demand breakpoint information provided in the above embodiments, as an implementable method, in one embodiment, the process of implementing breakpoint recording by the session resource scheduling service will be described in detail below.
[0062] First, the request for video on demand is monitored or intercepted in the session resource scheduling service, and the M3U8 file requested by the user is forwarded from the streaming server, or a reverse proxy is used.
[0063] When the sliced video file requested by the user is subsequently intercepted, the user information, the requested video information, and the requested timestamp are saved in the server memory.
[0064] If the M3U8 file is not forwarded but directly redirected to the streaming server by the session resource scheduling, then when the user downloads the slice file through the relative path in the M3U8, the streaming server will be directly requested, thus bypassing the session resource scheduling service. In this way, the session resource scheduling service will not be able to record user breakpoint information and will not be able to distribute user load to the appropriate streaming server.
[0065] By using the session validity period or scheduled tasks, for example, setting the session validity period to 1 minute, at the end of the session, the latest recorded user session information is regarded as the breakpoint at the end of the playback, and the breakpoint information (including user ID, program ID, timestamp) is saved in the user on-demand record database, so that the user can obtain the relevant breakpoint information when requesting on-demand next time.
[0066] According to the design of the present invention, all the playback breakpoints of the terminal device will be stored on the server, thus solving the need for the same user to share playback breakpoint information when playing with multiple devices.
[0067] In an exemplary embodiment, the embodiments of the present application also relate to the following specific implementations, such as Figure 2 As shown:
[0068] S201, the scheduling server receives user session request information;
[0069] S202, the scheduling server identifies whether the streaming server stores the sliced video file corresponding to the user session request information, if yes, executes step S203; if not, terminates this process;
[0070] In an embodiment of the present applicant, the scheduling server can respectively identify whether each streaming server stores a sliced video file corresponding to the user session request information. Among them, any one streaming server, or any two of them, will pre-store the sliced video file. The scheduling server will scan each streaming server to check whether the sliced video file corresponding to the user session request information is stored. If a streaming server stores a sliced video file corresponding to the user session request information, the sliced video file corresponding to the user session request information stored in the streaming server is retrieved.
[0071] It can be seen that in the embodiment of the present application, after the streaming server stores the sliced video file corresponding to the user session request information, the user session request information is stored again, and a corresponding relationship is formed between the sliced video file and the user session request information. In this way, as long as the sliced video file corresponding to the user session request information is identified, the sliced video file corresponding to the user session request information stored in the streaming server can be found.
[0072] In the embodiment of the present application, the server ID address of each streaming server is defined; each sliced video file is encoded;
[0073] When storing each sliced video file, the file code of the sliced video file is matched with the server ID address, and a sliced video file storage list is established;
[0074] Based on the matching file code in the user session request information and the file code in the slice video file storage list, the server ID address is obtained, and the streaming server where the slice video file corresponding to the user session request information is located is obtained.
[0075] The server ID address and the file code of each sliced video file in the embodiment of the present application are unique.
[0076] S203: The scheduling server retrieves the access address information corresponding to the sliced video file and sends it to the user terminal. The user terminal accesses the corresponding streaming server according to the access address information. The streaming server sends the sliced video file to the user terminal according to the preset video file slice number sequence.
[0077] In one embodiment of the present invention, based on step S203, as Figure 3 As shown, a possible example will be given below to illustrate its specific implementation scheme in a non-limiting manner.
[0078] S301, the user terminal obtains a sliced video file from a streaming server;
[0079] S302, converting the sliced video file into a video playback file that meets the requirements of the user terminal, and executing the playback process;
[0080] S303, dividing the video playback file into transcoded video file slices, wherein each transcoded video file slice is configured with a file code;
[0081] In this embodiment, each transcoded video file slice may define a file encoding, which may be added to the file encoding of the transcoded video file slice based on the user session request information.
[0082] S304, the user terminal uploads the segmented transcoded video file slices to the scheduling server;
[0083] S305: The scheduling server retrieves a streaming server that pre-stores the sliced video file, establishes a communication channel between the user terminal and the streaming server, and forms a corresponding relationship between the streaming server, the user terminal, and the transcoded video file slices;
[0084] S306, the streaming server receives the transcoded video file slice sent by the user terminal;
[0085] S307: The streaming server stores the transcoded video file slices.
[0086] In an embodiment of the present application, a scheduling server receives user session request information; the scheduling server identifies whether the streaming server stores transcoded video file slices corresponding to the user session request information; if so, the scheduling server retrieves access address information corresponding to the transcoded video file slices and sends it to the user terminal; the user terminal accesses the corresponding streaming server according to the access address information, and the streaming server sends the transcoded video file slices to the user terminal in a preset video file slice number order.
[0087] According to an embodiment of the present application, S401, the scheduling server receives user session request information sent by the user terminal;
[0088] S402, the scheduling server parses the user session request information to find a streaming server that matches it;
[0089] S403, obtaining a video playback file matched by the user terminal;
[0090] In this embodiment, the file format of the video to be played on demand required by the user terminal can be determined through the video playback file. Among them, the file format of the video file can be: mpeg-4 video format, the file name ends with ".mp4"; avi video format, the file name ends with ".avi"; 3. wmv video format, the file name ends with ".wmv"; 4. realvideo video format, the file name ends with ".rm" or ".ram", etc.
[0091] Wherein, obtaining the video playing file required by the user terminal may include: obtaining the video playing file corresponding to the user identification of the user terminal in the historical record.
[0092] Of course, obtaining the streaming server matched by the user terminal may also include: the user terminal sends a query request for querying the video playback file to the scheduling server; the scheduling server feeds back the corresponding video playback file after receiving the query request, so that the user terminal can match the video playback file that matches it.
[0093] S404, the scheduling server determines a streaming server from the streaming servers having a corresponding relationship;
[0094] The scheduling server is associated with multiple streaming servers, which can store video playback files of different formats. After obtaining the video playback file required by the user terminal, the scheduling server can determine the video playback file corresponding to the user terminal from the streaming servers with corresponding relationships.
[0095] S405, determining the file format corresponding to the user terminal from the correspondence between the terminal playback format and the file format;
[0096] The database stores the correspondence between the user terminal playback format and the file format. After obtaining the video playback file, the scheduling server can determine the file format corresponding to the user terminal from the correspondence between the user terminal playback format and the file format.
[0097] S406, before the timestamp of the requested playback arrives, the scheduling server sends the server ID address having the file encoding and meeting the file format of the user terminal to the user terminal;
[0098] In order to ensure the smoothness of video playback and that the playback method used by the user terminal can meet the video playback requirements, the scheduling server sends the server ID address with file encoding and meeting the user terminal file format to the user terminal before the timestamp of the request for playback arrives, so that the user terminal can establish a communication channel with the streaming server corresponding to the server ID address, so that the user terminal can obtain the sliced video file corresponding to the user session request information from the streaming server and execute the playback process.
[0099] S407, constructing a correspondence between the on-demand time, user ID information, file code and scheduled on-demand address;
[0100] In this embodiment, the reserved on-demand address can be determined by the file code of the sliced video file in the streaming server. In order to find the sliced video file, a correspondence between the on-demand time, user ID information, file code and the reserved on-demand address is established, and then after receiving the video on-demand request, the sliced video file is found according to the correspondence.
[0101] It can be seen that in this embodiment, before the timestamp of the requested playback arrives, the scheduling server sends the server ID address with file encoding and meeting the file format of the user terminal to the user terminal. Then, when the on-demand time is reached, the user terminal responds to the sliced video file based on the server ID address, thereby ensuring smooth video playback and improving user experience.
[0102] The following is an embodiment of a system for implementing session management and recording on-demand breakpoint information based on video streaming provided by an embodiment of the present disclosure. The system and the implementation method for implementing session management and recording on-demand breakpoint information based on video streaming in the above-mentioned embodiments belong to the same inventive concept. For details not fully described in the embodiment of the system for implementing session management and recording on-demand breakpoint information based on video streaming, please refer to the embodiment of the implementation method for implementing session management and recording on-demand breakpoint information based on video streaming.
[0103] like Figure 4 As shown, the system includes: a scheduling server, a streaming server and a user terminal;
[0104] The scheduling server is used to monitor or intercept video-on-demand requests in the session resource scheduling service, and forward the files requested by the user from the streaming server;
[0105] When the scheduling server intercepts the sliced video file requested by the user, it saves the user session request information;
[0106] The scheduling server monitors the session validity period or scheduled tasks, defines the user session request that has not been updated after a preset period of time as a playback end breakpoint, and saves the playback end breakpoint in the user on-demand record database so that the user can obtain the breakpoint information when requesting on-demand next time.
[0107] Based on the above-mentioned method for implementing session management based on video streaming to record on-demand breakpoint information, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of implementing the method for implementing session management based on video streaming to record on-demand breakpoint information are implemented.
[0108] Electronic devices can be scheduling servers, streaming servers, and user terminals. Electronic devices are devices that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. Their hardware includes but is not limited to microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0109] Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the embodiments of the present application described and / or claimed herein.
[0110] The electronic device may also include a network device and / or a user device, wherein the network device includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers based on cloud computing.
[0111] The implementation method of recording on-demand breakpoint information for session management based on video streaming provided by the present invention is combined with the units and algorithm steps of each example described in the embodiments disclosed herein, and can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0112] In the readable storage medium of the present invention, a program product capable of implementing the above method of this specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of this specification.
[0113] The readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0114] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for implementing session management and recording on-demand breakpoint information based on video streaming, characterized in that: Methods include: S101: monitoring or intercepting a video on demand request in a session resource scheduling service, and forwarding the file requested by the user from a streaming server; S102: When a sliced video file requested by a user is intercepted, user session request information is saved; S103: Monitor the session validity period or scheduled tasks, define the user session request that has not been updated after a preset time as a playback end breakpoint, and save the playback end breakpoint in the user on-demand record database so that the user can obtain the breakpoint information when requesting on-demand next time.
2. The method for implementing session management and recording on-demand breakpoint information based on video streaming according to claim 1, characterized in that: The user session request information in step S102 includes: user information, requested video information, and requested timestamp information.
3. The method for implementing session management and recording on-demand breakpoint information based on video streaming according to claim 1, characterized in that: Step S103: The interruption point information includes: user ID information, program ID information and timestamp information.
4. The method for implementing session management and recording on-demand breakpoint information based on video streaming according to claim 1, characterized in that: The method also includes: S201, the scheduling server receives user session request information; S202, the scheduling server identifies whether the streaming server stores the sliced video file corresponding to the user session request information, if yes, executes step S203; if not, terminates this process; S203: The scheduling server retrieves the access address information corresponding to the sliced video file and sends it to the user terminal. The user terminal accesses the corresponding streaming server according to the access address information. The streaming server sends the sliced video file to the user terminal according to the preset video file slice number sequence.
5. The method for implementing session management and recording on-demand breakpoint information based on video streaming according to claim 4 is characterized in that: Define the server ID address of each streaming server; encode each sliced video file; When storing each sliced video file, the file code of the sliced video file is matched with the server ID address, and a sliced video file storage list is established; Based on the matching file code in the user session request information and the file code in the slice video file storage list, the server ID address is obtained, and the streaming server where the slice video file corresponding to the user session request information is located is obtained.
6. The method for implementing session management and recording on-demand breakpoint information based on video streaming according to claim 4, characterized in that: After step S203, the following steps are also included: S301, the user terminal obtains a sliced video file from a streaming server; S302, converting the sliced video file into a video playback file that meets the requirements of the user terminal, and executing the playback process; S303, dividing the video playback file into transcoded video file slices, wherein each transcoded video file slice is configured with a file code; S304, the user terminal uploads the segmented transcoded video file slices to the scheduling server; S305: The scheduling server retrieves a streaming server that pre-stores the sliced video file, establishes a communication channel between the user terminal and the streaming server, and forms a corresponding relationship between the streaming server, the user terminal, and the transcoded video file slices; S306, the streaming server receives the transcoded video file slice sent by the user terminal; S307: The streaming server stores the transcoded video file slices.
7. The method for implementing session management and recording on-demand breakpoint information based on video streaming according to claim 1, characterized in that: The method also includes: S401, the scheduling server receives user session request information sent by the user terminal; S402, the scheduling server parses the user session request information to find a streaming server that matches it; S403, obtaining a video playback file matched by the user terminal; S404, the scheduling server determines a streaming server from the streaming servers having a corresponding relationship; S406, before the timestamp of the requested playback arrives, the scheduling server sends the server ID address having the file encoding and meeting the file format of the user terminal to the user terminal; S407, constructing a correspondence between the on-demand time, user ID information, file encoding and scheduled on-demand address.
8. A system for implementing session management and recording on-demand breakpoint information based on video streaming, characterized in that: The system is used to implement the method for recording on-demand breakpoint information based on session management of video streaming as described in any one of claims 1 to 7; The system includes: a scheduling server, a streaming server and a user terminal; The scheduling server is used to monitor or intercept video-on-demand requests in the session resource scheduling service, and forward the files requested by the user from the streaming server; When the scheduling server intercepts the sliced video file requested by the user, it saves the user session request information; The scheduling server monitors the session validity period or scheduled tasks, defines the user session request that has not been updated after a preset period of time as a playback end breakpoint, and saves the playback end breakpoint in the user on-demand record database so that the user can obtain the breakpoint information when requesting on-demand next time.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for implementing session management and recording on-demand breakpoint information based on video streaming as described in any one of claims 1 to 7 are implemented.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for implementing session management and recording on-demand breakpoint information based on video streaming as described in any one of claims 1 to 7 are implemented.
