CN114615316A - Content distribution method and device - Google Patents
Content distribution method and device Download PDFInfo
- Publication number
- CN114615316A CN114615316A CN202011419134.9A CN202011419134A CN114615316A CN 114615316 A CN114615316 A CN 114615316A CN 202011419134 A CN202011419134 A CN 202011419134A CN 114615316 A CN114615316 A CN 114615316A
- Authority
- CN
- China
- Prior art keywords
- content
- channel
- target channel
- server
- channels
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 230000015654 memory Effects 0.000 claims description 28
- 238000012545 processing Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 6
- 230000009286 beneficial effect Effects 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 230000000977 initiatory effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000002349 favourable effect Effects 0.000 description 2
- 230000036651 mood Effects 0.000 description 2
- 230000033772 system development Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000003973 irrigation Methods 0.000 description 1
- 230000002262 irrigation Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000001356 surgical procedure Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application provides a content publishing method and device, which can realize that a user can display the content in a plurality of channels by only editing the content once, are convenient and efficient, and are beneficial to improving user experience. The method comprises the following steps: the method comprises the steps that a server obtains content information to be published, the content information to be published is used for showing that a user requests to publish content on a plurality of channels, and the content information to be published comprises the content requested to be published by the user and indication information of the plurality of channels; the method comprises the steps that a server obtains an identification of a target channel, wherein the target channel is a channel for pulling information by a user, or the target channel is at least one channel in a channel list; the server determines whether to publish the content on the target channel based on the identification of the target channel and the indication information of the plurality of channels; if the server determines to publish the content on the target channel, the server sends the content to the target channel.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for content distribution.
Background
With the rapid development of the internet, the mobile internet and informatization, more and more information needs to be distributed in multiple channels. Multi-channel may be understood as a variety of different implementation paths for publishing information. For example, current news needs to be broadcast on multiple satellite videos, the same tv show can be played on multiple video software, mood, life dynamics, etc. can be published on multiple social software, etc.
In the prior art, multiple channels are independent from each other, and when the same content needs to be published in different channels (for example, text, video, pictures, etc.), a user needs to open the corresponding channel for multiple times, edit the content, and publish the content. Thus, the user needs to edit the same content many times, and the user experience is not high. In addition, the same information is also stored in multiple copies in the memory of the server, which increases the storage cost. The storage cost increases with the increase of the number of channels, and each channel is increased, system development with certain workload, even code replication, is required, and the expandability is poor.
Disclosure of Invention
The application provides a method and a device for content publishing, which can realize that a user edits content once, can display the content in a plurality of channels, are convenient and efficient, and are beneficial to improving user experience.
In a first aspect, a method for content distribution is provided, including: the method comprises the steps that a server obtains content information to be published, the content information to be published is used for showing that a user requests to publish content on a plurality of channels, and the content information to be published comprises the content requested to be published by the user and indication information of the plurality of channels; the method comprises the steps that a server obtains an identification of a target channel, wherein the target channel is a channel for pulling information by a user, or the target channel is at least one channel in a channel list; the server determines whether to publish the content on the target channel based on the identification of the target channel and the indication information of the plurality of channels; if the server determines to publish the content on the target channel, the server sends the content to the target channel.
Specifically, the instruction information of the plurality of channels is used to indicate the channels in which the user requests the server to distribute the content. The content requested to be published by the user is generally edited and sent to the server by the user in a certain platform or a certain channel.
Different channels may have different channel identifications, for example, different channels may have different binary identifications.
All channels are included in the channel list.
In the embodiment of the application, the server acquires the identification of the target channel and then determines whether the content is published on the target channel according to the indication information of the channels.
With reference to the first aspect, in some implementations of the first aspect, the server obtains an identification of a target channel, where the target channel is a channel from which the user pulls information. The server acquires the identification of the target channel, and the method comprises the following steps: the server receives a request message from the terminal equipment, wherein the request message comprises the identification of the target channel.
The request message may be sent by the terminal device to the server when the user pulls the information from the terminal device.
It should be understood that the identification of the target channel is preset in advance, and may be a binary identification.
In the embodiment of the application, a user pulls information on a terminal device, the terminal device sends a request message with a channel identifier to a server according to the operation of the user, the server passively acquires the channel identifier, and then whether content is published on the channel is determined according to the channel identifier and a plurality of channel indication information.
With reference to the first aspect, in certain implementations of the first aspect, the server obtains an identification of a target channel, where the target channel is at least one channel in a channel list. The server acquires the identification of the target channel, and the method comprises the following steps: the server obtains the identification of at least one channel in the channel list.
The server obtains the identifier of at least one channel in the channel list, and it should be understood that the server can obtain the identifier of each channel in the channel list respectively.
In the embodiment of the application, the server actively acquires the channel identifier, and then determines whether to publish the content on the channel according to the channel identifier and the channel indication information.
With reference to the first aspect, in some implementations of the first aspect, the determining, by the server, whether to publish the content on the target channel based on the identification of the target channel and the indication information of the plurality of channels includes: the server compares the identification of the target channel with the indication information of the plurality of channels to obtain a comparison result; if the comparison result indicates that the plurality of channels includes the target channel, the server determines to publish the content on the target channel.
It should be understood that the indication information of the channels is used to indicate which channels the server can publish the content on, and if the target channel is included in the channels, the server can return or push the content to the target channel, so as to display the content on the target channel.
Whether the server returns or pushes content to the target channel depends on whether the server passively or actively obtains the identity of the target channel. If the identification of the target channel acquired by the server is acquired by the terminal equipment according to the request message sent by the user operation and the identification of the target channel passively acquired by the server, returning the content to the target channel; and if the identification of the target channel acquired by the server is acquired from the channel list and the identification of the target channel actively acquired by the server, pushing the content to the target channel.
In the embodiment of the application, the server determines whether to publish the content on the channel or not by comparing the channel identifier with the channel indication information, the method can realize that the user edits the content once, so that the content can be displayed on a plurality of channels, the method is convenient and efficient, the user experience is improved, and meanwhile, the memory can store the content once, so that the storage cost is reduced, and the expandability of the content published in a plurality of channels is improved.
With reference to the first aspect, in some implementations of the first aspect, the identifier of the target channel is a binary code, and the indication information of the multiple channels is a bitwise binary code; the server compares the identification of the target channel with the indication information of the plurality of channels, and comprises: the server performs and operation on the identification of the target channel and the indication information of the plurality of channels.
With reference to the first aspect, in some implementations of the first aspect, after the server obtains the content information to be published, the method further includes: the server stores the content information to be issued.
In a second aspect, an apparatus for content distribution is provided to perform a method in any possible implementation of the above aspects or aspects. In particular, the apparatus comprises means for performing the method in the above aspects or any possible implementation of the aspects.
In a third aspect, another apparatus for content distribution is provided that includes a processor and a memory. The processor is configured to read instructions stored in the memory, and may receive a signal via the receiver and transmit a signal via the transmitter to perform the method of any one of the possible implementations of the first aspect.
Optionally, there are one or more processors and one or more memories.
Alternatively, the memory may be integrated with the processor, or provided separately from the processor.
In a specific implementation process, the memory may be a non-transient memory, such as a Read Only Memory (ROM), which may be integrated on the same chip as the processor, or may be separately disposed on different chips.
It will be appreciated that the associated data interaction process, for example, sending the indication information, may be a process of outputting the indication information from the processor, and receiving the capability information may be a process of receiving the input capability information from the processor. In particular, the data output by the processor may be output to a transmitter and the input data received by the processor may be from a receiver. The transmitter and receiver may be collectively referred to as a transceiver, among others.
The content distribution apparatus in the third aspect may be a chip, and the processor may be implemented by hardware or software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated with the processor, located external to the processor, or stand-alone.
In a fourth aspect, a computer-readable medium is provided, which stores a computer program (which may also be referred to as code, or instructions) that, when executed on a computer, causes the computer to perform the method of any of the possible implementations of any of the above aspects.
In a fifth aspect, there is provided a computer program product comprising: computer program (also called code, or instructions), which when executed, causes a computer to perform the method of any of the possible implementations of the first aspect described above.
Drawings
Fig. 1 is a schematic flow chart of a method for content distribution provided by an embodiment of the present application;
fig. 2 is a schematic flow chart of another content distribution method provided in the embodiment of the present application;
fig. 3 is a schematic block diagram of a content distribution apparatus according to an embodiment of the present application;
fig. 4 is a schematic block diagram of another content distribution apparatus provided in the embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
The method and the system can distribute pictures, videos or characters on multiple channels, can quickly popularize information, and enable a plurality of people to know and pay attention to the information. With the rapid development of the internet, the mobile internet and informatization, more and more information needs to be published on multiple channels, which can be understood as various different implementation paths for publishing information. For example, current news needs to be broadcast on multiple satellite televisions, the same tv show can be played on multiple video software, the mood, life dynamics, etc. can be shown on multiple social software, etc.
In the following, the distribution of messages in a plurality of channels will be described by taking as an example the distribution of content by a user on different software in a terminal device. The terminal device may be a device providing voice/data connectivity to a user, e.g. a handheld device, a vehicle mounted device, etc. with wireless connection capability. Currently, some examples of terminals are: a mobile phone (mobile phone), a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self), a wireless terminal in remote surgery (remote medical support), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in city (smart city), a wireless terminal in home (smart home), a cellular phone, a cordless phone, a smart session initiation protocol (session initiation protocol), a PDA, a wireless local loop (wireless local loop, wireless personal digital assistant (WLL), a Personal Digital Assistant (PDA) device with wireless communication function, a handheld internet device with wireless communication function, a wearable device, a virtual reality (virtual reality) device, a wireless terminal in remote control (remote management), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in city), a wireless terminal in home (smart home), a cellular phone, a cordless phone, a smart session initiation protocol (session initiation protocol, a Personal Digital Assistant (PDA), a wireless local loop, a personal digital assistant (personal digital assistant) device with wireless communication function, a handheld phone, a wireless local loop (wireless local loop, a personal digital assistant, a wireless communication device with wireless communication device, a personal assistant, a wireless communication device, a, A computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network, or a terminal device in a Public Land Mobile Network (PLMN) for future evolution, and the like, which are not limited in this embodiment of the present application.
Illustratively, the software installed on the terminal device may include software 1, software 2, software 3, and software 4. The software 1, the software 2, the software 3, and the software 4 all have a function of distributing contents, and thus can be understood as 4 channels that can realize distribution of contents. In the prior art, when a user wants to distribute the same content on the software 1, the software 2 and the software 3, the user needs to open the content distribution interfaces of the software 1, the software 2 and the software 3 respectively, edit the content to be distributed respectively, and distribute the content. In this way, the user would edit the same content 3 times and save the content 3 times at the server side of software 1, software 2, and software 3.
Therefore, the same content is published in different channels, and a user needs to edit the same content in different channels for multiple times to realize the publication of the content in each channel, so that the user experience is not high. Meanwhile, a plurality of same information can be stored in the memory of the server, the storage cost is increased along with the increase of the number of channels, system development with certain workload or even code copying needs to be carried out every time one channel is added, and a user needs to repeatedly edit the same content, so that the expandability is poor.
In view of this, embodiments of the present application provide a method and an apparatus for content publishing, where a server obtains channel indication information to indicate which channels a user needs to publish the same content, and the server can publish the content in multiple channels according to a channel identifier of a target channel and the channel indication information, so as to implement that a user edits the content once, so that the content can be displayed in multiple channels, which is convenient and efficient, and is beneficial to improving user experience.
Fig. 1 is a schematic flow chart of a method 100 for content distribution according to an embodiment of the present application. The method 100 may include the steps of:
s101, a server acquires content information to be published, wherein the content information to be published is used for showing that a user requests to publish content on a plurality of channels, and the content information to be published comprises the content requested to be published by the user and indication information of the plurality of channels.
Specifically, the indication information of the plurality of channels is used to indicate the channels on which the user requests the server to distribute the content. The content requested to be published by the user is generally edited and sent to the server by the user in a certain platform or a certain channel.
Illustratively, if the channel list includes 4 channels, in which the user wants to publish a message on channel 1, channel 2, and channel 4, the indication information of the channels is used to indicate that the server can publish the content on channel 1, channel 2, and channel 4.
In a possible implementation manner, the indication information of the channels may include indication information of the channel 1, the channel 2 and the channel 4, such as an identifier of the channel 1, an identifier of the channel 2 and an identifier of the channel 4.
In another possible implementation manner, the indication information of the multiple channels may be binary coded according to bits, for example, the indication information of the multiple channels may be 1101, each bit corresponds to one channel, 1 represents publishing, and 0 represents not publishing; or, the indication information of the plurality of channels may be 0010, 0 indicating publication and 1 indicating non-publication, in which case the character length of the indication information of the plurality of channels is equal to the number of channels included in the channel list.
S102, a server acquires an identifier of a target channel, wherein the target channel is a channel for pulling information by a user, or the target channel is at least one channel in a channel list.
The channel list in the embodiment of the present application includes all channels, and the channel list may be understood to include all software installed on a system of the terminal, for example.
In the above example, one possible design, the binary identification for channel 1 may be 0001, the binary identification for channel 2 may be 0010, the binary identification for channel 3 may be 0100, and the binary identification for channel 4 may be 1000; in another possible design, the binary identification for channel 1 may be 1110, the binary identification for channel 2 may be 1101, the binary identification for channel 3 may be 1011, and the binary identification for channel 4 may be 0111.
S103, the server determines whether to publish the content on the target channel based on the identification of the target channel and the indication information of the plurality of channels.
Specifically, if the plurality of channels includes the target channel, the server publishes the content on the target channel; if the plurality of channels does not include the target channel, the server does not publish content on the target channel.
In a possible implementation manner, the content information may be published in a user pulling manner, where the user pulling information may be understood as that the user actively wants to view the information, and the user performs a pulling operation on a certain channel, and the server only needs to determine whether to publish the content on the channel. For example, if a user wants to publish content on a WeChat, a QQ and a microblog, the user may open a content publishing interface of the WeChat to edit the content and then click on the software to be published (i.e., select a channel to publish the content). The server may receive the content and channel indication information and publish the user-edited content in the WeChat. When the user subsequently opens the content display interface of the microblog, the user can perform a refresh operation to update the released content. The server can release the content edited on the WeChat before the user on the microblog through the terminal equipment based on the pulling operation of the user.
In another possible implementation manner, the content information may be actively pushed by the server to the user of the terminal device, in which case the server needs to select multiple channels capable of publishing the content from the channel list. That is, the server may acquire the identifications of all channels in the channel list, and compare them with the channels indicated by the indication information, respectively, thereby determining the channels capable of publishing the content. For example, if a user wants to publish content on a WeChat, a QQ and a microblog, the user may open the content edited by the content publishing interface of the WeChat and then click on the software desired to be published (i.e. select a channel for the content desired to be published), and the server may receive the content and the indication information of the channel and publish the content edited by the user in the WeChat. In addition, the server can actively judge that the QQ and the microblog are channels where the user thinks to publish the content, the content edited by the user is pushed to the QQ and the microblog, and the terminal equipment can publish the content on the content display interfaces of the QQ and the microblog.
S104, if the server determines that the content is published on the target channel, the server sends the content to the target channel.
It should be appreciated that the server sends the content to the target channel on which the content will be published.
In the embodiment of the application, the server acquires the identification of the target channel and then determines whether to publish the content on the target channel according to the indication information of the channels.
The server can send the content to the target channel through two modes, wherein in the first mode, the user pulls information on the target channel, the mode is also called as a passive mode, and in the situation, the server passively acquires the identifier of the target channel; in the second way, the server obtains the identifier of the target channel in the channel list, which is also referred to as active way in this application, in which case the server actively obtains the identifier of the target channel.
The following describes in detail two ways of passively or actively publishing content by the server according to the embodiment of the present application.
In a first mode, the server obtains an identifier of a target channel, wherein the target channel is a channel for the user to pull information.
In this case, in step S102, the server obtains the identifier of the target channel, including: the server receives a request message from the terminal equipment, wherein the request message comprises the identification of the target channel.
The request message may be sent by the terminal device to the server when the terminal device pulls the information.
Illustratively, a user can open a content interface of the software on the terminal device and perform a refresh operation to check whether new content exists. Fig. 2 illustrates another method 200 of content distribution, the method 200 comprising: s201, the terminal device sends a request message to a server according to the operation of a user, wherein the request message comprises the identifier of the software, and correspondingly, the server passively acquires the identifier of the software; s202, determining whether to release content on the software according to the identification of the software and the plurality of channel indication information; s203, if the server determines to distribute the content on the software, the server sends the content to the software.
In the embodiment of the application, a user pulls information on a terminal device, the terminal device sends a request message with a channel identifier to a server according to the operation of the user, the server passively acquires the channel identifier, and then whether content is published on the channel is determined according to the channel identifier and a plurality of channel indication information. The method can realize that the user edits the content once, can display the content in a plurality of channels, is convenient and efficient, and is beneficial to improving the user experience.
In a second mode, the server obtains the identifier of the target channel, wherein the target channel is at least one channel in the channel list.
In this case, in step S102, the server obtains the identifier of the target channel, including: the server obtains the identification of at least one channel in the channel list.
It should be understood that all channels on the terminal device may be included in the channel list. Assuming that 6 channels are included on the terminal device, the channel list may include the identities of the 6 channels, as shown in the following table.
Watch 1
Channel for irrigation | Binary identification |
1 | 000001 |
2 | 000010 |
3 | 000100 |
4 | 001000 |
5 | 010000 |
6 | 100000 |
In Table one, 1 represents publish and 0 represents not publish. In this case, the indication information of the plurality of channels of the embodiment of the present application may be 111011, which represents that the user wants to publish the content on channel 1, channel 2, channel 4, channel 5, and channel 6.
Watch two
In table two, 0 represents release and 1 represents no release. In this case, the indication information of the plurality of channels of the embodiment of the present application may be 101011, representing that the user wants to publish the content on channel 3 and channel 5.
The server obtains the identifier of at least one channel in the channel list, and it should be understood that the server can obtain the identifier of each channel in the channel list respectively.
In the embodiment of the application, the server actively acquires the identification of the channel, and then determines whether to publish the content on the channel according to the identification of the channel and the indication information of the plurality of channels. The method can realize that the user edits the content once, can display the content in a plurality of channels, is convenient and efficient, and is beneficial to improving the user experience.
As an alternative embodiment, in step S103, the server determines whether to publish the content on the target channel based on the identifier of the target channel and the indication information of the multiple channels, including: the server compares the identification of the target channel with the indication information of the plurality of channels to obtain a comparison result; if the comparison result indicates that the plurality of channels includes the target channel, the server determines to publish the content on the target channel.
It should be understood that the indication information of the multiple channels is used to indicate which channels the server can publish the content on, and if the target channel is included in the channels, the server can return or push the content to the target channel, thereby displaying the content on the target channel.
Whether the server returns or pushes content to the target channel depends on whether the server passively or actively obtains the identity of the target channel. If the identification of the target channel acquired by the server is acquired by the terminal equipment according to the request message sent by the user operation and the identification of the target channel passively acquired by the server, returning the content to the target channel; and if the identification of the target channel acquired by the server is acquired from the channel list and the identification of the target channel actively acquired by the server, pushing the content to the target channel.
As an alternative embodiment, the identification of the target channel is binary coded, and the indication information of the channels is bitwise binary coded; the server compares the identification of the target channel with the indication information of the plurality of channels, and comprises: the server performs and operation on the identification of the target channel and the indication information of the plurality of channels.
It should be understood that binary codes including 1 and 0 may be used to represent different states, and the indication information of the target channel and the plurality of channels may be all represented by binary codes. The server may perform and operation on the binary of the target channel and the binary of the indication information of the plurality of channels.
In one implementation, 1 represents publish and 0 represents not publish. Illustratively, if the indication information of the plurality of channels is 1101, it is indicated that the content can be distributed on channel 1, channel 3 and channel 4. If the target channel is channel 3 and the channel identifier is 0100, the server may bitwise and operate the channel identifier 0100 and the instruction information 1101 of the plurality of channels to obtain 0100. The value is greater than 0, indicating that content can be distributed in the channel.
In another implementation, 0 represents publish and 1 represents no publish. For example, if the indication information of the plurality of channels may be 1001, it is indicated that the content may be distributed on channel 2 and channel 3. If the target channel is channel 3 and the channel identifier is 1011, the server can bitwise and operate the channel identifier 1011 and the channel identifiers 1001 to obtain 1001. The value is greater than 0, indicating that content can be distributed in the channel.
It should be understood that, for the pull embodiment, the target channel includes one channel, and the server may perform an and operation according to the above example, while for the push embodiment, the target channel may include one or more channels, and the server may perform an and operation on the identifiers of the one or more channels and the indication information of the multiple channels according to the above example, determine whether the content may be published on the one or more channels one by one, and may perform a parallel processing, and perform an and operation on the identifiers of the one or more channels and the indication information of the multiple channels at the same time, so as to improve the processing efficiency, which is not limited in this application.
As an optional embodiment, after the server obtains the content information to be published, the method further includes: the server stores the content information to be issued.
It should be understood that, in the embodiment of the present application, the order of the step and the steps S102, S103, and S104 is not limited, that is, the server may store the content information to be published after acquiring the content information to be published; the server may also store the content information to be published after executing S102; the server may also save the content information to be published after S103 is executed; the server may store the content information to be published after S104 is executed.
In the embodiment of the application, the user edits the content once, and the memory stores the content once, so that the content can be displayed in a plurality of channels, and the method is convenient and efficient, is favorable for improving the user experience, and is also favorable for reducing the storage cost and improving the expandability of the multi-channel release content.
It should be understood that the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
The method of the embodiment of the present application is described in detail above with reference to fig. 1 and 2, and the apparatus of the embodiment of the present application is described in detail below with reference to fig. 3 and 4.
Fig. 3 illustrates an apparatus 300 for content distribution according to an embodiment of the present application. The apparatus 300 comprises: an acquisition module 310, a processing module 320, and a sending module 330.
The obtaining module 310 is configured to: acquiring content information to be published, wherein the content information to be published is used for showing that a user requests to publish content on a plurality of channels, and the content information to be published comprises the content requested to be published by the user and indication information of the plurality of channels; and acquiring an identifier of a target channel, wherein the target channel is a channel for which the user pulls information, or the target channel is at least one channel in a channel list.
The processing module 320 is configured to: based on the identification of the target channel and the indication information of the plurality of channels, it is determined whether to publish content on the target channel.
The sending module 330 is configured to: if the processing module 320 determines to publish the content on the target channel, the content is sent to the target channel.
Optionally, the target channel is a channel for a user to pull information; the obtaining module 310 is further configured to: and receiving a request message from the terminal equipment, wherein the request message comprises the identification of the target channel.
Optionally, the target channel is at least one channel in a channel list; the obtaining module 310 is further configured to: an identification of at least one channel in the channel list is obtained.
Optionally, the processing module 320 is further configured to: comparing the target channel identification with the indicating information of the channels to obtain a comparison result; and if the comparison result shows that the plurality of channels comprise the target channel, determining to publish the content on the target channel.
Optionally, the identifier of the target channel is a binary code, and the indication information of the channels is a bitwise binary code; the processing module 320 is further configured to: and performing and operation on the identification of the target channel and the indication information of the plurality of channels.
Optionally, the processing module 320 is further configured to: and storing the content information to be issued.
It should be appreciated that the apparatus 300 herein is embodied in the form of functional modules. The term module herein may refer to an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality. In an alternative example, it may be understood by those skilled in the art that the apparatus 300 may be embodied as a server in the foregoing embodiment, or the functions of the server in the foregoing embodiment may be integrated in the apparatus 300, and the apparatus 300 may be configured to execute each procedure and/or step corresponding to the server in the foregoing method embodiment, and is not described herein again to avoid repetition.
The device 300 has functions of implementing corresponding steps executed by a method for content distribution in the method; the above functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
Fig. 4 shows another content distribution apparatus 400 provided in the embodiment of the present application. The apparatus 400 includes a processor 410, a transceiver 420, and a memory 440. Wherein the processor 410, the transceiver 420 and the memory 440 are in communication with each other through an internal connection path, the memory 440 is used for storing instructions, and the processor 410 is used for executing the instructions stored in the memory 440 to control the transceiver 420 to transmit and/or receive signals.
The apparatus 400 is used for executing the various processes and steps of the method 100. Wherein the processor 410 is configured to: acquiring content information to be published, wherein the content information to be published is used for showing that a user requests to publish content on a plurality of channels, and the content information to be published comprises the content requested to be published by the user and indication information of the plurality of channels; acquiring an identifier of a target channel, wherein the target channel is a channel for pulling information by a user, or the target channel is at least one channel in a channel list; determining whether to publish the content on a target channel based on an identification of the target channel and indicating information of a plurality of channels; and if the content is determined to be published on the target channel, sending the content to the target channel.
It should be understood that the apparatus 400 may be used for executing various steps and/or flows corresponding to the server in the above method embodiments. Alternatively, the memory 440 may include both read-only memory and random access memory, and provides instructions and data to the processor. The portion of memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 410 may be configured to execute instructions stored in the memory, and when the processor 410 executes the instructions stored in the memory, the processor 410 is configured to perform the steps and/or processes of the method embodiments corresponding to the server described above. The transceiver 420 may include a transmitter and a receiver, the transmitter may be configured to implement the steps and/or processes for performing the sending action corresponding to the transceiver, and the receiver may be configured to implement the steps and/or processes for performing the receiving action corresponding to the transceiver.
It should be understood that in the embodiment of the present application, the processor of the above apparatus may be a Central Processing Unit (CPU), and the processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software elements in a processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in a memory, and a processor executes instructions in the memory, in combination with hardware thereof, to perform the steps of the above-described method. To avoid repetition, it is not described in detail here.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A method of content distribution, comprising:
the method comprises the steps that a server obtains content information to be published, wherein the content information to be published is used for showing that a user requests to publish content on a plurality of channels, and the content information to be published comprises the content requested to be published by the user and indication information of the plurality of channels;
the server acquires an identifier of a target channel, wherein the target channel is a channel for the user to pull information, or the target channel is at least one channel in a channel list;
the server determining whether to publish the content on the target channel based on the identification of the target channel and the indication information of the plurality of channels;
and if the server determines to publish the content on the target channel, the server sends the content to the target channel.
2. The method of claim 1, wherein the target channel is a channel from which the user pulls information;
the server acquires the identifier of the target channel, and the method comprises the following steps:
and the server receives a request message from the terminal equipment, wherein the request message comprises the identification of the target channel.
3. The method of claim 1 or 2, wherein the target channel is at least one channel in the channel list;
the server acquires the identifier of the target channel, and the method comprises the following steps:
the server obtains an identification of at least one channel in the channel list.
4. The method of any of claims 1 to 3, wherein the server determining whether to publish the content on the target channel based on the identification of the target channel and the indication information of the plurality of channels comprises:
the server compares the identification of the target channel with the indication information of the channels to obtain a comparison result;
if the comparison result indicates that the plurality of channels include the target channel, the server determines to publish the content on the target channel.
5. The method of claim 4, wherein the identification of the target channel is binary coded and the indication information for the plurality of channels is bitwise binary coded;
the server comparing based on the identification of the target channel and the indication information of the plurality of channels, including:
and the server performs and operation on the identification of the target channel and the indication information of the plurality of channels.
6. The method according to any one of claims 1 to 5, wherein after the server obtains the content information to be published, the method further comprises:
and the server stores the content information to be issued.
7. An apparatus for content distribution, comprising:
the system comprises an acquisition module, a distribution module and a distribution module, wherein the acquisition module is used for acquiring content information to be distributed, the content information to be distributed is used for representing the content requested by a user to be distributed on a plurality of channels, and the content information to be distributed comprises the content requested by the user to be distributed and indication information of the plurality of channels; acquiring an identifier of a target channel, wherein the target channel is a channel for pulling information by the user, or the target channel is at least one channel in a channel list;
a processing module for determining whether to publish the content on the target channel based on the identification of the target channel and the indication information of the plurality of channels;
and the sending module is used for sending the content to the target channel if the processing module determines that the content is published on the target channel.
8. An apparatus for content distribution, comprising: a processor coupled with a memory for storing a computer program that, when invoked by the processor, causes the apparatus to perform the method of any of claims 1 to 6.
9. A chip system, comprising: a processor for calling and running a computer program from a memory so that a device on which the system-on-chip is installed performs the method of any one of claims 1 to 6.
10. A computer-readable storage medium, having stored thereon a computer program which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011419134.9A CN114615316A (en) | 2020-12-07 | 2020-12-07 | Content distribution method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011419134.9A CN114615316A (en) | 2020-12-07 | 2020-12-07 | Content distribution method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114615316A true CN114615316A (en) | 2022-06-10 |
Family
ID=81856398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011419134.9A Pending CN114615316A (en) | 2020-12-07 | 2020-12-07 | Content distribution method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114615316A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770048A (en) * | 2017-10-16 | 2018-03-06 | 浪潮软件股份有限公司 | A kind of application message method for pushing and device |
CN109542461A (en) * | 2018-10-16 | 2019-03-29 | 深圳壹账通智能科技有限公司 | Dissemination method, terminal device and the medium of application installation package |
CN109829123A (en) * | 2017-11-22 | 2019-05-31 | 阿里巴巴集团控股有限公司 | A kind of method for sending information and device |
CN109981442A (en) * | 2019-02-27 | 2019-07-05 | 维沃移动通信有限公司 | Method for sending information and terminal device |
CN110070467A (en) * | 2019-03-16 | 2019-07-30 | 平安城市建设科技(深圳)有限公司 | Source of houses dissemination method, equipment, storage medium and device by all kinds of means |
CN110851170A (en) * | 2019-09-29 | 2020-02-28 | 深圳市星河互动科技有限公司 | Software multi-channel publishing method and related equipment |
CN111898057A (en) * | 2019-04-18 | 2020-11-06 | 北京京东尚科信息技术有限公司 | Resource distribution method and device |
-
2020
- 2020-12-07 CN CN202011419134.9A patent/CN114615316A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770048A (en) * | 2017-10-16 | 2018-03-06 | 浪潮软件股份有限公司 | A kind of application message method for pushing and device |
CN109829123A (en) * | 2017-11-22 | 2019-05-31 | 阿里巴巴集团控股有限公司 | A kind of method for sending information and device |
CN109542461A (en) * | 2018-10-16 | 2019-03-29 | 深圳壹账通智能科技有限公司 | Dissemination method, terminal device and the medium of application installation package |
CN109981442A (en) * | 2019-02-27 | 2019-07-05 | 维沃移动通信有限公司 | Method for sending information and terminal device |
CN110070467A (en) * | 2019-03-16 | 2019-07-30 | 平安城市建设科技(深圳)有限公司 | Source of houses dissemination method, equipment, storage medium and device by all kinds of means |
CN111898057A (en) * | 2019-04-18 | 2020-11-06 | 北京京东尚科信息技术有限公司 | Resource distribution method and device |
CN110851170A (en) * | 2019-09-29 | 2020-02-28 | 深圳市星河互动科技有限公司 | Software multi-channel publishing method and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10897704B2 (en) | Method of connecting a terminal device to network, a terminal device and a non-transitory computer readable storage medium | |
KR101712570B1 (en) | Apparatus, method and computer program for providing contents sharing service | |
CN106790350B (en) | Information pushing device, server and method | |
CN110781373A (en) | List updating method and device, readable medium and electronic equipment | |
CN109800557B (en) | Block chain-based integrated processing method, device, server, equipment and medium | |
CN106412092A (en) | Message pushing method, message pushing device and server | |
CN108933968B (en) | Message format conversion method and device, storage medium and android terminal | |
CN111800513A (en) | Method and device for pushing information and computer readable medium of electronic equipment | |
CN110597602B (en) | Transaction processing method and device, computer equipment and storage medium | |
CN111432001A (en) | Method, apparatus, electronic device, and computer-readable medium for jumping scenes | |
US20170171339A1 (en) | Advertisement data transmission method, electrnoic device and system | |
CN114356335A (en) | Data processing method, device, equipment and medium | |
US20170171634A1 (en) | Method and electronic device for pushing reservation message | |
CN114615316A (en) | Content distribution method and device | |
CN108009247B (en) | Information pushing method and device | |
CN116108042A (en) | Data processing method, device, electronic equipment, storage medium and program product | |
CN115880119A (en) | Carbon emission information generation method, device and medium based on two-stage cooperation | |
CN105978853B (en) | Session scheduling method, scheduling server and terminal | |
CN114501566A (en) | Network switching method and device | |
CN109086107B (en) | Bullet screen message distribution method, device, equipment and storage medium | |
CN112612401A (en) | Prompt message processing method, device, system, equipment and storage medium | |
CN112162682A (en) | Content display method and device, electronic equipment and computer readable storage medium | |
CN111367592A (en) | Information processing method and device | |
CN113612676B (en) | Social group message synchronization method, device, equipment and storage medium | |
CN111787107B (en) | Message processing method and device, readable medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |