CN114449329A - File display and play method and system - Google Patents

File display and play method and system Download PDF

Info

Publication number
CN114449329A
CN114449329A CN202210103077.6A CN202210103077A CN114449329A CN 114449329 A CN114449329 A CN 114449329A CN 202210103077 A CN202210103077 A CN 202210103077A CN 114449329 A CN114449329 A CN 114449329A
Authority
CN
China
Prior art keywords
file
playing
information
area
request information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210103077.6A
Other languages
Chinese (zh)
Inventor
陈天
李建新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Biyun Shuchuang Technology Co ltd
Original Assignee
Beijing Biyun Shuchuang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Biyun Shuchuang Technology Co ltd filed Critical Beijing Biyun Shuchuang Technology Co ltd
Priority to CN202210103077.6A priority Critical patent/CN114449329A/en
Publication of CN114449329A publication Critical patent/CN114449329A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8193Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a system for displaying and playing files.A client receives file request information input by a user and sends the file request information to a server, and the server returns corresponding file list information according to the file request information; the client comprises a visual area, and the visual area comprises a list display area and a playing area; the client displays the file list information in a list display area; receiving playing request information input by a user, wherein the playing request information comprises a file ID, sending the playing request information to a server, and returning corresponding file content by the server according to the file ID; meanwhile, according to the file ID, inquiring from the file list information to obtain a corresponding file type; and calling a corresponding type player according to the file type, and playing the file content in the playing area through the type player. According to the invention, different types of players are provided for playing different types of files through file types, so that a rich file display and playing method and system are provided for users, and the user experience is improved.

Description

File display and play method and system
Technical Field
The invention relates to the technical field of information processing, in particular to a file display and play method and a file display and play system.
Background
In recent years, with the development of network technology, online teaching becomes a very popular teaching mode, for teachers, teaching contents can be transmitted to students through recording videos, audios or documents, and thus files recorded once can be played repeatedly, and teacher resources can be saved; however, recorded contents are difficult to avoid errors, and recorded contents are not easy to modify, so that the recorded contents need to be labeled to explain or correct errors in the recorded contents in more detail; meanwhile, due to the fact that network environments of users are different, functions of selecting different types of files need to be provided for the users. Therefore, it is desirable to provide a method and system for playing different types of files for a user to facilitate online learning by a student.
Disclosure of Invention
The invention aims to provide a method and a system for displaying and playing files, wherein file request information input by a user is received through a client, the file request information is sent to a server to obtain corresponding file list information, the file list information is displayed in a list display area of the client, and when the client receives the playing request information input by the user, corresponding file content is obtained from the server according to a file ID in the playing request information; meanwhile, inquiring the file type of the file according to the file ID, calling a corresponding type player according to different file types, and playing the file content in a playing area; and the annotation information set in the file content can be displayed in real time during playing. By providing a way of playing file contents of different file types and labeling information thereof, a method and a system for rich file display and playing are provided for users, and user experience is improved.
In order to achieve the above object, a first aspect of the embodiments of the present invention provides a file displaying and playing method, where the method includes:
the client receives file request information, sends the file request information to a server, and is used for the server to return corresponding file list information according to the file request information; the file list information comprises file information, and the file information comprises a thumbnail, description information, a file type and a file ID; the client comprises a visual area, and the visual area comprises a list display area and a playing area;
sequentially displaying the file information in the file list information in the list display area;
receiving play request information, wherein the play request information comprises a file ID;
sending the playing request information to a server for the server to return corresponding file contents according to the playing request information;
inquiring the file list information according to the file ID of the playing request information to obtain the file type corresponding to the file ID;
and calling a corresponding type player according to the file type, so that the type player plays the file content in the playing area.
Preferably, the method further comprises:
when the playing area plays, the list display area is hidden, and the playing area is enlarged to all visible areas.
Preferably, the method further comprises:
and receiving list display request information, and displaying the list display area, wherein the play area is reduced so as to be not covered by the list display area.
Preferably, the playing area comprises a label display area, and the label display area is suspended at the top or the bottom of the playing area.
Further preferably, the method further comprises:
when the type player plays the file content, acquiring the playing progress of the file content;
and acquiring the label information of the file content according to the playing progress, and displaying the label information in the label display area.
Further preferably, the annotation information includes a display time for setting a display duration of the annotation information in the annotation display area.
Further preferably, before the obtaining of the annotation information of the file content according to the playing progress, the method further includes:
and the management terminal sets the label information of the file content under the playing progress according to the playing progress of the file content.
A second aspect of the embodiments of the present invention provides a file displaying and playing system, where the system includes the client, the server, and the type player as described in the first aspect.
The embodiment of the invention provides a method and a system for displaying and playing files, wherein a client receives file request information input by a user, sends the file request information to a server to acquire corresponding file list information, displays the file list information in a list display area of the client, and acquires corresponding file content from the server according to a file ID in the play request information when the client receives the play request information input by the user; meanwhile, inquiring the file type of the file according to the file ID, calling a corresponding type player according to different file types, and playing the file content in a playing area; and the annotation information set in the file content can be displayed in real time during playing. By providing a way of playing file contents of different file types and labeling information thereof, a method and a system for rich file display and playing are provided for users, and user experience is improved.
Drawings
Fig. 1 is a flowchart of a file displaying and playing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a file displaying and playing system according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a visible area of a client according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The embodiment of the invention provides a method and a system for displaying and playing files, wherein a client receives file request information input by a user, sends the file request information to a server to acquire corresponding file list information, displays the file list information in a list display area of the client, and acquires corresponding file content from the server according to a file ID in the play request information when the client receives the play request information input by the user; meanwhile, inquiring the file type of the file according to the file ID, calling a corresponding type player according to different file types, and playing the file content in a playing area; and the annotation information set in the file content can be displayed in real time during playing. By providing a way of playing file contents of different file types and labeling information thereof, a method and a system for rich file display and playing are provided for users, and the user experience is improved.
Fig. 1 is a flowchart of a file displaying and playing method according to an embodiment of the present invention, and as shown in fig. 1, the method mainly includes the following steps:
step 100, a client receives file request information, sends the file request information to a server, and the server returns corresponding file list information according to the file request information;
the method comprises the steps that a client receives file request information, the file request information is information input to the client by a user, and the user needs to input relevant information of a file which the user wants to view to the client before viewing the relevant file through the client, so that the file request information comprises the relevant information of the file which the user wants to view, and specifically, the file request information can comprise a time range, namely the file generated in which time range the user wants to view; author information, i.e., which author generated the file the user wants to view; the method can also comprise keywords, namely related files containing the keywords in the description information of the files which the user wants to view; the user inputs the specific characteristic information of the file which the user wants to request, so that the file which the user wants can be acquired more accurately; the file type can also be included, such as video, audio or document, the video content is rich, but the data volume is large, the requirement on the network is high, the audio and document content is simple, but the data volume is small, and the transmission is easy. Of course, the file request information may be empty, so that all file information is returned.
The method comprises the steps that after a client receives file request information input by a user, the file request information is sent to a server, all the file information is stored in the server, and the server returns file list information corresponding to the file request information according to the specific content of the file request information sent by the client. The file list information comprises one or more file information meeting the requirements of the file request information, wherein the file information comprises a thumbnail, description information, a file type and a file ID; the thumbnail is used for displaying the file information and is equivalent to a cover of the file information; the description information is used for simply introducing the content of the file information; the file type indicates the type of the file information, for example: video, audio, and documents, etc.; the file ID is used to uniquely represent the file information for distinguishing from other file information.
Step 101, sequentially displaying file information in file list information in a list display area;
specifically, a visual area is arranged on the client, the visual area comprises a list display area and a playing area, and the list display area can be arranged at the left part, the right part, the top part or the bottom part of the visual area and is configured to be automatically hidden; after the client receives the file list information returned by the server, displaying the file list information in a list display area, wherein the display mode can be character list display, and the description information in the file information is displayed in a list form; the thumbnail in the file information can be displayed in a list form; the method can also be used for displaying the image-text list, namely simultaneously displaying the thumbnail and the description information in the file information; regardless of the above-mentioned manner of presentation, the description information and the thumbnail can be clicked to send the play request information to the client, where the play request information includes the file ID of the file.
102, receiving the playing request information, sending the playing request information to a server, and returning the corresponding file content according to the playing request information by the server;
the method comprises the steps that a client receives play request information generated by a user clicking a thumbnail or description information, and sends the play request information to a server, wherein the play request information comprises a file ID; after receiving the playing request information sent by the client, the server queries the file content of the file according to the file ID in the playing request information, and returns the file content to the client.
103, inquiring the file list information according to the file ID of the playing request information to obtain the file type corresponding to the file ID; calling a corresponding type player according to the file type to play the file content in the playing area by the type player;
after receiving the file content returned by the server according to the playing request information, the client queries the file information in the file list information according to the file ID in the playing request information to obtain the file type corresponding to the file ID, then calls the corresponding type player according to the file type, and sends the file content to the type player so that the type player plays the file content in the playing area. Specifically, if the file type is a video, a video file player is called to play the file content; if the file type is audio, calling an audio player to play the file content; if the file type is a document, calling a document viewer to display the document, wherein when the height of the file content of the document type exceeds the height of the visual area, the document viewer can automatically scroll the scroll bar to facilitate the user to view, the scroll speed can be matched, and the playing progress is the position of the scroll bar.
When the type player plays the file content in the playing area, the list display area is configured to be automatically hidden, so that the playing area can be enlarged to all visible areas, and the watching effect of a user is improved. When the user needs to view the file list information of the list display area again, the focus can be placed near the hidden position of the list display area or the list display area can be dragged near the hidden position of the list display area to call the list display area again, and when the list display area is displayed, the playing area is synchronously reduced, so that the popped list display area is prevented from covering the file content played in the playing area, and the watching effect of the user is not influenced.
When the type player plays the file content in the playing area, the client monitors the playing progress of the file content in real time, acquires the labeling information of the file content according to the playing progress, and displays the labeling information in the labeling display area. The label display area is suspended at the top or the bottom of the playing area, and the background of the label display area is set to be transparent, so that the influence on the content of the file being played is reduced as much as possible. The marking information is mainly embodied by text content, the marking information also comprises display time which is used for setting the display time length of the text content of the marking information, and when the display duration reaches the display time length, the marking display area is automatically hidden.
Before displaying the label information of the file content, an administrator can label the file content through the management end and set the label information corresponding to the file content at the playing progress according to the playing progress of the file content.
Fig. 2 is a schematic structural diagram of a file displaying and playing system according to a second embodiment of the present invention, and fig. 3 is a schematic structural diagram of a visible area of a client according to a second embodiment of the present invention; as shown in fig. 2 and 3, the system includes a client 1, a server 2, and a genre player 11; the client 1 and the server 2 are connected to each other via a network, and can perform network communication. The client 1 includes a genre player 11 therein for playing file contents. The visual area of the client 1 includes a list display area 31, a play area 32, and a label display area 33. The system can implement the method steps in the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
The embodiment of the invention provides a method and a system for displaying and playing files.A client receives file request information input by a user, sends the file request information to a server to acquire corresponding file list information, displays the file list information in a list display area of the client, and acquires corresponding file content from the server according to a file ID in the play request information when the client receives the play request information input by the user; meanwhile, inquiring the file type of the file according to the file ID, calling a corresponding type player according to different file types, and playing the file content in a playing area; and the annotation information set in the file content can be displayed in real time during playing. By providing a way of playing file contents of different file types and labeling information thereof, a method and a system for rich file display and playing are provided for users, and user experience is improved.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only examples of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A method for displaying and playing files, the method comprising:
the client receives file request information, sends the file request information to a server, and is used for the server to return corresponding file list information according to the file request information; the file list information comprises file information, and the file information comprises a thumbnail, description information, a file type and a file ID; the client comprises a visual area, and the visual area comprises a list display area and a playing area;
sequentially displaying the file information in the file list information in the list display area;
receiving play request information, wherein the play request information comprises a file ID;
sending the playing request information to a server for the server to return corresponding file contents according to the playing request information;
inquiring the file list information according to the file ID of the playing request information to obtain the file type corresponding to the file ID;
and calling a corresponding type player according to the file type, so that the type player plays the file content in the playing area.
2. The file presentation and playback method of claim 1, wherein the method further comprises:
when the playing area plays, the list display area is hidden, and the playing area is enlarged to all visible areas.
3. The file displaying and playing method according to claim 1, further comprising:
and receiving list display request information, and displaying the list display area, wherein the play area is reduced so as to be not covered by the list display area.
4. The file displaying and playing method of claim 1, wherein the playing area comprises a label display area, and the label display area is suspended at the top or the bottom of the playing area.
5. The file presentation and playback method of claim 4, wherein the method further comprises:
when the type player plays the file content, acquiring the playing progress of the file content;
and acquiring the label information of the file content according to the playing progress, and displaying the label information in the label display area.
6. The method for displaying and playing back a file according to claim 5, wherein the annotation information includes a display time for setting a display duration of the annotation information in the annotation display area.
7. The file displaying and playing method according to claim 5, wherein before the obtaining of the annotation information of the file content according to the playing progress, the method further comprises:
and the management terminal sets the label information of the file content under the playing progress according to the playing progress of the file content.
8. A file presentation and playback system, characterized in that the system comprises a client, a server and a type player according to any of claims 1-7.
CN202210103077.6A 2022-01-27 2022-01-27 File display and play method and system Pending CN114449329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210103077.6A CN114449329A (en) 2022-01-27 2022-01-27 File display and play method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210103077.6A CN114449329A (en) 2022-01-27 2022-01-27 File display and play method and system

Publications (1)

Publication Number Publication Date
CN114449329A true CN114449329A (en) 2022-05-06

Family

ID=81369758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210103077.6A Pending CN114449329A (en) 2022-01-27 2022-01-27 File display and play method and system

Country Status (1)

Country Link
CN (1) CN114449329A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256568A (en) * 2008-03-18 2008-09-03 深圳市迅雷网络技术有限公司 Method, system and apparatus for providing multimedia resource
CN101360118A (en) * 2007-08-02 2009-02-04 广东新支点技术服务有限公司 Method and protocol suitable for mobile terminal multimedia file sharing and searching
CN103475931A (en) * 2013-08-23 2013-12-25 四川长虹电器股份有限公司 Method for playing network media at digital television terminal
CN103617379A (en) * 2013-11-29 2014-03-05 乐视网信息技术(北京)股份有限公司 Multimedia file playing method and player
CN103686200A (en) * 2013-12-27 2014-03-26 乐视致新电子科技(天津)有限公司 Intelligent television video resource searching method and system
CN105263035A (en) * 2015-10-27 2016-01-20 深圳市元征科技股份有限公司 Audio and video on demand method and system
WO2018032923A1 (en) * 2016-08-16 2018-02-22 腾讯科技(深圳)有限公司 Method for presenting media information, client, plugin, and system
CN109766457A (en) * 2017-11-09 2019-05-17 腾讯科技(深圳)有限公司 A kind of media content search method, apparatus and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360118A (en) * 2007-08-02 2009-02-04 广东新支点技术服务有限公司 Method and protocol suitable for mobile terminal multimedia file sharing and searching
CN101256568A (en) * 2008-03-18 2008-09-03 深圳市迅雷网络技术有限公司 Method, system and apparatus for providing multimedia resource
CN103475931A (en) * 2013-08-23 2013-12-25 四川长虹电器股份有限公司 Method for playing network media at digital television terminal
CN103617379A (en) * 2013-11-29 2014-03-05 乐视网信息技术(北京)股份有限公司 Multimedia file playing method and player
CN103686200A (en) * 2013-12-27 2014-03-26 乐视致新电子科技(天津)有限公司 Intelligent television video resource searching method and system
CN105263035A (en) * 2015-10-27 2016-01-20 深圳市元征科技股份有限公司 Audio and video on demand method and system
WO2018032923A1 (en) * 2016-08-16 2018-02-22 腾讯科技(深圳)有限公司 Method for presenting media information, client, plugin, and system
CN109766457A (en) * 2017-11-09 2019-05-17 腾讯科技(深圳)有限公司 A kind of media content search method, apparatus and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"暴风影音5 V5.81.0628.2111", Retrieved from the Internet <URL:华为应用市场> *

Similar Documents

Publication Publication Date Title
CN110570698B (en) Online teaching control method and device, storage medium and terminal
CA2369597C (en) Convergence-enabled dvd and web system
CN105635764B (en) Method and device for playing push information in live video
CN111611434B (en) Online course interaction method and interaction platform
US20100122309A1 (en) Comment delivery server, terminal device, comment delivery method, comment output method, and recording medium storing comment delivery program
Feldman Multimedia
CN111836112B (en) Multimedia file output method, device, medium and electronic equipment
US20160217109A1 (en) Navigable web page audio content
EP2772864A1 (en) Content evaluation/playback device
KR20190094292A (en) Apparatus for contents recommendation, and control method
US11315607B2 (en) Information processing apparatus, information processing method, and non-transitory computer readable medium
CN113391745A (en) Method, device, equipment and storage medium for processing key contents of network courses
JP2019128850A (en) Information processing device, moving-image search method, generation method, and program
KR102036639B1 (en) Mobile terminal of playing moving picture lecture and method of displaying related moving picture
CN114449329A (en) File display and play method and system
JP2020042777A (en) Multimedia data recommendation system and multimedia data recommendation method
CN113420135A (en) Note processing method and device in online teaching, electronic equipment and storage medium
WO2005057578A1 (en) Method for manufacturing and displaying real character type movie and recorded medium including said real character type movie and program for displaying thereof
CN111726692B (en) Interactive playing method of audio-video data
CN111460218A (en) Information processing method and device
CN114513682A (en) Multimedia resource display method, sending method, device, equipment and medium
CN114915853A (en) Interactive information processing method, device, terminal and storage medium
JP2013150220A (en) Information processing system, information processor, information processing method, and program
CN110062289A (en) A kind of document play-back method and device, terminal, readable storage medium storing program for executing
KR20060108970A (en) System for video lecture coupled with lecture scenario and teaching materials and method thereof

Legal Events

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