CN105681163A - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN105681163A
CN105681163A CN201511025314.8A CN201511025314A CN105681163A CN 105681163 A CN105681163 A CN 105681163A CN 201511025314 A CN201511025314 A CN 201511025314A CN 105681163 A CN105681163 A CN 105681163A
Authority
CN
China
Prior art keywords
message
released
interface
public platform
target public
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201511025314.8A
Other languages
Chinese (zh)
Inventor
钟添森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XIAMEN CNCN INFORMATION Co Ltd
Original Assignee
XIAMEN CNCN INFORMATION 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 XIAMEN CNCN INFORMATION Co Ltd filed Critical XIAMEN CNCN INFORMATION Co Ltd
Priority to CN201511025314.8A priority Critical patent/CN105681163A/en
Publication of CN105681163A publication Critical patent/CN105681163A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]

Abstract

The invention discloses a message processing method and device. The method comprises the steps of: obtaining at least one message to be released, wherein the message to be released is from a public platform that has established an interface connection, and the message at least comprises message contents and interface information of a target public platform; adding the message in a message queue, and reading the message according to a preset sequence to obtain a message to be released; and sending the message to be released to the target public platform through the interface according to the interface information of the target public platform of the message to be released. By means of the mode, the message processing method disclosed by the invention is used for realizing cross platform message transfer between associated public platforms and improving the message transfer ability.

Description

A kind of message treatment method and device
Technical field
The present invention relates to Internet technical field, particularly to a kind of message treatment method and server.
Background technology
Today very flourishing in the Internet, occur in that a lot of operating platforms, for instance have computer, mobile phone, flat board, vehicle-carrying display screen, TV, game machine etc. One user has multiple different operating platform generally simultaneously, and the convenient degree for different operating platform is different, also has the account of multiple public platform, for instance microblogging, wechat, qq etc.
At present, released news by the Internet public platform, user requires over the specific operation platform corresponding public platform of login and goes to browse or issue these information, namely, message is distributed only by the channel of or fixed qty, thus there will be user's needs to switch between multiple public platforms and carry out the issue of message and browse, Consumer's Experience is poor.
Summary of the invention
The technical problem that present invention mainly solves is to provide a kind of message treatment method and device, it is achieved dynamically adds distribution platform and cross-platform gives out information, to improve message propagation efficiency.
For solving above-mentioned technical problem, the technical scheme that the present invention adopts is: a kind of message treatment method, and described method includes: obtain at least one message to be released; Wherein, described message to be released comes from the public platform that built vertical interface connects; Described message content at least includes message content and the interface message of target public platform; Described message is added message queue table, and reads described message to obtain a message to be released according to predefined procedure; And the interface message of the target public platform according to the message described to be released acquired, described message to be released is sent to described target public platform by described interface.
For solving above-mentioned technical problem, another technical solution used in the present invention is: providing a kind of message processing apparatus, described device includes: acquisition module, is used for obtaining at least one message to be released; Wherein, described message to be released comes from the public platform that built vertical interface connects; Described message content at least includes message content and the interface message of target public platform; Message read module, the message at least one to be released for being got by described acquisition module adds message queue table, and reads described message to obtain a message to be released according to predefined procedure;And message transmission module, the target public platform of the message described to be released for acquiring according to described message read module.
In above scheme, set up interface communication with multiple common platforms in advance to be connected, message to be released will be received and add message queue table, and be successively read message to be released to determine the interface message of the target public platform of correspondence, thus this message to be released is sent to corresponding target public platform. Pass through the present invention, it is achieved that between the public platform of association, carry out cross-platform message transmission, improve information transmission message.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of message treatment method in first embodiment of the invention;
Fig. 2 is the schematic flow sheet of a kind of message treatment method in second embodiment of the invention;
Fig. 3 is the structural representation of a kind of message processing apparatus in first embodiment of the invention;
Fig. 4 is the structural representation of a kind of message processing apparatus in second embodiment of the invention.
Detailed description of the invention
By describing the technology contents of the present invention, structural feature in detail, being realized purpose and effect, below in conjunction with drawings and Examples, the present invention is described in detail.
Refer to Fig. 1, for the schematic flow sheet of a kind of message treatment method of first embodiment of the invention. Method flow shown in this embodiment comprises the following steps:
Step S10, obtains at least one message to be released.
Wherein, this message to be released comes from the public platform that built vertical interface connects, and this message to be released at least includes message content and the interface message of target public platform.
Specifically, this message to be released obtains can be obtain from each application program being installed on terminal, it is also possible to come from the application program on different terminals. Such as, when the browser program of terminal accesses certain page of a forum, user inputs the message of required issue in this forum, and wishes in another public platform (microblogging) of this news release to this user. At this moment, this message just becomes message to be released.
Step S11, adds message queue table by this message, and reads this message queue table to obtain message to be released according to predefined procedure.
As previously described, in embodiment of the present invention, this message to be released may come from the different application in same terminal, it is also possible to comes from the difference/same application domain of different terminals, therefore the message multiple to be released received is added message queue table. Wherein, it is also recorded for the time added when message to be released being added in message queue table, then reads the message in this message queue table according to the sequencing of time, obtain a message to be released successively.
Step S12, the interface message according to the target public platform of the message to be released acquired, this message to be released is sent to this target public platform by this interface.
Further, the interface message of this target public platform at least includes interface name and message format, and this message format is the form that this public platform is able to receive that message. After determining the message format as target public platform and interface name, just message to be released is converted to the form of this public platform coupling, and according to this interface name, the message changed through form is sent to this public platform.
Such as, user carries out the input of message to be released by a forum of browser display, therefore this message to be released is web page contents, this target public platform is microblogging, therefore the interface message of its correspondence is micro-blog information, including title (microblogging) and message format (number of words of text document less than 300 words, photo-document size less than 768*768).Now, after receiving this web page contents to be released, determine that target public platform is microblogging according to it interface message included, and the web page contents of text formatting is converted to the picture format of the not high 768*768 of size, then pass through corresponding interface and the message after this conversion is sent to microblogging to issue this message in microblogging.
Further, this target public platform has also pre-build the communication connection of interface with terminal. Therefore, if detecting when the interface message of target public platform that message to be released includes is not the public platform that vertical interface communication built with this terminal is connected, the information of a transmission message failure is also produced.
Above scheme, set up interface communication with multiple common platforms in advance to be connected, message to be released will be received and add message queue table, and be successively read message to be released to determine the interface message of the target public platform of correspondence, thus this message to be released is sent to corresponding target public platform. Pass through the present invention, it is achieved that between the public platform of association, carry out cross-platform message transmission, improve information transmission message.
Refer to Fig. 2, for the schematic flow sheet of a kind of message treatment method of second embodiment of the invention. Method shown in this embodiment comprises the following steps:
Step S20, obtains at least one message to be released.
Wherein, this message to be released comes from the public platform that built vertical interface connects, and this message to be released at least includes message content and the interface message of target public platform.
Specifically, this message to be released obtains can be obtain from each application program being installed on terminal, it is also possible to come from the application program on different terminals.
Further, by pre-setting multiple interface, to be communicatively coupled with corresponding public platform by this interface.
Step S21, adds message queue table by this message, and reads this message queue table to obtain message to be released according to predefined procedure.
Wherein, it is also recorded for the time added when message to be released being added in message queue table, then reads the message in this message queue table according to the sequencing of time, obtain a message to be released successively.
Step S22, the interface message according to the target public platform of the message to be released acquired, this message to be released is sent to this target public platform by this interface.
Further, the interface message of this target public platform at least includes interface name and message format, and this message format is the form that this public platform is able to receive that message. After determining the message format as target public platform and interface name, just message to be released is converted to the form of this public platform coupling, and according to this interface name, the message changed through form is sent to this public platform.
Step S23, it is judged that whether record in this message queue table and need to be given out information. If so, then returning step S22, otherwise, flow process terminates.
Referring to Fig. 3, for a kind of message processing apparatus of first embodiment of the invention, the device 30 shown in this embodiment includes acquisition module 31, message read module 32 and message transmission module 33.
This acquisition module 31 is used for obtaining at least one message to be released.
Wherein, this message to be released comes from the public platform that built vertical interface connects, and this message to be released at least includes message content and the interface message of target public platform.
Specifically, this message to be released obtains can be obtain from each application program being installed on terminal, it is also possible to come from the application program on different terminals.
This message read module 32 adds message queue table for the message got by this acquisition module 31, and reads this message queue table to obtain message to be released according to predefined procedure.
This message to be released may come from the different application in same terminal, it is also possible to comes from the difference/same application domain of different terminals, therefore the message multiple to be released received is added message queue table. Wherein, it is also recorded for the time added when message to be released being added in message queue table, then reads the message in this message queue table according to the sequencing of time, obtain a message to be released successively.
The interface message of this message transmission module 33 target public platform of message to be released for acquiring according to this message read module 32, is sent this message to be released to this target public platform by this interface.
Referring to Fig. 4, for a kind of message processing apparatus of second embodiment of the invention, the device 40 shown in this embodiment includes acquisition module 41, message read module 42, message transmission module 43, link block 44, judge module 45 with modular converter 46. In the present embodiment, this message processing apparatus 40 is an interface management platform, including the application program docked with target public platform.
Wherein, whether this judge module 45 is used for judging to record in this message queue table to need to be given out information. This message read module 42, when this judge module 45 determines that record needs to be given out information, reads described message to obtain a message to be released according to predefined procedure, until not recording message to be released in this message queue table.
The interface message of this target public platform at least includes interface name and message format, and this message format is the form that this public platform is able to receive that message. After determining the message format as target public platform and interface name, message to be released is converted to the form of this public platform coupling by this modular converter 46, and the message changed through form is sent to this public platform by this message transmission module 43 according to this interface name.
Further, this link module 44 is used for arranging multiple interface, and is communicatively coupled with corresponding public platform by these interfaces.
Other modules in Fig. 4 refer to Fig. 3 and corresponding explanatory note.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (8)

1. a message treatment method, it is characterised in that described method includes:
Obtain at least one message to be released; Wherein, described message to be released comes from the public platform that built vertical interface connects; Described message to be released at least includes message content and the interface message of target public platform;
Described message is added message queue table, and reads described message queue table to obtain message to be released according to predefined procedure; And
The interface message of the target public platform according to the message described to be released acquired, is sent described message to be released to described target public platform by described interface.
2. message treatment method according to claim 1, it is characterised in that described method also includes:
Judge whether described message queue table records to need to be given out information, and when determining that record needs to be given out information, read described message to obtain a message to be released according to predefined procedure, until described message queue table does not record message to be released.
3. message treatment method according to claim 1, it is characterised in that the interface message of described target public platform at least includes message format;
Described message is added message queue table, and according to predefined procedure read described message with obtain a message to be released step after, described method also includes:
The form of described message to be released is changed according to described message format.
4. message treatment method according to claim 1, it is characterised in that before the step of at least one message to be released of described acquisition, described method also includes:
Multiple interface is set;
It is communicatively coupled with corresponding public platform by described interface.
5. a message processing apparatus, it is characterised in that described device includes:
Acquisition module, is used for obtaining at least one message to be released; Wherein, described message to be released comes from the public platform that built vertical interface connects; Described message content at least includes message content and the interface message of target public platform;
Message read module, the message at least one to be released for being got by described acquisition module adds message queue table, and reads described message to obtain a message to be released according to predefined procedure; And
Message transmission module, the interface message of the target public platform of message described to be released for acquiring according to described message read module, will described message to be released by described interface transmission extremely described target public platform.
6. message processing apparatus according to claim 5, it is characterised in that also include:
Whether judge module, be used for judging to record in described message queue table to need to be given out information;
Described message read module is for when described judge module determines that record needs to be given out information, reading described message to obtain a message to be released according to predefined procedure, until not recording message to be released in described message queue table.
7. message processing apparatus according to claim 5, it is characterised in that the interface message of described target public platform at least includes message format; Described device also includes modular converter, for changing the form of described message to be released according to described message format.
8. message processing apparatus according to claim 5, it is characterised in that also include link block, is used for arranging multiple interface, and is communicatively coupled with corresponding public platform by described interface.
CN201511025314.8A 2015-12-30 2015-12-30 Message processing method and device Pending CN105681163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511025314.8A CN105681163A (en) 2015-12-30 2015-12-30 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511025314.8A CN105681163A (en) 2015-12-30 2015-12-30 Message processing method and device

Publications (1)

Publication Number Publication Date
CN105681163A true CN105681163A (en) 2016-06-15

Family

ID=56189822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511025314.8A Pending CN105681163A (en) 2015-12-30 2015-12-30 Message processing method and device

Country Status (1)

Country Link
CN (1) CN105681163A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019100986A1 (en) * 2017-11-22 2019-05-31 阿里巴巴集团控股有限公司 Information sending method and apparatus
CN110191048A (en) * 2019-06-25 2019-08-30 苏州梦嘉信息技术有限公司 A kind of customer service information management method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944921A (en) * 2014-05-09 2014-07-23 北京邮电大学 Client, server, system and method for social network information integration
CN104486202A (en) * 2014-12-12 2015-04-01 上海斐讯数据通信技术有限公司 Method and system applicable to information publishing on multiple social contact platforms
CN104579915A (en) * 2013-10-09 2015-04-29 中兴通讯股份有限公司 Multimedia message publishing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579915A (en) * 2013-10-09 2015-04-29 中兴通讯股份有限公司 Multimedia message publishing method and device
CN103944921A (en) * 2014-05-09 2014-07-23 北京邮电大学 Client, server, system and method for social network information integration
CN104486202A (en) * 2014-12-12 2015-04-01 上海斐讯数据通信技术有限公司 Method and system applicable to information publishing on multiple social contact platforms

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019100986A1 (en) * 2017-11-22 2019-05-31 阿里巴巴集团控股有限公司 Information sending method and apparatus
CN110191048A (en) * 2019-06-25 2019-08-30 苏州梦嘉信息技术有限公司 A kind of customer service information management method and system

Similar Documents

Publication Publication Date Title
CN103986752A (en) Method, device and system for inputting information on input interface of smart television set
CN102752388A (en) Browser-based interactive system, browser-based interactive method, browser and cloud server
CN104022940A (en) Information processing method, device and system based on instant messaging (IM)
CN103023930A (en) Webpage sharing method and device
CN103856391A (en) Information communication method and system, and server
CN103200022B (en) A kind of data download abnormality eliminating method, equipment and system
CN102364957A (en) Method, device and equipment for playing internet videos
CN103078996A (en) Method and system for generating desktop shortcut of mobile terminal as well as client side and server
CN105827459A (en) Method and device for calling maintenance center by intelligent device
CN103491071B (en) Wireless communication system
CN110113247B (en) Rich media information receiving and sending system, sending and displaying method and terminal equipment
CN105681163A (en) Message processing method and device
CN106549989B (en) Data transmission method and system, user terminal and application server
CN107835445B (en) MQTT protocol-based television control method, mobile terminal and television
WO2017059727A1 (en) Self-adaptive data display method, terminal device and server
CN103699464A (en) Communication terminal automatically testing method and device
CN1971599A (en) Error monitoring method and system of software application
CN105491223B (en) Information processing method, related equipment and system
CN110234080B (en) Information display method, device and system
CN105376636B (en) Fill in method, householder method, smart television and the intelligent mobile terminal of identifying code
CN102541956A (en) Social network site content management system and method thereof
CN104331407A (en) Multimedia file information recommending method and multimedia file information recommending device
CN104639973B (en) Information pushing method and device
CN102685072B (en) The method of uploading pictures and terminal unit
CN103516720A (en) Method and device for logging in target application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160615

RJ01 Rejection of invention patent application after publication