CN106250536A - A kind of space page background method to set up, Apparatus and system - Google Patents
A kind of space page background method to set up, Apparatus and system Download PDFInfo
- Publication number
- CN106250536A CN106250536A CN201610642984.2A CN201610642984A CN106250536A CN 106250536 A CN106250536 A CN 106250536A CN 201610642984 A CN201610642984 A CN 201610642984A CN 106250536 A CN106250536 A CN 106250536A
- Authority
- CN
- China
- Prior art keywords
- background
- video
- login user
- identity information
- space
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 230000004044 response Effects 0.000 claims abstract description 7
- 230000008569 process Effects 0.000 claims description 20
- 238000010586 diagram Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 8
- 230000011664 signaling Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 238000013500 data storage Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000006855 networking Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000036651 mood Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of space page background method to set up, Apparatus and system, method includes: response space page background load operation, sends background video request to background server, and the request of described background video includes the identity information of login user;Receiving the background video data including video link address that described background server returns, described background video data are, background server inquires about the background video data that the identity information with described login user stored is corresponding;Access described video link address, download corresponding video;The video of download is played out as the space page background of described login user.As can be seen here, the application, by using video as space page background, is better able to represent the individual character of user, utilizes the rich of video information, it is possible to preferably realize sharing of information between user with good friend.
Description
Technical Field
The present application relates to the field of background setting technologies, and in particular, to a method, an apparatus, and a system for setting a background of a spatial page.
Background
With the development of the internet, the demand of users for online communication through the internet is becoming stronger. Based on this, more and more social networking platforms are in force. The existing network social platform supports message communication among users, issues words, pictures and the like on a space page, and shares mood and experience.
In order to facilitate user sharing, the existing social networking platforms generally support decorating the space page background by using pictures. That is, the user can set the picture on the own space album or the network as the space page background. The user and the visitor can enjoy the background picture when entering the space page.
However, the background of the picture as the space page is too single, and the static picture cannot meet the personality of the user and the requirement of the user for sharing information with friends.
Disclosure of Invention
In view of the above, the present application provides a method, an apparatus, and a system for setting a spatial page background, which are used to solve the problem that the requirement of a user for sharing information with a friend cannot be met by using a picture as the spatial page background.
In order to achieve the above object, the following solutions are proposed:
a method for setting a space page background comprises the following steps:
responding to the background loading operation of the space page, and sending a background video request to a background server, wherein the background video request comprises identity information of a login user;
receiving background video data including a video link address returned by the background server, wherein the background video data is background video data which is stored by the background server and corresponds to the identity information of the login user;
accessing the video link address and downloading a corresponding video;
and playing the downloaded video as the space page background of the login user.
A method for setting a space page background comprises the following steps:
receiving a background video request sent by a client, wherein the background video request comprises identity information of a login user;
inquiring pre-stored background video data corresponding to the identity information of the login user, wherein the background video data comprise video link addresses;
and sending the inquired background video data to the client so that the client can access the video link address in the background video data, download the corresponding video and play the downloaded video as the space page background of the login user.
A spatial page background setting apparatus comprising:
the background video request sending unit is used for responding to the background loading operation of the space page and sending a background video request to a background server, wherein the background video request comprises the identity information of a login user;
the background video data receiving unit is used for receiving background video data which are returned by the background server and comprise video link addresses, wherein the background video data are background video data which are stored by the background server in an inquiring mode and correspond to the identity information of the login user;
the video downloading unit is used for accessing the video link address and downloading the corresponding video;
and the background video setting unit is used for playing the downloaded video as the space page background of the login user.
A spatial page background setting apparatus comprising:
the background video request receiving unit is used for receiving a background video request sent by a client, wherein the background video request comprises identity information of a login user;
the background video data query unit is used for querying pre-stored background video data corresponding to the identity information of the login user, and the background video data comprises a video link address;
and the background video data sending unit is used for sending the inquired background video data to the client so that the client can access the video link address in the background video data, download the corresponding video and play the downloaded video as the space page background of the login user.
A spatial page background setting system, comprising: client and backstage supporter's server, wherein:
the client is used for responding to the background loading operation of the space page and sending a background video request to the background server, wherein the background video request comprises identity information of a login user; receiving background video data including a video link address returned by the background server; accessing the video link address and downloading a corresponding video; playing the downloaded video as the space page background of the login user;
the background server is used for receiving a background video request sent by a client, and inquiring prestored background video data corresponding to the identity information of the login user, wherein the background video data comprises a video link address; and sending the inquired background video data to the client.
According to the method for setting the space page background, a client responds to space page background loading operation and sends a background video request to a background server, wherein the background video request comprises identity information of a login user; receiving background video data including a video link address returned by the background server, wherein the background video data is background video data which is stored by the background server and corresponds to the identity information of the login user; accessing the video link address and downloading a corresponding video; and playing the downloaded video as the space page background of the login user. Therefore, the video serves as the space page background, the personality of the user can be more shown, and information sharing between the user and the friends can be better achieved by means of the richness of the video information.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a signaling diagram of a method for setting a spatial page background according to an embodiment of the present disclosure;
fig. 2 is a signaling diagram of another spatial page background setting method disclosed in the embodiment of the present application;
fig. 3 is a signaling diagram of a method for specifying a spatial page background video by a client according to an embodiment of the present application;
fig. 4 is a signaling diagram of a method for uploading a spatial page background video by a client according to an embodiment of the present application;
fig. 5 is a signaling diagram of a method for setting a spatial page background video by a client according to an embodiment of the present application;
fig. 6 is a flowchart of a method for setting a spatial page background disclosed from the perspective of a client according to an embodiment of the present application;
fig. 7 is a flowchart of a method for setting a spatial page background disclosed from the perspective of a background server in the embodiment of the present application;
fig. 8 is a schematic structural diagram of a spatial page background setting apparatus disclosed from the perspective of a client in the embodiment of the present application;
fig. 9 is a schematic structural diagram of a spatial page background setting device disclosed from the perspective of a background server in the embodiment of the present application;
fig. 10 is a schematic diagram of a client hardware structure disclosed in an embodiment of the present application.
Detailed Description
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 only a part of the embodiments of the present application, and not all of the 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.
The application discloses a space page background setting system which comprises a client and a background server. The client can be a mobile phone, an IPAD, a notebook, a desktop computer and other terminals. The background server can be a server, a server cluster consisting of a plurality of servers, or a cloud computing service center.
The client side interacts with the background server to realize that the video is played on the space page of the login user displayed by the client side, and the video is used as the background of the space page.
Referring to fig. 1, fig. 1 is a signaling diagram of a method for setting a spatial page background according to an embodiment of the present application.
As shown in fig. 1, the method includes:
step S100, a client responds to a space page background loading operation and sends a background video request to a background server, wherein the background video request comprises identity information of a login user;
specifically, the user performs an operation on the client side, such as accessing a space page, or triggering an operation of loading a background on the space page. And the client responds to the space page background loading operation and sends a background video request to the background server. The request includes identity information of the logged-in user. The login user is the login user of the current space page. The identity information of the login user can be in various forms such as a user name, an account number, a nickname and the like of the login user.
Step S101, a background server inquires pre-stored background video data corresponding to the identity information of the login user, wherein the background video data comprises a video link address;
specifically, the login user presets corresponding background video data, and the background video data comprises a video link address. And then, when receiving a background video request sent by the client, the background server inquires background video data corresponding to the identity information of the login user.
The background video data corresponding to the identity information of the login user may be stored in the background server, or may be stored in other devices.
Step S102, the background server sends the inquired background video data to the client;
step S103, the client accesses the video link address and downloads a corresponding video;
specifically, after receiving background video data returned by the background server, the client accesses a video link address in the background video data and downloads a video at the video link address. And downloading the video to the local client through video downloading.
And step S104, the client plays the downloaded video as the space page background of the login user.
And after the client finishes downloading the video, playing the downloaded video as the space page background of the login user.
The video playing mode may be a loop playing mode or other modes, and the application is not limited strictly.
According to the method provided by the embodiment of the application, the client side can show the personality of the user better by using the video as the space page background, and the information sharing between the user and the friends can be better realized by utilizing the richness of the video information.
In another embodiment of the present application, another spatial page background setting method is disclosed, see fig. 2.
In this embodiment, the background video data may further include a video ID, which identifies a unique identity of the video. Of course, the video ID may exist independently of the video link address, or the video ID may be integrated in the video link address.
As shown in fig. 2, the method includes:
step S200, the client side responds to the space page background loading operation and inquires whether background video data and downloaded videos are cached locally; if the background video data and the downloaded video are not cached at the same time, executing step S203, and if the background video data and the downloaded video are cached at the same time, executing step S201;
step S201, the client judges whether the ID of the downloaded video is the same as the video ID in the background video data; if the two are the same, executing step S202, and if the two are different, executing step S203;
step S202, the client plays the locally downloaded video as the space page background of the login user;
step S203, the client sends a background video request to the background server, wherein the background video request comprises identity information of a login user;
step S204, the background server inquires pre-stored background video data corresponding to the identity information of the login user, wherein the background video data comprises a video link address;
step S205, the background server sends the inquired background video data to the client;
step S206, the client accesses the video link address and downloads the corresponding video;
and step S207, the client plays the downloaded video as the space page background of the login user.
Compared with the previous embodiment, in this embodiment, after the client receives the background video data for the first time and downloads the corresponding video, the client may cache the background video data and the downloaded video. Therefore, when the spatial page is subsequently loaded, whether the video ID in the cached background video data is the same as the ID of the locally downloaded video can be judged, if so, the locally downloaded video can be used as the spatial page background for playing, and the video does not need to be downloaded again.
Of course, if the user clears the downloaded video in the client, the video needs to be downloaded again when the spatial page is loaded again.
Optionally, when it is determined in step S200 of the above embodiment that the background video data and the downloaded video are cached at the same time, the background video data may be requested from the background server again, and the local existing background video data may be updated by using the newly requested background video data. And during updating, if the background video data and the background video data are changed, replacing the existing background video data with the newly requested background video data. After the background video data is updated, the subsequent steps are performed.
In another embodiment of the present application, a process is described in which a client specifies a video file as the background of a spatial page. Referring to fig. 3, fig. 3 is a signaling diagram of a method for specifying a spatial page background video by a client according to an embodiment of the present application.
As shown in fig. 3, the method includes:
step S300, the client responds to the operation of a login user for designating a video file as a space page background and sends a background video instruction to the background server;
the background video instruction is used for informing a background server of a video file which is designated by the login user and serves as a space page background and identity information of the login user.
Step S301, the background server acquires a video file which is designated by the client and is used as a space page background of the login user and identity information of the login user according to the background video instruction;
specifically, the background video instruction may carry identity information of the login user. Further, if the background video instruction carries a video file serving as the background of the space page of the login user, the background server may directly extract the video file from the background video instruction and the identity information of the login user. If the background video instruction only indicates the index of the video file serving as the space page background of the login user, the background server can acquire the corresponding video file according to the index.
Step S302, the background server stores the video file and determines a video link address according to the storage address of the video file;
in particular, the background server may store the video file locally or in other databases. After the video file is stored, the video link address is determined according to the storage address of the video file.
Step S303, the background server establishes and stores the corresponding relation between the identity information of the login user and background video data, wherein the background video data comprises the video link address.
Specifically, the server establishes and stores the corresponding relationship between the identity information of the user and the background video data, and when a background video request of the client is received subsequently, the corresponding background video data can be searched according to the identity information of the login user carried in the request and fed back to the client.
Optionally, in step S300, the process of sending the background video instruction to the background server by the client in response to the operation of the login user designating the video file as the background of the spatial page may include:
firstly, the method comprises the following steps: the client responds to the operation that the login user designates the local video file as the space background, and sends the local video file and the identity information of the login user as background video instructions to the background server.
In particular, the logged-on user may designate a video file local to the client as a spatial context. And after compressing the specified local video file, the client uploads the compressed local video file and the identity information of the login user to the background server.
Optionally, the login user may clip the local video file in the client, and intercept one of the videos as the spatial background.
Secondly, the method comprises the following steps: the client responds to the operation that the logged-in user designates the recorded video file as a space background, and sends the recorded video file and the identity information of the logged-in user as background video instructions to the background server.
Specifically, the login user may record a video file through the client and designate the recorded video file as a spatial background. And after compressing the specified local video file, the client uploads the compressed local video file and the identity information of the login user to the background server.
Optionally, the login user may cut the recorded video file in the client, and intercept one of the videos as the spatial background.
Thirdly, the method comprises the following steps: the client responds to the operation that the login user designates the video file in the space album as the space background, and sends the identifier of the video file in the space album and the identity information of the login user as background video instructions to the background server.
Specifically, the login user may further designate a video file in the space album as the space background. And the client uploads the identifier of the video file specified by the login user and the identity information of the login user to the background server together.
In addition, the login user can also designate the video file in the network as a spatial background, the client sends the link address of the video file in the network designated by the login user and the identity information of the login user to the background server, and the background server accesses the link address to download the corresponding video file.
It is understood that, after the video specified by the login user as the spatial background in the client is specified, the video specified by the login user as the spatial background can be used by the client for previewing, so that the login user can view the preview effect.
Optionally, if the client uploads the local video file or the recorded video file to the background server, since a certain time is consumed in the process of uploading the video file, the file uploading progress prompt can be displayed on the video file uploading page of the client, so that the user can sense that the video file is being uploaded. After the video file is determined to be uploaded, a prompt can be given to the user.
Further optionally, for a user, a local video file or a recorded video file is used as a spatial background, and the video file needs to be uploaded after the first setting. In order to enable the user to experience the space background video in the video uploading process, the client can utilize the local video file or the recorded video file for false display, namely, the local video file or the recorded video file is directly used as the background of the space page of the login user for playing.
Corresponding to the above-described optional manner in which the client-side login user designates a video as a spatial background, this embodiment further introduces the process in which, in step S301, the backend server acquires, according to the background video instruction, the video file designated by the client and serving as the spatial page background of the login user, and the identity information of the login user.
Firstly, the method comprises the following steps: and if the client uploads the local video file as a spatial background, the background server acquires the uploaded local video file and the identity information of the login user.
Secondly, the method comprises the following steps: and if the recorded video file uploaded by the client serves as the space background, the background server acquires the uploaded recorded video file and the identity information of the login user.
Thirdly, if the client uploads the identification of the video in the space album, the background server searches the corresponding video in the space album according to the identification of the video and acquires the searched video and the identity information of the login user.
In an embodiment of the present application, a specific implementation process for uploading a spatial page background video by a client is introduced.
In this embodiment, the backend server includes: the system comprises a video processing server, a logic server, a video storage server and a background data storage server. Based on the architecture of the background server, a process of setting a background video of a spatial page is introduced, see fig. 4.
As shown in fig. 4, the method includes:
step S400, the client sends a designated video file serving as a space background and identity information of a login user to the video processing server;
specifically, the video file may be a local video file of the client, or a video file recorded by the client.
Step S401, the video processing server stores the video file uploaded by the client into a video storage server;
s402, the video storage server returns the storage address of the video file as a video link address to the video processing server;
step S403, the video processing server sends the video link address and the identity information of the login user to the logic server;
and S404, the logic server stores the video link address and the identity information of the login user into a background data storage server.
In the process of uploading the spatial page background video by the client, the video serving as the spatial background is stored in the video storage server, and the corresponding relationship between the video link address and the identity information of the login user is stored in the background data storage server.
Based on the structure of the background server in the previous embodiment, the present embodiment describes a process of setting a spatial page background video by a client, referring to fig. 5.
As shown in fig. 5, the method includes:
step S500, the client responds to the space page background loading operation and sends a background video request to the logic server, wherein the request carries identity information of a login user;
step S501, the logic server inquires corresponding background video data in a background data storage server according to the identity information of the login user;
wherein the background video data comprises a video link address.
Step S502, the logic server returns the inquired background video data to the client;
step S503, the client downloads the corresponding video from the video storage server according to the video link address;
and step S504, the client plays the downloaded video as the space page background of the login user.
On the basis of the embodiment, when the client plays the video in the space page background of the login user, if the shielding state of the video playing interface meets the set shielding condition in the sliding process of the space page background, the video playing is stopped. For example, when the occlusion of the video playing interface is determined to exceed half, the video playing is stopped, and the resource consumption is saved.
Further, for some clients with lower hardware performance, if the video cannot be played normally, a video cover picture, that is, the first frame picture of the video, can be displayed.
And further, when the client detects that the user triggers the video playing interface in the space page background, starting a video playing application, and playing the video by using the started video playing application.
Specifically, because other lists exist in the space page besides the video playing interface, such as words published by the user, pictures and the like, the client needs to play videos and render other list contents, and when the resources of the client are insufficient, the problem that the video playing is blocked easily occurs, and the like.
Of course, if the client has too low performance to play the video, the client may prompt the user.
Next, the embodiments of the present application describe a scheme from the client side perspective. Referring to fig. 6, fig. 6 is a flowchart of a method for setting a spatial page background disclosed from the perspective of a client according to an embodiment of the present application.
As shown in fig. 6, the method includes:
step S10, responding to the space page background loading operation, and sending a background video request to a background server, wherein the background video request comprises the identity information of a login user;
step S11, background video data including video link addresses returned by the background server is received;
the background video data is the background video data which is inquired and stored by the background server and corresponds to the identity information of the login user.
Step S12, accessing the video link address and downloading the corresponding video;
and step S13, playing the downloaded video as the space page background of the login user.
According to the method for setting the space page background, a client responds to space page background loading operation and sends a background video request to a background server, wherein the background video request comprises identity information of a login user; receiving background video data including a video link address returned by the background server, wherein the background video data is background video data which is stored by the background server and corresponds to the identity information of the login user; accessing the video link address and downloading a corresponding video; and playing the downloaded video as the space page background of the login user. Therefore, the video serves as the space page background, the personality of the user can be more shown, and information sharing between the user and the friends can be better achieved by means of the richness of the video information.
Optionally, before the responding to the space page background loading operation and sending the background video request to the background server, the method may further include:
responding to the operation of a login user for designating a video file as a space page background, and sending a background video instruction to the background server; the background video instruction is used for informing a background server of a video file which is designated by the login user and serves as a space page background and identity information of the login user.
By sending the background video instruction to the background server, the background server can acquire and store the video file and record the corresponding relation between the link address of the video file and the identity information of the login user.
Optionally, the process of sending the background video instruction to the background server in response to the operation of the login user designating the video file as the background of the spatial page may include:
1. responding to the operation that a login user designates a local video file as a space background, and sending the local video file and the identity information of the login user as background video instructions to a background server.
Or,
2. responding the operation that the logged-in user designates the recorded video file as a space background, and sending the recorded video file and the identity information of the logged-in user as background video instructions to a background server.
Or,
3. responding to the operation that a login user designates a video file in a space album as a space background, and sending the identifier of the video file in the space album and the identity information of the login user as background video instructions to a background server.
Optionally, the background video data may further include a video ID, and the video ID identifies a unique identity of the video. Based on this, before the sending the background video request to the background server, the method may further include:
A. responding to the background loading operation of the space page, and inquiring whether background video data and downloaded videos are cached locally;
B. if the background video data and the downloaded video are not cached at the same time, executing the operation of sending a background video request to a background server;
C. if the background video data and the downloaded video are cached at the same time, judging whether the ID of the downloaded video is the same as the video ID in the background video data;
D. if the local downloaded video is the same as the space page background of the login user, playing the locally downloaded video as the space page background of the login user;
E. and if the background video request is different from the background video request, executing the operation of sending the background video request to the background server.
Optionally, the method of the present application may further include:
and stopping video playing when the shielding state of the video playing interface meets the set shielding condition in the process of detecting the sliding of the space page background.
Optionally, the method of the present application may further include:
and when detecting that the user triggers the video playing interface in the space page background, starting a video playing application, and playing the video by using the started video playing application.
Further, the embodiment of the application introduces the scheme from the perspective of the background server. Referring to fig. 7, fig. 7 is a flowchart of a method for setting a space page background disclosed from the perspective of a background server in the embodiment of the present application.
As shown in fig. 7, the method includes:
step S20, receiving a background video request sent by a client, wherein the background video request comprises identity information of a login user;
step S21, inquiring prestored background video data corresponding to the identity information of the login user, wherein the background video data comprises a video link address;
step S22, sending the queried background video data to the client, so that the client can access a video link address in the background video data, download a corresponding video, and play the downloaded video as the space page background of the login user.
Optionally, the obtaining process of the pre-stored background video data corresponding to the identity information of the login user may include:
A. acquiring a video file which is designated by a client and is used as a space page background of the login user, and identity information of the login user;
B. storing the video file, and determining a video link address according to the storage address of the video file;
C. and establishing and storing a corresponding relation between the identity information of the login user and background video data, wherein the background video data comprises the video link address.
Optionally, the process of acquiring the video file, which is specified by the client and is used as the background of the spatial page of the login user, and the identity information of the login user may include:
1. and acquiring a local video file which is uploaded by a client and serves as a space page background of the login user, and identity information of the login user.
Or,
2. and acquiring a recorded video file which is uploaded by a client and serves as the space page background of the login user, and identity information of the login user.
Or,
3. and acquiring a video file which is appointed by a client in the space album of the login user and is used as the space page background of the login user, and identity information of the login user.
The following describes the spatial page background setting device provided in the embodiment of the present application, and the spatial page background setting device described below and the spatial page background setting method described above may be referred to in a corresponding manner.
For details which are not disclosed in the apparatus section, reference may be made to the description of the embodiments of the method section.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a spatial page background setting device disclosed from the perspective of a client according to an embodiment of the present application.
As shown in fig. 8, the apparatus includes:
a background video request sending unit 11, configured to send a background video request to a background server in response to a background loading operation of a spatial page, where the background video request includes identity information of a login user;
a background video data receiving unit 12, configured to receive background video data including a video link address returned by the background server, where the background video data is background video data corresponding to the identity information of the login user, and is stored in a query of the background server;
the video downloading unit 13 is configured to access the video link address and download a corresponding video;
and the background video setting unit 14 is configured to play the downloaded video as a space page background of the login user.
Optionally, the apparatus of the present application may further include:
a background video instruction sending unit, configured to respond to an operation of a login user specifying a video file as a spatial page background before the background video request sending unit, and send a background video instruction to the background server; the background video instruction is used for informing a background server of a video file which is designated by the login user and serves as a space page background and identity information of the login user.
Optionally, the background video instruction sending unit may include:
the local video sending unit is used for responding to the operation that a login user designates a local video file as a space background, and sending the local video file and the identity information of the login user to a background server as background video instructions;
or,
the recording video sending unit is used for responding to the operation that a login user designates a recording video file as a space background, and sending the recording video file and the identity information of the login user to a background server as background video instructions;
or,
and the space video identification sending unit is used for responding to the operation that the login user designates the video file in the space album as the space background, and sending the identification of the video file in the space album and the identity information of the login user to the background server as background video instructions.
Optionally, the background video data may further include a video ID. Based on this, the apparatus of the present application may further include:
a cache query unit, configured to respond to a space page background loading operation before the background video request sending unit, query whether background video data and a downloaded video are cached locally, execute the video ID determination unit if the background video data and the downloaded video are cached locally at the same time, and otherwise execute the background video request sending unit;
a video ID judging unit, configured to judge whether an ID of a downloaded video is the same as a video ID in the background video data, if so, execute a local video playing unit, otherwise, execute the background video request sending unit;
and the local video playing unit is used for playing the locally downloaded video as the spatial page background of the login user.
Optionally, the apparatus of the present application may further include:
and the video playing control unit is used for stopping video playing when the shielding state of the video playing interface meets the set shielding condition in the process of detecting the background of the space page to slide.
Optionally, the apparatus of the present application may further include:
and the video playing application starting unit is used for starting the video playing application when detecting that the user triggers the video playing interface in the space page background, and playing the video by using the started video playing application.
Further, referring to fig. 9, fig. 9 is a schematic structural diagram of a spatial page background setting device disclosed from the perspective of a background server in the embodiment of the present application.
As shown in fig. 9, the apparatus includes:
a background video request receiving unit 21, configured to receive a background video request sent by a client, where the background video request includes identity information of a login user;
a background video data query unit 22, configured to query pre-stored background video data corresponding to the identity information of the login user, where the background video data includes a video link address;
a background video data sending unit 23, configured to send the queried background video data to the client, so that the client accesses a video link address in the background video data, downloads a corresponding video, and plays the downloaded video as a space page background of the login user.
Optionally, the apparatus of the present application may further include: and the background video data acquisition unit is used for acquiring background video data corresponding to the identity information of the login user.
The background video data acquisition unit may include:
the video file acquisition unit is used for acquiring a video file which is designated by a client and is used as a space page background of the login user and identity information of the login user;
the video link address determining unit is used for storing the video file and determining a video link address according to the storage address of the video file;
and the corresponding relation establishing unit is used for establishing and storing the corresponding relation between the identity information of the login user and background video data, and the background video data comprises the video link address.
Optionally, the video file obtaining unit may include:
the local video file acquisition unit is used for acquiring a local video file which is uploaded by a client and serves as a space page background of the login user and identity information of the login user;
or,
the recording video file acquisition unit is used for acquiring a recording video file which is uploaded by a client and serves as a space page background of the login user, and identity information of the login user;
or,
and the space album video file acquisition unit is used for acquiring the video file which is specified by the client in the space album of the login user and is used as the space page background of the login user and the identity information of the login user.
The embodiment of the present application further discloses a system for setting the background of the spatial page, including: client and backstage supporter's server, wherein:
the client is used for responding to the background loading operation of the space page and sending a background video request to the background server, wherein the background video request comprises identity information of a login user; receiving background video data including a video link address returned by the background server; accessing the video link address and downloading a corresponding video; playing the downloaded video as the space page background of the login user;
the background server is used for receiving a background video request sent by a client, and inquiring prestored background video data corresponding to the identity information of the login user, wherein the background video data comprises a video link address; and sending the inquired background video data to the client.
Optionally, the client is further configured to send a background video instruction to the background server in response to an operation of a login user designating a video file as a background of a spatial page; the background video instruction is used for informing a background server of a video file which is designated by the login user and serves as a space page background and identity information of the login user;
the server is also used for storing the video file and determining a video link address according to the storage address of the video file; and establishing and storing a corresponding relation between the identity information of the login user and background video data, wherein the background video data comprises the video link address.
Referring to fig. 10, regarding a hardware structure of a client, fig. 10 is a schematic diagram of a hardware structure of the client according to an embodiment of the present application.
As shown in fig. 10, the terminal may include:
a processor 1, a communication interface 2, a memory 3, a communication bus 4, and a display screen 5;
the processor 1, the communication interface 2, the memory 3 and the display screen 5 are communicated with each other through a communication bus 4;
optionally, the communication interface 2 may be an interface of a communication module, such as an interface of a GSM module;
a processor 1 for executing a program;
a memory 3 for storing a program;
the program may include program code including operating instructions of the processor.
The processor 1 may be a central processing unit CPU or an application specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present application.
The memory 3 may comprise a high-speed RAM memory, and may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory.
Among them, the program can be specifically used for:
responding to the background loading operation of the space page, and sending a background video request to a background server, wherein the background video request comprises identity information of a login user;
receiving background video data including a video link address returned by the background server, wherein the background video data is background video data which is stored by the background server and corresponds to the identity information of the login user;
accessing the video link address and downloading a corresponding video;
and playing the downloaded video as the space page background of the login user.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (20)
1. A method for setting a space page background is characterized by comprising the following steps:
responding to the background loading operation of the space page, and sending a background video request to a background server, wherein the background video request comprises identity information of a login user;
receiving background video data including a video link address returned by the background server, wherein the background video data is background video data which is stored by the background server and corresponds to the identity information of the login user;
accessing the video link address and downloading a corresponding video;
and playing the downloaded video as the space page background of the login user.
2. The method of claim 1, wherein prior to sending a background video request to a backend server in response to a spatial page background load operation, the method further comprises:
responding to the operation of a login user for designating a video file as a space page background, and sending a background video instruction to the background server;
the background video instruction is used for informing a background server of a video file which is designated by the login user and serves as a space page background and identity information of the login user.
3. The method of claim 2, wherein sending a background video instruction to the background server in response to the operation of the logged-in user designating a video file as a background of a spatial page comprises:
responding to the operation that a login user designates a local video file as a space background, and sending the local video file and the identity information of the login user as background video instructions to a background server;
or,
responding to the operation that a logged-in user designates a recorded video file as a space background, and sending the recorded video file and the identity information of the logged-in user as background video instructions to a background server;
or,
responding to the operation that a login user designates a video file in a space album as a space background, and sending the identifier of the video file in the space album and the identity information of the login user as background video instructions to a background server.
4. The method of claim 1, wherein the background video data further comprises a video ID, and wherein prior to the sending of the background video request to the background server, the method further comprises:
responding to the background loading operation of the space page, and inquiring whether background video data and downloaded videos are cached locally;
if the background video data and the downloaded video are not cached at the same time, executing the operation of sending a background video request to a background server;
if the background video data and the downloaded video are cached at the same time, judging whether the ID of the downloaded video is the same as the video ID in the background video data;
if the local downloaded video is the same as the space page background of the login user, playing the locally downloaded video as the space page background of the login user;
and if the background video request is different from the background video request, executing the operation of sending the background video request to the background server.
5. The method of claim 1, further comprising:
and stopping video playing when the shielding state of the video playing interface meets the set shielding condition in the process of detecting the sliding of the space page background.
6. The method of claim 1, further comprising:
and when detecting that the user triggers the video playing interface in the space page background, starting a video playing application, and playing the video by using the started video playing application.
7. A method for setting a space page background is characterized by comprising the following steps:
receiving a background video request sent by a client, wherein the background video request comprises identity information of a login user;
inquiring pre-stored background video data corresponding to the identity information of the login user, wherein the background video data comprise video link addresses;
and sending the inquired background video data to the client so that the client can access the video link address in the background video data, download the corresponding video and play the downloaded video as the space page background of the login user.
8. The method according to claim 7, wherein the obtaining of the pre-stored background video data corresponding to the identity information of the logged-in user comprises:
acquiring a video file which is designated by a client and is used as a space page background of the login user, and identity information of the login user;
storing the video file, and determining a video link address according to the storage address of the video file;
and establishing and storing a corresponding relation between the identity information of the login user and background video data, wherein the background video data comprises the video link address.
9. The method according to claim 8, wherein the obtaining of the video file specified by the client as the background of the spatial page of the login user and the identity information of the login user comprises:
acquiring a local video file which is uploaded by a client and serves as a space page background of the login user, and identity information of the login user;
or,
acquiring a recorded video file which is uploaded by a client and serves as a space page background of the login user, and identity information of the login user;
or,
and acquiring a video file which is appointed by a client in the space album of the login user and is used as the space page background of the login user, and identity information of the login user.
10. A spatial page background setting device, comprising:
the background video request sending unit is used for responding to the background loading operation of the space page and sending a background video request to a background server, wherein the background video request comprises the identity information of a login user;
the background video data receiving unit is used for receiving background video data which are returned by the background server and comprise video link addresses, wherein the background video data are background video data which are stored by the background server in an inquiring mode and correspond to the identity information of the login user;
the video downloading unit is used for accessing the video link address and downloading the corresponding video;
and the background video setting unit is used for playing the downloaded video as the space page background of the login user.
11. The apparatus of claim 10, further comprising:
a background video instruction sending unit, configured to respond to an operation of a login user specifying a video file as a spatial page background before the background video request sending unit, and send a background video instruction to the background server; the background video instruction is used for informing a background server of a video file which is designated by the login user and serves as a space page background and identity information of the login user.
12. The apparatus of claim 11, wherein the background video instruction sending unit comprises:
the local video sending unit is used for responding to the operation that a login user designates a local video file as a space background, and sending the local video file and the identity information of the login user to a background server as background video instructions;
or,
the recording video sending unit is used for responding to the operation that a login user designates a recording video file as a space background, and sending the recording video file and the identity information of the login user to a background server as background video instructions;
or,
and the space video identification sending unit is used for responding to the operation that the login user designates the video file in the space album as the space background, and sending the identification of the video file in the space album and the identity information of the login user to the background server as background video instructions.
13. The apparatus of claim 10, wherein the background video data further comprises a video ID, the apparatus further comprising:
a cache query unit, configured to respond to a space page background loading operation before the background video request sending unit, query whether background video data and a downloaded video are cached locally, execute the video ID determination unit if the background video data and the downloaded video are cached locally at the same time, and otherwise execute the background video request sending unit;
a video ID judging unit, configured to judge whether an ID of a downloaded video is the same as a video ID in the background video data, if so, execute a local video playing unit, otherwise, execute the background video request sending unit;
and the local video playing unit is used for playing the locally downloaded video as the spatial page background of the login user.
14. The apparatus of claim 10, further comprising:
and the video playing control unit is used for stopping video playing when the shielding state of the video playing interface meets the set shielding condition in the process of detecting the background of the space page to slide.
15. The apparatus of claim 10, further comprising:
and the video playing application starting unit is used for starting the video playing application when detecting that the user triggers the video playing interface in the space page background, and playing the video by using the started video playing application.
16. A spatial page background setting device, comprising:
the background video request receiving unit is used for receiving a background video request sent by a client, wherein the background video request comprises identity information of a login user;
the background video data query unit is used for querying pre-stored background video data corresponding to the identity information of the login user, and the background video data comprises a video link address;
and the background video data sending unit is used for sending the inquired background video data to the client so that the client can access the video link address in the background video data, download the corresponding video and play the downloaded video as the space page background of the login user.
17. The apparatus of claim 16, further comprising: a background video data acquisition unit, configured to acquire background video data corresponding to the identity information of the login user;
the background video data acquisition unit includes:
the video file acquisition unit is used for acquiring a video file which is designated by a client and is used as a space page background of the login user and identity information of the login user;
the video link address determining unit is used for storing the video file and determining a video link address according to the storage address of the video file;
and the corresponding relation establishing unit is used for establishing and storing the corresponding relation between the identity information of the login user and background video data, and the background video data comprises the video link address.
18. The apparatus of claim 17, wherein the video file obtaining unit comprises:
the local video file acquisition unit is used for acquiring a local video file which is uploaded by a client and serves as a space page background of the login user and identity information of the login user;
or,
the recording video file acquisition unit is used for acquiring a recording video file which is uploaded by a client and serves as a space page background of the login user, and identity information of the login user;
or,
and the space album video file acquisition unit is used for acquiring the video file which is specified by the client in the space album of the login user and is used as the space page background of the login user and the identity information of the login user.
19. A spatial page background setting system, comprising: client and backstage supporter's server, wherein:
the client is used for responding to the background loading operation of the space page and sending a background video request to the background server, wherein the background video request comprises identity information of a login user; receiving background video data including a video link address returned by the background server; accessing the video link address and downloading a corresponding video; playing the downloaded video as the space page background of the login user;
the background server is used for receiving a background video request sent by a client, and inquiring prestored background video data corresponding to the identity information of the login user, wherein the background video data comprises a video link address; and sending the inquired background video data to the client.
20. The system of claim 19,
the client is also used for responding to the operation of a video file which is specified by a login user to be used as a space page background and sending a background video instruction to the background server; the background video instruction is used for informing a background server of a video file which is designated by the login user and serves as a space page background and identity information of the login user;
the server is also used for storing the video file and determining a video link address according to the storage address of the video file; and establishing and storing a corresponding relation between the identity information of the login user and background video data, wherein the background video data comprises the video link address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610642984.2A CN106250536B (en) | 2016-08-05 | 2016-08-05 | Method, device and system for setting space page background |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610642984.2A CN106250536B (en) | 2016-08-05 | 2016-08-05 | Method, device and system for setting space page background |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106250536A true CN106250536A (en) | 2016-12-21 |
CN106250536B CN106250536B (en) | 2021-07-16 |
Family
ID=58079356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610642984.2A Active CN106250536B (en) | 2016-08-05 | 2016-08-05 | Method, device and system for setting space page background |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106250536B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965986A (en) * | 2017-12-29 | 2018-12-07 | 北京视联动力国际信息技术有限公司 | A kind of video recorded broadcast method, apparatus and system |
CN109743464A (en) * | 2019-02-28 | 2019-05-10 | 努比亚技术有限公司 | Desktop background display methods, mobile terminal and computer readable storage medium |
CN110248237A (en) * | 2019-07-04 | 2019-09-17 | 广州华多网络科技有限公司 | A kind of video broadcasting method, device and equipment |
CN114095773A (en) * | 2021-11-18 | 2022-02-25 | 北京达佳互联信息技术有限公司 | Video display method and device |
CN115278338A (en) * | 2022-07-28 | 2022-11-01 | 广州市百果园信息技术有限公司 | Video wallpaper processing method, device, equipment and medium thereof |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB657311A (en) * | 1947-05-13 | 1951-09-19 | Ducati Societa Scient Radio Br | Improvements in means for loading film cartridges or magazines with film to be used in photographic cameras |
US6054990A (en) * | 1996-07-05 | 2000-04-25 | Tran; Bao Q. | Computer system with handwriting annotation |
CN102375816A (en) * | 2010-08-10 | 2012-03-14 | 中国科学院自动化研究所 | Online video concentration device, system and method |
CN103118081A (en) * | 2013-01-18 | 2013-05-22 | 北京奇虎科技有限公司 | Server, client, system and method for preloading browse pages on explorer |
CN103391277A (en) * | 2012-05-10 | 2013-11-13 | 华为技术有限公司 | Media playing method, device and system |
CN104685557A (en) * | 2012-07-20 | 2015-06-03 | 造型逻辑有限公司 | Display systems |
CN104680545A (en) * | 2015-03-15 | 2015-06-03 | 西安电子科技大学 | Method for detecting existence of salient objects in optical images |
CN104981774A (en) * | 2013-01-11 | 2015-10-14 | 泰克尼森有限公司 | Method and system for configuring selection of contextual dashboards |
CN105094513A (en) * | 2014-05-23 | 2015-11-25 | 腾讯科技(北京)有限公司 | User avatar setting method and apparatus as well as electronic device |
US20160140229A1 (en) * | 2014-11-14 | 2016-05-19 | Shuccle Ag | Method and system for organizing, searching, finding, and filtering internet content based on content relevancy through data categorization live and in real time, without time delay |
-
2016
- 2016-08-05 CN CN201610642984.2A patent/CN106250536B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB657311A (en) * | 1947-05-13 | 1951-09-19 | Ducati Societa Scient Radio Br | Improvements in means for loading film cartridges or magazines with film to be used in photographic cameras |
US6054990A (en) * | 1996-07-05 | 2000-04-25 | Tran; Bao Q. | Computer system with handwriting annotation |
CN102375816A (en) * | 2010-08-10 | 2012-03-14 | 中国科学院自动化研究所 | Online video concentration device, system and method |
CN103391277A (en) * | 2012-05-10 | 2013-11-13 | 华为技术有限公司 | Media playing method, device and system |
CN104685557A (en) * | 2012-07-20 | 2015-06-03 | 造型逻辑有限公司 | Display systems |
CN104981774A (en) * | 2013-01-11 | 2015-10-14 | 泰克尼森有限公司 | Method and system for configuring selection of contextual dashboards |
CN103118081A (en) * | 2013-01-18 | 2013-05-22 | 北京奇虎科技有限公司 | Server, client, system and method for preloading browse pages on explorer |
CN105094513A (en) * | 2014-05-23 | 2015-11-25 | 腾讯科技(北京)有限公司 | User avatar setting method and apparatus as well as electronic device |
US20160140229A1 (en) * | 2014-11-14 | 2016-05-19 | Shuccle Ag | Method and system for organizing, searching, finding, and filtering internet content based on content relevancy through data categorization live and in real time, without time delay |
CN104680545A (en) * | 2015-03-15 | 2015-06-03 | 西安电子科技大学 | Method for detecting existence of salient objects in optical images |
Non-Patent Citations (2)
Title |
---|
PATRIK GOORTS 等: "Assess autism level while playing games", 《2012 INTERNATIONAL CONFERENCE ON 3D IMAGING (IC3D)》 * |
杜菁玮: "新媒体广告的视觉动态设计研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965986A (en) * | 2017-12-29 | 2018-12-07 | 北京视联动力国际信息技术有限公司 | A kind of video recorded broadcast method, apparatus and system |
CN109743464A (en) * | 2019-02-28 | 2019-05-10 | 努比亚技术有限公司 | Desktop background display methods, mobile terminal and computer readable storage medium |
CN110248237A (en) * | 2019-07-04 | 2019-09-17 | 广州华多网络科技有限公司 | A kind of video broadcasting method, device and equipment |
CN110248237B (en) * | 2019-07-04 | 2021-09-28 | 广州华多网络科技有限公司 | Video playing method, device, equipment and storage medium |
CN114095773A (en) * | 2021-11-18 | 2022-02-25 | 北京达佳互联信息技术有限公司 | Video display method and device |
CN115278338A (en) * | 2022-07-28 | 2022-11-01 | 广州市百果园信息技术有限公司 | Video wallpaper processing method, device, equipment and medium thereof |
CN115278338B (en) * | 2022-07-28 | 2023-09-19 | 广州市百果园信息技术有限公司 | Video wallpaper processing method and device, equipment and medium thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106250536B (en) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106250536B (en) | Method, device and system for setting space page background | |
US10708390B2 (en) | Method, user equipment, server, and apparatus for implementing information sharing | |
CN106487781B (en) | Resource data processing method, device and system based on live broadcast | |
CN107645561B (en) | Picture preview method of cloud mobile phone | |
US9451014B2 (en) | Across-application network communication method and device | |
CN113055451B (en) | Resource downloading method and device, electronic equipment and storage medium | |
US8959234B2 (en) | Method and system for providing online services corresponding to multiple mobile devices, server, mobile device, and computer program product | |
EP2605476A1 (en) | Mobile communication device | |
CN103036597B (en) | Method and device of sharing resources among devices in close range | |
CN111744174A (en) | Account management method and device of cloud game, account login method and device and electronic equipment | |
WO2015135165A1 (en) | A lock screen method and mobile terminal | |
CN111214828A (en) | Game running method, device, equipment, medium and cloud game platform | |
EP2635073A1 (en) | Access point selection based on number of successful connections | |
CN104023055A (en) | Video sharing method and system, and terminal device | |
US20160006787A1 (en) | Methods and devices for visiting a webpage | |
JP2006343855A (en) | Content relay device and content relay method | |
US10200416B2 (en) | Global setting for casting content to networked renderer | |
US10805427B1 (en) | Backup and restore of customer devices | |
JP2021108163A (en) | Screen locking method and mobile terminal | |
RU2515506C1 (en) | Data transmission method and device based on slide detection | |
WO2015003570A1 (en) | Data downloading method,device and system thereof | |
WO2016197884A1 (en) | Identity-based data processing method and device | |
CN108174245B (en) | Method and system for presenting dynamic content based on video data | |
CN113746909A (en) | Network connection method, device, electronic equipment and computer readable storage medium | |
CN113347222B (en) | Data processing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
TG01 | Patent term adjustment | ||
TG01 | Patent term adjustment |