CN115695929A - Multimedia resource downloading method and device, electronic equipment and storage medium - Google Patents

Multimedia resource downloading method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115695929A
CN115695929A CN202211176957.2A CN202211176957A CN115695929A CN 115695929 A CN115695929 A CN 115695929A CN 202211176957 A CN202211176957 A CN 202211176957A CN 115695929 A CN115695929 A CN 115695929A
Authority
CN
China
Prior art keywords
network state
target
target object
network
predicted
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
CN202211176957.2A
Other languages
Chinese (zh)
Inventor
聂红涛
王全理
马鹏
颜秉武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202211176957.2A priority Critical patent/CN115695929A/en
Publication of CN115695929A publication Critical patent/CN115695929A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a multimedia resource downloading method, a multimedia resource downloading device, electronic equipment and a storage medium, and belongs to the technical field of internet. The method comprises the following steps: acquiring a network state representation of a target object, wherein the network state representation is used for describing a network state from a space-time dimension; determining a predicted network state of the target object based on the network state image of the target object and current spatio-temporal information of the target object, wherein the spatio-temporal information is used for representing at least one of current time and current position, and the predicted network state is a network state predicted to be reached by the target object; and in response to the predicted network state being a target network state, pre-downloading at least one multimedia resource, wherein the target network state is a network state in which the multimedia resource cannot be loaded. The method can pre-download a batch of multimedia resources before the target network state is reached, avoid the situation that the multimedia resources cannot be loaded, and improve the timeliness of the pre-downloaded multimedia resources.

Description

Multimedia resource downloading method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a multimedia resource downloading method and apparatus, an electronic device, and a storage medium.
Background
With the development of internet technology, users can browse various multimedia resources through terminals. For example, watch short videos, browse news information, and listen to music. Because the terminal has strong dependence on the network state when loading the multimedia resources, when the terminal cannot access the network or the network signal is poor, the new multimedia resources are loaded unsuccessfully, so that the user cannot continue to browse the multimedia resources.
At present, a terminal usually downloads a batch of multimedia resources in advance when a network signal is good, so that when the terminal cannot access a network or a new multimedia resource cannot be loaded due to poor network signal, the downloaded batch of multimedia resources can be displayed to a user, so that the user can continue to browse the multimedia resources.
However, in the above solution, the multimedia resource displayed by the terminal may be a multimedia resource downloaded in advance several days ago, which results in poor timeliness of the multimedia resource displayed to the user.
Disclosure of Invention
The disclosure provides a multimedia resource downloading method, a multimedia resource downloading device, an electronic device and a storage medium, which can improve timeliness of pre-downloaded multimedia resources. The technical scheme of the disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, a multimedia resource downloading method is provided, including:
acquiring a network state representation of a target object, wherein the network state representation is used for describing a network state from a space-time dimension;
determining a predicted network state of the target object based on the network state image of the target object and current spatio-temporal information of the target object, wherein the spatio-temporal information is used for representing at least one of current time and current position, and the predicted network state is a network state predicted to be reached by the target object;
and in response to the predicted network state being a target network state, pre-downloading at least one multimedia resource, wherein the target network state is a network state in which the multimedia resource cannot be loaded.
According to a second aspect of the embodiments of the present disclosure, there is provided a multimedia resource downloading apparatus, including:
an acquisition unit configured to acquire a network status representation of a target object, the network status representation being used to describe a network status from a spatiotemporal dimension;
a determination unit configured to determine a predicted network state of the target object based on a network state image of the target object and spatiotemporal information of the target object, the spatiotemporal information being indicative of at least one of a current time and a current position, the predicted network state being a network state predicted to be reached by the target object;
a downloading unit configured to pre-download at least one multimedia resource in response to the predicted network state being a target network state, the target network state being a network state in which the multimedia resource cannot be loaded.
In some embodiments, the determining unit includes:
a position determination subunit configured to determine a target position to be reached by the target object based on current spatio-temporal information of the target object;
a first determining subunit configured to determine, based on the network state representation of the target object, a network state corresponding to the target location as the predicted network state.
In some embodiments, the position determining subunit includes:
a trajectory determination subunit configured to determine a motion trajectory of the target object based on current spatiotemporal information and historical spatiotemporal information of the target object;
a position determination subunit configured to determine the target position to be reached by the target object based on the motion trajectory.
In some embodiments, the determining unit includes:
a target time determining subunit configured to determine a target time to be reached based on current spatio-temporal information of the target object;
a second determining subunit, configured to determine, based on the network state representation of the target object, a network state corresponding to the target time as the predicted network state.
In some embodiments, the determining unit includes:
a behavior determining subunit, configured to determine a target behavior of the target object based on current spatiotemporal information of the target object and historical behavior information of the target object, where the target behavior is a behavior to be executed by the target object;
a third determining subunit configured to determine a predicted network state of the target object based on the network state representation of the target object and the target behavior.
In some embodiments, the download unit includes:
a duration determination subunit configured to determine, in response to the predicted network state being a target network state, a duration of the target network state based on the network state representation;
a first downloading subunit configured to pre-download the at least one multimedia resource with a play duration not less than the duration.
In some embodiments, the download unit includes:
a start time determination subunit configured to determine, based on the network status representation, a duration of a target network status in response to the predicted network status being the target network status;
a second downloading subunit configured to pre-download the at least one multimedia resource in response to an interval between the current time and the start time being a target duration.
In some embodiments, the download unit includes:
a range determination subunit configured to determine a location range of the target network state in response to the predicted network state being the target network state;
a third downloading subunit configured to pre-download the at least one multimedia resource in response to a distance between the current location and the location range being a target distance.
In some embodiments, the download unit includes:
a resource determination subunit configured to determine, in response to the predicted network state being a target network state, at least one multimedia resource matching a historical browsing behavior of a user based on the historical browsing behavior;
a fourth download subunit configured to pre-download the at least one multimedia resource.
In some embodiments, the download unit includes:
an information display subunit, configured to display, in response to the predicted network state being a target network state, a reminding information for reminding a user that the target network state is about to be entered;
a fifth downloading subunit configured to pre-download the at least one multimedia resource in response to a confirmation operation of the reminder information.
In some embodiments, the target network state includes a no network state and a weak network state, the no network state refers to a state in which the network cannot be accessed, and the weak network state refers to a state in which the network quality is lower than a quality threshold.
In some embodiments, the apparatus further comprises:
an information acquisition unit configured to acquire historical network information of a target object, the historical network information indicating a historical network state of the target object;
a representation determination unit configured to generate a network status representation of the target object based on the historical network information.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
one or more processors;
a memory for storing the processor executable program code;
wherein the processor is configured to execute the program code to implement the above-mentioned multimedia resource downloading method.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein program codes of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to execute the above multimedia resource downloading method.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the above-mentioned multimedia resource downloading method.
The embodiment of the disclosure provides a multimedia resource downloading method, wherein a network state portrait of a target object can describe a network state from a space-time dimension, so that a future network state of the target object can be predicted based on current space-time information of the target object and the network state portrait, and a batch of multimedia resources can be pre-downloaded before the target network state is reached under the condition that the future network state of the target object is the target network state, thereby avoiding the condition that the multimedia resources cannot be loaded under the target network state, and improving the timeliness of the pre-downloaded multimedia resources because the time for pre-downloading the multimedia resources is closer to the time for reaching the target network state.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating one implementation environment in accordance with an example embodiment.
Fig. 2 is a flow chart illustrating a method for downloading a multimedia asset according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating another method of downloading a multimedia asset according to an exemplary embodiment.
Fig. 4 is a schematic diagram illustrating a video download method according to an example embodiment.
Fig. 5 is a block diagram illustrating a multimedia resource downloading apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating another multimedia resource downloading apparatus according to an example embodiment.
Fig. 7 is a block diagram illustrating a terminal 700 according to an example embodiment.
Fig. 8 is a block diagram illustrating a server 800 in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals referred to in this application are authorized by the user or sufficiently authorized by various parties, and the collection, use, and processing of the relevant data is required to comply with relevant laws and regulations and standards in relevant countries and regions. For example, the spatiotemporal information referred to in this application is obtained with sufficient authorization.
Fig. 1 is a schematic diagram illustrating an implementation environment of a multimedia resource downloading method according to an exemplary embodiment. Taking the electronic device as an example provided as a server, referring to fig. 1, the implementation environment specifically includes: a terminal 101 and a server 102.
The terminal 101 may be at least one of a smart phone, a smart watch, a desktop computer, a laptop computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion Picture Experts Group Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion Picture Experts Group Audio Layer 4), a laptop computer, and the like. An application may be installed and run on the terminal 101, and a user may log in the application through the terminal 101 to obtain a service provided by the application. The terminal 101 may be connected to the server 102 through a wireless network or a wired network.
The terminal 101 may be generally referred to as one of a plurality of terminals, and the embodiment is only illustrated by the terminal 101. Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminals may be only a few, or the number of the terminals may be dozens or hundreds, or even more, and the number of the terminals and the type of the device are not limited in the embodiments of the present disclosure.
The server 102 may be at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 102 may be connected to the terminal 101 and other terminals through a wireless network or a wired network, and optionally, the number of the servers may be more or less, which is not limited in the embodiment of the present disclosure. Of course, the server 102 may also include other functional servers to provide more comprehensive and diverse services.
Fig. 2 is a flowchart illustrating a multimedia resource downloading method according to an exemplary embodiment, which is performed by a terminal as shown in fig. 2 and includes the following steps:
in step S201, the terminal acquires a network status representation of the target object, the network status representation being used to describe the network status from a spatiotemporal dimension.
In this disclosure, the target object is a terminal that a target account logs in, and the target account may be an account that logs in on a client installed on the terminal. The network status representation may describe a network status of the target object from at least one of a temporal dimension and a spatial dimension. If the network state is described from the time dimension, the network state image includes the network state of the target object at a certain moment. If the network state is described from a spatial dimension, the network state representation includes the network state of the target object at a certain location. If the network state is described in a time dimension and a space dimension, the network state image includes the network state of the target object when the target object is located at a certain position at a certain time. The network state may reflect the network quality of the terminal, which may be represented by the strength of the network signal or the network rate. The network state may include a no network state, a weak network state, and a strong network state. The network-free state refers to a state that the terminal cannot access the network, and the network-free state indicates that the terminal cannot detect a network signal and the network rate is zero. The weak network state refers to a state that the network quality is lower than a quality threshold value, and the weak network state indicates that the network signal of the terminal is poor or the network speed is lower than a speed threshold value. The strong network state refers to a state in which the network quality is higher than a quality threshold, and the strong network state indicates that the network signal of the terminal is stronger or the network rate is higher than a rate threshold.
In step S202, the terminal determines a predicted network state of the target object based on the network state representation of the target object and current spatio-temporal information of the target object, the spatio-temporal information indicating at least one of a current time and a current position, the predicted network state being a network state that the predicted target object is to reach.
In the embodiment of the disclosure, after acquiring the network state representation of the target object, the terminal can determine the predicted network state of the target object, that is, the network state to be achieved by the target object, based on the network state in the network state representation and the current spatio-temporal information of the target object.
In step S203, the terminal pre-downloads at least one multimedia resource in response to the predicted network status being a target network status, where the target network status is a network status that cannot load the multimedia resource.
In the embodiment of the present disclosure, after determining the target object predicted network state, the terminal compares the predicted network state with the target network state. If the predicted network state is the target network state, the predicted network state can be considered as the network state which can not load the multimedia resources, and the terminal can download at least one multimedia resource in advance, so that when the current network state of the target object is the target network state, namely under the condition that the multimedia resources can not be loaded at present, the at least one multimedia resource which is downloaded in advance can be displayed. If the predicted network state is not the target network state, the predicted network state can be considered as the network state capable of loading the multimedia resources, that is, the multimedia resources can be loaded in the network state where the target object is to arrive, and the terminal does not need to download at least one multimedia resource in advance at present. The multimedia resources may include pictures, short videos, news information, music, etc.
The embodiment of the disclosure provides a multimedia resource downloading method, wherein a network state portrait of a target object can describe a network state from a space-time dimension, so that a future network state of the target object can be predicted based on current space-time information of the target object and the network state portrait, and a batch of multimedia resources can be pre-downloaded before the target network state is reached under the condition that the future network state of the target object is the target network state, thereby avoiding the condition that the multimedia resources cannot be loaded under the target network state, and improving the timeliness of the pre-downloaded multimedia resources because the time for pre-downloading the multimedia resources is closer to the time for reaching the target network state.
In some embodiments, determining the predicted network state of the target object based on the representation of the network state of the target object and the current spatiotemporal information of the target object comprises:
determining a target position to be reached by the target object based on the current spatio-temporal information of the target object;
and determining the network state corresponding to the target position as a predicted network state based on the network state image of the target object.
In the disclosed embodiment, the current spatio-temporal information may be used to represent the current location, so that based on the spatio-temporal information, the terminal may determine the target location, i.e., the location to which the target object is to be reached. Based on the target location and the representation of the network status of the target object, the network status of the target object at the target location, i.e. the network status to which the target object is to be brought, can be determined. Therefore, the network state of the target object is determined based on the corresponding relation between the position and the network state, and the predicted network state of the target object can be determined more accurately.
In some embodiments, determining a target location to be reached by the target object based on current spatiotemporal information of the target object comprises:
determining a motion track of the target object based on the current spatio-temporal information and the historical spatio-temporal information of the target object;
based on the motion trajectory, a target position to be reached by the target object is determined.
In the disclosed embodiment, the current spatiotemporal information may be used to represent the current location of the target object and the historical spatiotemporal information may be used to represent the historical location of the target object. The terminal can determine the motion trail of the target object based on the current position and the historical position in the spatio-temporal information. Wherein, the motion trail can represent the motion trend of the target object. The terminal can predict the target position to be reached by the target object based on the motion track, so that the target position is determined based on the motion track determined by the historical position and the current position, and the accuracy of the target position is improved.
In some embodiments, determining the predicted network state of the target object based on the representation of the network state of the target object and the current spatiotemporal information of the target object comprises:
determining a target time to arrive based on the current spatio-temporal information of the target object;
and determining the network state corresponding to the target moment as a predicted network state based on the network state image of the target object.
In the embodiment of the present disclosure, the current time-space information may be used to indicate the current time, so that based on the time-space information, the terminal can determine a target time, that is, a time to be reached, such as the next time or a time after a certain time interval. Based on the target time and the network status representation of the target object, the network status of the target object at the target time, that is, the network status to which the target object is to reach, can be determined. Therefore, the network state of the target object can be determined based on the corresponding relation between the time and the network state, and the predicted network state of the target object can be determined more accurately.
In some embodiments, determining the predicted network state of the target object based on the representation of the network state of the target object and the current spatiotemporal information of the target object comprises:
determining a target behavior of the target object based on the current time-space information of the target object and the historical behavior information of the target object, wherein the target behavior is a behavior to be executed by the target object;
and determining the predicted network state of the target object based on the network state portrait and the target behavior of the target object.
In the embodiment of the disclosure, based on the current spatiotemporal information and the historical behavior information of the target object, the target behavior to be executed by the target object can be determined, that is, the behavior of the target object when the target object is located at the target position at the target time can be determined. Based on the target behavior and the network state representation of the target object, the network state corresponding to the target behavior can be determined, that is, the network state of the target object when the target object is located at the target position at the target moment, that is, the network state to be reached by the target object, can be determined based on the corresponding relationship between the behavior of the target object and the network state, and the predicted network state of the target object can be determined more accurately.
In some embodiments, in response to predicting the network state to be the target network state, pre-downloading the at least one multimedia resource comprises:
in response to the predicted network state being the target network state, determining the duration of the target network state based on the network state representation;
and at least one multimedia resource with the playing duration not less than the duration is pre-downloaded.
In the embodiment of the present disclosure, based on the correspondence between the target network state and the network state representation, the start time and the end time of the target network state can be determined. Based on the start time and the end time, a duration of the target network state can be determined. When the target network state to be reached by the target object is a network state in which the multimedia resource cannot be loaded, based on the duration, at least one multimedia resource with the playing duration not less than the duration can be pre-downloaded, so that the situation that the playing duration of the multimedia resource is not enough to exceed the target network state can be avoided, and better playing experience can be brought to a user.
In some embodiments, in response to predicting the network state to be the target network state, pre-downloading the at least one multimedia resource comprises:
responding to the predicted network state as a target network state, and determining the starting time of the target network state;
and in response to the interval between the current time and the starting time being the target duration, pre-downloading at least one multimedia resource.
In the embodiment of the disclosure, the spatiotemporal information corresponding to the target network state can be determined through the corresponding relation between the target network state and the network state representation. Based on the spatiotemporal information, a starting time of the target network state is determined. If the time interval between the current time and the starting time is the target duration, the terminal is about to enter the target network state, and the terminal can start to pre-download at least one multimedia resource at the current time. Therefore, by setting the target duration, the starting time of pre-downloading the multimedia resources can be determined, so that the terminal can pre-download a batch of multimedia resources before the current network state is switched to the target network state, and the current time is closer to the starting time of the target network state, thereby improving the timeliness of the pre-downloaded multimedia resources.
In some embodiments, in response to predicting the network state to be the target network state, pre-downloading the at least one multimedia resource comprises:
determining a position range of the target network state in response to the predicted network state being the target network state;
and in response to the distance between the current position and the position range being the target distance, pre-downloading at least one multimedia resource.
In the embodiment of the disclosure, the spatiotemporal information determined by the target network state can be determined through the corresponding relation between the target network state and the network state representation. Based on the spatiotemporal information, a location range of the target network state is determined. If the distance between the current position and the position range is the target distance, the terminal is about to enter a target network state, and the terminal can start to pre-download at least one multimedia resource at the current position. Therefore, by setting the target distance, the specific position range of the pre-downloaded multimedia resource can be determined, so that the terminal can pre-download a batch of multimedia resources before the current network state is switched to the target network state, and the specific position range of the pre-downloaded multimedia resource is closer to the position range of the target network state, thereby improving the timeliness of the pre-downloaded multimedia resource.
In some embodiments, in response to predicting the network state to be the target network state, pre-downloading the at least one multimedia resource comprises:
in response to the predicted network state being the target network state, determining at least one multimedia resource matched with the historical browsing behavior based on the historical browsing behavior of the user;
at least one multimedia asset is pre-downloaded.
In the embodiment of the present disclosure, when the network state to be achieved by the target object is the target network state, at least one multimedia resource can be pre-downloaded based on the historical browsing behavior of the user, and the multimedia resource can meet the requirement of the user. In some embodiments, in response to predicting the network state to be the target network state, pre-downloading the at least one multimedia asset comprises:
responding to the predicted network state as a target network state, and displaying reminding information, wherein the reminding information is used for reminding a user of coming into the target network state;
and responding to the confirmation operation of the reminding information, and pre-downloading at least one multimedia resource.
In the embodiment of the disclosure, the user can be reminded that the multimedia resource cannot be loaded in the network state before entering the target network state, if the user needs to browse the multimedia resource in the target network state, the reminding information can be confirmed, so that the terminal can download a batch of multimedia resources in advance, and the batch of multimedia resources downloaded in advance can be displayed to the user when entering the target network state, so that the user can continue browsing the multimedia resources.
In some embodiments, the target network states include a no-network state and a weak-network state, the no-network state referring to a state in which the network cannot be accessed, and the weak-network state referring to a state in which the network quality is below a quality threshold.
In some embodiments, the method further comprises:
acquiring historical network information of a target object, wherein the historical network information is used for indicating the historical network state of the target object;
and generating a network state representation of the target object based on the historical network information.
Fig. 2 is a flowchart illustrating only a basic flow of the present disclosure, and the scheme provided by the present disclosure is further described below based on a specific implementation manner, and fig. 3 is a flowchart illustrating another method for downloading a multimedia resource according to an exemplary embodiment. As shown in fig. 3, the method is performed by a terminal, and includes the following steps:
in step S301, the terminal acquires historical network information of the target object, the historical network information indicating a historical network state of the target object.
In this disclosure, the target object is a terminal for logging in a target account, the target account may be an account logged in on a client installed on the terminal, and the client may be a video client, an information client, a social client, and the like. For the historical network status, refer to the description of the network status in step S201, which is not described herein again.
In some embodiments, the historical network information may be generated by the terminal based on the historical weblog of the target object after obtaining the authorization of the user, and stored in the storage space of the terminal. The historical network information may also be generated by a server based on a historical network log uploaded by the terminal, and stored in the server, and the terminal may acquire the historical network information from the server. The embodiment of the present disclosure does not limit the manner in which the terminal acquires the historical network information of the target object.
In step S302, the terminal generates a network status representation of the target object based on the historical network information, the network status representation being used to describe the network status from a spatio-temporal dimension.
In the embodiment of the disclosure, after acquiring the historical network information of the target object, the terminal may determine the network state representation of the target object according to the historical network state of the target object. Wherein the network status representation is used to describe the network status of the target object from a spatiotemporal dimension.
In some embodiments, the network status representation describes the network status of the target object from a time dimension, where the network status representation includes the network status of the target object at a certain time.
For example, the network status representation includes the network status of the target object at various time periods of the day. Network status as in 6 a.m. 00-7, network status at 12 a.m. 00-1 and network status at 6 a.m. 00-7.
In some embodiments, the network status representation describes the network status of the target object from a spatial dimension, where the network status representation includes the network status of the target object at a location.
For example, the network status representation includes the network status of the target object at home, the network status of the vehicle, the network status of the company, and the like.
In some embodiments, the network status representation describes the network status of the target object from a time dimension and a space dimension, where the network status representation represents the network status of the target object when it is at a certain location at a certain time.
For example, the network status representation includes the network status of the target object at home on weekends, the network status of the company on weekdays, and the network status of the mall on weekends.
The above steps S301 and S302 are exemplary to show the process of the terminal determining the network status representation of the target object. Optionally, the network status representation may also be generated by the server based on historical network information of the target object, which is not limited by the embodiments of the present disclosure.
In step S303, the terminal obtains a network status representation of the target object, the network status representation being used to describe the network status from the spatio-temporal dimension.
In the embodiment of the present disclosure, the terminal may obtain the network status representation of the target object from the local storage space, or may obtain the network status representation of the target object from the server, which is not limited in the embodiment of the present disclosure.
In step S304, the terminal determines a predicted network state of the target object based on the network state representation of the target object and temporal-spatial information of the target object, the temporal-spatial information indicating at least one of a current time and a current position, the predicted network state being a network state that the target object is predicted to reach.
In the embodiment of the disclosure, after acquiring the network status representation of the target object, the terminal can determine the network status to be reached by the target object from the network status representation based on at least one of the current time and the current position of the target object.
In some embodiments, the terminal determines the predicted network state of the target object by three ways as follows.
In a first aspect, a network status representation describes a network status from a spatial dimension, and the network status representation includes a network status of the target object at a location. And the terminal determines the predicted network state according to the current position of the target object. Correspondingly, the terminal determines the target position to be reached by the target object based on the current space-time information of the target object. Then, the terminal determines the network state corresponding to the target position as the predicted network state based on the network state image of the target object. In the embodiment of the present disclosure, the current spatio-temporal information may be used to represent the current location, so that based on the spatio-temporal information, the terminal may determine the target location, i.e., the location to which the target object is to be reached. Based on the target location and the network status representation of the target object, a network status of the target object at the target location, i.e., a network status to which the target object is to be brought, can be determined. Therefore, the network state of the target object is determined based on the corresponding relation between the position and the network state, and the predicted network state of the target object can be determined more accurately.
In some embodiments, the terminal may determine a target position to be reached by the target object according to the motion trajectory of the target object. Correspondingly, the terminal determines the motion trail of the target object based on the current space-time information and the historical space-time information of the target object. Then, the terminal determines a target position to be reached by the target object based on the motion trajectory. In the disclosed embodiment, the current spatiotemporal information may be used to represent the current location of the target object and the historical spatiotemporal information may be used to represent the historical location of the target object. The terminal can determine the motion trail of the target object based on the current position and the historical position in the spatio-temporal information. Wherein, the motion trail can represent the motion trend of the target object. The terminal can predict the target position to be reached by the target object based on the motion track, so that the target position is determined based on the motion track determined by the historical position and the current position, and the accuracy of the target position is improved.
In the second mode, the network state image describes the network state from the time dimension, and the network state image includes the network state of the target object at a certain time. And the terminal determines the predicted network state according to the current time. Correspondingly, the terminal determines the target time to arrive based on the current space-time information of the target object. Then, the terminal determines the network state corresponding to the target time as the predicted network state based on the network state image of the target object. In the embodiment of the present disclosure, the current time-space information may be used to indicate the current time, so that based on the time-space information, the terminal can determine a target time, that is, a time to be reached, such as the next time or a time after a certain time interval. Based on the target time and the network status representation of the target object, the network status of the target object at the target time, that is, the network status to which the target object is to be brought, can be determined. Therefore, the network state of the target object can be determined based on the corresponding relation between the time and the network state, and the predicted network state of the target object can be determined more accurately.
Third, the network status representation describes the network status from the time dimension and the space dimension, and then the network status representation includes the network status of the target object at a certain position at a certain time. And the terminal determines the predicted network state according to the current time and the current position and by combining the historical behavior of the target object. Correspondingly, the terminal determines the target behavior of the target object based on the current space-time information of the target object and the historical behavior information of the target object, wherein the target behavior is the behavior to be executed by the target object. Then, the terminal determines a predicted network state of the target object based on the network state representation and the target behavior of the target object. In an embodiment of the present disclosure, the current spatiotemporal information is used to represent at least one of a current time and a current location. The historical behavior information may be used to indicate historical behavior of the target object. Wherein the historical behavior information includes historical behavior of the target object when the target object is located at a certain position at a certain time. Based on the current time-space information and the historical behavior information of the target object, the target behavior to be executed by the target object can be determined, namely the behavior of the target object when the target object is located at the target position at the target moment can be determined. Based on the target behavior and the network state representation of the target object, the network state corresponding to the target behavior can be determined, that is, the network state of the target object when the target object is located at the target position at the target moment, that is, the network state to be reached by the target object, can be determined based on the corresponding relationship between the behavior of the target object and the network state, and the predicted network state of the target object can be determined more accurately.
In step S305, in response to the predicted network status being the target network status, the terminal pre-downloads at least one multimedia resource, and the target network status is a network status in which the multimedia resource cannot be loaded.
In the embodiment of the present disclosure, after determining the target object predicted network state, the terminal compares the predicted network state with the target network state. If the predicted network state is the target network state, the terminal may download the at least one multimedia resource in advance, and if the predicted network state is not the target network state, the terminal does not need to download the at least one multimedia resource in advance. The multimedia resources may include pictures, short videos, news information, music, etc.
In some embodiments, in case that the predicted network state is a target network state, the terminal determines an occasion to start pre-downloading at least one multimedia resource according to a current time or a current location. Accordingly, the terminal determines the timing to start the pre-downloading of the multimedia resource in the following two ways.
In the first mode, the terminal starts the pre-download when the current time is within a certain time range. Accordingly, the terminal determines a start time of the target network state in response to the predicted network state being the target network state. The starting time is the time that the target object is to reach, and the starting time is located after the current time. And then, the terminal responds to the condition that the interval between the current time and the starting time is the target duration, and at least one multimedia resource is pre-downloaded. In the embodiment of the disclosure, the spatiotemporal information corresponding to the target network state can be determined through the corresponding relation between the target network state and the network state representation. Based on the spatiotemporal information, a starting time of the target network state is determined. If the time interval between the current time and the starting time is the target duration, the terminal is about to enter a target network state, and the terminal starts to pre-download at least one multimedia resource at the current time. Therefore, by setting the target duration, the starting time of pre-downloading the multimedia resources can be determined, so that the terminal can pre-download a batch of multimedia resources before the current network state is switched to the target network state, and the current time is closer to the starting time of the target network state, thereby improving the timeliness of the pre-downloaded multimedia resources. If the time interval between the current time and the starting time is not the target time length, the terminal does not need to start downloading at least one multimedia resource at the current time, and the terminal can wait until the time interval between the current time and the starting time is the target time length to start downloading.
And in the second mode, the terminal starts to download in advance when the current position is within a certain position range. Accordingly, the terminal determines the location range of the target network state in response to predicting the network state as the target network state. Then, the terminal responds to the condition that the distance between the current position and the position range is the target distance, and at least one multimedia resource is pre-downloaded. In the embodiment of the disclosure, the spatiotemporal information determined by the target network state can be determined through the corresponding relation between the target network state and the network state representation. Based on the spatiotemporal information, a location range of the target network state is determined. If the distance between the current position and the position range is the target distance, the terminal is about to enter a target network state, and the terminal starts to pre-download at least one multimedia resource at the current position. Therefore, the position range of the multimedia resource to be downloaded can be determined by setting the target distance, so that the terminal can download a batch of multimedia resources in advance before the current network state is switched to the target network state, and the position range of the multimedia resource to be downloaded is closer to the position range of the target network state, thereby improving the timeliness of the multimedia resource to be downloaded. If the distance between the current position and the position range is not the target distance, the terminal at the current position does not need to start downloading at least one multimedia resource in advance, and the terminal can start downloading when the distance between the current position and the position range is the target distance.
In some embodiments, the terminal determines a duration of the target network state and then downloads at least one multimedia resource having a play duration not less than the duration. Correspondingly, the terminal responds to the predicted network state as the target network state, and determines the duration of the target network state based on the network state portrait. Then, the terminal downloads at least one multimedia resource with the playing duration not less than the duration in advance. Wherein, the playing duration refers to the total playing duration of the at least one multimedia resource. In the embodiment of the present disclosure, based on the correspondence between the target network state and the network state representation, the start time and the end time of the target network state can be determined. Based on the start time and the end time, a duration of the target network state can be determined. Under the condition that the target network state to be reached by the target object is a network state incapable of loading the multimedia resources, based on the duration, at least one multimedia resource with the playing duration not less than the duration can be pre-downloaded, so that the condition that the playing duration of the multimedia resource is not enough to exceed the target network state can be avoided, and better playing experience can be brought to a user.
In some embodiments, the terminal downloads the multimedia resource matching the historical browsing behavior of the user based on the historical browsing behavior. Correspondingly, the terminal responds to the predicted network state as the target network state, and determines at least one multimedia resource matched with the historical browsing behavior based on the historical browsing behavior of the user; the terminal pre-downloads at least one multimedia resource. In the embodiment of the disclosure, based on the historical browsing behavior of the user, the historical multimedia resources browsed by the user can be determined. Based on the historical multimedia assets, multimedia assets having common attributes with the historical multimedia assets, i.e. multimedia assets of interest to the user, can be determined. For example, if the historical multimedia assets viewed by the user belong to the favorite video, it may be determined that the at least one pre-downloaded multimedia asset belongs to the favorite video. Therefore, under the condition that the network state to be achieved by the target object is the target network state, at least one multimedia resource can be pre-downloaded based on the historical browsing behavior of the user, and the multimedia resource can meet the requirement of the user.
In some embodiments, the terminal alerts the user by displaying an alert message prior to the pre-download. Correspondingly, the terminal responds to the predicted network state as the target network state and displays reminding information, and the reminding information is used for reminding a user of coming into the target network state. Then, the terminal responds to the confirmation operation of the reminding information and pre-downloads at least one multimedia resource. In the embodiment of the present disclosure, if the predicted network state is the target network state, the terminal may display the reminding information. The reminding information is used for reminding the user that the user is about to enter a target network state, namely reminding the user that the network state which the user is about to enter is a network state which cannot load multimedia resources, and asking the user to confirm whether to carry out pre-downloading. And the user triggers the confirmation operation of the reminding information, and the terminal responds to the confirmation operation to pre-download at least one multimedia resource. Therefore, the user can be reminded that the multimedia resources cannot be loaded in the network state before entering the target network state, if the user needs to browse the multimedia resources in the target network state, the reminding information can be confirmed, so that the terminal can download a batch of multimedia resources in advance, and the batch of multimedia resources downloaded in advance can be displayed to the user when entering the target network state, so that the user can continue browsing the multimedia resources.
In some embodiments, the terminal determines whether to perform the pre-download according to the current network type. Accordingly, the terminal determines the current network type, which includes a charging network type and a free network type. And responding to the current network type as a free network type, and pre-downloading at least one multimedia resource by the terminal. And responding to the current network type as a charging network type, and after the user confirms downloading, the terminal pre-downloads at least one multimedia resource.
Take multimedia resources as an example. Fig. 4 is a schematic diagram illustrating a video download method according to an exemplary embodiment. Referring to fig. 4, the server obtains a log of the user, which includes user behavior information, network information, time information, and location information. Based on the log, the server can construct, through machine learning, a network status representation of the individual users based on the spatiotemporal dimension, the network status representation being used to describe the network status from the spatiotemporal dimension. And under the condition that the user is about to enter a non-network state, the server sends reminding information to the client, and the client responds to the confirmation operation of the reminding information and downloads a batch of videos in advance.
The embodiment of the disclosure provides a multimedia resource downloading method, since the historical network information of a target object can indicate the historical network state of the target object, based on the historical network information, the network state portrait of the target object can be determined. The network state image of the target object can describe the network state from the space-time dimension, so that the future network state of the target object can be predicted based on the current space-time information of the target object and the network state image, a batch of multimedia resources can be pre-downloaded before the target network state is reached under the condition that the future network state of the target object is the target network state, the condition that the multimedia resources cannot be loaded under the target network state is avoided, and the timeliness of the pre-downloaded multimedia resources is improved because the time for pre-downloading the multimedia resources is closer to the time for reaching the target network state.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present disclosure, and are not described in detail herein.
Fig. 5 is a block diagram illustrating a multimedia resource downloading apparatus according to an exemplary embodiment. Referring to fig. 5, the apparatus includes: an acquisition unit 501, a determination unit 502, and a download unit 503.
An obtaining unit 501 configured to obtain a network status representation of a target object, the network status representation being used to describe a network status from a spatio-temporal dimension;
a determining unit 502 configured to determine a predicted network state of the target object based on the network state representation of the target object and spatio-temporal information of the target object, the spatio-temporal information being indicative of at least one of a current time and a current position, the predicted network state being a network state to which the target object is predicted to reach;
a downloading unit 503 configured to pre-download at least one multimedia resource in response to the predicted network status being a target network status, the target network status being a network status in which the multimedia resource cannot be loaded.
In some embodiments, the determining unit 502 includes:
a position determination subunit configured to determine a target position to be reached by the target object based on current spatiotemporal information of the target object;
and the first determining subunit is configured to determine the network state corresponding to the target position as the predicted network state based on the network state image of the target object.
In some embodiments, a location determination subunit comprises:
a trajectory determination subunit configured to determine a motion trajectory of the target object based on current spatiotemporal information and historical spatiotemporal information of the target object;
a position determination subunit configured to determine a target position to be reached by the target object based on the motion trajectory.
In some embodiments, the determining unit 502 includes:
a target time determining subunit configured to determine a target time to be reached based on current spatio-temporal information of the target object;
and the second determining subunit is configured to determine the network state corresponding to the target time as the predicted network state based on the network state image of the target object.
In some embodiments, the determining unit 502 includes:
a behavior determination subunit configured to determine a target behavior of the target object based on current spatio-temporal information of the target object and historical behavior information of the target object, the target behavior being a behavior to be executed by the target object;
a third determining subunit configured to determine a predicted network state of the target object based on the network state representation and the target behavior of the target object.
In some embodiments, the downloading unit 503 includes:
a duration determination subunit configured to determine a duration of the target network state based on the network state representation in response to predicting the network state to be the target network state;
the first downloading subunit is configured to pre-download at least one multimedia resource with the playing duration not less than the duration.
In some embodiments, the downloading unit 503 includes:
a start time determination subunit configured to determine, in response to the predicted network state being the target network state, a duration of the target network state based on the network state representation;
and the second downloading subunit is configured to respond to the target duration of the interval between the current time and the starting time to pre-download at least one multimedia resource.
In some embodiments, the downloading unit 503 includes:
a range determination subunit configured to determine a location range of the target network state in response to the predicted network state being the target network state;
and the third downloading subunit is configured to respond to the target distance of the distance between the current position and the position range and to pre-download at least one multimedia resource.
In some embodiments, the downloading unit 503 includes:
a resource determination subunit configured to determine, in response to the predicted network state being the target network state, at least one multimedia resource matching the historical browsing behavior based on the historical browsing behavior of the user;
a fourth download subunit configured to pre-download the at least one multimedia asset.
In some embodiments, the downloading unit 503 includes:
the information display subunit is configured to respond to the predicted network state as a target network state and display reminding information, and the reminding information is used for reminding a user of coming into the target network state;
and the fifth downloading subunit is configured to respond to the confirmation operation of the reminding information and pre-download at least one multimedia resource.
In some embodiments, the target network states include a no-network state and a weak-network state, the no-network state referring to a state in which the network cannot be accessed, and the weak-network state referring to a state in which the network quality is below a quality threshold.
In some embodiments, fig. 6 is a block diagram illustrating another multimedia downloading apparatus, according to an example embodiment. Referring to fig. 6, the apparatus further comprises:
an information obtaining unit 504 configured to obtain historical network information of the target object, the historical network information indicating a historical network state of the target object;
a representation determining unit 505 configured to generate a network status representation of the target object based on the historical network information.
The embodiment of the disclosure provides a multimedia resource downloading device, because a network state portrait of a target object can describe a network state from a space-time dimension, a future network state of the target object can be predicted based on current space-time information of the target object and the network state portrait, so that a batch of multimedia resources can be pre-downloaded before the target network state is reached under the condition that the future network state of the target object is the target network state, the condition that the multimedia resources cannot be loaded under the target network state is avoided, and the timeliness of the pre-downloaded multimedia resources is improved because the time for pre-downloading the multimedia resources is closer to the time for reaching the target network state.
It should be noted that, when the multimedia resource downloading apparatus provided in the foregoing embodiment pre-downloads at least one multimedia resource, only the division of the above functional units is used for illustration, and in practical applications, the function allocation may be completed by different functional units according to needs, that is, the internal structure of the electronic device is divided into different functional units, so as to complete all or part of the functions described above. In addition, the multimedia resource downloading apparatus and the multimedia resource downloading method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
When the electronic device is provided as a terminal, fig. 7 is a block diagram illustrating a terminal 700 according to an example embodiment. In general, terminal 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing content that needs to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 702 is used to store at least one program code for execution by processor 701 to implement the matching method of live objects provided by method embodiments in the present disclosure.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, and a power supply 708.
The peripheral interface 703 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, the processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other electronic devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display screen 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, providing the front panel of the terminal 700; in other embodiments, the display 705 can be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, the camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed on a front panel of an electronic apparatus, and a rear camera is disposed on a rear surface of the electronic apparatus. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp and can be used for light compensation under different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The power supply 708 is used to power the various components in the terminal 700. The power source 708 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When power source 708 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
When the electronic device is provided as a server, fig. 8 is a block diagram of a server 800 according to an exemplary embodiment, where the server 800 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 801 and one or more memories 802, where at least one program code is stored in the memory 802, and the at least one program code is loaded and executed by the processors 801 to implement the multimedia resource downloading method provided by the above method embodiments. Certainly, the server may further have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 800 may further include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, there is also provided a computer readable storage medium comprising instructions, such as the memory 702 or the memory 802 comprising instructions executable by the processor 701 of the terminal 700 or the processor 801 of the server 800 to perform the above-described multimedia resource downloading method. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A computer program product comprising computer programs/instructions which, when executed by a processor, implement the above-described multimedia asset downloading method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A method for downloading a multimedia resource, comprising:
acquiring a network state representation of a target object, wherein the network state representation is used for describing a network state from a space-time dimension;
determining a predicted network state of the target object based on the network state image of the target object and current spatio-temporal information of the target object, wherein the spatio-temporal information is used for representing at least one of current time and current position, and the predicted network state is a network state predicted to be reached by the target object;
and in response to the predicted network state being a target network state, pre-downloading at least one multimedia resource, wherein the target network state is a network state in which the multimedia resource cannot be loaded.
2. The method for downloading the multimedia resource according to claim 1, wherein the determining the predicted network status of the target object based on the network status icon of the target object and the current spatiotemporal information of the target object comprises:
determining a target position to be reached by the target object based on the current spatio-temporal information of the target object;
and determining the network state corresponding to the target position as the predicted network state based on the network state representation of the target object.
3. The method for downloading multimedia resources according to claim 2, wherein the determining the target position to be reached by the target object based on the current spatiotemporal information of the target object comprises:
determining a motion trajectory of the target object based on current spatio-temporal information and historical spatio-temporal information of the target object;
determining the target position to be reached by the target object based on the motion trajectory.
4. The method for downloading the multimedia resource according to claim 1, wherein the determining the predicted network status of the target object based on the network status picture of the target object and the current spatiotemporal information of the target object comprises:
determining a target time to arrive based on the current spatio-temporal information of the target object;
and determining the network state corresponding to the target moment as the predicted network state based on the network state representation of the target object.
5. The method for downloading the multimedia resource according to claim 1, wherein the determining the predicted network status of the target object based on the network status icon of the target object and the current spatiotemporal information of the target object comprises:
determining target behaviors of the target object based on current spatio-temporal information of the target object and historical behavior information of the target object, wherein the target behaviors are behaviors to be executed by the target object;
determining a predicted network state of the target object based on the network state representation of the target object and the target behavior.
6. The method of claim 1, wherein the pre-downloading at least one multimedia resource in response to the predicted network state being the target network state comprises:
in response to the predicted network state being a target network state, determining a duration of the target network state based on the network state representation;
and pre-downloading the at least one multimedia resource with the playing time length not less than the duration.
7. The method of claim 1, wherein the pre-downloading at least one multimedia asset in response to the predicted network status being a target network status comprises:
in response to the predicted network state being a target network state, determining a starting time of the target network state;
and in response to the interval between the current time and the starting time being a target duration, pre-downloading the at least one multimedia resource.
8. The method of claim 1, wherein the pre-downloading at least one multimedia resource in response to the predicted network state being the target network state comprises:
in response to the predicted network state being a target network state, determining a location range of the target network state;
and in response to the distance between the current position and the position range being a target distance, pre-downloading the at least one multimedia resource.
9. The method of claim 1, wherein the pre-downloading at least one multimedia resource in response to the predicted network state being the target network state comprises:
in response to the predicted network state being a target network state, determining at least one multimedia resource matched with the historical browsing behavior based on the historical browsing behavior of the user;
pre-downloading the at least one multimedia asset.
10. The method of claim 1, wherein the pre-downloading at least one multimedia asset in response to the predicted network status being a target network status comprises:
responding to the predicted network state as a target network state, and displaying reminding information, wherein the reminding information is used for reminding a user of entering the target network state;
and responding to the confirmation operation of the reminding information, and pre-downloading the at least one multimedia resource.
11. The method of claim 1, wherein the target network status comprises a no-network status and a weak-network status, the no-network status refers to a status of no access to the network, and the weak-network status refers to a status of network quality lower than a quality threshold.
12. The method of claim 1, further comprising:
acquiring historical network information of a target object, wherein the historical network information is used for indicating the historical network state of the target object;
and generating a network state representation of the target object based on the historical network information.
13. A multimedia resource downloading apparatus, characterized in that the apparatus comprises:
an acquisition unit configured to acquire a network status representation of a target object, the network status representation being used to describe a network status from a spatio-temporal dimension;
a determination unit configured to determine a predicted network state of the target object based on a network state image of the target object and spatiotemporal information of the target object, the spatiotemporal information being indicative of at least one of a current time and a current position, the predicted network state being a network state predicted to be reached by the target object;
a downloading unit configured to pre-download at least one multimedia resource in response to the predicted network state being a target network state, the target network state being a network state in which the multimedia resource cannot be loaded.
14. An electronic device, comprising:
one or more processors;
a memory for storing the processor executable program code;
wherein the processor is configured to execute the program code to implement the multimedia asset download method as claimed in any of claims 1 to 12.
15. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the multimedia asset download method of any of claims 1 to 12.
CN202211176957.2A 2022-09-26 2022-09-26 Multimedia resource downloading method and device, electronic equipment and storage medium Pending CN115695929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211176957.2A CN115695929A (en) 2022-09-26 2022-09-26 Multimedia resource downloading method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211176957.2A CN115695929A (en) 2022-09-26 2022-09-26 Multimedia resource downloading method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115695929A true CN115695929A (en) 2023-02-03

Family

ID=85062029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211176957.2A Pending CN115695929A (en) 2022-09-26 2022-09-26 Multimedia resource downloading method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115695929A (en)

Similar Documents

Publication Publication Date Title
CN111107389B (en) Method, device and system for determining live broadcast watching time length
CN110248236B (en) Video playing method, device, terminal and storage medium
CN107896337B (en) Information popularization method and device and storage medium
CN110278273B (en) Multimedia file uploading method, device, terminal, server and storage medium
CN116418795A (en) Processing method of user access request, electronic device, electronic equipment and medium
CN112911337B (en) Method and device for configuring video cover pictures of terminal equipment
CN111435377A (en) Application recommendation method and device, electronic equipment and storage medium
EP4044513A1 (en) Method, apparatus and system for displaying alarm file
CN114866793B (en) Data processing method, device, electronic equipment and storage medium
CN111399796A (en) Voice message aggregation method and device, electronic equipment and storage medium
CN113098781B (en) Session list processing method, device, server and storage medium
CN111918084B (en) Wheat loading method and device, server and terminal
CN115695929A (en) Multimedia resource downloading method and device, electronic equipment and storage medium
CN110808985B (en) Song on-demand method, device, terminal, server and storage medium
CN116962250A (en) Network quality detection method, device, computer equipment and storage medium
CN110971692B (en) Method and device for opening service and computer storage medium
CN112596831A (en) Content display method and device, server and terminal
CN111444289A (en) Incidence relation establishing method
CN114816187B (en) Control display method, device, computer equipment and medium
CN114793288B (en) Authority information processing method, device, server and medium
CN111490979B (en) Information interaction method and device and storage medium
CN111770373B (en) Content synchronization method, device and equipment based on live broadcast and storage medium
CN116016418B (en) Information interaction method and electronic equipment
CN115866282A (en) Joint live broadcasting method and device, electronic equipment and storage medium
CN115857742A (en) Interaction method, device and equipment based on electronic map and storage medium

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