CN115857858A - File on-screen playing method and related device - Google Patents

File on-screen playing method and related device Download PDF

Info

Publication number
CN115857858A
CN115857858A CN202211664691.6A CN202211664691A CN115857858A CN 115857858 A CN115857858 A CN 115857858A CN 202211664691 A CN202211664691 A CN 202211664691A CN 115857858 A CN115857858 A CN 115857858A
Authority
CN
China
Prior art keywords
file
playing
screen
sharing
condition
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
CN202211664691.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.)
Guangzhou Xunkong Electronic Technology Co ltd
Original Assignee
Guangzhou Xunkong Electronic 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 Guangzhou Xunkong Electronic Technology Co ltd filed Critical Guangzhou Xunkong Electronic Technology Co ltd
Priority to CN202211664691.6A priority Critical patent/CN115857858A/en
Publication of CN115857858A publication Critical patent/CN115857858A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a file on-screen playing method and a related device, comprising the following steps: determining a shared terminal according to the on-screen request instruction and acquiring a network delay parameter to generate a delay playing interval; acquiring preset shared file information, and generating a cache playing condition by combining a delayed playing interval; after the file sharing on the same screen is confirmed, analyzing preset shared file information according to a cache playing condition to obtain a file analyzing result; sharing the file analysis result to the sharing terminal according to the equipment label information in the cache playing condition; the delay problem during sharing is solved by combining the mode of generating the delay playing interval by the network delay parameter, and the effect of synchronous picture display in the process of playing the files on the same screen is realized.

Description

File on-screen playing method and related device
Technical Field
The application relates to the field of data synchronization, in particular to a file on-screen playing method and a related device.
Background
When sharing files on the same screen, network delay exists, the files shared and displayed by the main screen and other screens have time difference, namely, the page of the next page of the files is displayed on the main screen, and other screens stay on the page of the previous page of the files, so that the sharing effect on the same screen is poor.
Therefore, how to realize the multi-screen display synchronization in the screen sharing process becomes a technical problem to be solved urgently.
Disclosure of Invention
In order to realize multi-screen display synchronization in the screen sharing process, the application provides a file on-screen playing method and a related device.
In a first aspect, the file on-screen playing method provided by the present application adopts the following technical scheme: a file on-screen playing method comprises the following steps:
when receiving a same-screen request instruction, determining a shared terminal according to the same-screen request instruction;
determining a network delay parameter according to the shared terminal to generate a delay playing interval;
acquiring preset shared file information, and generating a cache playing condition by combining the delayed playing interval;
after the file on-screen sharing is confirmed, analyzing the preset shared file information according to the cache playing condition and obtaining a file analysis result;
and carrying out file sharing on the file analysis result to the sharing terminal according to the equipment label information corresponding to the cache playing condition.
Optionally, the step of determining a network delay parameter according to the shared terminal to generate a delay playing interval includes:
acquiring network information of the shared terminal;
performing test communication interaction according to the network information of the shared terminal to determine a network delay parameter of the shared terminal;
and determining a delay playing interval according to the delay time length in the network delay parameter.
Optionally, the step of obtaining preset shared file information and generating a cache play condition in combination with the delayed play interval includes:
acquiring preset shared file information, and acquiring the interval length corresponding to the delayed playing interval;
determining a starting point and an end point of an analysis condition in the shared file information according to the interval length;
and generating a buffer playing condition according to the starting point and the end point of the analysis condition and the interval length.
Optionally, after it is determined that the file is shared on the same screen, the step of analyzing the preset shared file information according to the cache play condition and obtaining a file analysis result includes:
when a starting instruction corresponding to the same-screen sharing of the file is received, confirming the same-screen sharing of the file according to the starting instruction;
generating a first label in the preset shared file according to the cache playing condition;
and generating a file analysis result according to the first label and the preset shared file.
Optionally, the step of generating a file parsing result according to the first tag and the preset shared file includes:
analyzing the preset shared file to generate a play stream of the preset shared file;
acquiring a play delay node corresponding to the first label;
and inserting the first label in the playing stream of the preset shared file according to the playing delay node to generate a file analysis result.
Optionally, the step of performing file sharing on the file parsing result to the sharing terminal according to the device tag information corresponding to the cache playing condition includes:
acquiring equipment label information corresponding to the cache playing condition;
determining a corresponding synchronous playing label according to the equipment label information;
and generating final sharing stream data according to the synchronous playing label and the file analysis result, and sharing the file to the sharing terminal.
After the step of performing file sharing on the file parsing result to the sharing terminal according to the device tag information corresponding to the cache playing condition, the method further includes:
recording the network delay parameters of the shared terminal and the corresponding cache playing conditions as a quick matching result and storing the quick matching result into a historical same-screen record;
when a new on-screen request instruction is detected, acquiring a network delay parameter in the new on-screen request instruction as a second delay parameter;
traversing and judging whether a corresponding second shortcut matching result exists in the historical same-screen record according to the second delay parameter;
and if so, performing on-screen playing according to the second quick matching result.
In a second aspect, the present application provides a file on-screen playing device, where the file on-screen playing device includes:
the instruction acquisition module is used for determining a shared terminal according to the on-screen request instruction when receiving the on-screen request instruction;
the interval generating module is used for determining a network delay parameter according to the shared terminal so as to generate a delay playing interval;
the playing condition module is used for acquiring preset shared file information and generating a cache playing condition by combining the delayed playing interval;
the file analysis module is used for analyzing the preset shared file information according to the cache playing condition and acquiring a file analysis result after the file sharing on the same screen is confirmed;
and the file sharing module is used for sharing the file analysis result to the sharing terminal according to the equipment label information corresponding to the cache playing condition.
In a third aspect, the present application provides a computer apparatus, the apparatus comprising: a memory, a processor that, when executing computer instructions stored by the memory, performs a method as recited in any of the preceding.
In a fourth aspect, the present application provides a computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method as described above.
In summary, the present application includes the following advantageous technical effects:
the method comprises the steps that a shared terminal is determined according to a same-screen request instruction, and a network delay parameter is obtained to generate a delay playing interval; acquiring preset shared file information, and generating a cache playing condition by combining a delayed playing interval; after the file sharing on the same screen is confirmed, analyzing preset shared file information according to a cache playing condition to obtain a file analyzing result; sharing the file analysis result to the sharing terminal according to the equipment label information in the cache playing condition; the delay problem during sharing is solved by combining the mode of generating the delay playing interval by the network delay parameter, and the effect of synchronous picture display in the process of playing the files on the same screen is realized.
Drawings
FIG. 1 is a schematic diagram of a computer device architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a file on-screen playing method according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for playing files on the same screen according to the present invention;
fig. 4 is a block diagram of a first embodiment of the file on-screen playback device according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a computer device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the computer device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement connection communication among these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 is not intended to be limiting of computer devices and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a file on-screen playback program.
In the computer device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the computer device of the present invention may be disposed in the computer device, and the computer device calls the file on-screen playing program stored in the memory 1005 through the processor 1001 and executes the file on-screen playing method provided by the embodiment of the present invention.
An embodiment of the present invention provides a method for playing a file on the same screen, and referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of the method for playing a file on the same screen according to the present invention.
In this embodiment, the method for playing the file on the same screen includes the following steps:
step S10: and when the on-screen request instruction is received, determining the shared terminal according to the on-screen request instruction.
It can be understood that the on-screen request instruction refers to an on-screen sharing request received through a preset port, and the on-screen request instruction refers to projecting a display signal of the implementation execution main body onto another device terminal.
It should be noted that in the prior art, the same-screen device pushes pictures, videos, music and the like on a mobile phone, a tablet, and a computer to a display screen, a television, a projector and the like for playing, so as to realize the transmission of digital multimedia (high definition video, audio, and picture) contents, synchronize the display contents of different screens, and make a small screen become a large screen. The compatible cross-over operation is realized among different operating systems (IOS, ANDROID, WIN7, WINDOWS XP, VISTA and the like) and different terminal devices (mobile phones, tablets, computers and TVs). However, for the video data, the phenomenon of non-uniform playing pictures in the display screen may also occur when the same-screen device is used due to network delay or other hardware problems which may occur in data transmission.
In specific implementation, when an on-screen request instruction is received, a shared terminal is determined through request object information in the on-channel request instruction, and the shared terminal refers to electronic equipment with a display function.
It should be noted that the video signals of all the participating terminals and the touch display screens are transmitted through a high-definition mixed matrix in a one-to-one correspondence manner, the paperless terminal initiates sharing of the same screen to the server, and the server software controls seamless mixed switching of the video signals corresponding to all the terminals to all the touch display screens according to the corresponding terminals initiating the same screen. Meanwhile, the participating terminal can send a signal to the server to realize high-definition matrix cutting through gesture touch of the touch screen, and the participating terminal can display a local signal or a co-screen signal.
And S20, determining a network delay parameter according to the shared terminal to generate a delay playing interval.
It should be noted that the network delay refers to that various data are transmitted in a network medium through a network protocol (such as TCP/IP), and if the amount of information is too large and not limited, the excessive network traffic will cause the device to react slowly, resulting in network delay. Defining: the time taken for transmission in the transmission medium, i.e. the time from when a message starts entering the network to when it starts leaving the network. How the network delay level is defined: (generally, the lower the network delay PING value is, the faster the speed is, but the speed is not necessarily connected with the delay) 1 to 30ms: the speed is extremely fast, delay is hardly perceived, and the speed of playing any game is particularly smooth; 31 to 50ms: the game is good, can play normally, and has no obvious delay condition; 51 to 100ms: in general, a game of the confrontational type can feel delayed and occasionally pause above a certain level; 100ms to 200ms: the game is poor, the confrontational games cannot be played normally, the game is obviously jammed, and the phenomena of packet loss and disconnection occur occasionally; 200ms to 500ms: the web page access is delayed and blocked obviously, and packet loss or access incapability occurs frequently; 500ms: extremely poor, unacceptable delay and packet loss, and even no access to web pages; 1000ms: substantially inaccessible; the calculation method comprises the following steps: 1 second =1000 milliseconds (e.g., 30ms is 0.03 second).
It can be understood that the delay play interval is a time length which needs to be spanned by playing the same video picture under the condition that network delay exists between the sharing terminals.
In a specific implementation, a maximum delay duration is determined according to a network delay parameter between the shared terminal and the execution main body of this embodiment, and a delay playing interval is generated according to the maximum delay duration.
Further, in order to improve the accuracy of the generation of the delay interval, the step of determining a network delay parameter according to the shared terminal to generate the delay playing interval includes: acquiring network information of the shared terminal; performing test communication interaction according to the network information of the shared terminal to determine a network delay parameter of the shared terminal; and determining a delay playing interval according to the delay time length in the network delay parameter.
It should be noted that the test communication refers to a form in which the delay is determined by ping the target IP address in this embodiment.
It can be understood that, after the communication interaction is tested, if it is determined that the network delay corresponding to the shared terminal exceeds the preset threshold, the target terminal is fed back to the target port to remove the corresponding shared terminal from the file sharing.
Step S30: and acquiring preset shared file information, and generating a cache playing condition by combining the delayed playing interval.
It should be noted that the preset shared file information in this embodiment refers to a video file or a presentation file in a related video format composed of pictures and sounds.
It can be understood that the buffer playing condition generated in combination with the delayed playing interval refers to a position condition of playing at the same time in the process of analyzing and sharing, and for a shared terminal with a higher delay, in the process of analyzing and playing, it is necessary to use the execution main body of this embodiment as a comparison starting point to analyze the pictures of several frames before in advance for sharing. The specific shared location tag is set according to the network delay parameter.
In specific implementation, a preset transmission play stream is generated according to the shared file information, a time length for analysis in advance is set in the preset transmission play stream according to a delayed play interval, and after it is checked that sharing is performed, a sharing device with the highest network delay sends a signal corresponding to a delay play interval at the farthest end in advance.
Further, in order to improve the accuracy of the cache play condition, the step of acquiring the preset shared file information and generating the cache play condition in combination with the delayed play interval includes: acquiring preset shared file information, and acquiring the interval length corresponding to the delayed playing interval; determining a starting point and an end point of an analysis condition in the shared file information according to the interval length; and generating a buffer playing condition according to the starting point and the end point of the analysis condition and the interval length.
In the shared file information, the analysis start point and the analysis end point, that is, the farthest point and the closest point corresponding to the time when the shared signal needs to be transmitted at the same time point, correspond to the network delay parameter.
Step S40: and after the file sharing on the same screen is confirmed, analyzing the preset shared file information according to the cache playing condition and acquiring a file analyzing result.
It should be noted that, the file parsing result refers to a requirement that a data transmission time node corresponding to each sharing terminal from the first playing time to the last playing time is specified in the parsing result after the preset shared file information is parsed in this embodiment, so as to finally generate a file parsing result.
Step S50: and carrying out file sharing on the file analysis result to the sharing terminal according to the equipment label information corresponding to the cache playing condition.
In specific implementation, according to the device tag in the cache play condition, it is specified when the corresponding sharing terminal is supposed to send the synchronous sharing signal at that moment, so as to achieve the technical effect that all devices simultaneously display the same picture.
Further, in order to improve the accuracy of file sharing, the step of performing file sharing on the file parsing result to the sharing terminal according to the device tag information corresponding to the cache playing condition includes: acquiring equipment label information corresponding to the cache playing condition; determining a corresponding synchronous playing label according to the equipment label information; and generating final sharing stream data according to the synchronous playing label and the file analysis result, and sharing the file to the sharing terminal.
It should be noted that, the synchronous playing tag is to classify at a time corresponding to each frame, obtain a device identifier of the shared terminal, and generate a data transmission time point set of each frame according to the device identifier. And transmitting the file data in the shared file to the corresponding shared terminal according to the synchronous playing tag.
Further, in order to increase the speed of on-screen display, after the step of performing file sharing on the file parsing result to the sharing terminal according to the device tag information corresponding to the cache playing condition, the method further includes: recording the network delay parameters of the shared terminal and the corresponding cache playing conditions as a quick matching result and storing the quick matching result into a historical same-screen record; when a new on-screen request instruction is detected, acquiring a network delay parameter in the new on-screen request instruction as a second delay parameter; traversing and judging whether a corresponding second shortcut matching result exists in the historical same-screen record according to the second delay parameter; and if so, performing on-screen playing according to the second quick matching result.
It should be noted that after the file on-screen playing method corresponding to this embodiment is used for multiple times, a playing record in which playing is successfully fed back each time can be stored, and when it is detected that the network delay parameter corresponds to the stored history record, the shortcut matching result in the history record can be played as the current cache playing condition, so as to achieve the technical effect of shortening on-screen playing.
The embodiment determines a shared terminal according to the on-screen request instruction and acquires a network delay parameter to generate a delay playing interval; acquiring preset shared file information, and generating a cache playing condition by combining a delayed playing interval; after the file sharing on the same screen is confirmed, analyzing preset shared file information according to a cache playing condition to obtain a file analyzing result; sharing the file analysis result to the sharing terminal according to the equipment label information in the cache playing condition; the delay problem during sharing is solved by combining the mode of generating the delay playing interval by the network delay parameter, and the effect of synchronous picture display in the process of playing the files on the same screen is realized.
Referring to fig. 3, a flowchart of a file on-screen playing method according to a second embodiment of the present invention is shown.
Based on the first embodiment, the step S40 of the file on-screen playing method in this embodiment further includes:
step S401: and when a starting instruction corresponding to the file on-screen sharing is received, confirming to carry out the file on-screen sharing according to the starting instruction.
It should be noted that the start instruction corresponding to the file sharing on the same screen may be confirmed by receiving an electronic signal through a preset port, or may be obtained by performing hardware interpretation through a preset device.
It can be understood that, when a start instruction corresponding to the same-screen sharing of the file is received, it is required to detect whether the generation of the cache play condition is completed or not, and if the cache play condition is not generated, the generation is waited, and the next step is continued after the generation of the cache play condition.
Step S402: and generating a first label in a preset shared file according to the cache playing condition.
It should be noted that the first tag refers to a timestamp in this embodiment, where the first tag has no specific sequence and is only used for naming.
It can be understood that the first tag in the shared file is preset, that is, the tag corresponding to the parsing point with the largest span when the shared file is transmitted at the same time.
Step S403: and generating a file analysis result according to the first label and the preset shared file.
Further, in order to generate a file parsing result, the step of generating a file parsing result according to the first tag and the preset shared file includes: analyzing the preset shared file to generate a play stream of the preset shared file; acquiring a playing delay node corresponding to the first label; inserting a first label in a playing stream of a preset shared file according to a playing delay node to generate a file analysis result; the technical effect that the first label is inserted in the analysis process of the preset shared file according to the cache playing condition so as to be used for the same-screen sharing of the subsequent file is achieved.
In the embodiment, when a starting instruction corresponding to the same-screen sharing of the file is received, the same-screen sharing of the file is confirmed according to the starting instruction; generating a first label in the preset shared file according to the cache playing condition; and generating a file analysis result according to the first label and the preset shared file.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a program for playing a file on the same screen is stored in the storage medium, and when the program for playing a file on the same screen is executed by a processor, the steps of the method for playing a file on the same screen as described above are implemented.
Referring to fig. 4, fig. 4 is a block diagram illustrating a structure of a file on-screen playing apparatus according to a first embodiment of the present invention.
As shown in fig. 4, the file on-screen playing apparatus provided in the embodiment of the present invention includes:
the instruction obtaining module 10 is configured to, when receiving a on-screen request instruction, determine a shared terminal according to the on-screen request instruction;
an interval generating module 20, configured to determine a network delay parameter according to the shared terminal to generate a delayed playing interval;
the playing condition module 30 is configured to obtain information of a preset shared file, and generate a cache playing condition in combination with the delayed playing interval;
the file analysis module 40 is configured to, after confirming that the file is shared on the same screen, analyze the preset shared file information according to the cache play condition and obtain a file analysis result;
and the file sharing module 50 is configured to share the file analysis result with the sharing terminal according to the device tag information corresponding to the cache playing condition.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
The embodiment determines a shared terminal according to the on-screen request instruction and acquires a network delay parameter to generate a delay playing interval; acquiring preset shared file information, and generating a cache playing condition by combining a delayed playing interval; after the file sharing on the same screen is confirmed, analyzing preset shared file information according to a cache playing condition to obtain a file analyzing result; sharing the file analysis result to the sharing terminal according to the equipment label information in the cache playing condition; the delay problem during sharing is solved by combining the mode of generating the delay playing interval by the network delay parameter, and the effect of synchronous picture display in the process of playing the files on the same screen is realized.
In an embodiment, the interval generating module 20 is further configured to obtain network information of the shared terminal; performing test communication interaction according to the network information of the shared terminal to determine a network delay parameter of the shared terminal; and determining a delay playing interval according to the delay time length in the network delay parameter.
In an embodiment, the playing condition module 30 is further configured to obtain information of a preset shared file, and obtain an interval length corresponding to the delayed playing interval; determining a starting point and an end point of an analysis condition in the shared file information according to the interval length; and generating a buffer playing condition according to the starting point and the end point of the analysis condition and the interval length.
In an embodiment, the file parsing module 40 is further configured to, when a start instruction corresponding to file on-screen sharing is received, confirm that the file on-screen sharing is performed according to the start instruction; generating a first label in the preset shared file according to the cache playing condition; and generating a file analysis result according to the first label and the preset shared file.
In an embodiment, the file parsing module 40 is further configured to parse the preset shared file to generate a play stream of the preset shared file; acquiring a playing delay node corresponding to the first label; and inserting the first label in the playing stream of the preset shared file according to the playing delay node to generate a file analysis result.
In an embodiment, the file sharing module 50 is further configured to obtain device tag information corresponding to the cache playing condition; determining a corresponding synchronous playing label according to the equipment label information; and generating final sharing stream data according to the synchronous playing label and the file analysis result, and sharing the file to the sharing terminal.
In an embodiment, the file sharing module 50 is further configured to record a network delay parameter of the sharing terminal and a corresponding cache playing condition as a shortcut matching result, and store the shortcut matching result in a history on-screen record; when a new on-screen request instruction is detected, acquiring a network delay parameter in the new on-screen request instruction as a second delay parameter; traversing and judging whether a corresponding second shortcut matching result exists in the historical same-screen record according to the second delay parameter; and if so, performing on-screen playing according to the second quick matching result.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment can be referred to the method for playing the file on the same screen provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. a Read Only Memory (ROM)/RAM, a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A file on-screen playing method is characterized by comprising the following steps:
when receiving a same-screen request instruction, determining a shared terminal according to the same-screen request instruction;
determining a network delay parameter according to the shared terminal to generate a delay playing interval;
acquiring preset shared file information, and generating a cache playing condition by combining the delayed playing interval;
after the file on-screen sharing is confirmed, analyzing the preset shared file information according to the cache playing condition and obtaining a file analysis result;
and carrying out file sharing on the file analysis result to the sharing terminal according to the equipment label information corresponding to the cache playing condition.
2. The method for playing the file on the same screen as in claim 1, wherein the step of determining the network delay parameter according to the sharing terminal to generate the delay playing interval comprises:
acquiring network information of the shared terminal;
performing test communication interaction according to the network information of the shared terminal to determine a network delay parameter of the shared terminal;
and determining a delay playing interval according to the delay time length in the network delay parameter.
3. The method for playing the file on the same screen as in claim 1, wherein the step of obtaining the information of the preset shared file and generating the buffer playing condition in combination with the delayed playing interval comprises:
acquiring preset shared file information, and acquiring the interval length corresponding to the delayed playing interval;
determining a starting point and an end point of an analysis condition in the shared file information according to the interval length;
and generating a buffer playing condition according to the starting point and the end point of the analysis condition and the interval length.
4. The method for playing the files on the same screen as in claim 1, wherein the step of parsing the preset shared file information and obtaining the file parsing result according to the cache playing condition after confirming the sharing of the files on the same screen comprises:
when a starting instruction corresponding to the same-screen sharing of the file is received, confirming the same-screen sharing of the file according to the starting instruction;
generating a first label in the preset shared file according to the cache playing condition;
and generating a file analysis result according to the first label and the preset shared file.
5. The method for playing the file on the same screen as in claim 4, wherein the step of generating the file parsing result according to the first tag and the preset shared file comprises:
analyzing the preset shared file to generate a play stream of the preset shared file;
acquiring a playing delay node corresponding to the first label;
and inserting the first label in the playing stream of the preset shared file according to the playing delay node to generate a file analysis result.
6. The method for playing the files on the same screen according to claim 1, wherein the step of sharing the file analysis result to the sharing terminal according to the device tag information corresponding to the cache playing condition includes:
acquiring equipment label information corresponding to the cache playing condition;
determining a corresponding synchronous playing label according to the equipment label information;
and generating final sharing stream data according to the synchronous playing label and the file analysis result, and sharing the file to the sharing terminal.
7. The method for playing the files on the same screen according to any one of claims 1 to 6, wherein after the step of performing file sharing on the file parsing result to the sharing terminal according to the device tag information corresponding to the cache playing condition, the method further comprises:
recording the network delay parameters of the shared terminal and the corresponding cache playing conditions as a quick matching result and storing the quick matching result into a historical same-screen record;
when a new on-screen request instruction is detected, acquiring a network delay parameter in the new on-screen request instruction as a second delay parameter;
traversing and judging whether a corresponding second shortcut matching result exists in the historical same-screen record according to the second delay parameter;
and if so, performing on-screen playing according to the second quick matching result.
8. A file on-screen playing device is characterized in that the file on-screen playing device comprises:
the instruction acquisition module is used for determining a shared terminal according to the on-screen request instruction when the on-screen request instruction is received;
the interval generation module is used for determining a network delay parameter according to the shared terminal so as to generate a delay playing interval;
the playing condition module is used for acquiring preset shared file information and generating a cache playing condition by combining the delayed playing interval;
the file analysis module is used for analyzing the preset shared file information according to the cache playing condition and acquiring a file analysis result after the file sharing on the same screen is confirmed;
and the file sharing module is used for sharing the file analysis result to the sharing terminal according to the equipment label information corresponding to the cache playing condition.
9. A computer device, the device comprising: a memory, a processor that, when executing computer instructions stored by the memory, performs the method of any of claims 1-7.
10. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 7.
CN202211664691.6A 2022-12-22 2022-12-22 File on-screen playing method and related device Pending CN115857858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211664691.6A CN115857858A (en) 2022-12-22 2022-12-22 File on-screen playing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211664691.6A CN115857858A (en) 2022-12-22 2022-12-22 File on-screen playing method and related device

Publications (1)

Publication Number Publication Date
CN115857858A true CN115857858A (en) 2023-03-28

Family

ID=85654253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211664691.6A Pending CN115857858A (en) 2022-12-22 2022-12-22 File on-screen playing method and related device

Country Status (1)

Country Link
CN (1) CN115857858A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719894A (en) * 2005-06-15 2006-01-11 北京交通大学 Method for implementing video request program under cover network multicasting
CN101731011A (en) * 2007-05-11 2010-06-09 奥迪耐特有限公司 Systems, methods and computer-readable media for configuring receiver latency
US20180205986A1 (en) * 2015-07-27 2018-07-19 Zte Corporation Method and Device for Implementing Synchronous Playing
US20210084389A1 (en) * 2017-08-17 2021-03-18 Ltn Global Communications Inc. System and method for synchronizing metadata with audiovisual content
CN115053518A (en) * 2020-02-07 2022-09-13 微软技术许可有限责任公司 Delay compensation for synchronizing shared video content within a web conference session

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719894A (en) * 2005-06-15 2006-01-11 北京交通大学 Method for implementing video request program under cover network multicasting
CN101731011A (en) * 2007-05-11 2010-06-09 奥迪耐特有限公司 Systems, methods and computer-readable media for configuring receiver latency
US20180205986A1 (en) * 2015-07-27 2018-07-19 Zte Corporation Method and Device for Implementing Synchronous Playing
US20210084389A1 (en) * 2017-08-17 2021-03-18 Ltn Global Communications Inc. System and method for synchronizing metadata with audiovisual content
CN115053518A (en) * 2020-02-07 2022-09-13 微软技术许可有限责任公司 Delay compensation for synchronizing shared video content within a web conference session

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张志檩: "企业信息化实用指南", 31 December 1997, 中国石化出版社, pages: 115 - 120 *

Similar Documents

Publication Publication Date Title
CN107493375B (en) Mobile terminal expansion screen projection method and screen projection system
CN111031368B (en) Multimedia playing method, device, equipment and storage medium
EP2747373B1 (en) Method and apparatus for managing audio playing
US11153666B2 (en) Method and apparatus for releasing video file
JP6469313B2 (en) Information processing method, terminal, and computer storage medium
US10375438B2 (en) Method for content projection and mobile terminal
CN109005438B (en) Video playing method and device
CN107370768B (en) Intelligent television streaming media preview system and method
CN113590067A (en) Screen projection control method, system, device and computer readable storage medium
EP2460350B1 (en) Video reproduction apparatus, control method thereof, and computer-readable storage medium storing program
CN106973318B (en) Aggregated video operation method and device
CN104811745A (en) Video content displaying method and device
CN113778360B (en) Screen projection method and electronic equipment
JP7058795B2 (en) Video processing methods, devices, terminals and storage media
CN113556568A (en) Cloud application program operation method, system, device and storage medium
CN112015309B (en) Display switching method and device and mobile terminal
CN109195021B (en) Screenshot sharing method and device
CN115857858A (en) File on-screen playing method and related device
CN113938742B (en) Control method, system, equipment and storage medium for automatic screen-throwing content playing
CN105357561A (en) Information processing method and terminal
CN113271487B (en) Audio and video synchronous playing method, device, system, program product and storage medium
US20220083306A1 (en) Information processing device, non-transitory recording medium, and information processing system
CN111782100A (en) Method, device, terminal and storage medium for previewing background picture
EP3739874A1 (en) Video playback method and device, terminal device and computer readable storage medium
CN103686408A (en) Method, device and terminal equipment for projecting resources

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