CN104967598A - Subscriber multimedia authority information obtaining method and apparatus - Google Patents

Subscriber multimedia authority information obtaining method and apparatus Download PDF

Info

Publication number
CN104967598A
CN104967598A CN201410662557.1A CN201410662557A CN104967598A CN 104967598 A CN104967598 A CN 104967598A CN 201410662557 A CN201410662557 A CN 201410662557A CN 104967598 A CN104967598 A CN 104967598A
Authority
CN
China
Prior art keywords
multimedia
user
authority information
authority
server
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
Application number
CN201410662557.1A
Other languages
Chinese (zh)
Other versions
CN104967598B (en
Inventor
傅鸿城
李逢春
周国金
梁柱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410662557.1A priority Critical patent/CN104967598B/en
Publication of CN104967598A publication Critical patent/CN104967598A/en
Application granted granted Critical
Publication of CN104967598B publication Critical patent/CN104967598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Abstract

The invention discloses a subscriber multimedia authority information obtaining method and apparatus, and belongs to the technical field of Internet. The method comprises the following steps: receiving authority obtaining request message sent by a terminal, wherein the authority obtaining request message carries the subscriber identity of a subscriber; according to the subscriber identity of the subscriber, obtaining the authority grade of the subscriber in a multimedia server; according to the authority grade of the subscriber in the multimedia server, obtaining multimedia authority information of the subscriber, wherein the multimedia authority information at least comprises the multimedia authority owned by the subscriber in the multimedia server; and sending the multimedia authority information of the subscriber to the terminal. The apparatus comprises a first receiving module, a first obtaining module, a second obtaining module and a first sending module. According to the invention, the subscriber can know the multimedia authority he has and requests for multimedia information that he can play according to his own multimedia authority, such that the burden of the multimedia server is reduced.

Description

A kind of acquisition methods of customer multi-media authority information and device
Technical field
The present invention relates to Internet technical field, particularly a kind of acquisition methods of customer multi-media authority information and device.
Background technology
At present, most of terminal all has music playback function, and user installs music application in terminal, just can play or down-load music in music application.Wherein, in music application, comprise the music of different quality, such as, the music etc. of the music of common quality, the music of high-quality and ultrahigh quality.All users can play or download the music of common quality, and the user only with multimedia authority could play or download the music of high-quality and ultrahigh quality.
When user's broadcasting or down-load music, user is sent by terminal and obtains request message to music servers, and this acquisition request message carries the user ID of user and the music identification of music; According to the user ID of user and the music identification of music, music servers determines whether user has the authority playing or download this music; If user has the authority playing or download this music, obtain this music, send the music of this acquisition to terminal; If user does not have the authority playing or download this music, music servers prompting user does not have the authority playing or download this music.
Because prior art does not have a kind of acquisition methods of customer multi-media authority information, therefore user play or down-load music time and do not know which music oneself can play or download, user repeatedly may ask oneself not have the music of download permission, which increases the burden of server.
Summary of the invention
In order to make the problem of solution prior art, the invention provides a kind of acquisition methods and device of customer multi-media authority information.Technical scheme is as follows:
On the one hand, the invention provides a kind of acquisition methods of customer multi-media authority information, described method comprises:
The authority acquiring request message that receiving terminal sends, described authority acquiring request message carries the user ID of user;
According to the user ID of described user, obtain the Permission Levels of described user in multimedia server;
According to the Permission Levels of described user in multimedia server, obtain the multimedia authority information of described user, described multimedia authority information at least comprises the multimedia authority that described user has in described multimedia server;
The multimedia authority information of described user is sent to described terminal.
On the other hand, the invention provides a kind of acquisition methods of customer multi-media authority information, described method comprises:
Obtain request message to multimedia server sending permission, described authority acquiring request message carries the user ID of user, obtains the multimedia authority information of described user to make described multimedia server according to the user ID of described user;
Receive the multimedia authority information of described user that described multimedia server sends, the multimedia authority information of described user at least comprises the multimedia authority that described user has in described multimedia server;
Show the multimedia authority information of described user;
Send multimedia to described multimedia server and obtain request message, described multimedia obtains request message and carries the multimedia authority information of described user and the multi-media tag of multimedia messages, determines whether described user can play described multimedia messages to make described multimedia server according to the multimedia authority information of described user and the multi-media tag of multimedia messages;
Receive described multimedia server determining the described multimedia messages that described user sends when can play described multimedia messages.
On the other hand, the invention provides a kind of acquisition device of customer multi-media authority information, described device comprises:
First receiver module, for the authority acquiring request message that receiving terminal sends, described authority acquiring request message carries the user ID of user;
First acquisition module, for the user ID according to described user, obtains the Permission Levels of described user in multimedia server;
Second acquisition module, for according to the Permission Levels of described user in multimedia server, obtain the multimedia authority information of described user, described multimedia authority information at least comprises the multimedia authority that described user has in described multimedia server;
First sending module, for sending the multimedia authority information of described user to described terminal.
On the other hand, the invention provides a kind of acquisition device of customer multi-media authority information, described device comprises:
5th sending module, for obtaining request message to multimedia server sending permission, described authority acquiring request message carries the user ID of user, obtains the multimedia authority information of described user to make described multimedia server according to the user ID of described user;
3rd receiver module, for receiving the multimedia authority information of described user that described multimedia server sends, the multimedia authority information of described user at least comprises the multimedia authority that described user has in described multimedia server;
First display module, for showing the multimedia authority information of described user;
6th sending module, request message is obtained for sending multimedia to described multimedia server, described multimedia obtains request message and carries the multimedia authority information of described user and the multi-media tag of multimedia messages, determines whether described user can play described multimedia messages to make described multimedia server according to the multimedia authority information of described user and the multi-media tag of multimedia messages;
4th receiver module, for receiving described multimedia server determining the described multimedia messages that described user sends when can play described multimedia messages.
In embodiments of the present invention, terminal obtains request message to multimedia server sending permission, and this authority acquiring request message carries the user ID of user; Multimedia server, according to the user ID of user, obtains the Permission Levels of user, obtains the multimedia authority information of user, send the multimedia authority information of user, the multimedia messages of terminal demonstration user to terminal according to the Permission Levels of user; Thus user can know oneself there is which multimedia authority, and go for according to the multimedia authority of oneself multimedia messages asking oneself to play, alleviate the burden of multimedia server like this.
Accompanying drawing explanation
Fig. 1-1 is the acquisition methods flow chart of a kind of customer multi-media authority information that the embodiment of the present invention 1 provides;
Fig. 1-2 is the acquisition methods flow chart of the another kind of customer multi-media authority information that the embodiment of the present invention 1 provides;
Fig. 2-1 is the activating method flow chart of a kind of customer multi-media authority that the embodiment of the present invention 2 provides;
Fig. 2-2 be a kind of customer multi-media authority of providing of the embodiment of the present invention 2 open interface schematic diagram;
Fig. 2-3 is the acquisition methods flow charts of a kind of customer multi-media authority information that the embodiment of the present invention 2 provides;
Fig. 2-4 is the method for uploading flow charts of a kind of multimedia messages that the embodiment of the present invention 2 provides;
Fig. 2-5 is Permission Levels service system structure charts that the embodiment of the present invention 2 provides;
Fig. 2-6 is the actualizing technology frame diagrams of the multimedia resource numerical value that the embodiment of the present invention 2 provides;
Fig. 2-7 is frame diagrams of the inquiry multimedia resource numerical value that provides of the embodiment of the present invention 2 and Permission Levels;
Fig. 2-8 be the embodiment of the present invention 2 provide open or close multimedia resource number system frame diagram;
Fig. 2-9 is frame diagrams of the multimedia resource numerical value change of the user that the embodiment of the present invention 2 provides;
Fig. 3-1 is the acquisition device structural representation of a kind of customer multi-media authority information that the embodiment of the present invention 3 provides;
Fig. 3-2 is the acquisition device structural representations of a kind of customer multi-media authority information that the embodiment of the present invention 3 provides;
Fig. 4-1 is the acquisition device structural representation of a kind of customer multi-media authority information that the embodiment of the present invention 4 provides;
Fig. 4-2 is the acquisition device structural representations of a kind of customer multi-media authority information that the embodiment of the present invention 4 provides;
Fig. 5 is the structural representation of a kind of multimedia server that the embodiment of the present invention 4 provides;
Fig. 6 is the structural representation of a kind of terminal that the embodiment of the present invention 6 provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
At present, the multimedia messages of different quality is comprised in multimedia server, different users can play or download the multimedia messages of different quality, the multimedia messages oneself playing or download which quality is known in order to enable user, before user plays or downloads multimedia messages, the method that can be provided by the embodiment of the present invention needs the multimedia authority information obtaining user, thus user can go for according to the multimedia authority information of oneself multimedia messages asking oneself to play or to download, alleviate the burden of multimedia server like this.
Embodiment 1
Embodiments provide a kind of acquisition methods of customer multi-media authority information, the executive agent of the method is multimedia server, and see Fig. 1-1, the method comprises:
Step 101a: the authority acquiring request message that receiving terminal sends, authority acquiring request message carries the user ID of user;
Step 102a: according to the user ID of user, obtains the Permission Levels of user in multimedia server;
Step 103a: according to the Permission Levels of user in multimedia server, obtain the multimedia authority information of user, multimedia authority information at least comprises the multimedia authority that user has in multimedia server;
Step 104a: the multimedia authority information sending user to terminal.
The embodiment of the present invention additionally provides a kind of acquisition methods of customer multi-media authority information, and the executive agent of the method is terminal, and see Fig. 1-2, the method comprises:
Step 101b: obtain request message to multimedia server sending permission, authority acquiring request message carries the user ID of user, obtains the multimedia authority information of user to make multimedia server according to the user ID of user;
Step 102b: receive the multimedia authority information of user that multimedia server sends, the multimedia authority information of user at least comprises the multimedia authority that user has in multimedia server;
Step 103b: the multimedia authority information of display user;
Step 104b: send multimedia to multimedia server and obtain request message, this multimedia obtains request message and carries the multimedia authority information of user and the multi-media tag of multimedia messages, determines whether user can play this multimedia messages to make multimedia server according to the multimedia authority information of user and the multi-media tag of multimedia messages;
Step 105b: receive multimedia server determining the multimedia messages that user sends when can play this multimedia messages.
In embodiments of the present invention, terminal obtains request message to multimedia server sending permission, and this authority acquiring request message carries the user ID of user; Multimedia server, according to the user ID of user, obtains the Permission Levels of user, obtains the multimedia authority information of user, send the multimedia authority information of user, the multimedia messages of terminal demonstration user to terminal according to the Permission Levels of user; Thus user can know oneself there is which multimedia authority, and go for according to the multimedia authority of oneself multimedia messages asking oneself to play, alleviate the burden of multimedia server like this.
Embodiment 2
Multimedia authority information at least comprises the multimedia authority that user has in multimedia server.When user opens multimedia authority, multimedia server is the multimedia resource numerical value of user's distributing user in multimedia server; Determine the Permission Levels of user according to the multimedia resource numerical value of user, determine the multimedia authority information of user according to the Permission Levels of user.
Fig. 2-1 is the activating method flow chart of customer multi-media authority; Wherein, the method comprises:
Step 201: terminal arrange in the display interface of terminal open multimedia authority open entrance, opened entrance sending permission opened request message to multimedia server by this, this authority opens the user ID that request message carries user;
Terminal arrange in the display interface of terminal open multimedia authority open entrance, when user wants to open multimedia authority, user is opened entrance and is submitted to by this and open order to terminal; The order transmission of opening that terminal is submitted to according to user opens authority request message to multimedia server, and this opens the user ID that authority request message carries user.
The display interface of terminal can be arbitrary display interface of the multimedia application of terminal, such as, and the homepage of multimedia application, the interface of play multimedia information or download the interface etc. of multimedia messages.Multimedia server can be music servers etc.; The title etc. of the user account that the user ID of user can be registered in multimedia server for user or user; Terminal can be mobile phone, panel computer or PC (personalcomputer, personal computer) terminal etc.See Fig. 2-2, terminal the homepage of multimedia application arrange open multimedia authority open entrance.
Such as, the user ID of user is Zhang San, when Zhang San wants to open multimedia authority, terminal by this open entrance send open authority request message to multimedia server, this opens the user ID that authority request message carries user: Zhang San.
Step 202: the authority that multimedia server receiving terminal sends opens request message, for this user distributes multimedia resource numerical value;
Multimedia server opens request message from authority the user ID obtaining user, for this user distributes multimedia resource numerical value.And multimedia server is that the multimedia resource numerical value that each user opening multimedia authority distributes is identical.
Such as, to be the multimedia resource numerical value that Zhang San distributes be multimedia server 10 etc.
Step 203: terminal arranges the acceleration entrance accelerating multimedia resource numerical value in the display interface of terminal, sends acceleration request message to multimedia server by this acceleration entrance, and what this acceleration request message carried user opens mode;
Terminal arranges the acceleration entrance accelerating multimedia resource numerical value in the display interface of terminal, and when user wants the multimedia resource numerical value of accelerated growth user, user submits to speed-up command to terminal by this acceleration entrance; Terminal obtain user open accelerate multimedia resource numerical value open mode, send acceleration request message to multimedia server according to the speed-up command that user submits to, what this acceleration request message carried user opens mode.
The mode of opening can directly be opened for terminal and open that duration is the first duration, to be opened by third-party application and open duration first duration, directly open and open duration be the second duration or to be opened by third-party application and open duration be the second duration etc.
First duration can be one month, and the second duration can be 1 year etc., does not do concrete restriction in embodiments of the present invention to the first duration and the second duration.
Step 204: the acceleration request message that multimedia server receiving terminal sends, obtains the resource numerical value rule change of user according to the mode of opening of user;
Store the corresponding relation of the mode of opening and resource numerical value rule change in multimedia server in advance, open mode according to user, from the corresponding relation opening mode and resource numerical value rule change, obtain the resource numerical value rule change of user.
Such as, the corresponding relation of the mode of opening stored in multimedia server and resource numerical value rule change is as shown in table 1 below:
Table 1
Step 205: multimedia server, periodically according to the resource numerical value rule change of user, upgrades the multimedia resource numerical value of user;
Particularly, multimedia server, every the resource numerical value rule change of preset duration according to user, upgrades the multimedia resource numerical value of a user.
Preset duration can carry out arranging and changing as required; Such as, preset duration is 1 day, and the resource numerical value rule change of Zhang San is increase by 15 every day, then multimedia server every other day, and the multimedia resource numerical value of Zhang San is increased by 15.
It should be noted that, the multimedia authority of user has certain time limit, and when the multimedia time limit of user arrives, the resource numerical value rule change of user will change.
Such as, be 2014-11-4 to 2014-12-4 when the multimedia time limit of user, during 2014-11-4 to 2014-12-4, the resource numerical value rule change of user is increase by 15 every day; After 2014-12-4, the resource numerical value rule change of user will become and subtract 5 every day, until multimedia resource numerical value becomes 0.
It should be noted that, user listens song or the activity that provides see multimedia server can also the multimedia resource numerical value of adding users.
Step 206: multimedia server by the multimedia resource value storage of the user ID of user and user in the corresponding relation of user ID and multimedia resource numerical value;
Multimedia server by the multimedia resource value storage of the user ID of user and user in the corresponding relation of user ID and multimedia resource numerical value, thus can according to the user ID of user, from the corresponding relation of user ID and multimedia resource numerical value, obtain the multimedia resource numerical value of user.
Step 207: multimedia server, according to the multimedia resource numerical value of user, determines the Permission Levels of user in multimedia server;
Multimedia server determines the corresponding relation of multimedia resource number range and Permission Levels in advance.Then step 205 is specially:
Multimedia server is according to the multimedia resource numerical value of user, determine the multimedia resource number range at the multimedia resource numerical value place of user, according to the multimedia resource number range at the multimedia resource numerical value place of user, from the corresponding relation of multimedia resource number range and Permission Levels, obtain the Permission Levels of user in multimedia server.
Such as, Permission Levels are divided into LV1 to LV8, the multimedia resource number range stored in multimedia server and the corresponding relation of Permission Levels as shown in table 2 below:
Table 2
Step 208: the Permission Levels in multimedia server are stored in the corresponding relation of user ID and Permission Levels multimedia server by the user ID of user and user.
By the user ID of user and user, the Permission Levels in multimedia server are stored in the corresponding relation of user ID and Permission Levels multimedia server, thus can according to the user ID of user, from the corresponding relation of user ID and Permission Levels, obtain the Permission Levels of user in multimedia server.
The acquisition methods flow chart of the customer multi-media authority information that Fig. 2-3 embodiment of the present invention provides, wherein, the method comprises:
Step 301: terminal obtains request message to multimedia server sending permission, and this authority acquiring request message carries the user ID of user;
When user logs in multimedia server, terminal obtains the user ID of user, and then obtain request message with the multimedia authority information of acquisition request user to multimedia server sending permission, this authority acquiring request message carries the user ID of user.
Such as, when Zhang San logs in music servers, mobile phone obtains request message to music servers sending permission, and this authority acquiring request message carries the user ID of user: Zhang San.
Step 302: the authority acquiring request message that multimedia server receiving terminal sends, according to the user ID of user, obtains the Permission Levels of user in multimedia server;
Multimedia server is according to the user ID of user, the step obtaining the Permission Levels of user in multimedia server can be realized by following first kind of way or the second way, when storing the corresponding relation of user ID and Permission Levels in multimedia server, can be realized by first kind of way; When storing the corresponding relation of user ID and multimedia resource numerical value in multimedia server, can be realized by the second way.
For the first implementation, multimedia server is according to the user ID of user, the step obtaining the Permission Levels of user in multimedia server can be: multimedia server, according to the user ID of user, obtains the Permission Levels of user in multimedia server from the corresponding relation of user ID and Permission Levels.
For the second implementation, multimedia server is according to the user ID of user, the step obtaining the Permission Levels of user in multimedia server can be: multimedia server is according to the user ID of user, the multimedia resource numerical value of user in multimedia server is obtained from the corresponding relation of user ID and multimedia resource numerical value, the multimedia resource number range at the multimedia resource numerical value place of user is determined according to the multimedia resource numerical value of user in multimedia server, according to the multimedia resource number range at the multimedia resource numerical value place of user, the Permission Levels that the multimedia resource numerical value of user is corresponding are obtained from the corresponding relation of multimedia resource number range and Permission Levels.
Step 303: multimedia server, according to the Permission Levels of user in multimedia server, obtains the multimedia authority information of user;
Wherein, multimedia authority information at least comprises the multimedia authority that user has in multimedia server; Multimedia authority information can also comprise the information such as Permission Levels and/or expiration time of user in multimedia server.See as shown in table 3 below:
Table 3
Wherein, the corresponding relation of Permission Levels and multimedia authority information is stored in advance in multimedia server, accordingly, step 303 can be: multimedia server, according to the Permission Levels of user in multimedia server, obtains the multimedia authority information of user from the corresponding relation of Permission Levels and multimedia authority information.
Wherein, the multimedia authority information of user comprises music authority information, concert authority information, gaming jurisdiction information, identity authority information etc.Accordingly, the Permission Levels stored in multimedia server and the corresponding relation of multimedia messages can be the corresponding relation of the corresponding relation of the corresponding relation of Permission Levels and music authority information, Permission Levels and concert authority information, Permission Levels and gaming jurisdiction information, and the corresponding relation of Permission Levels and identity authority information.
Music authority information refers to the authority of the connection music that user enjoys in multimedia server.Such as, the corresponding relation of the Permission Levels stored in multimedia server and music authority information stores as shown in table 4 below:
Table 4
Concert authority information refers to the authority of the concert aspect that user watches in the server.Such as, the corresponding relation of the Permission Levels stored in multimedia server and concert authority information is as shown in table 5 below:
Table 5
Gaming jurisdiction information refers to the authority in playing games that user enjoys in multimedia server.Such as, the corresponding relation of the Permission Levels stored in multimedia server and gaming jurisdiction information is as shown in table 6 below:
Table 6
Identity authority information refers to the authority in the identity that user enjoys in multimedia server.Such as, the corresponding relation of the Permission Levels stored in multimedia server and identity authority information is as shown in table 7 below:
Table 7
After multimedia server obtains the multimedia authority information of user, conveniently the multimedia authority information of the contact person of user and user contrasts, and multimedia server can also obtain the multimedia authority information of the contact person of user.
Step 304: multimedia server, according to the user ID of user, obtains the multimedia authority information of the contact person of user;
Step 304 can pass through following steps (1) and (2) realize, and comprising:
(1): multimedia server, according to the user ID of user, obtains the contacts list of user;
Store in advance the corresponding relation of user ID and contacts list in multimedia server, accordingly, step (1) can be: according to the user ID of user, obtains the contacts list of user from the corresponding relation of user ID and contacts list.
Such as, the user ID of user is Zhang San, the user ID according to user: Zhang San, and the contacts list obtaining user is as shown in table 8 below:
Table 8
Contacts list
Li Si
King five
Zhao six
(2): the user ID of each contact person that multimedia server comprises according to contacts list, the multimedia authority information of each contact person is obtained respectively.
Step (2) can be passed through following steps (2-1) to (2-2) and realize, and comprising:
(2-1): the user ID of each contact person that multimedia server comprises according to contacts list, obtains the Permission Levels of each contact person in multimedia server respectively;
Step (2-1) can be realized by following first kind of way or the second way, and for first kind of way, step (2-1) can be:
The user ID of each contact person that multimedia server comprises according to contacts list, obtains the Permission Levels of each contact person in multimedia server from the corresponding relation of user ID and Permission Levels.
For the second way, step (2-1) can be:
Multimedia server, according to the user ID of each contact person, obtains the multimedia resource numerical value of each contact person in multimedia server respectively from the corresponding relation of user ID and multimedia resource numerical value; Determine the Permission Levels that the multimedia resource numerical value of each contact person is corresponding respectively.
(2-2): multimedia server, according to the Permission Levels of each contact person in multimedia server, obtains the multimedia authority information of each contact person respectively.
Particularly, multimedia server, according to the Permission Levels of each contact person in multimedia server, obtains the multimedia authority information of each contact person respectively from the corresponding relation of Permission Levels and multimedia authority information.
Further, multimedia server can also pass through the multimedia resource numerical value that following steps (A) to (B) obtain user and each contact person, comprising:
(A): multimedia server, according to the user ID of the user ID of user and each contact person, obtains the multimedia resource numerical value of user and the multimedia resource numerical value of each contact person respectively and forms first resource number list;
Particularly, multimedia server is according to the user ID of user, the multimedia resource numerical value of user is obtained from the corresponding relation of user ID and multimedia resource numerical value, and according to the user ID of each contact person, the multimedia resource numerical value of each contact person is obtained respectively, by the multimedia resource numerical value composition first resource number list of the multimedia resource numerical value of user and each contact person from the corresponding relation of user ID and multimedia resource numerical value.
Such as, the multimedia resource numerical value of Zhang San is 65971, and the multimedia resource numerical value of Li Si is 66091, the multimedia resource numerical value of king five is 69295, the multimedia resource numerical value of Zhao six is 68802 etc.The multimedia resource numerical value of multimedia server by Zhang San and the contact person of Zhang San: the resource numerical value composition first resource number list of Li Si, king five and Zhao six is as shown in table 9 below:
Table 9
User ID Multimedia resource numerical value
Zhang San 65971
Li Si 66091
King five 69295
Zhao six 68802
(B): multimedia server carries out sequence to the multimedia resource numerical value in first resource number list and obtains Secondary resource number list.
Particularly, multimedia server carries out sequence to the multimedia resource numerical value in first resource number list according to the order that multimedia resource numerical value is descending and obtains Secondary resource number list; Or multimedia server carries out sequence to the multimedia resource numerical value in first resource number list according to the Floium Ginkgo that multimedia resource numerical value is ascending and obtains Secondary resource number list.
Such as, multimedia server carries out sequence to the multimedia resource numerical value in first resource number list according to the order that multimedia resource numerical value is descending and obtains Secondary resource number list, as shown in table 10 below:
Table 10
User ID Multimedia resource numerical value
King five 69295
Zhao six 68802
Li Si 66091
Zhang San 65971
Further, multimedia server sends Secondary resource number list to terminal; Terminal receives the Secondary resource number list that multimedia server sends, display Secondary resource number list.
Step 305: multimedia server sends the multimedia authority information of the multimedia authority information of user and the contact person of user to terminal;
Further, multimedia server is to the multimedia resource numerical value of the contact person of the multimedia resource numerical value of terminal use and user, and also namely multimedia server sends Secondary resource number list to terminal.
Step 306: terminal receives the multimedia authority information of user of multimedia server transmission and the multimedia authority information of the contact person of user, the multimedia authority information of the display multimedia authority information of user and the contact person of user;
The multimedia authority information of the multimedia authority information of terminal demonstration user and the contact person of user, thus the multimedia authority information of the contact person of the multimedia authority information of oneself and user can contrast by user.
Further, terminal receives the Secondary resource number list that multimedia server sends, display Secondary resource number list, thus the multimedia resource numerical value of the contact person of the multimedia resource numerical value of oneself and user can contrast by user.
Step 307: terminal sends multimedia to multimedia server and obtains request message, and this multimedia obtains request message and carries the multimedia authority information of user and the multi-media tag of multimedia messages;
When user wants to play certain multimedia messages, terminal obtains the multimedia authority information of user and the multi-media tag of multimedia messages, send multimedia to multimedia server and obtain request message, this multimedia obtains request message and carries the multimedia authority information of user and the multi-media tag of multimedia messages.
The multi-media tag of multimedia messages can be the title of multimedia messages or the URL (Uniform Resoure Locator: uniform resource locator) etc. of multimedia messages.
Step 308: the multimedia that multimedia server receiving terminal sends obtains request message, determines whether user can play this multimedia messages, if user can play this multimedia messages, performs step 309;
Multimedia server determines that the step whether user can play this multimedia messages can be realized by following steps (1) to (2), comprising:
(1): multimedia server, according to the multi-media tag of this multimedia messages, obtains the multimedia authority play required for this multimedia messages;
When multimedia server receives each multimedia messages that operator throws in multimedia server, for the multimedia authority required for each multimedia messages distribution, the multi-media tag of each multimedia messages and the multimedia authority play required for each multimedia messages are stored in the corresponding relation of multi-media tag and required multimedia authority.
Accordingly, step (1) is specially: multimedia server, according to the multi-media tag of this multimedia messages, obtains the multimedia authority play required for this multimedia messages from the corresponding relation of multi-media tag and required multimedia authority.
(2): the multimedia authority of multimedia server required for the multimedia authority information of user and this multimedia messages of broadcasting, determine whether user can play this multimedia messages;
Particularly, multimedia server determines whether comprise the multimedia authority play required for this multimedia messages in the multimedia authority information of user; If comprise the multimedia authority play required for this multimedia messages in the multimedia authority information of user, then determine that user can play this multimedia messages; Otherwise, then determine that user can not play this multimedia messages.
Step 309: multimedia server obtains this multimedia messages according to the multi-media tag of multimedia messages, sends this multimedia messages to terminal;
When multimedia server receives each multimedia messages that operator throws in multimedia server, be respectively each multimedia messages and distribute a multi-media tag, by the multi-media tag of each multimedia messages and each multimedia information storage in the corresponding relation of multi-media tag and multimedia messages.
Accordingly, step 309 is specially: multimedia server, according to the multi-media tag of multimedia messages, obtains this multimedia messages, sends this multimedia messages to terminal from the corresponding relation of multi-media tag and multimedia messages.
Step 310: terminal receives this multimedia messages that multimedia server sends, and plays this multimedia messages.
Further, user can also to multimedia server upload multimedia information.See Fig. 2-4, wherein, the method comprises:
Step 401: terminal sends multimedia upload request message to multimedia server, and this multimedia upload request message carries the multimedia authority information of user and multimedia messages to be uploaded;
When user wants upload multimedia information in multimedia server, terminal obtains the multimedia authority information of multimedia messages to be uploaded and user, send multimedia upload request message to multimedia server, this multimedia upload request message carries the multimedia authority information of user and multimedia messages to be uploaded.
According to the multimedia authority information of user, step 402: the multimedia upload request message that multimedia server receiving terminal sends, determines that user whether can upload multimedia information, if user can upload multimedia information, perform step 403;
Multimedia server determines according to the multimedia authority information of user the authority whether comprising upload multimedia information in the multimedia authority information of user, if comprised, then determines that user can upload multimedia information; If do not comprised, then determine that user can not upload multimedia information.
Step 403: multimedia server stores multimedia messages to be uploaded.
See Fig. 2-5, embodiments provide Permission Levels architecture system structure chart, wherein, this structure chart comprises:
External system: need the applications having access to logical services, the system comprised in hierarchical system opens closedown and product is opened and sent multimedia resource numerical value, also comprises transaction in system of account and inquiry etc.
Network process module: the request connection establishment of responsible process external system and service request etc., comprise and receiving and process two submodules, process connection establishment and service request respectively.Also the authority that namely processing terminal sends opens request message, authority acquiring request message, multimedia acquisition request message and multimedia upload request message etc.
Batch process module: the background task of logical services timing operation, is similar to the crontab task that operating system provides, and has command process task and file Processing tasks line by line respectively.For file Processing tasks line by line, can configuration file input and output, and other internal modules (being generally the task module of logic) can be sent a message to carry out interaction process.Also namely every the multimedia resource numerical value of preset duration batch updating user.
The task module of logic: carry out logical process to the operations of logic system is the core place of logical services.Difference according to inside story inputs, and configures to obtain each predefine variable, process and the various process such as output, thus the processing of the logic of completion system.The various logic of current support has the various addition subtraction multiplication and divisions processing of variable, the special operational (as contact person's checking etc.) of special applications, can the existing application of satisfy hierarchy system and Payment System.
Memory access and logical data library module: be responsible for the protocol conversion between logical services and backstage storage, access transfer etc., to the various othernesses that logical services shielding backstage stores.But backstage stores and all have employed storage platform framework during owing to realizing, mainly the internal request of logical services is converted to the request of foundation here.
Memory module: index system storage platform, forms whole index system together with logical services, is responsible for the storage of index system.
Multimedia server by the multimedia resource value storage of user in a storage module.
The system framework of logical services supports the loading of various service, according to the newly increased requirement of Added Business or existing business, can add various service.The management of service comprises relevant so and loads, and also comprises the inside story queue etc. that module (active thread etc.) belonging to service and this module have.
So loads and management
So loads, and mainly loads the callable function name that so supports, these callable function names are registered to so administration module.
Consider that network service is the basic function of system, logical services is automatically integrated with and receives and process service, and disposing these two services does not need to load relevant so.Other service, comprises logic_task service and batch process service of being correlated with, and all needs to load so and supports.
So loads and following rule is followed in management:
The function that registration so supports.Specifying the configuration of registration function when loading so, as register=" logic_register ", if do not specified, then giving tacit consent to the function that use " plugin_register " function is supported to register so.
System adjustable function manages.System carries out Classification Management to the function supported loading so come in, and according to name and the mark of so, manages it respectively and supports function.When calling, can call according to so name sum functions name, also can call according to mark sum functions name, if do not specify so name or mark, then this function of sequential search in so of all loadings, the function found with first is as the criterion.
Service starts and management
Except receiving and process service starts automatically by system, other services that system is supported all need the mode by loading to start, starting method by calling system load so support function carry out.Serve the function used for one can all be loaded by so, also can be loaded by multiple so, or, the function that so loads, also the startup of multiple service and management (as main body so " logic_task.so " of logical services, just can support startup and the management of multiple function services) can be supported.
Service Management has principle below:
COS.System supports real time service and the service of backstage batch process.Wherein, real time service refers to and just to bring into operation when logical services starts, in the service that logical services run duration is also running always, as network processes service, and logical process service etc.Backstage batch process is then similar to the backstage batch process service that operating system provides, and starts and runs, automatically exit after end of run in the set time.
Service configuration.Any one service, all need following configuration: service identifiers (mark, increase progressively successively from 0), COS (type, real time service or the service of backstage batch process), running time (run_time, nonsensical to real time service, following rule is followed to backstage batch process service, " timesharing life week "), initialization entrance (init_routine, service starts the function called, comprise thread startup etc.), process (fini_routine is exited in service, the function that service is called before exiting, comprise resource to empty, do not specify, do not run), service module title (module_name, the title of this service of unique designation), (queue_ identifies message queue mark, the message queue mark of service acquisition input message, general is all 0), message queue length (queue_size, the buffer length of this service message queue, the message count that can cushion at most, meaningless), Thread Count (thread_num) is enabled in service, own configuration parameter (the self_para of service, serve the peculiar configuration parameter needed voluntarily, with the multiple parameter of space-separated).In step, if certain from the machine service of abending, then only need to wait for and from machine Resume service, can not should make a difference to business
Message queue manages
Logical services manages system internal message queue is unified according to the two-step way of " module-message queue ", and each module can have oneself message queue, independent mutually between each module message queue.When application operates message queue, according to module name or module id, and message queue mark operates message queue.
Service according to the message queue of oneself module of service needed registration of oneself, if do not need to use message queue, also can not be able to be registered.Service can also multiple message queues (can disposablely specify, also can by additional mode) of Registering modules subordinate.For multiple message queues of a module, be generally the input message being born this module by the message queue being designated 0, other message queues are as the privately owned queue of each thread.
Internet message handling process
In logical services system framework, receiver module is responsible for the connection establishment request processing client, and processing module is responsible for the concrete network data message processing client.Current, processing module only achieves tcp (Transmission Control Protocol, transmission control protocol) reception of data and process (handling process of udp and unixsocket is similar, and interface is also similar, but also needs secondary development).Receiver module is when newly connecting for client foundation, process client class (the current class only having tcp of respective protocol is distributed according to its agreement, i.e. tcp client class) and the Message Processing class of relevant interface (distinct interface has different Message Processing class, derive from CCommClientMsg base class, need secondary development).
The flow process of internet message process is as follows:
Logic configuration and process
Logical process part is the core of logical services, and its major function carries out various logic processing by configurationization to the input of client, the various output of final generation, and is updated to background data base and other system (if there is).
Logic process flow
Condition judgment explanation
Condition judgment in logical operation first be performed (if there is), it decides the need of performing operation below and assert etc.As follows with reference to Typical Disposition below: <oper flag=" 1 " conditions=" SERVICE_TYPE eq QQHOME; CMD eq close " statements=" set Fvip0; Run get_time IN OUT Flastclosetime " assert_flag=" 2 " asserts=" SOURCE_ identifies eqboss_real; SOURCE_ identifies eq boss_batch; SOURCE_ identifies eq calc " attribute " flag " of/>; wherein, oper and " conditions " belong to Rule of judgment part, " flag " modification " conditions " part; " conditions " represents concrete condition judgment, use between multiple condition "; " symbol separation.
Condition judgment flag defines:
There is not flag definition, then represent that this flag equals 1 (definition see equaling 1).
Equal this condition of 0 expression not meet, logical operation is invalid, should not be performed.
The condition equaling 1 expression conditions is "AND" relation, and namely all conditions all needs to be satisfied that just to represent result be true.
The condition equaling 2 expression conditions is "or" relation, and namely only have a condition to be true, then result is true.
Its residual value is not temporarily supported.
Between multiple condition judgment inside Conditions, grammer is identical, and its cross correlation is determined by flag field.The grammer of single condition is: " variable 1 compares indexed variable 2 or value variable 2 or value implication and resolves ", if " variable 2 or value " part is variable, then variable 1 must be consistent with the type of variable 2, if be value, then its value is resolved according to the type of variable 1.
Wherein, " variable 1 " represents the principal parameter that will compare, and must be the variable of logic configuration, can not be value.
" compare mark " and represent that the logic of Rule of judgment support compares, have respectively (not distinguishing capital and small letter):
Eq: equal, supports shaping, character string and binary value.
Ne: unequal, supports shaping, character string and binary value.
Lt: be less than, only supports shaping.
Le: be less than or equal to, only supports shaping.
Gt: be greater than, only supports shaping.
Ge: be more than or equal to, only supports shaping.
All the other Rule of judgment are not temporarily supported.
" variable 2 or value " represents that this field can be variable, also can be value, and its analysis mode is determined by " variable 2 or value implication are resolved " field below, as follows:
" variable 2 or value implication are resolved " field is not specified, and represents that " variable 2 or value " resolves according to value
" variable 2 or value implication are resolved " field is " variable ", represents that " variable 2 or value " resolves according to variable
" variable 2 or value implication are resolved " field is " name ", and represent that " variable 2 or value " resolves according to string type, last variable name is resolved, and does not have use scenes
Other are defined as illegally
Logical operation explanation
If condition judgment is true, then perform its logical operation (if there is) below.Logical operation is with reference to Typical Disposition below: <oper flag=" 1 " conditions=" SERVICE_TYPE eq QQHOME; CMDeq close " statements=" set Fvip 0; Run get_time IN OUT Flastclosetime " assert_flag=" 2 " asserts=" SOURCE_ identifies eq boss_real; SOURCE_ identifies eqboss_batch; SOURCE_ identifies eq calc "/>, wherein, statements=" set Fvip 0; Run get_timeIN OUT Flastclosetime " be logical operation part, logical operation part can have multiple logical operation, with "; " meet and separate.
The logical operation that logical services is supported is as follows:
Condition assert exits
After executing logical operation, condition assert will be carried out and judge (if there is).Condition assert is with reference to Typical Disposition below: <oper flag=" 1 " conditions=" SERVICE_TYPE eq QQHOME; CMDeq close " statements=" set Fvip 0; Run get_time IN OUT Flastclosetime " assert_flag=" 2 " asserts=" SOURCE_ identifies eq boss_real; SOURCE_ identifies eqboss_batch; SOURCE_ identifies eq calc "/>, wherein, " SOURCE_ identifies eq boss_real to assert_flag=" 2 " asserts=; SOURCE_ identifies eq boss_batch; SOURCE_ identifies eq calc " be condition assert judgment part, use between multiple assert judges "; " meet and separate.
Assert meaning, substantially with " assert " keyword of C language, needs Rule of judgment result to be true, if be not true, then logical operation is thought and inspired logic error, returns mistake.
Asserts mainly describes Rule of judgment, and the grammer of its syntactic definition and conditions is completely the same, no longer describes here.
The assert_flag definition that assert judges:
There is not flag definition, then represent that this flag equals 1 (definition see equaling 1).
Equal this assert of 0 expression to judge not need to be performed.
The condition equaling 1 expression asserts is "AND" relation, and namely all assert conditions all need to be satisfied that just to represent result be true.
The condition equaling 2 expression asserts is "or" relation, and namely only have an assert condition to be true, then result is true.
Its residual value is not temporarily supported.
Back-end data asynchronous operation
Back-end data asynchronous operation takes graduation three to put relation, is respectively access_ storage, access_set and access.
Wherein, the object module name that access_ storage specific data operation information will pass to and message queue information, general only configuration one, belongs to the root node of data manipulation.
Access_set represents the data operation information of this logical operation, and an access_ storage can have multiple access_set to configure, but only has at most first access_set satisfied condition to be performed.Flag inside access_set is that this access_set of 1 expression is current for using state, does not configure or then represents that this access_set current does not use for other values, can not be performed.Conditions grammer with the condition judgment of logical operation, and is logical AND operation all the time, if do not configured, then thinks that conditions satisfies condition.Only have conditions condition judgment to meet, this access_set is just effective.Cmd represents that the operation of this access_set to backstage db is (mainly the difference of ttc agreement to update and insert cause) such as update or insert.The same conditions of Where_clause grammer, and be also only have logical AND to operate, its meaning is that the access indicated below this access_set operates in the operating condition of backstage db execution, is equivalent to the where part of sql.
Each access_set can configure multiple access, as long as access satisfies condition, finally all can be performed.Conditions grammer with the condition judgment of logical operation, and is logical AND operation all the time, if do not configured, then thinks that conditions satisfies condition.Only have conditions condition judgment to meet, this access is just effective.Statements part represents the operation to back-end data, and its grammer, with the statements part of logical operation, generally only uses the parts such as add, sub, set.
External notification
External notification configuration takes graduation three to put mode, is respectively notifys, noti_set and noti.
Here, notifys exists as root node, represents that its child node part is external notification configuration.
Noti_set is the direct child node of notifys, is a set of external notification, various condition can be had to decide the validity of an external notification.Notifys can have multiple noti_set, independent mutually between each noti_set, as long as and satisfy condition, all noti_set can be performed.Flag and conditions inside noti_set is the Rule of judgment part of this noti_set, and its syntactic definition is completely the same with the condition judgment part of logical operation.Only have conditions condition judgment to meet, this noti_set is just effective.
Noti, as the direct child node of noti_set, represents concrete external notification operation.Wherein, attribute name represents the readable title of this noti, can not have, attribute queue_ identifies and represents that external notification operates the message queue information that may need, and also can not have, statements represents the logical operation of concrete external notification, the statements of its grammer and logical operation part is completely the same, but in external notification, notification section, due to more complicated, generally takes run to operate.
Logic bulk service
In order to support the application that grade class business batch plus-minus multimedia resource numerical value and carrying out the multimedia resource numerical value in the first multimedia resource list sorts etc., logical services achieves logic bulk service, and various application can configure oneself bulk service according to application characteristic.Bulk service is determined by crontab COS, and the batch for grade business is applied, and function initLogicBatchProcess (being loaded by logic_task.so) can be used to start.InitLogicBatchProcess function will provide bulk service by CLogicBatchProcess class.Also namely multimedia server is upgraded by the multimedia resource numerical value of initLogicBatchProcess function to user every preset duration.
The bulk service that CLogicBatchProcess provides has two kinds, mainly according to distinguishing the class of operation of file: one is " whole_file " service, and another kind is " independent " service.The former does disposed of in its entirety to input file, realization is commonly considered as system shell-command or self-defining executable program, can directly runs (being performed by system); The latter represents and processes line by line input file, and by reading input file information line by line, structure inside story sends to other asynchronous task (i.e. logic_task) to process, and can carry out exporting (if being configured with).
The service configuration of a batch operation is " processes ", concrete service configuration is in the child node " process " of " processes ", " processes " can have one or more " process " to configure, and " process " is configured with the specifying information that " whole_file " serves or " independent " serves.
A batch operation can be the combination that multiple " whole_file " service and " independent " serve, for multiple services of configuration, system will sequentially be run, a service terminates the rear next one that just can perform and serves (have dependence between multiple services of a lot of application, need guarantee order).For the batch operation needing to perform simultaneously, multiple crontab can be configured and serve.
The attribute type of process determines this process and belongs to " whole_file " or " independent " service (being " whole_file " service) here.If " whole_file " service, then process indicates the order that specifically will perform by its child node " run ", is that order performs, executes one and arrive the next one again between multiple " run " node." run " nodal community " type " supports at present only " system " (represent call with system), and attribute " cmd " then represents the order specifically will called, and can have multiple order, multiple order symbol "; " separate.
" independent " Service Description
The Typical Disposition that " independent " serves is as follows:
For " independent " service, the value of its attribute type is " independent ", and, for " independent " service, also need designated treatment Thread Count attribute " thread_num "." independent " service is made up of process input (input), asynchronous process (async_msg) and process output (output) three part, and its handling process is as follows successively according to this three part:
A line information is read from input file
The configuration of Input node determines the information of input file.Its attribute flag represents and wants that carrying out input processing (equals 1 expression to need to carry out input process; Other values represent does not need process, then other input configuration is nonsensical, does not also have input process).Attribute file indicates the filename that will read information, and attribute-name separator then represents the separator that this file is often gone between each field.
The child node field of Input together defines the define field (separating with the separator that separator specifies between each field) of input file, and multiple field node represents multiple field.Attribute name represents the title of this field, and the field value read from file will be used with this title follow-up.Attribute type represents the type of this field value, current support string, int and binary type.Attribute len represents the length of this field value, temporarily nonsensical.
Structure message sends to asynchronous process task (being exactly generally logic_task) and obtains response
The configuration of Aync_msg node determines the make of asynchronous process message, and " independent " service, according to arrangement asynchronous message, sends to the asynchronous process task of specifying, waits for that it responds, thus complete a logical process.
The attribute flag of Aync_msg node represents and wants that carrying out asynchronous process (equals 1 expression to need to carry out Aync_msg process; Other value represents does not need process, then other Aync_msg configuration is nonsensical, does not also have Aync_msg process).Attribute async_module represents the object module name of the asynchronous process task that asynchronous message will send to.Attribute async_queue_ identifies the message queue mark representing the object module that asynchronous message will be sent to.Attribute get_client_routine represents the client message type needing in structure asynchronous message to use, and " independent " service will be called its function of specifying and be obtained a client message.Attribute process_routine and attribute variable_source is mainly used in the field value described below, seldom uses, describe below in formal application.
The child node field of Aync_msg together defines the client information of the asynchronous message needing structure, for each field, " independent " service is called the functions such as setIntValue or setStringValue of client message and is arranged its parameter information according to its type.Attribute name represents the client message field name that will arrange.Attribute type represents the type that will arrange client message field, wherein type int, string and binary represent that this field is constant, the value of its value just specified by default, if type is variable, the variable that then value of this variable is specified by default determines, default named variable can only derive from the variable of input or async_msg part.Attribute len represents the length of this field value, temporarily nonsensical.Attribute default has different meaning according to the type of attribute type, when type value is int, string or binary, represent the constant of the type, when type value is variable, represent the variable of input or async_msg part, its variate-value determines the field value of async_msg message here.
The attribute process_routine of Aync_msg node can carry out special processing according to the two-part parameter of input and async_msg, thus reaches the object (these values cannot be obtained by generality configuration below) of amendment async_msg Partial Variable value.When the type that attribute variable_source then mainly indicates variable field is variable, these these variable of variable resolution wherefrom, can be the variable of importation input, also can be the part of asynchronous process part async, but can only one be had, be defaulted as input part.
Output processing output part is used for after processing a line information, the corresponding recorded information of record a line, and formal application does not generally use.
The attribute flag of Output node represents and wants that carrying out output processing (equals 1 expression to need to carry out output process; Other value represents does not need process, then other output configuration is nonsensical, does not also have output process).Attribute file indicates the filename that will output information to, and attribute-name separator then represents the separator that this file is often gone between each field.The definition of attribute process_routine and variable_source and asynchronous process async_msg part is similar, and the former is for the output information amendment under special applications, and the latter is for defining the variable source that type is the field child node of variable.
Child node field illustrates the output field of every a line information, and all field determine the formation of output information, separates between each field with the character that output nodal community separator specifies.Field nodal community is consistent with asynchronous process async_msg's, no longer describes here.
Embodiments provide the actualizing technology frame diagram of multimedia resource numerical value, see Fig. 2-6; The embodiment of the present invention additionally provides the frame diagram of inquiry multimedia resource numerical value and Permission Levels, see Fig. 2-7; The embodiment of the present invention additionally provides opens or closes multimedia resource number system frame diagram, see Fig. 2-8; The embodiment of the present invention additionally provides the frame diagram of the multimedia resource numerical value change of user, see Fig. 2-9.
In embodiments of the present invention, terminal obtains request message to multimedia server sending permission, and this authority acquiring request message carries the user ID of user; Multimedia server, according to the user ID of user, obtains the Permission Levels of user, obtains the multimedia authority information of user, send the multimedia authority information of user, the multimedia messages of terminal demonstration user to terminal according to the Permission Levels of user; Thus user can know oneself there is which multimedia authority, and go for according to the multimedia authority of oneself multimedia messages asking oneself to play, alleviate the burden of multimedia server like this.
Embodiment 3
Embodiments provide a kind of acquisition device of customer multi-media authority information, see Fig. 3-1, this device comprises:
First receiver module 501, for the authority acquiring request message that receiving terminal sends, authority acquiring request message carries the user ID of user;
First acquisition module 502, for the user ID according to user, obtains the Permission Levels of user in multimedia server;
Second acquisition module 503, for according to the Permission Levels of user in multimedia server, obtain the multimedia authority information of user, multimedia authority information at least comprises the multimedia authority that user has in multimedia server;
First sending module 504, for sending the multimedia authority information of user to terminal.
See Fig. 3-2, the first acquisition module 502, comprising:
First acquiring unit 5021, for the user ID according to user, obtains the Permission Levels of user in multimedia server from the corresponding relation of user ID and Permission Levels;
Or the first acquisition module 502, comprising:
Second acquisition unit 5022, for the user ID according to user, obtains the multimedia resource numerical value of user in multimedia server from the corresponding relation of user ID and multimedia resource numerical value;
Determining unit 5023, for determining the Permission Levels that the multimedia resource numerical value of user is corresponding.
Preferably, device also comprises:
3rd acquisition module 505, for the user ID according to user, obtains the contacts list of user;
4th acquisition module 506, for the user ID of each contact person comprised according to contacts list, obtains the multimedia authority information of each contact person respectively;
Second sending module 507, for sending the multimedia authority information of each contact person to terminal.
Preferably, device also comprises:
5th acquisition module 508, for according to the user ID of user and the user ID of each contact person, obtains the multimedia resource numerical value of user and the multimedia resource numerical value of each contact person respectively and forms first resource number list;
Order module 509, obtains Secondary resource number list for carrying out sequence to the multimedia resource numerical value in first resource number list;
3rd sending module 510, for sending Secondary resource number list to terminal.
Preferably, device also comprises:
Second receiver module 511, the multimedia sent for receiving terminal obtains request message, and multimedia obtains request message and carries the multimedia authority information of user and the multi-media tag of multimedia messages;
6th acquisition module 512, for the multi-media tag according to multimedia messages, obtains the multimedia authority required for play multimedia information;
Determination module 513, for according to the multimedia authority information of user and the multimedia authority of play multimedia information, determines that user whether can play multimedia information;
7th acquisition module 514, if can play multimedia information for user, the multi-media tag according to multimedia messages obtains multimedia messages;
4th sending module 515, for sending multimedia messages to terminal.
In embodiments of the present invention, terminal obtains request message to multimedia server sending permission, and this authority acquiring request message carries the user ID of user; Multimedia server, according to the user ID of user, obtains the Permission Levels of user, obtains the multimedia authority information of user, send the multimedia authority information of user, the multimedia messages of terminal demonstration user to terminal according to the Permission Levels of user; Thus user can know oneself there is which multimedia authority, and go for according to the multimedia authority of oneself multimedia messages asking oneself to play, alleviate the burden of multimedia server like this.
Embodiment 4
Embodiments provide a kind of acquisition device of customer multi-media authority information, see Fig. 4-1, this device comprises:
5th sending module 601, for obtaining request message to multimedia server sending permission, authority acquiring request message carries the user ID of user, obtains the multimedia authority information of user to make multimedia server according to the user ID of user;
3rd receiver module 602, for receiving the multimedia authority information of user that multimedia server sends, the multimedia authority information of user at least comprises the multimedia authority that user has in multimedia server;
First display module 603, for showing the multimedia authority information of user
6th sending module 604, request message is obtained for sending multimedia to multimedia server, multimedia obtains request message and carries the multimedia authority information of user and the multi-media tag of multimedia messages, determines that user whether can play multimedia information to make multimedia server according to the multimedia authority information of user and the multi-media tag of multimedia messages;
4th receiver module 605, for receive multimedia server determine user can play multimedia information time the multimedia messages that sends.
See Fig. 4-2, this device also comprises:
5th receiver module 606, the multimedia authority information of each contact person that the contacts list for receiving the user that multimedia server sends comprises;
Second display module 607, for showing the multimedia authority information of each contact person.
This device also comprises:
6th receiver module 608, for sorting the Secondary resource number list obtained to the multimedia resource numerical value in first resource number list of receiving that multimedia server sends, first resource number list comprises the multimedia resource numerical value of user and the multimedia resource numerical value of each contact person;
3rd display module 609, for showing Secondary resource number list.
In embodiments of the present invention, terminal obtains request message to multimedia server sending permission, and this authority acquiring request message carries the user ID of user; Multimedia server, according to the user ID of user, obtains the Permission Levels of user, obtains the multimedia authority information of user, send the multimedia authority information of user, the multimedia messages of terminal demonstration user to terminal according to the Permission Levels of user; Thus user can know oneself there is which multimedia authority, and go for according to the multimedia authority of oneself multimedia messages asking oneself to play, alleviate the burden of multimedia server like this.
Embodiment 5
Fig. 5 is the structural representation of the multimedia server that the embodiment of the present invention provides.This multimedia server 1900 can produce larger difference because of configuration or performance difference, one or more central processing units (central processing units can be comprised, CPU) 1922 (such as, one or more processors) and memory 1932, one or more store the storage medium 1930 (such as one or more mass memory units) of application program 1942 or data 1944.Wherein, memory 1932 and storage medium 1930 can be of short duration storages or store lastingly.The program being stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in multimedia server.Further, central processing unit 1922 can be set to communicate with storage medium 1930, and multimedia server 1900 performs a series of command operatings in storage medium 1930.
Multimedia server 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Multimedia server 1900 can include memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to perform described more than one or one program package containing the instruction for carrying out following operation by more than one or one processor:
The authority acquiring request message that receiving terminal sends, described authority acquiring request message carries the user ID of user;
According to the user ID of described user, obtain the Permission Levels of described user in multimedia server;
According to the Permission Levels of described user in multimedia server, obtain the multimedia authority information of described user, described multimedia authority information at least comprises the multimedia authority that described user has in described multimedia server;
The multimedia authority information of described user is sent to described terminal.
Preferably, the described user ID according to described user, obtains the Permission Levels of described user in multimedia server, comprising:
According to the user ID of described user, from the corresponding relation of user ID and Permission Levels, obtain the Permission Levels of described user in multimedia server; Or,
According to the user ID of described user, from the corresponding relation of user ID and multimedia resource numerical value, obtain the multimedia resource numerical value of described user in multimedia server, determine the Permission Levels that the multimedia resource numerical value of described user is corresponding.
Preferably, described according to the Permission Levels of described user in multimedia server, after obtaining the multimedia authority information of described user, also comprise:
According to the user ID of described user, obtain the contacts list of described user;
According to the user ID of each contact person that described contacts list comprises, obtain the multimedia authority information of described each contact person respectively;
The multimedia authority information of described each contact person is sent to described terminal.
Preferably, the described user ID according to described user, after obtaining the contacts list of described user, also comprises:
According to the user ID of described user and the user ID of described each contact person, obtain the multimedia resource numerical value of described user and the multimedia resource numerical value of described each contact person respectively and form first resource number list;
Sequence is carried out to the multimedia resource numerical value in described first resource number list and obtains Secondary resource number list;
Described Secondary resource number list is sent to described terminal.
Preferably, described to after described terminal sends the multimedia authority information of described user, also comprise:
Receive the multimedia acquisition request message that described terminal sends, described multimedia obtains request message and carries the multimedia authority information of described user and the multi-media tag of multimedia messages;
According to the multi-media tag of described multimedia messages, obtain the multimedia authority play required for described multimedia messages;
According to multimedia authority information and the multimedia authority play required for described multimedia messages of described user, determine whether described user can play described multimedia messages;
If described user can play described multimedia messages, obtain described multimedia messages according to the multi-media tag of described multimedia messages;
Described multimedia messages is sent to described terminal.
In embodiments of the present invention, terminal obtains request message to multimedia server sending permission, and this authority acquiring request message carries the user ID of user; Multimedia server, according to the user ID of user, obtains the Permission Levels of user, obtains the multimedia authority information of user, send the multimedia authority information of user, the multimedia messages of terminal demonstration user to terminal according to the Permission Levels of user; Thus user can know oneself there is which multimedia authority, and go for according to the multimedia authority of oneself multimedia messages asking oneself to play, alleviate the burden of multimedia server like this.
Embodiment 6
Please refer to Fig. 6, it illustrates the terminal structure schematic diagram with Touch sensitive surface involved by the embodiment of the present invention, this terminal may be used for the method for carrying out identifying code checking implementing to provide in above-described embodiment.Specifically:
Terminal 900 can comprise RF (Radio Frequency, radio frequency) circuit 110, the memory 120 including one or more computer-readable recording mediums, input unit 130, display unit 140, transducer 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 6, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by running, thus performs the application of various function and data processing.Memory 120 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 900.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, to provide the access of processor 180 and input unit 130 pairs of memories 120.
Input unit 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input unit 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 900 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display floater 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in figure 6, Touch sensitive surface 131 and display floater 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display floater 141 integrated and realize input and output function.
Terminal 900 also can comprise at least one transducer 150, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 141, proximity transducer when terminal 900 moves in one's ear, can cut out display floater 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal 900 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 900.Voicefrequency circuit 160 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 161, by loud speaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to memory 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 900.
WiFi belongs to short range wireless transmission technology, and by WiFi module 170, terminal 900 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 6 shows WiFi module 170, be understandable that, it does not belong to must forming of terminal 900, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centres of terminal 900, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 120 and/or module is stored in by running or performing, and call the data be stored in memory 120, perform various function and the deal with data of terminal 900, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 900 also comprises the power supply 190 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 900 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal 900 is touch-screen displays, terminal 900 also includes memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to be performed by more than one or one processor state more than one or one program package containing the instruction for carrying out following operation:
Obtain request message to multimedia server sending permission, described authority acquiring request message carries the user ID of user, obtains the multimedia authority information of described user to make described multimedia server according to the user ID of described user;
Receive the multimedia authority information of described user that described multimedia server sends, the multimedia authority information of described user at least comprises the multimedia authority that described user has in described multimedia server;
Show the multimedia authority information of described user;
Send multimedia to described multimedia server and obtain request message, described multimedia obtains request message and carries the multimedia authority information of described user and the multi-media tag of multimedia messages, determines whether described user can play described multimedia messages to make described multimedia server according to the multimedia authority information of described user and the multi-media tag of multimedia messages;
Receive described multimedia server determining the described multimedia messages that described user sends when can play described multimedia messages.
Preferably, after the multimedia authority information of the described user that the described multimedia server of described reception sends, also comprise:
The multimedia authority information of each contact person that the contacts list receiving the user that described multimedia server sends comprises;
Show the multimedia authority information of described each contact person.
Preferably, before the multimedia authority information of each contact person that the contacts list of user that the described multimedia server of described reception sends comprises, also comprise:
What receive that described multimedia server sends to sort the Secondary resource number list obtained to the multimedia resource numerical value in first resource number list, and described first resource number list comprises the multimedia resource numerical value of described user and the multimedia resource numerical value of described each contact person;
Show described Secondary resource number list.
In embodiments of the present invention, terminal obtains request message to multimedia server sending permission, and this authority acquiring request message carries the user ID of user; Multimedia server, according to the user ID of user, obtains the Permission Levels of user, obtains the multimedia authority information of user, send the multimedia authority information of user, the multimedia messages of terminal demonstration user to terminal according to the Permission Levels of user; Thus user can know oneself there is which multimedia authority, and go for according to the multimedia authority of oneself multimedia messages asking oneself to play, alleviate the burden of multimedia server like this.
It should be noted that: the acquisition device of the customer multi-media authority information that above-described embodiment provides is when the acquisition of customer multi-media authority information, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the acquisition device of the customer multi-media authority information that above-described embodiment provides and the acquisition methods embodiment of customer multi-media authority information belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. an acquisition methods for customer multi-media authority information, is characterized in that, described method comprises:
The authority acquiring request message that receiving terminal sends, described authority acquiring request message carries the user ID of user;
According to the user ID of described user, obtain the Permission Levels of described user in multimedia server;
According to the Permission Levels of described user in multimedia server, obtain the multimedia authority information of described user, described multimedia authority information at least comprises the multimedia authority that described user has in described multimedia server;
The multimedia authority information of described user is sent to described terminal.
2. the method for claim 1, is characterized in that, the described user ID according to described user, obtains the Permission Levels of described user in multimedia server, comprising:
According to the user ID of described user, from the corresponding relation of user ID and Permission Levels, obtain the Permission Levels of described user in multimedia server; Or,
According to the user ID of described user, from the corresponding relation of user ID and multimedia resource numerical value, obtain the multimedia resource numerical value of described user in multimedia server, determine the Permission Levels that the multimedia resource numerical value of described user is corresponding.
3. the method for claim 1, is characterized in that, described according to the Permission Levels of described user in multimedia server, after obtaining the multimedia authority information of described user, also comprises:
According to the user ID of described user, obtain the contacts list of described user;
According to the user ID of each contact person that described contacts list comprises, obtain the multimedia authority information of described each contact person respectively;
The multimedia authority information of described each contact person is sent to described terminal.
4. method as claimed in claim 3, it is characterized in that, the described user ID according to described user, after obtaining the contacts list of described user, also comprises:
According to the user ID of described user and the user ID of described each contact person, obtain the multimedia resource numerical value of described user and the multimedia resource numerical value of described each contact person respectively and form first resource number list;
Sequence is carried out to the multimedia resource numerical value in described first resource number list and obtains Secondary resource number list;
Described Secondary resource number list is sent to described terminal.
5. the method for claim 1, is characterized in that, described to after described terminal sends the multimedia authority information of described user, also comprises:
Receive the multimedia acquisition request message that described terminal sends, described multimedia obtains request message and carries the multimedia authority information of described user and the multi-media tag of multimedia messages;
According to the multi-media tag of described multimedia messages, obtain the multimedia authority play required for described multimedia messages;
According to multimedia authority information and the multimedia authority play required for described multimedia messages of described user, determine whether described user can play described multimedia messages;
If described user can play described multimedia messages, obtain described multimedia messages according to the multi-media tag of described multimedia messages;
Described multimedia messages is sent to described terminal.
6. an acquisition methods for customer multi-media authority information, is characterized in that, described method comprises:
Obtain request message to multimedia server sending permission, described authority acquiring request message carries the user ID of user, obtains the multimedia authority information of described user to make described multimedia server according to the user ID of described user;
Receive the multimedia authority information of described user that described multimedia server sends, the multimedia authority information of described user at least comprises the multimedia authority that described user has in described multimedia server;
Show the multimedia authority information of described user;
Send multimedia to described multimedia server and obtain request message, described multimedia obtains request message and carries the multimedia authority information of described user and the multi-media tag of multimedia messages, determines whether described user can play described multimedia messages to make described multimedia server according to the multimedia authority information of described user and the multi-media tag of multimedia messages;
Receive described multimedia server determining the described multimedia messages that described user sends when can play described multimedia messages.
7. method as claimed in claim 6, is characterized in that, after the multimedia authority information of the described user that the described multimedia server of described reception sends, also comprises:
The multimedia authority information of each contact person that the contacts list receiving the user that described multimedia server sends comprises;
Show the multimedia authority information of described each contact person.
8. method as claimed in claim 7, is characterized in that, before the multimedia authority information of each contact person that the contacts list of the user that the described multimedia server of described reception sends comprises, also comprises:
What receive that described multimedia server sends to sort the Secondary resource number list obtained to the multimedia resource numerical value in first resource number list, and described first resource number list comprises the multimedia resource numerical value of described user and the multimedia resource numerical value of described each contact person;
Show described Secondary resource number list.
9. an acquisition device for customer multi-media authority information, is characterized in that, described device comprises:
First receiver module, for the authority acquiring request message that receiving terminal sends, described authority acquiring request message carries the user ID of user;
First acquisition module, for the user ID according to described user, obtains the Permission Levels of described user in multimedia server;
Second acquisition module, for according to the Permission Levels of described user in multimedia server, obtain the multimedia authority information of described user, described multimedia authority information at least comprises the multimedia authority that described user has in described multimedia server;
First sending module, for sending the multimedia authority information of described user to described terminal.
10. device as claimed in claim 9, it is characterized in that, described first acquisition module, comprising:
First acquiring unit, for the user ID according to described user, obtains the Permission Levels of described user in multimedia server from the corresponding relation of user ID and Permission Levels;
Or described first acquisition module, comprising:
Second acquisition unit, for the user ID according to described user, obtains the multimedia resource numerical value of described user in multimedia server from the corresponding relation of user ID and multimedia resource numerical value;
Determining unit, for determining the Permission Levels that the multimedia resource numerical value of described user is corresponding.
11. devices as claimed in claim 9, it is characterized in that, described device also comprises:
3rd acquisition module, for the user ID according to described user, obtains the contacts list of described user;
4th acquisition module, for the user ID of each contact person comprised according to described contacts list, obtains the multimedia authority information of described each contact person respectively;
Second sending module, for sending the multimedia authority information of described each contact person to described terminal.
12. devices as claimed in claim 11, it is characterized in that, described device also comprises:
5th acquisition module, for according to the user ID of described user and the user ID of described each contact person, obtains the multimedia resource numerical value of described user and the multimedia resource numerical value of described each contact person respectively and forms first resource number list;
Order module, obtains Secondary resource number list for carrying out sequence to the multimedia resource numerical value in described first resource number list;
3rd sending module, for sending described Secondary resource number list to described terminal.
13. devices as claimed in claim 9, it is characterized in that, described device also comprises:
Second receiver module, the multimedia sent for receiving described terminal obtains request message, and described multimedia obtains request message and carries the multimedia authority information of described user and the multi-media tag of multimedia messages;
6th acquisition module, for the multi-media tag according to described multimedia messages, obtains the multimedia authority play required for described multimedia messages;
Determination module, for according to the multimedia authority information of described user and the multimedia authority of the described multimedia messages of broadcasting, determines whether described user can play described multimedia messages;
7th acquisition module, if can play described multimedia messages for described user, obtains described multimedia messages according to the multi-media tag of described multimedia messages;
4th sending module, for sending described multimedia messages to described terminal.
The acquisition device of 14. 1 kinds of customer multi-media authority information, is characterized in that, described device comprises:
5th sending module, for obtaining request message to multimedia server sending permission, described authority acquiring request message carries the user ID of user, obtains the multimedia authority information of described user to make described multimedia server according to the user ID of described user;
3rd receiver module, for receiving the multimedia authority information of described user that described multimedia server sends, the multimedia authority information of described user at least comprises the multimedia authority that described user has in described multimedia server;
First display module, for showing the multimedia authority information of described user;
6th sending module, request message is obtained for sending multimedia to described multimedia server, described multimedia obtains request message and carries the multimedia authority information of described user and the multi-media tag of multimedia messages, determines whether described user can play described multimedia messages to make described multimedia server according to the multimedia authority information of described user and the multi-media tag of multimedia messages;
4th receiver module, for receiving described multimedia server determining the described multimedia messages that described user sends when can play described multimedia messages.
15. devices as claimed in claim 14, it is characterized in that, described device also comprises:
5th receiver module, the multimedia authority information of each contact person that the contacts list for receiving the user that described multimedia server sends comprises;
Second display module, for showing the multimedia authority information of described each contact person.
16. devices as claimed in claim 15, it is characterized in that, described device also comprises:
6th receiver module, for sorting the Secondary resource number list obtained to the multimedia resource numerical value in first resource number list of receiving that described multimedia server sends, described first resource number list comprises the multimedia resource numerical value of described user and the multimedia resource numerical value of described each contact person;
3rd display module, for showing described Secondary resource number list.
CN201410662557.1A 2014-11-19 2014-11-19 The acquisition methods of a kind of customer multi-media authority information and device Active CN104967598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410662557.1A CN104967598B (en) 2014-11-19 2014-11-19 The acquisition methods of a kind of customer multi-media authority information and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410662557.1A CN104967598B (en) 2014-11-19 2014-11-19 The acquisition methods of a kind of customer multi-media authority information and device

Publications (2)

Publication Number Publication Date
CN104967598A true CN104967598A (en) 2015-10-07
CN104967598B CN104967598B (en) 2016-12-21

Family

ID=54221544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410662557.1A Active CN104967598B (en) 2014-11-19 2014-11-19 The acquisition methods of a kind of customer multi-media authority information and device

Country Status (1)

Country Link
CN (1) CN104967598B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612250A (en) * 2015-10-21 2017-05-03 腾讯科技(深圳)有限公司 Resource utilization authority judgment system and method
CN111833033A (en) * 2020-09-21 2020-10-27 江苏傲为控股有限公司 Virtual transaction method and system for digital product
CN112788368A (en) * 2020-12-23 2021-05-11 杭州海康威视系统技术有限公司 Stream taking control method and platform device for providing video streaming media service

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100414876C (en) * 2005-01-24 2008-08-27 华为技术有限公司 Method for switching on broadband video frequency business
CN101216917B (en) * 2007-12-26 2011-04-06 广州杰赛科技股份有限公司 Network music server, method for providing network music
CN103414787B (en) * 2013-08-28 2016-09-21 北京爱工场文化发展有限公司 A kind of content public affairs broadcast system based on cloud service and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612250A (en) * 2015-10-21 2017-05-03 腾讯科技(深圳)有限公司 Resource utilization authority judgment system and method
CN111833033A (en) * 2020-09-21 2020-10-27 江苏傲为控股有限公司 Virtual transaction method and system for digital product
CN112788368A (en) * 2020-12-23 2021-05-11 杭州海康威视系统技术有限公司 Stream taking control method and platform device for providing video streaming media service

Also Published As

Publication number Publication date
CN104967598B (en) 2016-12-21

Similar Documents

Publication Publication Date Title
US20160241589A1 (en) Method and apparatus for identifying malicious website
CN106612250A (en) Resource utilization authority judgment system and method
CN103677899B (en) The method and apparatus of application program is installed
CN107204964B (en) Authority management method, device and system
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN108228270A (en) Start resource loading method and device
CN103455330A (en) Application program management method, terminal, equipment and system
CN105471931A (en) Method, device and system for querying service data
CN113420051B (en) Data query method and device, electronic equipment and storage medium
CN108763887A (en) Database manipulation requests verification method, apparatus, server and storage medium
CN104252341A (en) Method and device for resurfacing application program and client side device of application program
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN107992498B (en) Method and system for importing data into data warehouse
CN106293738A (en) The update method of a kind of facial expression image and device
CN106502833A (en) Data back up method and device
CN104281610B (en) The method and apparatus for filtering microblogging
CN105550316A (en) Pushing method and device of audio list
CN104967598B (en) The acquisition methods of a kind of customer multi-media authority information and device
CN103607431A (en) Mobile terminal resource processing method, apparatus and equipment thereof
CN108595483A (en) Data processing method and relevant apparatus
CN109429229A (en) Obtain the method, apparatus and computer readable storage medium of network access information
CN106708501A (en) Activity monitoring method and device
CN106850320B (en) Upgrade control method, device and terminal
CN108629006A (en) A kind of synchronous method and device of data model and database object
CN106970812A (en) upgrade file processing, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161031

Address after: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403

Applicant before: Tencent Technology (Shenzhen) Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Patentee after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Patentee before: Guangzhou KuGou Networks Co., Ltd.

CP02 Change in the address of a patent holder