CN112769672B - Data communication method and device and communication configuration method and device - Google Patents

Data communication method and device and communication configuration method and device Download PDF

Info

Publication number
CN112769672B
CN112769672B CN201911061272.1A CN201911061272A CN112769672B CN 112769672 B CN112769672 B CN 112769672B CN 201911061272 A CN201911061272 A CN 201911061272A CN 112769672 B CN112769672 B CN 112769672B
Authority
CN
China
Prior art keywords
user account
communication
data
list
account
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
CN201911061272.1A
Other languages
Chinese (zh)
Other versions
CN112769672A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911061272.1A priority Critical patent/CN112769672B/en
Publication of CN112769672A publication Critical patent/CN112769672A/en
Application granted granted Critical
Publication of CN112769672B publication Critical patent/CN112769672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a data communication method and device and a communication configuration method and device. Wherein, the method at least comprises: the method comprises the steps that a first data interaction request triggered by the execution operation of a first human-computer interaction interface is obtained in a first instant messaging application client logged in by using a first user account, wherein the first data interaction request is used for requesting to send first communication data to be interacted to a second user account; and under the condition that the first user account is located in a one-way communication account list of a second user account, displaying first prompt information in the first instant messaging application client, wherein the user accounts contained in the one-way communication account list are not configured with sending permission for sending data to the second user account, and the first prompt information is used for prompting to acquire the sending permission. The invention solves the technical problem of communication interference on part of users caused by random interaction of the users in the related technology.

Description

Data communication method and device and communication configuration method and device
Technical Field
The invention relates to the field of computers, in particular to a data communication method and device and a communication configuration method and device.
Background
Along with the promotion of Internet and the wave of the era, the requirement on the mobile informatization transformation of the government and enterprise is more and more urgent. Each government and enterprise unit promotes the flat communication and the real-time cooperation of business movement by gradually establishing an internal instant communication platform and a mobile office system, thereby achieving the purposes of cost reduction and efficiency improvement.
However, in the instant messaging platform with the grouping function provided for each government and enterprise in the related art, a unified address book is provided for each user using the platform. That is, users with different administrative levels in each government and enterprise unit can freely interact with each other, thereby causing a problem of communication interference to partial users when data is communicated.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a data communication method and device and a communication configuration method and device, which at least solve the technical problem of communication interference caused by random interaction of users on part of users in the related art.
According to an aspect of an embodiment of the present invention, there is provided a data communication method, including: the method comprises the steps that a first data interaction request triggered by the execution operation of a first human-computer interaction interface is obtained in a first instant messaging application client logged in by using a first user account, wherein the first data interaction request is used for requesting to send first communication data to be interacted to a second user account; and under the condition that the first user account is located in a one-way communication account list of a second user account, displaying first prompt information in the first instant messaging application client, wherein the user accounts contained in the one-way communication account list are not configured with sending permission for sending data to the second user account, and the first prompt information is used for prompting to acquire the sending permission.
According to another aspect of the embodiments of the present invention, there is provided a communication configuration method, including: displaying a configuration interface matched with a user group to be configured; responding to the operation executed on the configuration interface, and determining a target user account and a one-way communication account list matched with the target user account from a user account list corresponding to the user group, wherein the user account contained in the one-way communication account list is not configured with a sending authority for sending data to the target user account.
According to another aspect of the embodiments of the present invention, there is also provided a data communication apparatus, including: the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a first data interaction request triggered by executing operation on a first human-computer interaction interface in a first instant messaging application client logged in by using a first user account, and the first data interaction request is used for requesting to send first communication data to be interacted to a second user account; the first prompt unit is used for displaying first prompt information in a first instant messaging application client under the condition that the first user account is located in a one-way communication account list of a second user account, wherein the user account contained in the one-way communication account list is not configured with a sending authority for sending data to the second user account, and the first prompt information is used for prompting to acquire the sending authority.
According to another aspect of the embodiments of the present invention, there is also provided a communication configuration apparatus, including: the first display unit is used for displaying a configuration interface matched with the user group to be configured; and a determining unit, configured to determine, in response to an operation performed on the configuration interface, a target user account and a one-way communication account list matched with the target user account from a user account list corresponding to the user group, where a user account included in the one-way communication account list is not configured with a sending right to send data to the target user account.
According to a further aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned data communication method, or communication configuration method, when the computer program is executed.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the data communication method or the communication configuration method through the computer program.
In the embodiment of the invention, after a first data interaction request for requesting to send first communication data to be interacted to a second user account is acquired in a first instant messaging application client logged in by using a first user account, and under the condition that the first user account is determined to be in a one-way communication account list matched with the second user account, first prompt information is displayed in the first instant messaging application client, and a data communication authorization request is sent to the second user account according to the first prompt information. And under the condition of receiving the authorization permission returned by the second instant messaging application client logged in by using the second user account, sending the first communication data to the second user account. Therefore, one-way communication limitation is realized on the first user account requesting to send the first communication data, and the first communication data to be interacted currently can be sent to the second user account only under the condition of receiving the authorization permission of data communication returned by the second user account, so that the technical problem of communication interference on part of users caused by random interaction of users in the related technology is solved.
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 application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a network environment for an alternative method of data communication in accordance with embodiments of the present invention;
FIG. 2 is a flow chart of an alternative method of data communication according to an embodiment of the present invention;
FIG. 3 is an interaction timing diagram of an alternative data communication method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative method of data communication in accordance with embodiments of the present invention;
FIG. 5 is a schematic diagram of an alternative data communication method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of yet another alternative method of data communication in accordance with an embodiment of the present invention;
FIG. 7 is a schematic diagram of yet another alternative method of data communication in accordance with an embodiment of the present invention;
FIG. 8 is a schematic diagram of yet another alternative method of data communication in accordance with an embodiment of the present invention;
FIG. 9 is a schematic diagram of yet another alternative method of data communication in accordance with an embodiment of the present invention;
FIG. 10 is a schematic diagram of yet another alternative method of data communication in accordance with an embodiment of the present invention;
Fig. 11 is a schematic diagram of yet another alternative method of data communication in accordance with an embodiment of the present invention;
FIG. 12 is a schematic diagram of yet another alternative method of data communication in accordance with an embodiment of the present invention;
FIG. 13 is a flow diagram of an alternative communication configuration method according to an embodiment of the present invention;
fig. 14 is a schematic diagram of an alternative communication configuration method according to an embodiment of the present invention;
FIG. 15 is a schematic diagram of an alternative communication configuration method according to an embodiment of the present invention;
FIG. 16 is a flow chart of yet another alternative communication configuration method according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of an alternative data communication device according to an embodiment of the present invention;
FIG. 18 is a schematic block diagram of an alternative communication arrangement according to an embodiment of the present invention;
FIG. 19 is a schematic diagram of an alternative electronic device according to an embodiment of the invention;
fig. 20 is a schematic structural diagram of another alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, there is provided a data communication method, which may be, but is not limited to, applied to a data communication system in a network environment as shown in fig. 1 as an optional implementation manner. The data communication system may include, but is not limited to: terminal device 102, network 104, server 106, and terminal device 108. A first instant messaging application client that logs in using a first user account (e.g., ID-1) is running in terminal device 102, and a second instant messaging application client that logs in using a second user account (e.g., ID-2) is running in terminal device 108. The terminal device 102 includes a human-machine interaction screen 1022, a processor 1024, and a memory 1026. The human-computer interaction screen 1022 is configured to present a first human-computer interaction interface in the first instant messaging application client, and is further configured to provide the human-computer interaction interface to receive a human-computer interaction operation performed on the first human-computer interaction interface, so as to trigger the first data interaction request; the processor 1024 is configured to send the first data interaction request to a background server, and control to display first prompt information on the human-computer interaction screen 1022 when the background server determines that the first user account is located in the one-way communication account list matched with the second user account; and the first prompt message is used for sending a data communication authorization request to the second user account according to the first prompt message, and sending the first communication data to the second user account under the condition of receiving authorization permission. The memory 108 is used for storing the first communication data and account attribute information of the first user account.
In addition, the server 106 includes a database 1062 and a processing engine 1064, and the database 114 is used for storing a user account list belonging to the same group as the first user account and a user account list belonging to the same group as the second user account; and the system is also used for storing a one-way communication account list matched with the first user account and a one-way communication account list matched with the second user account. The processing engine 116 is configured to determine whether the first user account is located in the list of unidirectional communication accounts matched with the second user account according to the first data interaction request. Further, the terminal device 108 includes a human-computer interaction screen 1082, a processor 1084 and a memory 1086. The human-computer interaction screen 1082 is configured to prompt a data communication authorization request sent by the first user account, and is further configured to provide a human-computer interaction interface to receive a human-computer interaction operation performed on the second human-computer interaction interface, so as to return a response message; and is also used for displaying the received first communication data. Processor 1084 is configured to send a response message to the first user account, where the response message is triggered by performing an operation on the second human machine interface. The memory 1086 is used for storing the first communication data and account attribute information of the first user account.
The specific process comprises the following steps: in steps S102-S118, a first data interaction request triggered by an operation performed on the first human-machine interaction interface is obtained through the human-machine interaction screen 1022 in the terminal device 102, and the first data interaction request is sent to the server 106 through the network 104. Processing engine 1064 in server 106 invokes database 1062 to determine whether the first user account is in the list of one-way communication accounts matched with the second user account. In the case where it is determined that the first user account is located in the list of unidirectional communication accounts matched with the second user account, the result of the determination is sent to the terminal device 102 through the network 104. The processor 1024 in the terminal device 102 controls the human-computer interaction screen 1022 to display the first prompt message, and obtains the data communication authorization request according to the first prompt message. Then, the data communication authorization request is sent to the terminal device 108 through the network 104, after the terminal device 108 prompts, through the human-computer interaction screen 1082, that the data communication authorization request sent by the first user account is received, the processor 1084 responds to an operation executed on the second human-computer interaction interface presented by the human-computer interaction screen 1082, generates a response message, and returns the response message to the terminal device 102. In the case where the authorization permission is carried in the response message, the terminal device 102 will send the first communication data to the terminal device 108 through the network 104.
It should be noted that, in this embodiment, after a first data interaction request for requesting to send to-be-interacted first communication data to a second user account is acquired in a first instant messaging application client that logs in by using a first user account, and when it is determined that the first user account is located in a one-way communication account list that is matched with the second user account, first prompt information is displayed in the first instant messaging application client, and a data communication authorization request is sent to the second user account according to the first prompt information. And under the condition of receiving the authorization permission returned by the second instant messaging application client logged in by using the second user account, sending the first communication data to the second user account. Therefore, one-way communication limitation is realized on the first user account requesting to send the first communication data, and the first communication data to be interacted currently can be sent to the second user account only under the condition of receiving the authorization permission of data communication returned by the second user account, so that the problem of communication interference caused to the second user account is avoided. Furthermore, the interaction authority of each user account in the user group is flexibly configured, and the customization effect of the data communication process is realized.
Optionally, in this embodiment, the data communication method may be, but is not limited to, applied to a terminal device, and the terminal device may be, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a PC, and other terminal devices that support running of an application client. The server and the terminal device may implement data interaction through a network, which may include but is not limited to a wireless network or a wired network. Wherein, this wireless network includes: bluetooth, WIFI, and other networks that enable wireless communication. Such wired networks may include, but are not limited to: wide area networks, metropolitan area networks, and local area networks. The above is merely an example, and this is not limited in this embodiment.
Optionally, as an optional implementation manner, as shown in fig. 2, the data communication method includes:
s202, acquiring a first data interaction request triggered by executing operation on a first human-computer interaction interface in a first instant messaging application client logged in by using a first user account, wherein the first data interaction request is used for requesting to send first communication data to be interacted to a second user account;
and S204, under the condition that the first user account is located in a one-way communication account list of a second user account, displaying first prompt information in the first instant messaging application client, wherein the user account contained in the one-way communication account list is not configured with a sending authority for sending data to the second user account, and the first prompt information is used for prompting to acquire the sending authority.
Optionally, in this embodiment, the data communication method may be, but is not limited to, applied to an instant communication platform with a group property, such as a terminal application used in a unit organization for instant communication, that is, all users in the unit organization register user accounts in the terminal application, and the user accounts all belong to the same user group corresponding to the unit organization, so that the users can complete the processes of communication or processing of work matters quickly. The above description is merely an example, and the present embodiment is not limited thereto.
It should be noted that, in this embodiment, the first user account and the second user account may be, but not limited to, in a user group corresponding to the same organization, and the second user account may be found in a communication account list matched with the first user account provided by the instant messaging application platform.
Optionally, in this embodiment, the first prompting message may be, but is not limited to, a message for prompting the user using the first user account to determine whether to send the data communication authorization request to the second user account. The prompting mode of the first prompting message may include, but is not limited to, at least one of the following: text, speech, short video. Taking text prompt as an example, displaying text prompt information in the first instant messaging application client: "does it apply to send a message to the second user account? The other party can receive the message only after applying for the message. The above is merely an example, and this is not limited in this embodiment.
Optionally, in this embodiment, after the first prompt information is displayed in the first instant messaging application client, the method further includes: sending a data communication authorization request to a second user account according to the first prompt message, wherein the data communication authorization request is used for requesting to allow the first user account to send data to the second user account; and under the condition of receiving the authorization permission returned by the second instant messaging application client using the second user account, sending the first communication data to the second user account.
Optionally, in this embodiment, after the second instant messaging application client receives the data communication authorization request, a prompt message may be displayed in the second instant messaging application client, but is not limited to, to prompt the user using the second user account to confirm whether to allow receiving the data sent by the first user account. The prompting mode of the prompting information here may include but is not limited to at least one of the following: text, speech, short video. Taking text prompt as an example, displaying text prompt information in the second instant messaging application client: "whether to accept the message sent by the first user account. The above is merely an example, and this is not limited in this embodiment.
Optionally, in this embodiment, when it is determined that the first user account is located in the list of unidirectional communication accounts matched with the second user account, it may also be determined, but is not limited to, whether the first user account is located in a white list associated with the list of unidirectional communication accounts. When the first user account is in the one-way communication account list but not in the white list, first prompt information still needs to be displayed in the first instant messaging application client; and when the first user account is located in the one-way communication account list and the user account is located in the white list, allowing the first user account to send data to the second user account. That is, special interaction permissions are set for a portion of specific user accounts by configuring a white list associated with a list of one-way communication accounts.
For example, if the second user account is a "group leader account", and the first user account is a "group member account", where the first user account is located in the list of unidirectional communication accounts matched with the second user account, the first user account cannot directly send data to the second user account. Therefore, one-way communication of the group leader to the group member is realized, a communication barrier is set for the group member, and communication interference caused by frequent message sending of the group member to the group leader is avoided. Further, if the first user account is a group leader assistant account in the group member accounts, it may be determined that the first user account is still in the white list, and the first user account is allowed to directly send data to the second user account.
Further, in this embodiment, after the first communication data is sent to the second user account, the method may further include, but is not limited to:
1) updating a one-way communication account list matched with the second user account;
2) updating a white list associated with the list of unidirectional communication accounts matched with the second user account;
3) the list of unidirectional communication accounts is not updated.
It should be noted that after completing a data communication process, the configuration in the one-way communication account list may not be updated, that is, the first user account is still located in the one-way communication account list matched with the second user account, so that a data communication authorization request needs to be sent to the second user account when the first user account requests to send data to the second user account next time. In addition, the configuration in the one-way communication account list can be updated: (1) deleting the first user account from a one-way communication account list matched with the second user account; (2) and adding the first user account into a white list associated with the list of the unidirectional communication accounts matched with the second user account. The above update configuration manner is only an example, and the update manner and the update period are not limited in this embodiment.
In addition, in this embodiment, the white list and the unidirectional communication account list may be configured separately, or may be configured in an associated manner. The manner of individual configuration here may include, but is not limited to: and manually selecting and configuring the user account included in the unidirectional communication account list and the user account included in the white list respectively. And the manner of the associated configuration here may include but is not limited to: after selecting a group according to a group or a label, it may be default that all user accounts under the group or the label will be the user accounts included in the one-way communication account list. Further, the user accounts included in the white list are determined by manually selecting the configuration.
The description is made with reference to fig. 3 specifically: assuming that the above-described data communication method is applied to the data communication system as shown in fig. 3, steps S302 to S318 are performed:
after a first instant messaging application client 302 logged in by using a first user account acquires a first data interaction request for requesting to send first communication data to a second user account, the first data interaction request is sent to a background server 304, so that the background server 304 determines whether the first user account is located in a one-way communication account list matched with the second user account, wherein the user accounts in the one-way communication account list are not configured with sending permission for sending data to the second user account. And when the obtained judgment result indicates that: and sending the judgment result to the first instant messaging application client 302 under the condition that the first user account is determined to be located in the one-way communication account list. The first prompt message is displayed in the first instant messaging application client 302, and a data communication authorization request is sent to the second instant messaging application client 306 according to the first prompt message. After obtaining the response message, the second instant messaging application client 306 sends the response message to the first instant messaging application client 302, and allows the first user account to send the first communication data to the second user account when the response message carries the authorization permission.
According to the embodiment provided by the application, after a first data interaction request for requesting to send to-be-interacted first communication data to a second user account is acquired in a first instant messaging application client logged in by using a first user account, and under the condition that the first user account is determined to be in a one-way communication account list matched with the second user account, first prompt information is displayed in the first instant messaging application client, and a data communication authorization request is sent to the second user account according to the first prompt information. And under the condition of receiving the authorization permission returned by the second instant messaging application client logged in by using the second user account, sending the first communication data to the second user account. Therefore, one-way communication limitation is realized on the first user account requesting to send the first communication data, and the first communication data to be interacted currently can be sent to the second user account only under the condition of receiving the authorization permission of data communication returned by the second user account, so that the problem of communication interference caused to the second user account is avoided. Furthermore, the interaction authority of each user account in the user group is flexibly configured, and the customization effect of the data communication process is realized.
As an optional scheme, in a case that the first user account is located in a list of one-way communication accounts matched with the second user account, displaying the first prompt message in the first instant messaging application client includes:
and S1, when the first user account is located in the one-way communication account list and is not located in the white list corresponding to the one-way communication account list, displaying the first prompt message in the first instant messaging application client.
Optionally, in this embodiment, after obtaining the first data interaction request triggered by the operation performed on the first human-computer interaction interface, the method further includes: and under the condition that the first user account is located in the one-way communication account list and is located in the white list, sending the first communication data to the second user account.
It should be noted that, in this embodiment, but not limited to, an associated white list may be configured for the unidirectional communication account list. The configuration mode of the user account included in the white list and the one-way communication account list comprises the following steps: 1) the method can be separately configured, that is, at least one user account is selected from a user account list associated with a second user account and stored in a one-way communication account list, and then at least one user account is selected from the one-way communication account list and stored in a white list. 2) And the method can be configured in an associated manner, namely all user accounts in a user account list associated with the second user account are stored in a one-way communication account list by default, and then at least one user account is directly selected from the user account list associated with the second user account and stored in a white list.
For example, as shown in fig. 4, assuming that the first user account (e.g., ID-1) is located in the list of unidirectional communication accounts matched with the second user account ID-2, but is not located in the white list corresponding to the list of unidirectional communication accounts, the first prompt message is displayed in the first instant messaging application client. After clicking a "send message" key to trigger a first data interaction request as shown in fig. 5(a), in a case that the background determines that a first user account (e.g., ID-1) is located in a one-way communication account list matched with a second user account ID-2 but is not located in a white list corresponding to the one-way communication account list, displaying first prompt information as shown in fig. 5 (b): "apply for: is it applied to send a message to ID-2? The other party can receive the message only after applying for the message. "
For another example, as shown in fig. 6, assuming that the first user account (e.g., ID-1) is located in the unidirectional communication account list matched with the second user account ID-2 and is located in a white list corresponding to the unidirectional communication account list, the first communication data may be directly transmitted. As shown in fig. 7(a), after the "send message" button is clicked to trigger the first data interaction request, if the background determines that the first user account (for example, ID-1) is located in the one-way communication account list matched with the second user account ID-2 and is located in the white list corresponding to the one-way communication account list, the background directly enters the session interface, and sends the first communication data (for example, "hello") to the second user account ID-2.
According to the embodiment provided by the application, under the condition that the first user account is located in the one-way communication account list matched with the second user account, whether the first user account is located in the white list associated with the one-way communication account list is further determined, so that the interaction authority of the second user account can be controlled more flexibly, the normal data communication process can be ensured under the condition that unnecessary communication interference is avoided, communication barriers do not need to be set for all user accounts, and the communication efficiency is ensured.
As an optional solution, the sending the data communication authorization request to the second user account according to the first prompt message includes:
s1, acquiring a first operation executed according to the first prompt message;
s2, responding to the first operation, displaying a message editing area in the first instant messaging application client;
s3, generating a data communication authorization request under the condition that the message editing area is detected to be not empty and the second operation executed on the message editing area is obtained;
and S4, sending the data communication authorization request to the second user account.
Optionally, in this embodiment, the message editing area may be, but is not limited to, an interactive verification editing area provided for the first user account, and is used for the second user account to verify the identity or the interactive transaction of the first user account. The content in the message editing area can be manually input by a user using the first user account, and account attribute information of the first user account in the first instant messaging application client can be called to directly and automatically input into the message editing area. Here, the account attribute information may include, but is not limited to: an account ID, a nickname or account label, etc. That is, the content in the message editing area may adopt default configuration content, or may temporarily input the content, which is not limited in this embodiment.
For example, as shown in fig. 8(a), after a click operation performed on a "ok" key corresponding to the first prompt information is detected, the interface shown in fig. 8 is displayed in a skipping manner, after it is detected that the content in the message editing area 802 is not empty and a confirmation instruction triggered by the click operation performed on the "ok" key at the upper right corner is detected, a data communication authorization request corresponding to the first data interaction request is generated and sent to the second user account, so that the second user account authorizes the first user account to perform data transmission.
According to the embodiment provided by the application, before the data communication authorization request is sent, the related information for verifying the identity of the first user account can be acquired through the message-leaving editing area, so that the safety and the high efficiency of data interaction are ensured, and unnecessary interference to the second user account is avoided.
As an optional scheme, after the sending the first communication data to the second user account, the method further includes:
s1, acquiring a second data interaction request in the first instant messaging application client, wherein the second data interaction request is used for requesting to send second communication data to a second user account;
S2, displaying first prompt information in the first instant messaging application client under the condition that the first user account is in the one-way communication account list;
s3, sending a data communication authorization request to the second user account according to the first prompt message;
and S4, sending the second communication data to the second user account under the condition of receiving the authorization permission returned by the second instant messaging application client.
It should be noted that, in this embodiment, after the first communication data is transmitted, the second communication data may also be continuously transmitted. Here, when the second communication data is sent, it still needs to be determined whether the first user account is located in the list of one-way communication accounts matched with the second user account. That is, when the authorization permission obtained when the first communication data is sent is a single communication permission, and when the second communication data is further sent, the first prompt information still needs to be displayed, and the data communication authorization request is sent to the second user account according to the first prompt information. And then, in the case of receiving the authorization permission, sending the second communication data to the second user account. And if the authorization permission is not received, the second communication data cannot be successfully sent to the second user account.
According to the embodiment provided by the application, after the first communication data is successfully sent, the one-way communication account list matched with the second user account is not updated, so that after the second communication data is sent again, a data communication authorization request still needs to be sent to the second user account. Therefore, the situation that all subsequent communication authorities are directly opened after one-time communication is successful is avoided, and the communication protection of the second user account is ensured.
As an optional scheme, after the sending the first communication data to the second user account, the method further includes:
1) updating a one-way communication account list matched with the second user account, wherein the first user account is deleted from the updated one-way communication account list; and/or
2) And updating a white list corresponding to the unidirectional communication account list, wherein the first user account is added in the white list corresponding to the updated unidirectional communication account list.
For example, after the first communication data is successfully transmitted, the content shown in fig. 9(a) in the configuration interface may be adjusted to the content shown in fig. 9(b), that is, the "first user account ID-1" in the one-way communication account list is deleted (as shown by a deletion line in fig. 9 (b)). For another example, after the first communication data is successfully transmitted, the content shown in fig. 10(a) in the configuration interface may be adjusted to the content shown in fig. 10(b), that is, the "first user account ID-1" in the one-way communication account list is added to the white list. Therefore, when the first user account ID-1 requests to send the communication data to the second user account again, the communication data can be directly sent without sending a data communication authorization request to the second user account to acquire the sending permission of the sending data.
According to the embodiment provided by the application, the sending permission of the first user account for sending data to the second user account is timely updated by updating the one-way communication account list matched with the second user account and/or the white list corresponding to the one-way communication account list, so that the subsequent first user account can directly send the data to the second user account without re-verification, the verification steps of data communication are reduced, and the data communication efficiency is improved.
As an optional scheme, after sending the data communication authorization request to the second user account according to the first prompt message, the method further includes:
s1, the second instant messaging application client receives the data communication authorization request;
s2, after a determining instruction triggered by the confirmation operation executed on the second human-computer interaction interface is obtained in the second instant messaging application client, generating a data communication response message corresponding to the data communication authorization request, wherein the data communication response message carries authorization permission;
and S3, the second instant messaging application client sends the data communication response message to the first instant messaging application client.
Specifically, the description will be made with reference to fig. 11: it is assumed that after receiving the data communication authorization request in the second instant messaging application client, the prompt content is as shown in fig. 11, which includes the message content input by the first user account. Further, after a determination instruction triggered by the click operation executed by the 'pass' key set in the human-computer interaction interface is acquired, a data communication response message corresponding to the data communication authorization request is generated, wherein the data communication response message carries authorization permission. And then returning the data communication response message to the first instant messaging application client.
In addition, if a data communication response message corresponding to the data communication authorization request is generated after a rejection instruction triggered by the click operation executed on a 'reject' key arranged in the human-computer interaction interface is acquired, the data communication response message contains a default authorization permission, that is, does not carry an authorization permission.
According to the embodiment provided by the application, after the second instant messaging application client receives the data communication authorization request, the determining instruction triggered by the execution of the confirmation operation is acquired in the second human-computer interaction interface to generate the data communication response message, and the data communication response message carries the authorization intention of the user using the second user account. And returning the data communication response message to the first instant messaging application client logged in by the first user account, thereby realizing timely feedback of the verification result of the data communication of the first user account and avoiding long-time invalid waiting.
As an optional scheme, before obtaining a first data interaction request triggered by an operation performed on the first human-machine interaction interface, the method further includes:
s1, configuring a one-way communication account list for the second user account in a configuration interface of the background server; alternatively, the first and second electrodes may be,
And S2, configuring a one-way communication account list and a white list corresponding to the one-way communication account list for the second user account in a configuration interface of the background server.
For example, the configuration interface may select a user account with the configuration authority, such as the second user account ID-2, by configuring an "add" area on the left side of the interface as shown in fig. 12. Further, the user accounts included in the unidirectional communication account list or the user accounts included in the white list are selected in the right area.
It should be noted that the content and the display layout displayed in the configuration interface are only examples, and this is not limited in this embodiment.
According to the embodiment provided by the application, the configuration visualization is realized on the background server, the second user account is selected, and the one-way communication account list and the white list are configured for the second user account, so that the flexible control of the data communication process of the second user account is realized, and the purpose of customized communication is achieved.
According to another aspect of the embodiment of the invention, a communication configuration method is also provided. As shown in fig. 13, the method includes:
s1302, displaying a configuration interface matched with the user group to be configured;
And S1304, responding to the operation executed on the configuration interface, and determining a target user account and a one-way communication account list matched with the target user account from the user account list corresponding to the user group, wherein the user accounts contained in the one-way communication account list are not configured with a sending authority for sending data to the target user accounts.
It should be noted that, in this embodiment, but not limited to, an associated white list may be configured for the unidirectional communication account list. The configuration mode of the user account included in the white list and the one-way communication account list comprises the following steps: 1) the method can be separately configured, that is, at least one user account is selected from a user account list associated with a second user account and stored in a one-way communication account list, and then at least one user account is selected from the one-way communication account list and stored in a white list. 2) And the method can be configured in an associated manner, namely all user accounts in a user account list associated with the second user account are stored in a one-way communication account list by default, and then at least one user account is directly selected from the user account list associated with the second user account and stored in a white list.
For example, as shown in fig. 14(a), the user account to be configured with the authority is selected by configuring an "add" area on the left side of the interface, and further, the user account included in the unidirectional communication account list is selected by configuring an area on the right side of the interface. Suppose that, as shown in fig. 14(b), the second user account ID-2 is selected to be configured with the authority, further, all the user accounts corresponding to all the persons are still selected as the user accounts included in the unidirectional communication account list, and then the third user account ID-3 is selected as the user account in the white list. That is, when the third user account ID-3 sends a data interaction request to the second user account ID-2, the third user account ID-3 may be in the white list, and then the data may be directly sent; and the first user account ID-1 is located in the one-way communication list, a data communication authorization request needs to be sent to the second user account ID-2, and data can be sent only after authorization permission is obtained.
Optionally, in this embodiment, the communication configuration method may be, but is not limited to, applied to the data communication method, and an application environment and an implementation embodiment of the communication configuration method may refer to an embodiment in the data communication method, which is not described herein again in this embodiment.
As an optional scheme, in response to an operation performed on the configuration interface, determining a target user account and a list of one-way communication accounts matched with the target user account from a list of user accounts corresponding to the user group includes:
s1, acquiring a first configuration operation executed on a first configuration area in the configuration interface;
s2, responding to the first configuration operation, and displaying a user account list;
and S3, selecting a target user account from the user account list.
Specifically, as described with reference to fig. 15, after the click configuration operation is performed on the "add" key shown in fig. 15(a), an interface shown in fig. 15(b) is displayed in response to the click configuration operation, where the interface includes a user account list. Here, the user account list may be displayed according to an organizational structure, or may be displayed according to a label, which is not limited in this example.
After the item "duffel" (ID-2) is selected, it is displayed on the right side as shown in fig. 15(b) to prompt the selected duffel as a target user account, and an interaction right will be configured for the item.
By the embodiment provided by the application, the user account lists can be displayed from different latitudes, and the target user account is selected from the user account lists, so that a one-way communication account list or a white list can be configured for the target user account. Therefore, communication protection of the target user account is achieved, and unnecessary communication interference of other user accounts on the target user account is avoided.
As an optional scheme, in response to an operation performed on the configuration interface, determining a target user account and a list of one-way communication accounts matched with the target user account from a list of user accounts corresponding to the user group includes:
s1, acquiring a second configuration operation executed on a second configuration area in the configuration interface;
s2, responding to the second configuration operation, and displaying a user account list;
and S3, selecting at least one user account from the user account list as the user account in the one-way communication account list.
It should be noted that, the user account in the one-way communication account list may be a default owner, or may be manually configured and selected, and the configuration process may refer to the foregoing embodiment, which is not described herein again.
As an optional scheme, in response to an operation performed on the configuration interface, determining a target user account and a list of one-way communication accounts matched with the target user account from a list of user accounts corresponding to the user group includes:
s1, acquiring a third configuration operation executed on a third configuration area in the configuration interface;
s2, responding to the third configuration operation, and displaying a user account list;
s3, selecting at least one user account from the user account list as a white list corresponding to the unidirectional communication account list, and using other user accounts except the white list in the user account list as user accounts in the unidirectional communication account list.
Specifically, as described with reference to fig. 16, after the click configuration operation is performed on the "white list" area shown in fig. 16(a), an interface shown in fig. 16(b) is displayed in response to the click configuration operation, where the interface includes a user account list. Here, the user account list may be displayed according to an organizational structure, or may be displayed according to a label, which is not limited in this example.
After the "old king" (ID-3) is selected, it is displayed on the right side as shown in fig. 16(b) to prompt the selected old king to be a user account in the white list, and the "old king" is stored in the white list.
By the embodiment provided by the application, the user account list can be displayed from different latitudes, and the user account in the white list is selected from the user account list, so that the white list can be configured for the target user account. Therefore, under the condition of realizing communication protection of the target user account, normal data communication can be ensured, and the communication efficiency is ensured.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art will appreciate that the embodiments described in this specification are presently preferred and that no acts or modules are required by the invention.
According to another aspect of the embodiments of the present invention, there is also provided a data communication apparatus for implementing the above data communication method. As shown in fig. 17, the apparatus includes:
1) a first obtaining unit 1702, configured to obtain, in a first instant messaging application client logged in by using a first user account, a first data interaction request triggered by performing an operation on a first human-computer interaction interface, where the first data interaction request is used to request to send first communication data to be interacted to a second user account;
2) a first prompt unit 1704, configured to display first prompt information in the first instant messaging application client when the first user account is located in a one-way communication account list of the second user account, where a user account included in the one-way communication account list is not configured with a sending authority to send data to the second user account, and the first prompt information is used to prompt to acquire the sending authority.
Optionally, in this embodiment, the data communication method may be, but is not limited to, applied to an instant communication platform with a group property, such as a terminal application used in a unit organization for instant communication, that is, all users in the unit organization register user accounts in the terminal application, and the user accounts all belong to the same user group corresponding to the unit organization, so that the users can complete the processes of communication or processing of work matters quickly. The above is merely an example, and this is not limited in this embodiment.
Optionally, in this embodiment, the data communication apparatus may be but is not limited to be applied to the data communication method process, and here, the application environment and implementation embodiment of the data communication apparatus may refer to the embodiment in the data communication method, which is not described herein again.
As an alternative, the first prompting unit 1704 includes:
1) the first prompt module is used for displaying first prompt information in the first instant messaging application client under the condition that the first user account is located in the one-way communication account list and is not located in a white list corresponding to the one-way communication account list.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
As an optional scheme, the method further comprises the following steps:
1) and the third sending unit is used for sending the first communication data to the second user account under the condition that the first user account is located in the one-way communication account list and is located in the white list after the first data interaction request triggered by the operation executed on the first human-computer interaction interface is acquired.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
As an optional solution, the apparatus further includes:
1) the first sending unit is used for sending a data communication authorization request to the second user account according to the first prompt message, wherein the data communication authorization request is used for requesting permission of the first user account to send data to the second user account;
2) and the second sending unit is used for sending the first communication data to the second user account under the condition of receiving the authorization permission returned by the second instant messaging application client using the second user account.
As an alternative, the first sending unit includes:
1) the first obtaining module is used for obtaining a first operation executed according to the first prompt message;
2) the display module is used for responding to the first operation and displaying a message editing area in the first instant messaging application client;
3) the generation module is used for generating a data communication authorization request under the condition that the message editing area is detected to be not empty and the second operation executed on the message editing area is obtained;
4) and the first sending module is used for sending the data communication authorization request to the second user account.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
As an optional scheme, the method further comprises the following steps:
1) a fourth sending unit, configured to obtain, in the first instant messaging application client, a second data interaction request after sending the first communication data to the second user account, where the second data interaction request is used to request that the second communication data be sent to the second user account;
2) the second display unit is used for displaying the first prompt message in the first instant messaging application client under the condition that the first user account is located in the one-way communication account list;
3) a fifth sending unit, configured to send a data communication authorization request to the second user account according to the first prompt information;
4) and the sixth sending unit is used for sending the second communication data to the second user account under the condition of receiving the authorization permission returned by the second instant messaging application client.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
According to another aspect of the embodiment of the present invention, there is also provided a communication configuration apparatus for implementing the communication configuration method. As shown in fig. 18, the apparatus includes:
1) a first display unit 1802, configured to display a configuration interface matched with a user group to be configured;
2) A determining unit 1804, configured to determine, in response to an operation performed on the configuration interface, a target user account and a one-way communication account list matched with the target user account from a user account list corresponding to the user group, where a user account included in the one-way communication account list is not configured with a sending authority for sending data to the target user account.
Optionally, in this embodiment, the communication configuration apparatus may be, but is not limited to, applied to the data communication apparatus, and here, the application environment and implementation embodiment of the communication configuration apparatus may refer to the embodiments in the data communication method and apparatus, which are not described herein again.
As an optional solution, the determining unit 1804 includes:
1) the first acquisition module is used for acquiring a first configuration operation executed on a first configuration area in the configuration interface;
2) the first display module is used for responding to the first configuration operation and displaying a user account list;
3) the first selection module is used for selecting a target user account from the user account list.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
As an optional solution, the determining unit 1804 includes:
1) the second acquisition module is used for acquiring a second configuration operation executed on a second configuration area in the configuration interface;
2) the second display module is used for responding to the second configuration operation and displaying the user account list;
3) and the second selection module is used for selecting at least one user account from the user account list as the user account in the one-way communication account list.
The embodiment in this embodiment may refer to the method embodiment, but is not limited thereto.
As an optional solution, the determining unit 1804 includes:
1) the third obtaining module is used for obtaining a third configuration operation executed on a third configuration area in the configuration interface;
2) the third display module is used for responding to the third configuration operation and displaying the user account list;
3) and the third selection module is used for selecting at least one user account from the user account list as a white list corresponding to the unidirectional communication account list, and taking other user accounts except the white list in the user account list as the user accounts in the unidirectional communication account list.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
According to a further aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the data communication method, as shown in fig. 19, the electronic device includes a memory 1902 and a processor 1904, the memory 1902 stores therein a computer program, and the processor 1904 is configured to execute the steps in any one of the method embodiments through the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a first data interaction request triggered by executing operation on a first human-computer interaction interface in a first instant messaging application client logged in by using a first user account, wherein the first data interaction request is used for requesting to send first communication data to be interacted to a second user account;
and S2, displaying first prompt information in the first instant messaging application client under the condition that the first user account is located in a one-way communication account list of the second user account, wherein the user account contained in the one-way communication account list is not configured with a sending authority for sending data to the second user account, and the first prompt information is used for prompting to acquire the sending authority.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 19 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 19 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 19, or have a different configuration than shown in FIG. 19.
The memory 1902 may be used to store software programs and modules, such as program instructions/modules corresponding to the data communication method and apparatus in the embodiments of the present invention, and the processor 1904 executes various functional applications and data processing by running the software programs and modules stored in the memory 1902, so as to implement the data communication method described above. The memory 1902 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1902 may further include memory located remotely from the processor 1904, which may be connected to a terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1902 may be specifically, but not limited to, used for storing attribute information of the user account and information such as the first communication data. As an example, as shown in fig. 19, the memory 1902 may include, but is not limited to, a first obtaining unit 1702 and a first prompting unit 1704 in the data communication device. In addition, the data communication device may further include, but is not limited to, other module units in the data communication device, which is not described in detail in this example.
Optionally, the transmitting device 1906 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1906 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices so as to communicate with the internet or a local area Network. In one example, the transmission device 1906 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1908 for displaying the first communication data; and a connection bus 1910 for connecting the respective module parts in the above-described electronic apparatus.
According to yet another aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the communication configuration method, as shown in fig. 20, the electronic device includes a memory 2002 and a processor 2004, the memory 2002 stores therein a computer program, and the processor 2004 is configured to execute the steps in any one of the method embodiments described above through the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, displaying a configuration interface matched with the user group to be configured;
and S2, responding to the operation executed on the configuration interface, and determining a target user account and a one-way communication account list matched with the target user account from the user account list corresponding to the user group, wherein the user accounts contained in the one-way communication account list are not configured with a sending authority for sending data to the target user account.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 20 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 20 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 20, or have a different configuration than shown in FIG. 20.
The memory 2002 may be configured to store software programs and modules, such as program instructions/modules corresponding to the communication configuration method and apparatus in the embodiments of the present invention, and the processor 2004 executes various functional applications and data processing by executing the software programs and modules stored in the memory 2002, that is, the communication configuration method described above is implemented. The memory 2002 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 2002 may further include memory located remotely from the processor 2004, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 2002 may be specifically, but not limited to, used to store information such as user account attribute information. As an example, as shown in fig. 20, the memory 2002 may include, but is not limited to, a first display unit 1802 and a determination unit 1804 in the communication configuration apparatus. In addition, other module units in the communication configuration apparatus may also be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmission means 2006 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 2006 includes a Network adapter (NIC) that can be connected to a router via a Network cable to communicate with the internet or a local area Network. In one example, the transmission device 2006 is a Radio Frequency (RF) module that is configured to communicate with the internet via wireless.
In addition, the electronic device further includes: the display 2008 is used for displaying a configuration interface of the user account; and a connection bus 2010 for connecting the respective module components in the above-described electronic apparatus.
According to a further aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
S1, acquiring a first data interaction request triggered by executing operation on a first human-computer interaction interface in a first instant messaging application client logged in by using a first user account, wherein the first data interaction request is used for requesting to send first communication data to be interacted to a second user account;
and S2, displaying first prompt information in the first instant messaging application client under the condition that the first user account is located in a one-way communication account list of the second user account, wherein the user account contained in the one-way communication account list is not configured with a sending authority for sending data to the second user account, and the first prompt information is used for prompting to acquire the sending authority.
Optionally, in this embodiment, the computer-readable storage medium may be further configured to store a computer program for executing the following steps:
s1, displaying a configuration interface matched with the user group to be configured;
and S2, responding to the operation executed on the configuration interface, and determining a target user account and a one-way communication account list matched with the target user account from the user account list corresponding to the user group, wherein the user accounts contained in the one-way communication account list are not configured with a sending authority for sending data to the target user account.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be 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, units or modules, and may be in an electrical or other form.
The 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 invention 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 integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (14)

1. A method of data communication, comprising:
the method comprises the steps that a first data interaction request triggered by the execution operation of a first human-computer interaction interface is obtained in a first instant messaging application client logged in by using a first user account, wherein the first data interaction request is used for requesting to send first communication data to be interacted to a second user account;
under the condition that the first user account is located in a one-way communication account list of the second user account, displaying first prompt information in the first instant messaging application client, wherein the user accounts contained in the one-way communication account list are not configured with sending permission for sending data to the second user account, and the first prompt information is used for prompting to acquire the sending permission;
Sending a data communication authorization request to the second user account according to the first prompt message, wherein the data communication authorization request is used for requesting to allow the first user account to send data to the second user account, the data communication authorization request carries contents of a message leaving editing area, and the message leaving editing area is used for the second user account to verify the identity or interactive transaction of the first user account;
and under the condition of receiving the authorization permission returned by a second instant messaging application client using the second user account, sending the first communication data to the second user account.
2. The method of claim 1, wherein displaying a first prompt in the first instant messaging application client if the first user account is in a list of one-way communication accounts that match the second user account comprises:
and under the condition that the first user account is located in the one-way communication account list and is not located in a white list corresponding to the one-way communication account list, displaying the first prompt message in the first instant messaging application client.
3. The method of claim 2, after the obtaining the first data interaction request triggered by the operation performed on the first human-machine interaction interface, further comprising:
and sending the first communication data to the second user account under the condition that the first user account is located in the unidirectional communication account list and in the white list.
4. The method of claim 1, wherein sending a data communication authorization request to the second user account according to the first prompting message comprises:
acquiring a first operation executed according to the first prompt message;
responding to the first operation, and displaying a message editing area in the first instant messaging application client;
generating the data communication authorization request under the condition that the message editing area is detected to be not empty and a second operation executed on the message editing area is obtained;
and sending the data communication authorization request to the second user account.
5. The method of claim 1, wherein after the sending the first communication data to the second user account, further comprising:
Acquiring a second data interaction request in the first instant messaging application client, wherein the second data interaction request is used for requesting to send second communication data to the second user account;
displaying the first prompt message in the first instant messaging application client under the condition that the first user account is located in the one-way communication account list;
sending the data communication authorization request to the second user account according to the first prompt message;
and under the condition of receiving the authorization permission returned by the second instant messaging application client, sending the second communication data to the second user account.
6. The method of claim 1, wherein after the sending the first communication data to the second user account, further comprising:
updating the one-way communication account list matched with the second user account, wherein the first user account is deleted from the updated one-way communication account list; and/or
And updating a white list corresponding to the unidirectional communication account list, wherein the first user account is added to the updated white list corresponding to the unidirectional communication account list.
7. The method according to any one of claims 4 to 6, further comprising, after the sending of the data communication authorization request to the second user account according to the first prompt message:
the second instant messaging application client receives the data communication authorization request;
after a determining instruction triggered by the execution of a confirmation operation on a second human-computer interaction interface is acquired in the second instant messaging application client, generating a data communication response message corresponding to the data communication authorization request, wherein the data communication response message carries the authorization permission;
and the second instant messaging application client sends the data communication response message to the first user account.
8. The method according to any one of claims 4 to 6, wherein before the obtaining the first data interaction request triggered by the operation performed on the first human-machine interaction interface, the method further comprises:
configuring the one-way communication account list for the second user account in a configuration interface of a background server; alternatively, the first and second electrodes may be,
and configuring the one-way communication account list and a white list corresponding to the one-way communication account list for the second user account in a configuration interface of a background server.
9. A method of communication configuration, comprising:
displaying a configuration interface matched with a user group to be configured;
responding to the operation executed on the configuration interface, and determining a target user account and a one-way communication account list matched with the target user account from a user account list corresponding to the user group, wherein the user account contained in the one-way communication account list is not configured with a sending permission for sending data to the target user account, and the user account contained in the one-way communication account list sends first communication data to a second user account under the condition of receiving an authorization permission returned by a second instant messaging application client of the second user account.
10. The method of claim 9, wherein determining, in response to the operation performed on the configuration interface, a target user account and a list of one-way communication accounts matching the target user account from a list of user accounts corresponding to the user group comprises:
acquiring a first configuration operation executed on a first configuration area in the configuration interface; responding to the first configuration operation, and displaying the user account list; selecting the target user account from the user account list;
Acquiring a second configuration operation executed on a second configuration area in the configuration interface; responding to the second configuration operation, and displaying the user account list; selecting at least one user account from the user account list as a user account in the unidirectional communication account list;
acquiring a third configuration operation executed on a third configuration area in the configuration interface; responding to the third configuration operation, and displaying the user account list; and selecting at least one user account from the user account list as a white list corresponding to the unidirectional communication account list, and using other user accounts except the white list in the user account list as the user accounts in the unidirectional communication account list.
11. A data communication apparatus, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a first data interaction request triggered by executing operation on a first human-computer interaction interface in a first instant messaging application client logged in by using a first user account, and the first data interaction request is used for requesting to send first communication data to be interacted to a second user account;
A first prompt unit, configured to display first prompt information in the first instant messaging application client when the first user account is in a unidirectional communication account list of the second user account, where a user account included in the unidirectional communication account list is not configured with a sending permission to send data to the second user account, and the first prompt information is used to prompt to obtain the sending permission;
sending a data communication authorization request to the second user account according to the first prompt message, wherein the data communication authorization request is used for requesting permission of the first user account to send data to the second user account, the data communication authorization request carries contents of a message leaving editing region, and the message leaving editing region is used for allowing the second user account to verify the identity or interactive transaction of the first user account;
and under the condition of receiving an authorization permission returned by a second instant messaging application client using the second user account, sending the first communication data to the second user account.
12. A communication configuration apparatus, comprising:
The first display unit is used for displaying a configuration interface matched with the user group to be configured;
and the determining unit is used for responding to the operation executed on the configuration interface and determining a target user account and a one-way communication account list matched with the target user account from a user account list corresponding to the user group, wherein the user account contained in the one-way communication account list is not configured with a sending permission for sending data to the target user account, and the user account contained in the one-way communication account list sends first communication data to a second user account under the condition of receiving an authorization permission returned by a second instant messaging application client of the second user account.
13. A computer-readable storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 8 or performs the method of any of claims 9 to 10.
14. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the method of any of claims 1 to 8, or the method of any of claims 9 to 10, by means of the computer program.
CN201911061272.1A 2019-11-01 2019-11-01 Data communication method and device and communication configuration method and device Active CN112769672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911061272.1A CN112769672B (en) 2019-11-01 2019-11-01 Data communication method and device and communication configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911061272.1A CN112769672B (en) 2019-11-01 2019-11-01 Data communication method and device and communication configuration method and device

Publications (2)

Publication Number Publication Date
CN112769672A CN112769672A (en) 2021-05-07
CN112769672B true CN112769672B (en) 2022-07-29

Family

ID=75692031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911061272.1A Active CN112769672B (en) 2019-11-01 2019-11-01 Data communication method and device and communication configuration method and device

Country Status (1)

Country Link
CN (1) CN112769672B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202236A (en) * 2014-08-29 2014-12-10 蓝信工场(北京)科技有限公司 Method and system for establishing collaborating group and corresponding instant communication method
CN105430626A (en) * 2015-10-29 2016-03-23 南京步步高通信科技有限公司 Incoming message Do Not Disturb method, and terminal
CN108418747A (en) * 2018-02-23 2018-08-17 平安科技(深圳)有限公司 Method for sending information, device, equipment based on instant messaging and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192920B (en) * 2006-11-21 2015-04-29 华为技术有限公司 A response request method and device
CN101562627A (en) * 2008-04-18 2009-10-21 华为技术有限公司 User attribute inquiry method, method providing service and equipment
US20100125635A1 (en) * 2008-11-17 2010-05-20 Vadim Axelrod User authentication using alternative communication channels
CN102333076A (en) * 2011-07-21 2012-01-25 上海互联网软件有限公司 File sharing system and method, and network information integration system and method
CN104506410B (en) * 2014-12-03 2017-10-20 小米科技有限责任公司 The method and apparatus of instant messaging
CN105307137B (en) * 2015-09-18 2019-05-07 小米科技有限责任公司 Short message read method and device
CN106899418A (en) * 2017-03-31 2017-06-27 努比亚技术有限公司 Information acquisition device and method
CN108848021B (en) * 2018-05-31 2021-06-15 泰康保险集团股份有限公司 Message forwarding method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202236A (en) * 2014-08-29 2014-12-10 蓝信工场(北京)科技有限公司 Method and system for establishing collaborating group and corresponding instant communication method
CN105430626A (en) * 2015-10-29 2016-03-23 南京步步高通信科技有限公司 Incoming message Do Not Disturb method, and terminal
CN108418747A (en) * 2018-02-23 2018-08-17 平安科技(深圳)有限公司 Method for sending information, device, equipment based on instant messaging and storage medium

Also Published As

Publication number Publication date
CN112769672A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US11887176B2 (en) Method for registering customized device, server, and terminal
CN108234475B (en) Account management method, electronic equipment and computer storage medium
US9003297B2 (en) Integrated enterprise software and social network system user interfaces utilizing cloud computing infrastructures and single secure portal access
CN108595919B (en) Software activation method, device, system and storage medium
TW201820168A (en) User information obtaining system, method and device
CN113315869B (en) Content display method, content display device, electronic equipment, content display system and storage medium
CN104123350A (en) Social relation management method, device and system
JP2006191384A (en) Mobile and content transmission method
CN111857498A (en) Data interaction method and device and electronic equipment
CN105592352A (en) File-sharing method and system based on smart TV
TW201633240A (en) Methods and devices for processing information card
CN105491239B (en) The hold-up interception method and device of junk information
CN102970207A (en) Instant communication method, client device and instant communication system
CN113312588A (en) Method, device, equipment and storage medium for managing operation authority of online document
KR102058407B1 (en) Cloud-based virtual smartphone system
CN112769672B (en) Data communication method and device and communication configuration method and device
CN204926177U (en) System for realize punching card through identification code
CN109241727B (en) Permission setting method and device
CN102457577A (en) System and method for automatically establishing a concurrent data connection with respect to the voice dial features of a communications device
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
KR20200064524A (en) A device for creating and sharing digital electronic business cards based on social network services/sites
CN105430056B (en) A kind of remote access method and system of mobile terminal application
CN114996577A (en) Service management method, device, apparatus, storage medium, and program product
CN114466322A (en) Communication method, system, device, storage medium and processor
CN114254278A (en) User account merging method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40043506

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant