CN106411722B - Message transmission method and device - Google Patents

Message transmission method and device Download PDF

Info

Publication number
CN106411722B
CN106411722B CN201611076157.8A CN201611076157A CN106411722B CN 106411722 B CN106411722 B CN 106411722B CN 201611076157 A CN201611076157 A CN 201611076157A CN 106411722 B CN106411722 B CN 106411722B
Authority
CN
China
Prior art keywords
app
request message
identifier
server
user identifier
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.)
Active
Application number
CN201611076157.8A
Other languages
Chinese (zh)
Other versions
CN106411722A (en
Inventor
闫冬雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology 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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201611076157.8A priority Critical patent/CN106411722B/en
Publication of CN106411722A publication Critical patent/CN106411722A/en
Application granted granted Critical
Publication of CN106411722B publication Critical patent/CN106411722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a message transmission method and a message transmission device, which are used for achieving the purpose of accurately transmitting messages. The method is applied to a second APP server and comprises the following steps: receiving a request message sent by a terminal through a first APP server, wherein the request message comprises a first APP identifier and a first user identifier of a second APP; determining a public number in the second APP according to the first APP identifier, and determining the authority in the second APP according to the public number; and processing the request message according to the authority range corresponding to the first user identification in the authority range.

Description

Message transmission method and device
Technical Field
The present invention relates to the field of internet application technologies, and in particular, to a message transmission method and apparatus.
Background
In the related art, a message in one APP can be shared to another APP through a terminal, so that resource transmission among the APPs is realized, and information resource sharing is realized. In the same terminal, a plurality of APPs are operated, and message transmission needs to be carried out among the APPs, so how to utilize the terminal to carry out accurate message transmission among the APPs becomes the technical problem which needs to be solved at present.
Disclosure of Invention
The invention provides a message transmission method and a message transmission device, which are used for achieving the purpose of accurately transmitting messages.
The invention provides a message transmission method, which is applied to a second APP server and comprises the following steps:
receiving a request message sent by a terminal through a first APP server, wherein the request message comprises a first APP identifier and a first user identifier of a second APP;
determining a public number in the second APP according to the first APP identifier, and determining the authority in the second APP according to the public number;
and processing the request message according to the authority range corresponding to the first user identification in the authority range.
In an embodiment of the present invention, in a permission range, the request message is processed according to a permission range corresponding to a first user identifier, and the method includes:
and sending the request message to a contact corresponding to a second user identification of a second APP.
The invention also provides a message transmission method, which is applied to the first APP server and comprises the following steps:
receiving a request message sent by a first APP from a terminal, wherein the first APP logs in a first APP server through a first user identifier of a second APP, and the request message comprises the first APP identifier and the first user identifier of the second APP;
forwarding the request message to a second APP server.
The invention also provides a message transmission method, which is applied to a terminal and comprises the following steps:
acquiring a first user identifier of a second APP, and logging in a first APP server through the first user identifier of the second APP;
when receiving a request operation from a user, generating a request message;
and sending the request message to a first APP server.
In an embodiment of the present invention, acquiring the first user identifier of the second APP includes:
initiating an authorization request to a second APP;
and receiving a first user identifier of the second APP returned by the second APP according to the authorization request.
The invention also provides a message transmission device, which is applied to a second APP server, and comprises:
the terminal comprises a first receiving module, a second receiving module and a sending module, wherein the first receiving module is used for receiving a request message sent by the terminal through a first APP server, and the request message comprises a first APP identifier and a first user identifier of a second APP;
the determining module is used for determining the public number in the second APP according to the first APP identifier and determining the authority in the second APP according to the public number;
and the processing module is used for processing the request message in the authority range according to the authority range corresponding to the first user identification.
In an embodiment of the present invention, the processing module is further configured to:
and sending the request message to a contact corresponding to a second user identification of a second APP.
The invention also provides a message transmission device, which is applied to a first APP server, and comprises:
a second receiving module, configured to receive a request message sent by a first APP from a terminal, where the first APP logs in a first APP server through a first user identifier of a second APP, and the request message includes the first APP identifier and the first user identifier of the second APP;
and the forwarding module is used for forwarding the request message to the second APP server.
The present invention also provides a message transmission apparatus, which is applied to a terminal, and comprises:
the login module is used for acquiring a first user identifier of a second APP and logging in the first APP server through the first user identifier of the second APP;
the generating module is used for generating a request message when receiving a request operation from a user;
and the sending module is used for sending the request message to the first APP server.
In an embodiment of the present invention, the login module is further configured to:
initiating an authorization request to a second APP;
and receiving a first user identifier of the second APP returned by the second APP according to the authorization request.
In the embodiment of the invention, a request message sent by a terminal through a first APP server is received, wherein the request message comprises a first APP identifier and a first user identifier of a second APP; determining a public number in the second APP according to the first APP identifier, and determining the authority in the second APP according to the public number; and processing the request message according to the authority range corresponding to the first user identification in the authority range. Therefore, the method and the device can achieve the purpose of accurately transmitting the messages among the APPs.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flow chart illustrating a message transmission method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a message transmission method according to another embodiment of the present invention;
FIG. 3 is a flow chart of a message transmission method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a message transmission apparatus according to another embodiment of the present invention; and
fig. 6 is a schematic structural diagram of a message transmission apparatus according to another embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Fig. 1 is a flowchart illustrating a message transmission method according to an embodiment of the present invention, where the method is applied to a second APP server and may include the following steps S11-S13.
Step S11, receiving a request message sent by the terminal through the first APP server, where the request message includes a first APP identifier and a first user identifier of the second APP.
And step S12, determining the public number in the second APP according to the first APP identification, and determining the authority in the second APP according to the public number.
And step S13, processing the request message according to the authority range corresponding to the first user identification in the authority range.
In this step, the request message may be sent to a contact corresponding to a second user identifier of a second APP.
In the embodiment of the invention, the method is applied to a second APP server, and receives a request message sent by a terminal through a first APP server, wherein the request message comprises a first APP identifier and a first user identifier of the second APP; determining a public number in the second APP according to the first APP identifier, and determining the authority in the second APP according to the public number; and processing the request message according to the authority range corresponding to the first user identification in the authority range. Therefore, the method and the device can achieve the purpose of accurately transmitting the message.
Correspondingly, as shown in fig. 2, a flowchart of a message transmission method in another embodiment of the present invention is shown, and the method is applied to the first APP server and may include the following steps S21-S22.
Step S21, receiving a request message sent by a first APP from a terminal, where the first APP logs in a first APP server through a first user identifier of a second APP, and the request message includes the first APP identifier and the first user identifier of the second APP.
Step S22, forwarding the request message to the second APP server.
Accordingly, as shown in fig. 3, which is a flowchart of a message transmission method according to another embodiment of the present invention, the method applied to a terminal may include the following steps S31-S33.
Step S31, obtain the first user identifier of the second APP, and log in the first APP server through the first user identifier of the second APP.
In this step, an authorization request may be initiated to the second APP, and the first user identifier of the second APP returned by the second APP according to the authorization request is received.
In step S32, when a request operation is received from a user, a request message is generated.
Step S33, sending the request message to the first APP server.
In the above embodiments, for example, the first APP may be a live APP, and the second APP may be an instant messaging APP, such as WeChat. According to the embodiment of the invention, live APP can be logged in by adopting the WeChat account 1, and WeChat can be logged in by adopting the WeChat account 2. When sharing a message with a friend in a live APP, the wechat server may send the message to the friend corresponding to wechat account 2 instead of the friend corresponding to wechat account 1. In the embodiment of the invention, when the live APP sends the message to the WeChat server, the live APP carries the live APP identification and the WeChat account, and the processing of the WeChat server on the WeChat account is only applicable to the live APP and does not conflict with other APPs and other WeChat accounts.
It should be noted that, in practical applications, all the above-mentioned optional embodiments may be combined in a combined manner at will to form an optional embodiment of the present invention, and details are not described here any more.
Corresponding to the message transmission method in the above embodiment, the present invention also provides a message transmission device. Fig. 4 is a schematic structural diagram of a message transmission apparatus in an embodiment of the present invention, where the apparatus is applied to a second APP server, and includes:
a first receiving module 41, configured to receive a request message sent by a terminal through a first APP server, where the request message includes a first APP identifier and a first user identifier of a second APP;
a determining module 42, configured to determine, according to the first APP identifier, a public number in the second APP, and determine, according to the public number, an authority in the second APP;
and the processing module 43 is configured to process the request message according to the authority range corresponding to the first user identifier within the authority range.
In an embodiment of the present invention, the processing module 43 is further configured to send the request message to a contact corresponding to a second user identifier of a second APP.
Correspondingly, the invention also provides another message transmission device. Fig. 5 is a schematic structural diagram of a message transmission apparatus in another embodiment of the present invention, where the apparatus is applied to a first APP server, and includes:
a second receiving module 51, configured to receive a request message sent by a first APP from a terminal, where the first APP logs in a first APP server through a first user identifier of a second APP, and the request message includes the first APP identifier and the first user identifier of the second APP;
a forwarding module 52, configured to forward the request message to the second APP server.
Correspondingly, the invention also provides another message transmission device. Fig. 6 is a schematic structural diagram of a message transmission apparatus according to another embodiment of the present invention, where the apparatus is applied to a terminal, and includes:
the login module 61 is configured to obtain a first user identifier of a second APP, and login to the first APP server through the first user identifier of the second APP;
a generating module 62, configured to generate a request message when a request operation is received from a user;
a sending module 63, configured to send the request message to the first APP server.
In an embodiment of the present invention, the login module 61 is further configured to:
initiating an authorization request to a second APP;
and receiving a first user identifier of the second APP returned by the second APP according to the authorization request.
The above device of the embodiment of the present invention: the method is applied to a second APP server, and receives a request message sent by a terminal through a first APP server, wherein the request message comprises a first APP identifier and a first user identifier of a second APP; determining a public number in the second APP according to the first APP identifier, and determining the authority in the second APP according to the public number; and processing the request message according to the authority range corresponding to the first user identification in the authority range. Therefore, the method and the device can achieve the purpose of accurately transmitting the messages among the APPs.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (2)

1. A message transmission method, applied to a second APP server, the method comprising:
receiving a request message sent by a terminal through a first APP server, wherein the request message comprises a first APP identifier and a first user identifier of a second APP;
determining a public number in the second APP according to the first APP identifier, and determining the authority in the second APP according to the public number;
processing the request message according to the authority range corresponding to the first user identification in the authority range;
the method is applied to a first APP server, and comprises the following steps:
receiving a request message sent by a first APP from a terminal, wherein the first APP logs in a first APP server through a first user identifier of a second APP, and the request message comprises the first APP identifier and the first user identifier of the second APP;
forwarding the request message to a second APP server;
in the authority range, the request message is processed according to the authority range corresponding to the first user identifier, and the method comprises the following steps:
and sending the request message to a contact corresponding to a second user identification of a second APP.
2. Message transmission apparatus, characterized in that it applies to a second APP server, said apparatus comprising:
the terminal comprises a first receiving module, a second receiving module and a sending module, wherein the first receiving module is used for receiving a request message sent by the terminal through a first APP server, and the request message comprises a first APP identifier and a first user identifier of a second APP;
the determining module is used for determining the public number in the second APP according to the first APP identifier and determining the authority in the second APP according to the public number;
the processing module is used for processing the request message in the authority range according to the authority range corresponding to the first user identification;
the device is applied to a first APP server, and comprises:
a second receiving module, configured to receive a request message sent by a first APP from a terminal, where the first APP logs in a first APP server through a first user identifier of a second APP, and the request message includes the first APP identifier and the first user identifier of the second APP;
the forwarding module is used for forwarding the request message to a second APP server;
the processing module is further configured to:
and sending the request message to a contact corresponding to a second user identification of a second APP.
CN201611076157.8A 2016-11-29 2016-11-29 Message transmission method and device Active CN106411722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611076157.8A CN106411722B (en) 2016-11-29 2016-11-29 Message transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611076157.8A CN106411722B (en) 2016-11-29 2016-11-29 Message transmission method and device

Publications (2)

Publication Number Publication Date
CN106411722A CN106411722A (en) 2017-02-15
CN106411722B true CN106411722B (en) 2020-01-10

Family

ID=58083830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611076157.8A Active CN106411722B (en) 2016-11-29 2016-11-29 Message transmission method and device

Country Status (1)

Country Link
CN (1) CN106411722B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070891B (en) * 2017-03-10 2018-05-22 腾讯科技(深圳)有限公司 Service calling method and device
CN107682255B (en) * 2017-11-17 2021-04-16 腾讯科技(深圳)有限公司 Message transmission method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125257A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Account number management method of public account number, apparatus and system thereof
CN105337841A (en) * 2014-08-15 2016-02-17 腾讯科技(深圳)有限公司 Information processing method and system, client, and server
CN105429931A (en) * 2014-09-09 2016-03-23 博雅网络游戏开发(深圳)有限公司 Method and system for account number information interaction between application platform and third-party platform
CN106060113A (en) * 2016-05-10 2016-10-26 腾讯科技(深圳)有限公司 Account push method and device
CN106162211A (en) * 2016-06-30 2016-11-23 北京小米移动软件有限公司 Live method and device is carried out based on live application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125257A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Account number management method of public account number, apparatus and system thereof
CN105337841A (en) * 2014-08-15 2016-02-17 腾讯科技(深圳)有限公司 Information processing method and system, client, and server
CN105429931A (en) * 2014-09-09 2016-03-23 博雅网络游戏开发(深圳)有限公司 Method and system for account number information interaction between application platform and third-party platform
CN106060113A (en) * 2016-05-10 2016-10-26 腾讯科技(深圳)有限公司 Account push method and device
CN106162211A (en) * 2016-06-30 2016-11-23 北京小米移动软件有限公司 Live method and device is carried out based on live application

Also Published As

Publication number Publication date
CN106411722A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN109525540B (en) Intelligent device binding method and device
CN109995877B (en) Information pushing method and device
JP6907679B2 (en) Cryptocurrency-based event participation verification
JP6931608B2 (en) Two-dimensional code scan interaction method, system and non-temporary computer readable medium
CN109417552B (en) Method and industrial computing device for performing secure communications
US10079814B2 (en) Secure node-to-multinode communication
US20160021035A1 (en) Creating a user group
CN108023881B (en) Application login method, device, medium and electronic equipment
WO2016023345A1 (en) Gated upgrade method and apparatus
CN106506515B (en) Authentication method and device
CN110247917B (en) Method and apparatus for authenticating identity
CN106357694B (en) Access request processing method and device
CN112632521A (en) Request response method and device, electronic equipment and storage medium
CN104660409A (en) System login method in cluster environment and authentication server cluster
CN104023012A (en) Method, device and system for scheduling service in cluster
US10375753B2 (en) Method and device for associating user with group
CN105208654B (en) Notification message sending method and device
CN106686040B (en) Message processing method and device
CN106411722B (en) Message transmission method and device
CN111259356B (en) Authorization method, auxiliary authorization component, management server and computer readable medium
CN105812413B (en) Communication method and device
JP2011198361A (en) Device management method and apparatus therefor
KR102033226B1 (en) APPARATUS AND METHOD FOR PROVIDING SECURITY IN HOME IoT
US9456046B2 (en) Dynamic generation of proxy connections
CN113497827B (en) Information sharing method and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A message transmission method and device

Effective date of registration: 20210104

Granted publication date: 20200110

Pledgee: Inner Mongolia Huipu Energy Co.,Ltd.

Pledgor: TVMINING (BEIJING) MEDIA TECHNOLOGY Co.,Ltd.

Registration number: Y2020990001527

PE01 Entry into force of the registration of the contract for pledge of patent right