CN112291602B - Video playing method, electronic equipment and storage medium - Google Patents

Video playing method, electronic equipment and storage medium Download PDF

Info

Publication number
CN112291602B
CN112291602B CN202011185612.4A CN202011185612A CN112291602B CN 112291602 B CN112291602 B CN 112291602B CN 202011185612 A CN202011185612 A CN 202011185612A CN 112291602 B CN112291602 B CN 112291602B
Authority
CN
China
Prior art keywords
playing
video
short video
wifi hotspot
user
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.)
Active
Application number
CN202011185612.4A
Other languages
Chinese (zh)
Other versions
CN112291602A (en
Inventor
陈晓磊
王飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lianshang Xinchang Network Technology Co Ltd
Original Assignee
Lianshang Xinchang Network 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 Lianshang Xinchang Network Technology Co Ltd filed Critical Lianshang Xinchang Network Technology Co Ltd
Priority to CN202011185612.4A priority Critical patent/CN112291602B/en
Publication of CN112291602A publication Critical patent/CN112291602A/en
Application granted granted Critical
Publication of CN112291602B publication Critical patent/CN112291602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • 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/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a video playing method, electronic equipment and a computer readable storage medium. In the method, the terminal is started based on a starting operation instruction of a user, the screen opening content is played in the starting process, the viewing instruction sent by the user is responded, if the terminal is detected not to be accessed into the wireless network currently, the access information of the wireless network is obtained and connected with the wireless network, and in response to successful networking, a new short video is requested from a video server and a playlist is updated; the method comprises the steps of receiving short video information and a playing sequence of the short video, playing the next short video based on the playlist in response to the detection of a next video playing instruction sent by a user, and accessing a wireless local area network when a terminal plays a short video application program under the condition of using data flow, so that data network resources and cost are saved, and user experience is improved.

Description

Video playing method, electronic equipment and storage medium
[ technical field ] A method for producing a semiconductor device
The present application relates to internet technologies, and in particular, to a video playing method, an electronic device, and a computer-readable storage medium.
[ background ] A method for producing a semiconductor device
In recent years, with the rapid development of audio and video technologies, self-media technologies and internet technologies, and the increasing popularization of intelligent terminals such as smart phones and tablet computers in people's daily life, more and more people can shoot short videos at will, and communication and update of social platforms gradually change from original text transmission to audio and video transmission. Thus, various Applications (APPs) that provide short video production and dissemination to users also appear as late spring shoots, such as applications that tremble, volcano, handedness, and so on. Short videos, i.e. short video or small videos, are generally video broadcast contents which are broadcast on new internet media for a short period of time (for example, within 1 minute). Because the short video has the characteristics of high output speed, wide influence range and more people participating, at present, the short video gradually replaces texts, pictures and music, which is called as a mainstream mode of media transmission at present.
When playing a video, if a current terminal only gives some prompts of using data traffic under the condition of data traffic, the current terminal does not switch to a wireless local area network (hereinafter referred to as a wireless network) for a user, and the user can select to continue using the data traffic to play the video, so that certain data network resources are occupied, and some traffic cost is generated, thereby increasing the cost of the user.
[ summary of the invention ]
Aspects of the present application provide a video playing method, an electronic device, and a computer-readable storage medium, so as to enable a terminal to access a wireless local area network when playing a short video application program under a condition of using data traffic, save data network resources and cost, and improve user experience.
In one aspect of the present application, a video playing method is provided, including:
starting based on a starting operation instruction of a user, and playing the screen opening content in the starting process;
responding to a viewing instruction sent by the user, and if the terminal is detected not to access the wireless network currently, acquiring access information of the wireless network and connecting the wireless network;
in response to successful networking, requesting a new short video from the video server and updating the playlist; the playlist comprises short video information and a playing sequence of playable short videos;
and in response to detecting a next video playing instruction sent by the user, playing a next short video based on the playlist.
In another aspect of the present application, there is provided an electronic device including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method as provided in an aspect above.
In another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, which program, when executed by a processor, implements the method as provided in the above aspect.
According to the technical scheme, in the embodiment of the application, the screen-open content is started based on a starting operation instruction of a user and played in the starting process, when a viewing instruction sent by the user is received, if the fact that the terminal where the terminal is located is not accessed into the wireless network currently is detected, access information of the wireless network is obtained and connected with the wireless network, after networking is successful, a new short video is requested from a video server, a play list is updated, and when a next video playing instruction sent by the user is detected, a next short video is played based on the play list, so that the video playing application program is automatically accessed into the wireless network under the condition that the user does not sense the video playing application program, certain data network resources are prevented from being occupied by the video playing with data flow, flow cost is prevented from being generated, and cost of the user is reduced.
In addition, by adopting the technical scheme provided by the application, the user does not need to manually switch to the native Wireless network list of the terminal system to connect the Wireless network, or manually switch to the application program with the networking capability to trigger or automatically connect the peripheral Wireless Fidelity (WiFi) hotspot, so that the condition that the system resources and the electric quantity of the terminal are additionally consumed by the user manually switching to the native Wireless network list of the terminal system or the application program with the networking capability can be avoided, the user can not be interrupted to watch the short video, and the user experience is improved.
In addition, by adopting the technical scheme provided by the application, the video playing application program can be automatically accessed to the wireless network without sensing when the user uses the video playing application program, so that the user is not interrupted to watch short videos and influence the user operation, and the user experience is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a schematic flowchart of a video playing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a video playing method according to another embodiment of the present application;
fig. 3 is a schematic flowchart of a video playing method according to another embodiment of the present application;
fig. 4 is a schematic flow chart illustrating a process of acquiring access information of a wireless network from a network server and connecting the wireless network in the embodiment shown in fig. 1;
FIG. 5 is a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present application.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terminal involved in the embodiments of the present application may include, but is not limited to, a mobile phone, a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a Personal Computer (PC), an MP3 player, an MP4 player, a wearable device (e.g., smart glasses, a smart watch, a smart bracelet, etc.), and the like.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
When playing a video, if the current terminal only gives some prompts of using the data traffic under the condition of the data traffic, the current terminal does not switch to the wireless network for the user, and the user can choose to continue using the data traffic to play the video, so that certain data network resources are occupied, and some traffic cost is generated, thereby increasing the cost of the user. Or, the user may also manually switch to the native wireless local area network list of the terminal system to connect the wireless local area network, or manually switch to the application program with networking capability to trigger or automatically connect the peripheral WiFi hotspot, and the user manually switches to the native wireless local area network list of the terminal system or the application program with networking capability may additionally consume system resources and electric quantity of the terminal, and at the same time, may interrupt the user from normally watching a video, and reduce user experience.
Therefore, it is desirable to provide a video playing method, so that when the terminal plays the short video application program under the condition of using the data traffic, the terminal accesses the wireless local area network, thereby saving the data network resources and cost, and avoiding the user from manually switching to the native wireless network list of the terminal system or the application program with networking capability from consuming the system resources and the power of the terminal additionally, which will not interrupt the user from watching the short video, and thus improve the user experience.
Fig. 1 is a schematic flowchart of a video playing method according to an embodiment of the present application, as shown in fig. 1.
101. Starting based on a starting operation instruction of a user, and playing the screen opening content in the starting process.
In this embodiment of the application, the screen-opening content may be content appearing in a first screen when the application is started, and may be content in any format specified by an application developer or an operator, for example, information introduction of the application developer or the operator, introduction of the application itself, screen-opening advertisement, and the like. An open screen advertisement is an advertisement that appears when an application is started, and may include any one or more of pictures, videos, texts, and the like, and is generally shown for a fixed time (e.g., 5 seconds). And automatically closing the screen opening content after the screen opening content is displayed, and entering an application program main page or a designated label page. In addition, the user can also finish displaying the open screen content by sending a viewing instruction (for example, clicking a button such as "skip" or the like) and enter an application main page or a specified tab page.
102. And responding to the received checking instruction sent by the user, and if the terminal is detected not to be accessed into the wireless network currently, acquiring the access information of the wireless network and connecting the wireless network.
The embodiment of the present application can be applied to any video playing application, where the video playing application may include any application for making and playing video or short video, such as applications for trembling, volcano, fast playing, and the like.
In addition, a networking plug-in, such as a Software Development Kit (SDK) of a WiFi master key, may be set in advance in the video playing application to enable the video playing application to have networking capability. The embodiment of the application does not limit the specific type and implementation mode of the networking plug-in.
103. In response to successful networking, a new short video is requested from the video server and the playlist is updated.
The playlist includes short video information and a playing sequence of the playable short videos. The short video information may include, for example, but is not limited to, at least one of: a short video Identification (ID), a storage address, a download time, etc., wherein the short video ID may include a name, a number, etc., of the short video.
Wherein successful networking means that the internet can be accessed. The successful connection of the wireless network indicates that the connection with the router is successfully established, and the internet is not necessarily accessed at this time.
104. And in response to detecting a next video playing instruction sent by the user, playing a next short video based on the playlist.
The next short video is a short video which is played in the playlist at a position after and adjacent to the currently played short video.
It should be noted that part or all of the execution subjects of 101 to 104 may be an application located in the terminal, or may also be a functional unit such as a plug-in or Software Development Kit (SDK) in the application for setting the terminal, or may also be an application located in a network side server, which is not particularly limited in this embodiment of the present application.
It is to be understood that the application may be a native app (native app) installed on the terminal, or may also be a web page app (webApp) of a browser on the terminal, which is not limited in this embodiment of the present application.
Therefore, the video playing application program is automatically accessed to the wireless network under the condition that the user does not perceive, certain data network resources are prevented from being occupied by the video playing through data flow, flow cost is prevented from being generated, the cost of the user is increased, and the data network resources and the cost are saved.
In addition, by adopting the technical scheme provided by the application, the user does not need to manually switch to the native wireless network list of the terminal system to connect the wireless network, or manually switch to the application program with networking capability to trigger or automatically connect the peripheral wireless fidelity WiFi hotspot, so that the situation that the user manually switches to the native wireless network list of the terminal system or the application program with networking capability additionally consumes system resources of the terminal and system resources and electric quantity of the electric quantity terminal can be avoided, the user can not be interrupted to watch the short video, and the user experience is improved.
In addition, by adopting the technical scheme provided by the application, the wireless network can be automatically accessed without sensing when the user uses the wireless network, the short video watching of the user is not interrupted, the user operation is not influenced, and the user experience is improved.
Optionally, in the video playing method according to the embodiment of the present application, before playing the screen-open content in 101, the screen-open content may be cached, where the screen-open content may include, but is not limited to, at least one of the following: video, pictures, text, etc.
Based on the embodiment, the screen-opening content can be obtained from the video server in advance and cached locally at the terminal, so that the situation that the terminal obtains the screen-opening content from the video server in real time when using data traffic so as to increase the user cost is avoided.
Fig. 2 is a schematic flowchart of a video playing method according to another embodiment of the present application, as shown in fig. 2.
201. Starting based on a starting operation instruction of a user, displaying the screen-opening content (for example, playing an open screen advertisement) in the starting process, and displaying a viewing operation prompt message.
The operation prompting message is used for prompting what operation can be executed to view the short video, for example, a 'skip' button, a 'slide up view short video' and the like are displayed, a user can wait for the display of the screen-opening content to finish entering the application program main page or the specified tab page, and can also finish displaying the screen-opening content and entering the application program main page or the specified tab page by sending a viewing instruction, for example, clicking the 'skip' button, the slide up operation and the like.
Thereafter, 202 and 203 may be performed simultaneously, or 202 and 203 may be performed in any order.
202. And in response to receiving a viewing instruction sent by the user based on the viewing operation prompt message or finishing playing the screen opening content, if the terminal is detected not to access the wireless network currently, executing 203 and 204 simultaneously.
The user sends the viewing instruction to indicate that the user has a requirement for viewing the short video, or hopes to finish playing of the screen-opening content in advance and view the short video.
203. And playing the short video cached in advance.
The user sends the viewing instruction to indicate that the user has a requirement for viewing the short video, or hopes to finish playing of the open screen content in advance and view the short video.
Thereafter, 205 is performed.
204. And acquiring access information of the wireless network and connecting the wireless network.
205. In response to successful networking, a new short video is requested from the video server and the playlist is updated.
In the embodiment of the present application, the video server is a server that provides video resources (e.g., short videos).
206. And in response to detecting a next video playing instruction sent by the user, playing a next short video based on the playlist.
Based on the embodiment, the short video can be cached in advance, and the cached short video starts to be played when a viewing instruction sent by a user is received or after the content of the opened screen is played, so that the short video can be smoothly played.
Optionally, in the video playing method according to the embodiment of the present application, more than one short video may be cached in advance, the playlist may be updated, the short video information of the more than one short video is added to the playlist, and the playing sequence of the more than one short video is set to be the playing sequence after the screen-open content, so that the cached short video may be played after the display of the screen-open content is finished.
Fig. 3 is a schematic flowchart of a video playing method according to another embodiment of the present application, as shown in fig. 3.
301. And starting based on a starting operation instruction of a user, playing the screen opening content in the starting process, and displaying a viewing operation prompt message.
The operation prompting message is used for prompting what operation can be executed to view the short video, for example, a 'skip' button, a 'slide up view short video' and the like are displayed, a user can wait for the display of the screen-opening content to finish entering the application program main page or the specified tab page, and can also finish displaying the screen-opening content and entering the application program main page or the specified tab page by sending a viewing instruction, for example, clicking the 'skip' button, the slide up operation and the like.
302. And detecting whether the terminal is accessed to the wireless network currently or not in response to receiving a viewing instruction sent by the user based on the viewing operation prompting message.
The user sends the viewing instruction to indicate that the user has a requirement for viewing the short video, or hopes to finish playing of the open screen content in advance and view the short video.
If the terminal is currently accessed to the wireless network, 303 is executed; otherwise, if the terminal does not access the wireless network currently, executing 304 and 305-306 simultaneously.
303. And requesting a new short video from the video server and playing the short video.
304. And acquiring access information of the wireless network and connecting the wireless network.
Thereafter, 307 may be performed.
One of the pre-cached short videos is played 305 according to the playlist.
306. And taking a currently played short video as the current short video, and in the process of playing the current short video or after the current short video is played, responding to a next video playing instruction sent by a user and playing a next short video of the current short video in the short videos cached in advance according to the playlist.
In the process of playing the current short video, each time the next video playing instruction sent by the user is detected, playing a short video next to the current short video in the pre-cached short videos until all the pre-cached short videos are played. For example, after the screen-open content is started to be played, when a next video playing instruction sent by a user is detected for the first time, a first short video of a current short video in the short videos cached in advance is played; and when a next video playing instruction sent by the user is detected for the second time, playing out the second short video, \8230, of the current short videos in the short videos cached in advance, and so on, when a next video playing instruction sent by the user is detected for the Nth time, playing out the Nth short video of the current short videos in the short videos cached in advance, wherein N is an integer greater than 2.
307. In response to successful networking, a new short video is requested from the video server and the playlist is updated.
308. And in response to detecting a next video playing instruction sent by the user, playing a next short video based on the playlist.
Based on the embodiment, when a viewing instruction sent by a user is received, if it is detected that the terminal where the terminal is located is not currently accessed to the wireless network, the access information of the wireless network is obtained and connected to the wireless network, meanwhile, the short video in the short video cached in advance is played according to the playlist, and after networking is successful, a new short video is requested from the video server and the playlist is updated.
Optionally, in some implementations, in 103, 205, or 307, in response to successful networking, a new short video is requested from the video server, the playlist is updated, the short video information of the new short video is added to the playlist, and the playing order of the new short video is set to the playing order after the current short video, so that the new short video requested from the server can be directly played when a next video playing instruction sent by the user is detected.
Optionally, in some of the implementations, before successful networking, that is, before 103, 205 or 307, it may further include: and responding to the completion of the playing of more than one short video cached in advance, requesting a new short video from the video server, updating the playlist, and displaying a prompt message of using the data traffic at present.
Based on the embodiment, if the short videos cached in advance are all played completely and the networking is still not successful, the user is prompted to use the data flow at present, the flow consumption is noticed, the situation that the user uses the data flow to play the videos under the condition that the user does not know the situation that certain data network resources are occupied and the cost of the user is increased due to the flow cost is generated can be avoided, the user can not interrupt the normal watching of the short videos, and the user experience is improved.
Fig. 4 is a schematic flow chart illustrating a process of acquiring access information of a wireless network and connecting the wireless network in the embodiment shown in fig. 1. As shown in fig. 4, on the basis of the embodiment shown in fig. 1, access information of a wireless network may be obtained from a network server and a connection to the wireless network is started, where the network server is a server for providing wireless network resource information, and the wireless network resource information includes access information for accessing the wireless network, such as information and a password of a WiFi hotspot.
401. And scanning the WiFi hotspots to obtain a WiFi hotspot list.
The WiFi hotspot list comprises information of at least one scanned WiFi hotspot in the periphery. The WiFi hotspot list includes information of at least one WiFi hotspot, where the information of the WiFi hotspot may be, for example, an identification of the WiFi hotspot, a Media Access Control (MAC) address of the WiFi hotspot, a signal strength, and the like.
402. And selecting a WiFi hotspot from the WiFi hotspot list as a current WiFi hotspot according to a preset mode, and acquiring a password of the current WiFi hotspot from a network server.
Optionally, in some implementation manners, according to a preset manner, one WiFi hotspot is selected from the WiFi hotspot list as the current WiFi hotspot, for example, one WiFi hotspot is selected from the WiFi hotspot list as the current WiFi hotspot according to a sequence of strong signal strength to weak signal strength of each WiFi hotspot in the WiFi hotspot list; or, a WiFi hotspot may be sequentially selected from the WiFi hotspot list in order as the current WiFi hotspot. The embodiment of the application does not limit the selection mode of the WiFi hotspot.
403. And connecting the current WiFi hotspot based on the information and the password of the current WiFi hotspot.
The access information of the wireless network comprises the information and the password of the current WiFi hotspot.
404. And responding to the failure of the connection of the current WiFi hotspot, selecting the next WiFi hotspot from the WiFi hotspot list as the current WiFi hotspot, and starting to execute the operation of acquiring the password of the current WiFi hotspot from the network server until the connection of the current WiFi hotspot is successful.
Based on the application embodiment, wiFi hotspots around the terminal can be scanned and connected, and therefore access to a wireless network is achieved.
Optionally, after 404, the method may further include:
405. and responding to the successful connection of the current WiFi hotspot, and testing whether networking is successful or not based on the current WiFi hotspot.
For example, in one possible implementation, whether networking is successful may be determined by accessing a reserved network port.
If the networking is not successful based on the current WiFi hotspot, the operations of 103, 205 or 307 are executed. Otherwise, if the networking is not successful based on the current WiFi hotspot, the operation of 406 is performed.
406. And selecting the next WiFi hotspot from the WiFi hotspot list as the current WiFi hotspot, and starting to execute the operation of acquiring the password of the current WiFi hotspot from the network server until successful networking is realized or the WiFi hotspot attempt in the WiFi hotspot list is finished.
The successful connection of the WiFi hotspot indicates that the connection with the router is successfully established, and at this time, the internet may not be accessed. Based on the embodiment, whether the current WiFi hotspot is successfully networked or not can be tested after the WiFi hotspot is successfully connected, and if the current WiFi hotspot is not successfully networked, the WiFi hotspot is reselected and connected, so that the success rate of connecting the user to the wireless network is improved.
Optionally, in other implementations, in 102, 204, or 304, the access information of the wireless network may also be acquired and connected to the wireless network by: scanning WiFi hotspots to obtain a WiFi hotspot list, wherein the WiFi hotspot list comprises information of at least one WiFi hotspot; inquiring whether the information and the password of the WiFi hotspot in the WiFi hotspot list are stored in the access information of the wireless network cached by the terminal; and if the terminal stores the information and the password of the WiFi hot spot in the WiFi hot spot list, acquiring the information and the password of the WiFi hot spot in the WiFi hot spot list stored by the terminal as access information of a wireless network to connect the wireless network.
If the terminal does not store the information and the password of the WiFi hotspot in the WiFi hotspot list, the terminal may acquire access information of the wireless network from the network server and start to connect to the wireless network, for example, acquire the access information of the wireless network through 402 to 406 in the embodiment shown in fig. 4 and start to connect to the wireless network.
Based on the embodiment, the wireless network is preferentially connected with the WiFi hotspot information and the password stored in the terminal, so that the wireless network access efficiency can be improved, and network resources required for acquiring the wireless network access information from the network server can be saved.
The technical scheme of the application can be suitable for video playing application programs in any equipment such as a terminal and a video server. When the video playing method provided by the embodiment of the application is executed by utilizing the video playing application program, the video playing application program can be automatically accessed to the wireless network under the condition that a user does not perceive, the situation that certain data network resources are occupied by playing videos by using data flow and the flow cost is generated so as to increase the cost of the user is avoided, and the data network resources and the cost are saved.
In addition, by adopting the technical scheme provided by the application, a user does not need to manually switch to the native wireless network list of the terminal system to connect the wireless network, or manually switch to the application program with the networking capability to trigger or automatically connect the peripheral wireless fidelity WiFi hotspot, so that the situation that the user manually switches to the native wireless network list of the terminal system or the application program with the networking capability additionally consumes system resources of the terminal and system resources and electric quantity of the electric quantity terminal can be avoided, the user can not be interrupted to watch the short video, and the user experience is improved.
In addition, by adopting the technical scheme provided by the application, the wireless network can be automatically accessed without perception when the user uses the wireless network, the user can not be interrupted to watch the short video and influence the user operation, and the user experience is improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
FIG. 5 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present application. The computer system/server 12 shown in FIG. 5 is only one example and should not be taken to limit the scope of use or functionality of embodiments of the present application.
As shown in FIG. 5, computer system/server 12 is in the form of a general purpose computing device. The components of computer system/server 12 may include, but are not limited to: one or more processors or processing units 16, a storage device or system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer system/server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer system/server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
Program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination of which may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
The computer system/server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the computer system/server 12, and/or with any devices (e.g., network card, modem, etc.) that enable the computer system/server 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 44. Also, the computer system/server 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 20. As shown in FIG. 5, network adapter 20 communicates with the other modules of computer system/server 12 via bus 18. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the methods provided by any of the embodiments corresponding to fig. 1-5.
Another embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method provided in any one of the embodiments corresponding to fig. 1 to 5.
In particular, any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or page components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer-readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. A video playback method, comprising:
starting based on a starting operation instruction of a user, and playing pre-cached screen opening content in the starting process;
in the playing process of the screen-opening content, displaying a viewing operation prompt message, responding to a viewing instruction sent by the user based on the viewing operation prompt message, if the fact that the terminal is not currently accessed into the wireless network is detected, acquiring access information of the wireless network and connecting the wireless network, and playing a pre-cached short video according to a play list, wherein the playing sequence of the short video is the playing sequence behind the screen-opening content; the playlist comprises short video information and a playing sequence of playable short videos;
in response to successful networking, requesting a new short video from a video server and updating a play list, adding short video information of the new short video into the play list, and setting the play sequence of the new short video as a play sequence behind a currently played short video;
and in response to detecting a next video playing instruction sent by the user, playing a next short video based on the playlist.
2. The method of claim 1, wherein before playing the on-screen content, further comprising:
caching the screen-opening content; wherein the screen-on content comprises at least one of: video, pictures, text.
3. The method of claim 1, further comprising:
and responding to the completion of the playing of the screen opening content, and playing the short video cached in advance according to the play list.
4. The method of claim 3, further comprising:
the method comprises the steps of caching more than one short video in advance, updating the playlist, adding short video information of the more than one short video into the playlist, and setting the playing sequence of the more than one short video as the playing sequence behind the screen-opening content.
5. The method of claim 4, wherein playing the pre-cached short video according to the playlist comprises:
in response to receiving a viewing instruction sent by the user based on the viewing operation prompt message or after the playing of the screen-opening content is finished, playing one short video of the more than one short videos according to the play list;
and taking the currently played short video as the current short video, and playing a next short video of the current short video in the more than one short videos according to the play list in response to detection of a next video playing instruction sent by the user in the process of playing the current short video or after the current short video is played.
6. The method of claim 5, wherein prior to successful networking, further comprising:
and responding to the completion of the playing of the more than one short videos, requesting a new short video from the video server, updating the play list, and displaying a prompt message of using the data traffic at present.
7. The method according to any one of claims 1 to 6, wherein the obtaining access information of the wireless network and connecting the wireless network comprises:
scanning WiFi hotspots to obtain a WiFi hotspot list, wherein the WiFi hotspot list comprises information of at least one WiFi hotspot;
selecting a WiFi hotspot from the WiFi hotspot list as a current WiFi hotspot according to a preset mode, and acquiring a password of the current WiFi hotspot from a network server;
connecting the current WiFi hotspot based on the information and the password of the current WiFi hotspot; the access information of the wireless network comprises the information and the password of the current WiFi hotspot;
responding to the connection failure of the current WiFi hotspot, selecting the next WiFi hotspot from the WiFi hotspot list as the current WiFi hotspot, and starting to execute the operation of acquiring the password of the current WiFi hotspot from a network server;
in response to the current WiFi hotspot being successfully connected, testing whether networking is successful based on the current WiFi hotspot;
and if the current WiFi hotspot is not successfully networked, selecting the next WiFi hotspot from the WiFi hotspot list as the current WiFi hotspot, and starting to execute the operation of obtaining the password of the current WiFi hotspot from a network server.
8. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method as claimed in any one of claims 1 to 7.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202011185612.4A 2020-10-29 2020-10-29 Video playing method, electronic equipment and storage medium Active CN112291602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011185612.4A CN112291602B (en) 2020-10-29 2020-10-29 Video playing method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011185612.4A CN112291602B (en) 2020-10-29 2020-10-29 Video playing method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112291602A CN112291602A (en) 2021-01-29
CN112291602B true CN112291602B (en) 2023-04-07

Family

ID=74353043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011185612.4A Active CN112291602B (en) 2020-10-29 2020-10-29 Video playing method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112291602B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257870B (en) * 2021-12-20 2024-03-15 北京字跳网络技术有限公司 Short video playing method, device, equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932366A (en) * 2012-11-14 2013-02-13 腾讯科技(深圳)有限公司 Method and device for managing multimedia resource, and player
US10296884B2 (en) * 2013-09-30 2019-05-21 Sonos, Inc. Personalized media playback at a discovered point-of-sale display
CN104866503B (en) * 2014-02-25 2020-02-11 腾讯科技(深圳)有限公司 Media file caching method and media playing equipment
CN104618991B (en) * 2014-12-31 2017-02-08 上海连尚网络科技有限公司 Wifi (wireless fidelity) connecting method and wifi connecting system for mobile terminal
CN104883610B (en) * 2015-04-28 2018-03-23 腾讯科技(北京)有限公司 Paster video broadcasting method and device
CN109302641B (en) * 2017-07-25 2022-08-02 腾讯科技(北京)有限公司 Video watching request method, medium and device
CN107566295A (en) * 2017-09-01 2018-01-09 努比亚技术有限公司 A kind of data traffic reminding method, browser and computer-readable recording medium
CN108235086B (en) * 2017-12-18 2021-08-20 广州华多网络科技有限公司 Video playing control method and device and corresponding terminal
CN108600950A (en) * 2018-05-07 2018-09-28 Tcl通力电子(惠州)有限公司 Online audio and video playing method, audio and video display device and storage medium
CN109152095B (en) * 2018-11-07 2021-10-22 上海尚往网络科技有限公司 Wireless network connection method for terminal
CN110225393A (en) * 2019-05-29 2019-09-10 阿里巴巴集团控股有限公司 Video cache method and device

Also Published As

Publication number Publication date
CN112291602A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN109618177B (en) Video processing method and device, electronic equipment and computer readable storage medium
US20220053068A1 (en) Methods, apparatuses and computer storage media for applet state synchronization
US20220261127A1 (en) Information display method and apparatus, electronic device, and computer readable medium
WO2019165905A1 (en) Information display method, graphical user interface and terminal
US20240192986A1 (en) Application handoff method and apparatus
US10579215B2 (en) Providing content via multiple display devices
US10732793B2 (en) Apparatus and method for providing information via portion of display
EP1745662B1 (en) Method and apparatus for displaying messages in idle state of mobile terminal
US20160323654A1 (en) Rendering advertisements in a client device for uninterrupted media content
CN111866537B (en) Information display method and device in live broadcast room, storage medium and electronic equipment
US20140325323A1 (en) Online video playing method and apparatus and computer readable medium
US20240289398A1 (en) Method, apparatus, device and storage medium for content display
US20160128120A1 (en) Method of transmitting and receiving data of electronic device and electronic device using the method
US12067136B2 (en) Display method, display device, and electronic device
CN111901695B (en) Video content interception method, device and equipment and computer storage medium
US20240028189A1 (en) Interaction method and apparatus, electronic device and computer readable medium
CN112528177B (en) Method for connecting waiting page switching content pages, electronic equipment and storage medium
CN105744338B (en) A kind of method for processing video frequency and its equipment
CN112291602B (en) Video playing method, electronic equipment and storage medium
JP7482216B2 (en) Video content display method, client, and storage medium
CN112015309A (en) Display switching method and device and mobile terminal
CN113286349B (en) Personal hot spot connection method, device, terminal and storage medium
CN110060099A (en) Information-pushing method, device and electronic equipment based on historical record
KR20220112410A (en) Message system for processing a message having special effects
CN113950043A (en) Communication method, communication apparatus, storage medium, and terminal

Legal Events

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