Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for processing subscription information

A technology for subscribing information and subscribers, applied in the computer field, can solve problems such as the burden of subscribers, and achieve the effect of improving query speed

Active Publication Date: 2018-09-18
广州方硅信息技术有限公司
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Due to the huge user base of the online audio and video platform, the query operation in the subscription information table and other operations performed by the user on the subscription information table, such as: subscription operation and unsubscription operation, will cause serious damage to the subscription server. great burden

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for processing subscription information
  • A method and device for processing subscription information
  • A method and device for processing subscription information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] The embodiment of the present invention provides a method for processing subscription information, see figure 1 , the method flow includes:

[0052] 101: Receive a subscription request sent by a terminal, where the subscription request carries a first identifier corresponding to the subscriber and a second identifier corresponding to the content provider;

[0053] 102: Take the correspondence between the first identifier and the second identifier as a subscription record, and store it in the corresponding relationship between the subscriber identifier with the subscriber identifier as the primary key and the content provider identifier and the subscriber with the content provider identifier as the primary key In the corresponding relationship between the ID and the ID of the content provider;

[0054] 103: Add one to the total number of subscription records corresponding to the second identifier in the correspondence relationship between the content provider identifier...

Embodiment 2

[0062] An embodiment of the present invention provides a method for adding a subscription record in a method for processing subscription information, see figure 2 , the method flow includes:

[0063] 201: Receive a subscription request sent by a terminal, where the subscription request carries a first identifier corresponding to the subscriber and a second identifier corresponding to the content provider.

[0064] 202: Use the correspondence between the first identifier and the second identifier as a subscription record, and store the corresponding relationship between the subscriber identifier and the content provider identifier with the subscriber identifier as the primary key and the content provider identifier with the content provider identifier as the key. In the corresponding relationship between the subscriber ID of the primary key and the content provider ID.

[0065] storing the correspondence between the first identifier and the second identifier in the subscripti...

Embodiment 3

[0072] An embodiment of the present invention provides a method for querying subscription records in a method for processing subscription information, see image 3 , the method flow includes:

[0073] 301: Receive a query request for subscription information sent by a terminal, where the query request carries an identifier category and a third identifier; wherein, the subscription information includes subscription records between users of the subscriber category and users of the content provider category.

[0074] 302: When it is identified that the identifier category is the subscriber category, query whether there is a subscription record corresponding to the third identifier in the cache.

[0075] Among them, the cache stores subscription records that subscribers query before the preset valid time, and the subscription records stored in the cache include the corresponding relationship between the subscriber ID and the content provider ID, and each subscription record will h...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for processing subscription information, and belongs to the technical field of computers. The method comprises the following steps that: a subscription request sent by a terminal is received, and a first identification corresponding to a subscriber and a second identification corresponding to a content provider are carried in the subscription request; a corresponding relationship of the first identification and the second identification is used as a subscription record to be respectively stored in a subscriber identification and content provider identification corresponding relationship using a subscriber identification as a main key and a subscriber identification and content provider identification corresponding relationship using a content provider identification as a main key; and in a corresponding relationship of the content provider identification and the content provider subscription record total number, the subscription record total number corresponding to the second identification is subjected to one adding operation. The method and the device for processing subscription information have the advantages that the query process and the subscription and unsubscription writing-in process are separated; the efficiency of the query process is improved; and the time consumed in the query process is reduced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for processing subscription information. Background technique [0002] With the development of computer technology, the emergence of online voice and video platforms has greatly enriched the life of users, wherein the platform provides multimedia content such as video programs or audio programs to users. In the online audio and video platform, a user whose user type is a subscriber type can subscribe to a user whose user type is a content provider type to provide multimedia content. A subscriber-type user or a content-provider-type user may query the multimedia content subscribed by itself or query the total number of subscription records of the multimedia content provided by itself through its own identification. [0003] A subscription information table is specially stored in the database of the subscriber server, which is used to store the corresponding ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/2358G06F16/24552G06Q10/02
Inventor 郭锦洋
Owner 广州方硅信息技术有限公司