[go: up one dir, main page]

WO2019161597A1 - Information sending method, apparatus and device based on instant messaging, and storage medium - Google Patents

Information sending method, apparatus and device based on instant messaging, and storage medium Download PDF

Info

Publication number
WO2019161597A1
WO2019161597A1 PCT/CN2018/082242 CN2018082242W WO2019161597A1 WO 2019161597 A1 WO2019161597 A1 WO 2019161597A1 CN 2018082242 W CN2018082242 W CN 2018082242W WO 2019161597 A1 WO2019161597 A1 WO 2019161597A1
Authority
WO
WIPO (PCT)
Prior art keywords
account
identifier
sending
information
receiving
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.)
Ceased
Application number
PCT/CN2018/082242
Other languages
French (fr)
Chinese (zh)
Inventor
伍旭鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2019161597A1 publication Critical patent/WO2019161597A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • 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
    • H04L63/102Entity profiles
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0245Filtering by information in the payload
    • 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
    • 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
    • H04L63/105Multiple levels of security

Definitions

  • the present application relates to the field of instant messaging, and in particular, to an instant messaging based information transmitting method, apparatus, device and storage medium.
  • the existing instant messaging software is used by more and more enterprises to send instant messages to information.
  • the instant messaging software has an enterprise version. Enterprises use the instant messaging software of the enterprise version to send instant information, which makes the management of instant messaging of enterprises more. Convenient.
  • the enterprise version of the instant messaging software performs messaging compared to the non-enterprise instant messaging software information transmission
  • the enterprise version of the instant messaging software contains less user privacy information
  • the user mainly works in the enterprise version of the instant messaging application.
  • the user information in the enterprise version of the instant messaging software does not need to be verified.
  • the company employees received interference from other employees in the enterprise and reduced the interference of instant messaging information in the enterprise version of instant messaging software, which became a technical problem to be solved urgently.
  • the application provides an instant messaging-based information transmitting method, device, device and storage medium, aiming at reducing IM information interference of the enterprise version instant messaging software.
  • the present application provides a method for transmitting information based on instant messaging, and the method for transmitting information based on instant messaging includes the following steps:
  • Receiving an IM information sending request triggered by the enterprise version of the instant messaging software obtaining the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, wherein the first identifier refers to the sending account Account identifier, the second identifier refers to the account identifier of the receiving account;
  • the sending account has the sending permission of the receiving account, the IM information is sent to the receiving account.
  • the step of obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account has the sending permission of the receiving account includes:
  • the account identifier corresponds to the post information of the user in the enterprise, wherein the preset organizational structure is the enterprise department information defined in advance in the enterprise version instant messaging software according to the enterprise organizational structure;
  • the step of determining, according to the account identifier and the preset organization structure, the account identifier corresponding to the user's job information in the enterprise includes:
  • the department information and the work content information are used as account identifiers corresponding to the user's job information in the enterprise.
  • the step of obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account has the sending permission of the receiving account includes:
  • the sending account has the sending permission of the receiving account.
  • the method further includes :
  • the sending account is granted a single sending permission, so that the sending account sends the IM information to the receiving account corresponding to the receiving account identifier.
  • the step of sending the IM information to the receiving account includes:
  • the account that triggers the forwarding request is used as a new sending account, the account identifier of the new sending account is obtained as a new first identifier, and the account identifier of the new receiving account in the forwarding request is obtained as a new second identifier;
  • the sending account has the forwarding right of the receiving account, the IM information carrying the tag is forwarded to the receiving account.
  • the step of forwarding the IM information carrying the tag to the receiving account includes:
  • the present application further provides an information transmitting apparatus based on instant messaging
  • the instant messaging-based information transmitting apparatus includes:
  • the receiving and receiving module is configured to receive an IM information sending request triggered by the enterprise version of the instant messaging software, and obtain the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, where the first identifier Refers to the account identifier of the sending account, and the second identifier refers to the account identifier of the receiving account;
  • the obtaining judgment module is configured to obtain an operation right corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determine whether the sending account has the sending permission of the receiving account;
  • the information sending module is configured to send the IM information to the receiving account if the sending account has the sending right of the receiving account.
  • the present application further provides an information transmitting device based on instant messaging
  • the instant messaging-based information transmitting device includes: a memory, a processor, and an instant messaging-based information transmitting program stored on the memory and operable on the processor, wherein:
  • the present application also provides a computer storage medium
  • the computer storage medium stores an instant messaging-based information transmitting program, and the instant messaging-based information transmitting program is executed by the processor to implement the step of the instant messaging-based information transmitting method as described above.
  • the method, device, device and storage medium for sending information based on instant messaging provided by the embodiment of the present application, by setting the operation authority of the employee corresponding account in the enterprise version instant messaging software according to the enterprise organization structure in advance, the user is based on the enterprise version instant
  • the server receives the IM information sending request triggered by the enterprise version instant messaging software, and the server obtains the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account;
  • the server obtains the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, performs comparison of the operation rights corresponding to the first identifier and the second identifier, and determines whether the sending account has the receiving The sending permission of the account; if the sending account has the sending permission of the receiving account, the IM information is sent to the receiving account.
  • the sending account does not have the sending permission, the user is prompted to apply for the right, or the user is prompted to forward the IM information, thereby reducing the user's interference.
  • the setting of the instant messaging sending permission of the enterprise version is realized. Flexible management of information delivery based on enterprise version of instant messaging.
  • FIG. 1 is a schematic structural diagram of an apparatus of a hardware operating environment involved in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of operation authority configuration in an instant messaging-based information sending method according to the present application
  • FIG. 3 is a schematic diagram of a specific scenario of operation authority configuration in an instant messaging based information sending method according to the present application
  • FIG. 4 is a schematic flowchart of a first embodiment of an instant messaging based information sending method according to the present application
  • FIG. 5 is a schematic flowchart of the refinement of step S20 of the instant messaging based information sending method in FIG. 4;
  • FIG. 6 is a schematic flowchart of a second embodiment of an instant messaging based information sending method according to the present application.
  • FIG. 7 is a schematic flowchart of a third embodiment of an instant messaging based information sending method according to the present application.
  • FIG. 8 is a schematic diagram of functional modules of an embodiment of an instant messaging based information transmitting apparatus according to the present application.
  • the main solution of the embodiment of the present application is: when the user triggers the information sending request based on the enterprise version instant messaging software, the server of the enterprise version instant messaging software receives the instant messaging message sent by the user (the instant messaging message is also called IM information or chat information). It is judged whether the sending account has the sending right of the receiving account, and if the sending account has the sending right of the receiving account, the IM information is sent to the corresponding terminal of the receiving account.
  • the nail user can chat with the contacts in the address book, or chat in the chat group.
  • the nail directly opens the corresponding chat window, It is the first time that chatting does not require user authentication.
  • This unified account setting method brings convenience to people and causes unnecessary troubles.
  • senior managers in the enterprise architecture may receive More information is available, and users corresponding to different accounts can send IM information to the middle and high-level managers of the enterprise, and the high-level managers receive more interference information.
  • the application provides a solution for setting the operation authority of each account corresponding to the enterprise according to the organizational structure of the enterprise on the enterprise instant messaging software, so that the user can send the information based on the enterprise version of the instant messaging software to determine whether the corresponding corresponding account of the user has received
  • the sending permission of the account this application is based on the content information of the user in the enterprise, and the corresponding permission setting of the instant messaging software of the enterprise version, and realizes the differentiated management of each account while taking into account the convenience operation of the account.
  • FIG. 1 is a schematic structural diagram of a server (also called an instant messaging-based information sending device) in a hardware operating environment according to an embodiment of the present application.
  • a server also called an instant messaging-based information sending device
  • the server of the embodiment of the present application may be, for example, an "Internet of Things device", a smart air conditioner with a networking function, a smart electric light, a smart power source, etc.; or an AR/VR device with a networking function, a smart speaker, an autonomous driving car, a PC, a smart phone, A server with a display function such as a tablet, an e-book reader, or a portable computer.
  • an "Internet of Things device” a smart air conditioner with a networking function, a smart electric light, a smart power source, etc.
  • an AR/VR device with a networking function, a smart speaker, an autonomous driving car, a PC, a smart phone
  • a server with a display function such as a tablet, an e-book reader, or a portable computer.
  • the server may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the server may also include a camera, RF (Radio) Frequency, RF) circuit, sensor, audio circuit, WiFi module; input unit, display screen, touch screen; network interface optional in addition to wireless interface in addition to WiFi, Bluetooth, probe, 3G/4G/5G networked base station equipment, etc. .
  • RF Radio
  • the server structure illustrated in FIG. 1 does not constitute a limitation to the server, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
  • the computer software product is stored in a storage medium (storage medium: also called computer storage medium, computer medium, readable medium, readable storage medium, computer readable storage medium or directly called medium, such as ROM).
  • storage medium also called computer storage medium, computer medium, readable medium, readable storage medium, computer readable storage medium or directly called medium, such as ROM).
  • /RAM, disk, CD-ROM including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the various embodiments of the present application as a
  • the memory 1005 of the computer storage medium may include an operating system, a network communication module, a user interface module, and an IM information protection application.
  • the network interface 1004 is mainly used to connect to the background database, and performs data communication with the background database.
  • the user interface 1003 is mainly used to connect to the client (the user end, the receiving end and the sending end in the embodiment of the present application)
  • the terminal is generally referred to as a client or a terminal, wherein the client can communicate with the server, and the client can also include sensors such as a light sensor, a motion sensor, and other sensors, and the server and the client perform data communication;
  • the processor 1001 can be used to invoke the IM information protection application stored in the memory 1005, and perform the steps in the instant messaging-based information transmission method provided by the following embodiments of the present application.
  • the operation rights corresponding to each account need to be configured in the enterprise version instant messaging software.
  • the enterprise version instant messaging software performs account operation authority configuration including the following steps:
  • Step S01 receiving a permission configuration request triggered by the enterprise version instant messaging software, and obtaining an account identifier included in the permission configuration request;
  • the enterprise IM information manager clicks the virtual button of the “permission setting” on the enterprise instant messaging software to trigger the permission configuration request triggered by the enterprise instant messaging software, and the server receives the permission configuration request triggered by the user based on the enterprise instant messaging software to obtain the user.
  • the account ID to be configured. For example, when the enterprise IM information manager adds a new employee in the enterprise, or the user's post changes, the permission configuration request is triggered, the server receives the permission configuration request, and obtains the account information included in the permission configuration request (the account information may be It is the user's account in the enterprise version of the communication software, the user ID, the user's part, etc.), to configure the corresponding operation authority in the enterprise version of the instant messaging software.
  • Step S02 Determine, according to the account identifier and the preset organization structure, the account identifier corresponding to the post information of the user in the enterprise.
  • the server is based on the account identifier and the preset organizational structure (as shown in FIG. 3, the preset organizational structure is the enterprise department information defined in advance in the enterprise version of the instant messaging software according to the enterprise organizational structure, that is, the organizational structure is the enterprise's process operation, the department
  • the most basic structural basis for setting and functional planning, common organizational structure includes centralized, decentralized, linear, and matrix, etc., to determine the account identifier corresponding to the user's position in the enterprise, that is, the enterprise version of the instant
  • the default organization structure of the communication software sets the employee identification of each user (the employee identification refers to the identification information of the instant messaging account information and the employee number information synthesis.
  • the account information of the employee in the enterprise instant messaging application is 123xxx
  • the employee ID is 0456
  • the employee ID in the default organizational structure is 123xxx-0456.
  • the employee ID in the default organizational structure is related to the employee's work content and the department information and position information of the employee in the organizational structure.
  • the server identifies the account and the employee ID in the default organizational structure. Comparing, the account identifier matches the employee identifier in the preset organization structure, the server obtains the corresponding department information and work content information of the employee identifier; the server uses the department information and the work content information as the account identifier corresponding to the user's position information in the enterprise. .
  • step S02 includes:
  • step a1 the account identifier is compared with the employee identifier in the preset organizational structure
  • step a2 if the account identifier matches the employee identifier in the preset organization structure, the corresponding department information and work content information of the employee identifier are obtained;
  • step a3 the department information and the work content information are used as the account identifier corresponding to the position information of the user in the enterprise.
  • the server identifies the account 123xxxx, which is an enterprise version of the account, and the employee identifiers 123xxxx-0456, 122xxxx-0455, etc. in the preset organizational structure; if the account identifier matches the employee identifier in the preset organizational structure, Obtain corresponding department information and work content information of the employee identifier; the server uses the department information and the work content information as the account identifier corresponding to the user's position information in the enterprise.
  • Step S03 determining an account level corresponding to the account identifier according to the post information, and determining an operation authority of the corresponding account according to the account level;
  • the server sets the post information and the preset level table (the preset level table refers to the account level information defined in advance according to the user's job information, for example, the job information of the general manager assistant is the general manager, and the job responsibility is the enterprise information.
  • the account level in the preset level table is level 1) traversal matching, and the level matching the post information in the preset level table is obtained; the server matches the level of the post information as the account corresponding to the account identifier.
  • Level with the account level as the query dimension, determine the operation authority of the account corresponding to the account level.
  • Step S04 establishing an association relationship between the operation authority and the account identifier, so as to query the operation authority according to the account identifier.
  • the server establishes an association relationship between the operation authority and the account identifier, so that when the operation authority corresponding to the account needs to be determined, the server queries the operation authority according to the account identifier and the association relationship.
  • the method for setting the user operation authority according to the position information of the employee in the enterprise in the enterprise version instant messaging software is specifically illustrated, and the account operation authority in the enterprise version instant messaging software is related to the employee's job responsibilities, and the instant is in the enterprise version.
  • Setting permissions in the communication software can control the interference of IM information transmission from the source, and improve the convenience and flexibility of IM information management in the enterprise version of instant messaging.
  • Step S10 Receive an IM information sending request triggered by the enterprise version instant messaging software, and obtain the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account.
  • IM information also called instant messaging information
  • the information sending request acquires the IM information included in the sending request, the first identifier of the sending account (the first identifier refers to the account identifier of the sending account, the account identifier may be an account number, such as a WeChat name, a micro-signal code, etc.) and the receiving The second identifier of the account (the second identifier refers to the account identifier of the receiving account); so that the server determines whether to respond to the IM information sending request.
  • Step S20 Acquire an operation right corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determine whether the sending account has the sending permission of the receiving account.
  • the association between the preset account identifier and the operation authority is a relationship between the pre-established operation authority and the account identifier, and is used by the server to query the operation authority corresponding to the account identifier according to the association relationship.
  • Obtaining the operation authority corresponding to the first identifier and the second identifier that is, the server obtains the first identifier and the second identifier, and uses the first identifier and the second identifier as the query dimension to determine the operation permission corresponding to the first identifier and the second identifier.
  • the server compares the operation authority under the first identifier with the operation authority under the second identifier, and determines whether the sending account has the sending permission of the receiving account.
  • step S20 further includes:
  • Step S21 Acquire operation rights corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority.
  • the server obtains the first identifier and the second identifier, and the association between the first identifier of the server and the preset account identifier and the operation authority, and obtains the operation authority corresponding to the first identifier; and the association relationship between the second identifier and the preset account identifier and the operation authority Obtaining the operation authority corresponding to the second identifier.
  • Step S22 Acquire a sending permission level in the first identification operation authority and a receiving permission level in the second identification operation permission, and compare the sending permission level with the receiving permission level;
  • the server obtains the sending permission level in the first identifier operation authority, and the server obtains the receiving permission level in the second identifier operation right, and the server compares the sending permission level with the receiving permission level, according to the sending permission level.
  • the level of the recipient permission level determines that the sending account has the sending permission of the receiving account.
  • step S23 if the sending permission level matches the receiving permission level, the sending account has the sending permission of the receiving account.
  • the server determines that the sending permission level matches the receiving permission level, and the server determines that the sending account has the receiving account.
  • Send permission the sending permission level is lower than the receiving permission level, the server determines that the sending permission level does not match the receiving permission level, and the server determines that the sending account does not have the sending permission of the receiving account.
  • a specific implementation manner for determining whether a sending account has a sending right of a receiving account is provided, and the sending permission level of the sending account is determined by comparing the permission levels of the sending account and the receiving account. Whether it is higher than the receiving permission level, if the sending permission level of the sending account is higher than the receiving permission level, the sending account has the sending permission of the receiving account, and the sending permission is compared with the receiving permission. To determine whether there is a transmission right, so that the sending account has a more scientific determination of the sending permission of the receiving account, so that the interference of the IM information can be directed to the sending account and the receiving account individual, so that the determination of the authority is more rigorous.
  • step S30 if the sending account has the sending permission of the receiving account, the IM information is sent to the receiving account.
  • the server by setting the operation authority of the employee corresponding account in the enterprise version instant messaging software according to the enterprise organization structure, when the user triggers the IM information sending request based on the enterprise version instant messaging software, the server receives the trigger based on the enterprise version instant messaging software.
  • the IM information is sent by the server, and the server obtains the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, where the server acquires the first identifier according to the association relationship between the preset account identifier and the operating authority.
  • the setting of the communication sending permission reduces the user's interference, and finally realizes the flexible management of the information transmission based on the enterprise version of instant messaging.
  • the server determines that the sending account does not have the sending permission of the receiving account, the server grants the authority according to the application request of the user, or prompts the sending account to forward the IM information.
  • the instant messaging-based information sending method includes:
  • Step S40 If the sending account does not have the sending permission of the receiving account, send a prompt message to the sending account to prompt the user corresponding to the sending account to apply for the sending permission.
  • the server sends a prompt message to the sending account to prompt the user corresponding to the sending account to apply for sending permission, and the corresponding user of the sending account inputs the application information according to the prompt information, and is used for applying for sending permission.
  • Step S50 Receive a sending permission request request triggered by the sending account, obtain the IM information included in the sending permission request, and determine whether the IM information includes sensitive information.
  • the server receives the sending permission request request triggered by the sending account, the server obtains the IM information included in the sending permission request request, the server parses the IM information, and the IM information and the preset sensitive field table (preset sensitive field table: set according to specific conditions
  • the comparison may be performed with an emergency notification or the like to determine whether the IM information includes sensitive information, that is, if the IM information matches the preset sensitive field table, it is determined that the IM information contains sensitive information.
  • Step S60 If the IM information includes sensitive information, grant a single sending permission to the sending account, so that the sending account sends the IM information to the receiving account corresponding to the receiving account identifier.
  • the server determines that the IM information contains sensitive information, the server grants a single sending permission to the sending account, so that the sending account sends the IM information to the receiving account corresponding to the receiving account identifier; for example, an enterprise has an emergency, the enterprise employee The emergency information is sent to the enterprise manager through the enterprise version instant messaging software, and the server determines that the sending account does not have the sending permission of the receiving account, and the server sends the prompt information to the sending account to prompt the user corresponding to the sending account to apply for sending Permission, the server obtains the IM information in the application request, and determines whether the IM information contains sensitive information. If the IM information contains sensitive information, the server grants a single sending permission to the sending account to prevent information delay.
  • the server will send a prompt message to the sending account to prompt the user corresponding to the sending account to forward the IM information to the account with the IM information sending authority, and forward the IM information, for example, the enterprise.
  • the enterprise employee sends the information to be relayed to the enterprise manager through the enterprise version instant messaging software, and the server determines that the sending account does not have the sending permission of the receiving account, the server sends the prompt information to the sending account, The server corresponding to the sending account applies for sending permission, and the server obtains the IM information in the request request, and determines whether the IM information contains sensitive information. If the IM information does not contain sensitive information, the server prompts the sending terminal to correspond to the user, and forwards the information. Forward to an account with sending permission to prevent interruption of information transmission.
  • the information sending manner in the instant messaging software of the enterprise version that the sending account does not have the sending permission of the receiving account is specifically described, and the IM information is transmitted while the IM information is prevented from being interfered. Flexible management of information.
  • FIG. 7 a third embodiment of the method for transmitting information based on instant messaging of the present application is further proposed.
  • the receiving account may forward the IM information, and the forwarding of the IM information requires the receiving user to have the forwarding right.
  • the enterprise version of the instant messaging software carries the source identifier of the IM information when the IM information is forwarded.
  • the instant messaging based information sending method includes:
  • Step S70 Receive a forwarding request triggered by the IM information, obtain the IM information included in the forwarding request, and use the account identifier of the initial sending account as the label of the IM information.
  • the receiving account When the receiving account receives the IM information sent by the sending account, the receiving account can forward the sending information to other accounts, that is, the receiving account is based on the terminal triggering the forwarding request of the IM information, and the server receives the forwarding triggered by the IM information.
  • Request obtain the IM information contained in the forwarding request, and use the account identifier of the initial sending account as the label of the IM information, so that the user can understand the preliminary publisher of the information.
  • the server receives the IM information forwarding request, the server obtains the IM information included in the IM information forwarding request, and determines the quantity of the IM information; if the IM information is included in the IM information forwarding request At least two, the initial sender account identifier is used as the label IM information, and the prompt information is displayed to prompt the user to select one-by-one forwarding or merge forwarding to reduce the user's operation steps.
  • Step S80 the account that triggers the forwarding request is used as a new sending account, the account identifier of the new sending account is obtained as a new first identifier, and the account identifier of the new receiving account in the forwarding request is obtained as a new second. logo.
  • the server will trigger the account for forwarding the request as a new sending account, the server obtains the account identifier of the new sending account as the new first identifier, and obtains the account identifier of the new receiving account in the forwarding request as the new second identifier. .
  • Step S90 Acquire an operation right corresponding to the new first identifier and the new second identifier according to the association relationship between the preset account identifier and the operation authority, and determine whether the sending account has the forwarding authority of the receiving account.
  • the server obtains the operation authority corresponding to the new first identifier and the new second identifier according to the association relationship between the preset account identifier and the operation authority, and determines whether the sending account has the forwarding authority of the receiving account, that is, the server acquires a new one.
  • the sending permission level in the first identification operation authority and the receiving permission level in the new second identification operation permission comparing the sending permission level with the receiving permission level; if the sending permission level and the receiving permission level If the matching is performed, the sending account has the forwarding right of the receiving account.
  • the original first identifier and the new first identifier may be compared to determine whether the new first identifier has a pair.
  • the IM information of the original first identifier has the right of forwarding. It is not specifically described here.
  • the principle can refer to the matching of the privilege level.
  • step S100 if the sending account has the forwarding right of the receiving account, the IM information carrying the tag is forwarded to the receiving account.
  • the sending account has the forwarding right of the receiving account, the IM information carrying the tag is forwarded to the receiving account, so that the receiver knows the information source of the IM, and the server can receive the IM information carrying the tag, and the IM information
  • the tabs are highlighted for easy viewing by the user.
  • the user when the message is forwarded based on the instant messaging information, and the label is added to the IM information, the user can understand the source of the message, so that the user in the enterprise version of the instant messaging software can quickly determine the source of the IM information and respond to the IM information. .
  • the embodiment of the present application further provides an information sending apparatus based on instant messaging, where the information sending apparatus based on instant messaging includes:
  • the receiving and obtaining module 10 is configured to receive an IM information sending request triggered by the enterprise version of the instant messaging software, and obtain the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, where the first The identifier refers to the account identifier of the sending account, and the second identifier refers to the account identifier of the receiving account;
  • the obtaining judgment module 20 is configured to obtain an operation right corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determine whether the sending account has the sending permission of the receiving account;
  • the information sending module 30 is configured to send the IM information to the receiving account if the sending account has the sending right of the receiving account.
  • the steps of implementing the function of the information transmission device of the instant messaging device can refer to various embodiments of the information transmission method based on the instant messaging in the present application, and details are not described herein again.
  • the embodiment of the present application further provides a computer storage medium.
  • the computer storage medium stores an instant messaging-based information transmitting program, and the instant messaging-based information transmitting program is executed by the processor to implement the operation in the instant messaging-based information transmitting method provided by the foregoing embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed in the present application is an information sending method based on instant messaging, comprising the following steps: a server receives an IM information sending request triggered by enterprise instant messaging software, and the server obtains IM information included in the sending request, the first identifier of a sending account, and the second identifier of a receiving account; the server obtains, according to the association relationship between a preset account identifier and an operation permission, the operation permission corresponding to the first identifier and the second identifier, and determines whether the sending account has the sending permission of the receiving account; if the sending account has the sending permission of the receiving account, send the IM information to the receiving account. Also disclosed in the present application are an information sending apparatus and device based on instant messaging, and a storage medium.

Description

基于即时通讯的信息发送方法、装置、设备和存储介质  Instant messaging-based information transmitting method, device, device and storage medium

本申请要求于2018年2月23日提交中国专利局、申请号为201810154764.4、发明名称为“基于即时通讯的信息发送方法、装置、设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中This application claims the priority of the Chinese Patent Application filed on February 23, 2018, the Chinese Patent Office, Application No. 201101154764.4, entitled "Immediate Communication Based Information Transmission Method, Apparatus, Equipment, and Storage Medium", the entire contents of which is hereby incorporated by reference. Combined by reference in the application

技术领域Technical field

本申请涉及即时通讯领域,尤其涉及基于即时通讯的信息发送方法、装置、设备和存储介质。The present application relates to the field of instant messaging, and in particular, to an instant messaging based information transmitting method, apparatus, device and storage medium.

背景技术Background technique

现有的即时通讯软件被越来越多的企业运用于信息的发送即时消息,即时通讯软件出现企业版,企业利用企业版的即时通讯软件进行即时信息的发送,使得企业的即时消息的管理更加便捷。The existing instant messaging software is used by more and more enterprises to send instant messages to information. The instant messaging software has an enterprise version. Enterprises use the instant messaging software of the enterprise version to send instant information, which makes the management of instant messaging of enterprises more. Convenient.

具体地,企业版即时通讯软件进行消息发送与非企业版即时通讯软件信息发送相比,企业版的即时通讯软件中包含更少的用户隐私信息,用户在企业版即时通讯应用中主要进行工作相关即时信息的发送,排除部分的私人信息对工作的干扰,企业版即时通讯软件给企业带来便利的同时也给企业员工带来了麻烦,例如,企业版即时通讯软件中用户信息发送不需要验证,企业员工收到来自企业中其他员工干扰信息随之增多,降低企业版即时通讯软件中的即时通讯信息的干扰,成为了亟待解决的技术问题。Specifically, the enterprise version of the instant messaging software performs messaging compared to the non-enterprise instant messaging software information transmission, the enterprise version of the instant messaging software contains less user privacy information, and the user mainly works in the enterprise version of the instant messaging application. The sending of instant information, excluding some of the private information interferes with the work, the enterprise version of the instant messaging software brings convenience to the enterprise and also brings trouble to the enterprise employees. For example, the user information in the enterprise version of the instant messaging software does not need to be verified. The company employees received interference from other employees in the enterprise and reduced the interference of instant messaging information in the enterprise version of instant messaging software, which became a technical problem to be solved urgently.

上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present application, and does not constitute an admission that the above is prior art.

发明内容Summary of the invention

本申请提供基于即时通讯的信息发送方法、装置、设备和存储介质,旨在降低企业版即时通讯软件的IM信息干扰。The application provides an instant messaging-based information transmitting method, device, device and storage medium, aiming at reducing IM information interference of the enterprise version instant messaging software.

本申请提供一种基于即时通讯的信息发送方法,所述基于即时通讯的信息发送方法包括以下步骤:The present application provides a method for transmitting information based on instant messaging, and the method for transmitting information based on instant messaging includes the following steps:

接收基于企业版即时通讯软件触发的IM信息发送请求,获取发送请求中包含的IM信息、发件账户的第一标识和收件账户的第二标识,其中,第一标识是指发件账户的账户标识,第二标识是指收件账户的账户标识;Receiving an IM information sending request triggered by the enterprise version of the instant messaging software, obtaining the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, wherein the first identifier refers to the sending account Account identifier, the second identifier refers to the account identifier of the receiving account;

根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限;Obtaining, according to the association relationship between the preset account identifier and the operation authority, the operation authority corresponding to the first identifier and the second identifier, and determining whether the sending account has the sending permission of the receiving account;

若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户。If the sending account has the sending permission of the receiving account, the IM information is sent to the receiving account.

可选地,所述根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限的步骤之前,包括:Optionally, the step of obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account has the sending permission of the receiving account includes:

接收基于企业版即时通讯软件触发的权限配置请求,获取权限配置请求中包含的账户标识;Receiving a permission configuration request triggered by the enterprise version instant messaging software, and obtaining an account identifier included in the permission configuration request;

根据账户标识和预设组织架构,确定账户标识对应用户在企业中的岗位信息,其中,预设组织架构是根据企业组织架构预先在企业版即时通讯软件中定义的企业部门信息;Determining, according to the account identifier and the preset organization structure, the account identifier corresponds to the post information of the user in the enterprise, wherein the preset organizational structure is the enterprise department information defined in advance in the enterprise version instant messaging software according to the enterprise organizational structure;

根据岗位信息确定账户标识对应的账户级别,根据所述账户级别确定对应账户的操作权限;Determining an account level corresponding to the account identifier according to the job information, and determining an operation authority of the corresponding account according to the account level;

建立操作权限与账户标识之间的关联关系,以根据账户标识查询操作权限。Establish an association relationship between the operation authority and the account identifier to query the operation authority according to the account identifier.

可选地,所述根据账户标识和预设组织架构,确定账户标识对应用户在企业中的岗位信息的步骤,包括:Optionally, the step of determining, according to the account identifier and the preset organization structure, the account identifier corresponding to the user's job information in the enterprise includes:

将账户标识与预设组织架构中的员工标识进行比对;Compare the account ID with the employee ID in the default organizational structure;

若账户标识与预设组织架构中的员工标识匹配,则获取员工标识的对应的部门信息和工作内容信息;If the account identifier matches the employee identifier in the preset organization structure, obtaining corresponding department information and work content information of the employee identifier;

将部门信息和工作内容信息作为账户标识对应用户在企业中的岗位信息。The department information and the work content information are used as account identifiers corresponding to the user's job information in the enterprise.

可选地,所述根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限的步骤,包括:Optionally, the step of obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account has the sending permission of the receiving account, includes:

根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限;Acquiring the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority;

获取第一标识操作权限中的发件权限级别和第二标识操作权限中的收件权限级别,将发件权限级别与收件权限级别进行比对;Obtaining a sending permission level in the first identification operation authority and a receiving permission level in the second identification operation permission, and comparing the sending permission level with the receiving permission level;

若发件权限级别与收件权限级别匹配,则发件账户具有收件账户的发送权限。If the sending permission level matches the receiving permission level, the sending account has the sending permission of the receiving account.

可选地,所述根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限的步骤之后,还包括:Optionally, after the step of obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account has the sending permission of the receiving account, the method further includes :

若发件账户不具有收件账户的发送权限,则发送提示信息至发件账户,以提示发件账户对应的用户申请发送权限;If the sending account does not have the sending permission of the receiving account, sending a prompt message to the sending account to prompt the user corresponding to the sending account to apply for the sending permission;

接收基于发件账户触发的发送权限申请请求,获取发送权限申请请求中包含的IM信息,并判断IM信息中是否包含敏感信息;Receiving the sending permission request request triggered by the sending account, obtaining the IM information included in the sending permission request, and determining whether the IM information includes sensitive information;

若IM信息中包含敏感信息,则授予发件账户单次发送权限,以使发件账户将IM信息发送至收件账户标识对应的收件账户。If the IM information contains sensitive information, the sending account is granted a single sending permission, so that the sending account sends the IM information to the receiving account corresponding to the receiving account identifier.

可选地,所述若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户的步骤之后,包括:Optionally, if the sending account has the sending permission of the receiving account, the step of sending the IM information to the receiving account includes:

接收基于IM信息触发的转发请求,获取转发请求中包含的IM信息,并将初始发件账户的账户标识作为IM信息的标签;Receiving a forwarding request triggered by the IM information, obtaining the IM information included in the forwarding request, and using the account identifier of the initial sending account as a label of the IM information;

将触发转发请求的账户作为新的发件账户,获取新的发件账户的账户标识作为新的第一标识,并获取转发请求中新的收件账户的账户标识作为新的第二标识;The account that triggers the forwarding request is used as a new sending account, the account identifier of the new sending account is obtained as a new first identifier, and the account identifier of the new receiving account in the forwarding request is obtained as a new second identifier;

根据预设账户标识与操作权限的关联关系,获取新的第一标识和新的第二标识对应的操作权限,并判断发件账户是否具有收件账户的转发权限;Obtaining, according to the association relationship between the preset account identifier and the operation authority, the operation authority corresponding to the new first identifier and the new second identifier, and determining whether the sending account has the forwarding authority of the receiving account;

若发件账户具有收件账户的转发权限,则将携带标签的IM信息的转发至收件账户。If the sending account has the forwarding right of the receiving account, the IM information carrying the tag is forwarded to the receiving account.

可选地,所述若发件账户具有收件账户的转发权限,则将携带标签的IM信息的转发至收件账户的步骤之后,包括:Optionally, if the sending account has the forwarding right of the receiving account, the step of forwarding the IM information carrying the tag to the receiving account includes:

接收携带标签的IM信息,并将IM信息的标签进行突出显示,以方便用户查看。Receive the IM information carrying the label and highlight the label of the IM information for the user to view.

此外,为实现上述目的,本申请还提供基于即时通讯的信息发送装置;In addition, in order to achieve the above object, the present application further provides an information transmitting apparatus based on instant messaging;

所述基于即时通讯的信息发送装置包括:The instant messaging-based information transmitting apparatus includes:

接收获取模块,设置为接收基于企业版即时通讯软件触发的IM信息发送请求,获取发送请求中包含的IM信息、发件账户的第一标识和收件账户的第二标识,其中,第一标识是指发件账户的账户标识,第二标识是指收件账户的账户标识;The receiving and receiving module is configured to receive an IM information sending request triggered by the enterprise version of the instant messaging software, and obtain the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, where the first identifier Refers to the account identifier of the sending account, and the second identifier refers to the account identifier of the receiving account;

获取判断模块,设置为根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限;The obtaining judgment module is configured to obtain an operation right corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determine whether the sending account has the sending permission of the receiving account;

信息发送模块,设置为若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户。The information sending module is configured to send the IM information to the receiving account if the sending account has the sending right of the receiving account.

此外,为实现上述目的,本申请还提供基于即时通讯的信息发送设备;In addition, in order to achieve the above object, the present application further provides an information transmitting device based on instant messaging;

所述基于即时通讯的信息发送设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于即时通讯的信息发送程序,其中:The instant messaging-based information transmitting device includes: a memory, a processor, and an instant messaging-based information transmitting program stored on the memory and operable on the processor, wherein:

所述基于即时通讯的信息发送程序被所述处理器执行时实现如上述的基于即时通讯的信息发送方法的步骤。The step of implementing the instant messaging-based information transmitting method as described above when the instant messaging-based information transmitting program is executed by the processor.

此外,为实现上述目的,本申请还提供计算机存储介质;Moreover, to achieve the above object, the present application also provides a computer storage medium;

所述计算机存储介质上存储有基于即时通讯的信息发送程序,所述基于即时通讯的信息发送程序被处理器执行时实现如上述的基于即时通讯的信息发送方法的步骤。The computer storage medium stores an instant messaging-based information transmitting program, and the instant messaging-based information transmitting program is executed by the processor to implement the step of the instant messaging-based information transmitting method as described above.

本申请实施例提出的一种基于即时通讯的信息发送方法、装置、设备和存储介质,通过预先根据企业组织架构在企业版即时通讯软件中设置员工对应账户的操作权限,在用户基于企业版即时通讯软件触发IM信息发送请求时,服务器接收基于企业版即时通讯软件触发的IM信息发送请求,服务器获取发送请求中包含的IM信息、发件账户的第一标识和收件账户的第二标识;服务器根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,进行第一标识和第二标识对应的操作权限的比对,判断发件账户是否具有收件账户的发送权限;若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户。若发件账户不具有发送权限,则提示用户进行权限申请,或者提示用户进行IM信息的转发,降低用户的干扰,与此同时,本实施例中通过对企业版即时通讯发送权限的设置,实现基于企业版即时通讯的信息发送的灵活管理。The method, device, device and storage medium for sending information based on instant messaging provided by the embodiment of the present application, by setting the operation authority of the employee corresponding account in the enterprise version instant messaging software according to the enterprise organization structure in advance, the user is based on the enterprise version instant When the communication software triggers the IM information sending request, the server receives the IM information sending request triggered by the enterprise version instant messaging software, and the server obtains the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account; The server obtains the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, performs comparison of the operation rights corresponding to the first identifier and the second identifier, and determines whether the sending account has the receiving The sending permission of the account; if the sending account has the sending permission of the receiving account, the IM information is sent to the receiving account. If the sending account does not have the sending permission, the user is prompted to apply for the right, or the user is prompted to forward the IM information, thereby reducing the user's interference. At the same time, in the embodiment, the setting of the instant messaging sending permission of the enterprise version is realized. Flexible management of information delivery based on enterprise version of instant messaging.

附图说明DRAWINGS

图1是本申请实施例方案涉及的硬件运行环境的装置结构示意图;1 is a schematic structural diagram of an apparatus of a hardware operating environment involved in an embodiment of the present application;

图2为本申请基于即时通讯的信息发送方法中操作权限配置的流程示意图;2 is a schematic flowchart of operation authority configuration in an instant messaging-based information sending method according to the present application;

图3为本申请基于即时通讯的信息发送方法中操作权限配置的具体场景示意图;FIG. 3 is a schematic diagram of a specific scenario of operation authority configuration in an instant messaging based information sending method according to the present application; FIG.

图4为本申请基于即时通讯的信息发送方法第一实施例的流程示意图;4 is a schematic flowchart of a first embodiment of an instant messaging based information sending method according to the present application;

图5为图4中基于即时通讯的信息发送方法的步骤S20的细化流程示意图;FIG. 5 is a schematic flowchart of the refinement of step S20 of the instant messaging based information sending method in FIG. 4;

图6为本申请基于即时通讯的信息发送方法第二实施例的流程示意图;6 is a schematic flowchart of a second embodiment of an instant messaging based information sending method according to the present application;

图7为本申请基于即时通讯的信息发送方法第三实施例的流程示意图;7 is a schematic flowchart of a third embodiment of an instant messaging based information sending method according to the present application;

图8为本申请基于即时通讯的信息发送装置一实施例的功能模块示意图。FIG. 8 is a schematic diagram of functional modules of an embodiment of an instant messaging based information transmitting apparatus according to the present application.

本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.

本申请实施例的主要解决方案是:用户基于企业版即时通讯软件触发信息发送请求时,企业版即时通讯软件的服务器接收用户发送的即时通讯消息(即时通讯消息又叫IM信息或者聊天信息),判断发件账户是否具有收件账户的发送权限,若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户对应终端。The main solution of the embodiment of the present application is: when the user triggers the information sending request based on the enterprise version instant messaging software, the server of the enterprise version instant messaging software receives the instant messaging message sent by the user (the instant messaging message is also called IM information or chat information). It is judged whether the sending account has the sending right of the receiving account, and if the sending account has the sending right of the receiving account, the IM information is sent to the corresponding terminal of the receiving account.

由于现有技术企业版即时通讯软件中,只要用户属于同一组织架构,那么用户基于企业版即时通讯软件发送即时消息时不需要验证,例如,阿里巴巴的钉钉设置有消息、个人、通讯录等等,钉钉用户可以与通信录中的联系人进行单独聊天,或者在聊天群组中进行聊天,当用户需要与群组中的单独个人进行聊天时,则钉钉直接开启对应聊天窗口,即时是第一次聊天也不需要进行用户身份验证,这种统一化的账户设置方式,给人们带来方便的同时也引起了不必要的麻烦,例如,企业架构中的高层管理者,可能接收到较多的刚信息,不同的账户对应的用户都可以给企业中高层管理者进行IM信息的发送,高层管理者收到的干扰信息较多。本申请提供一种解决方案,在企业版即时通讯软件上根据企业组织架构设置各个账户对应用户的操作权限,以使用户基于企业版即时通讯软件信息发送至可以判断用户对应发件账户是否具有收件账户的发送权限,本申请根据企业中用户的内容系信息等,在企业版即时通讯软件的对应权限设置,在兼顾账户便捷性操作的同时,对各个账户实现差异化的管理。Because the existing enterprise enterprise version of the instant messaging software, as long as the users belong to the same organizational structure, the user does not need to verify when sending instant messages based on the enterprise version of the instant messaging software, for example, Alibaba's nail setting has messages, personal, address book, etc. Etc., the nail user can chat with the contacts in the address book, or chat in the chat group. When the user needs to chat with a single individual in the group, the nail directly opens the corresponding chat window, It is the first time that chatting does not require user authentication. This unified account setting method brings convenience to people and causes unnecessary troubles. For example, senior managers in the enterprise architecture may receive More information is available, and users corresponding to different accounts can send IM information to the middle and high-level managers of the enterprise, and the high-level managers receive more interference information. The application provides a solution for setting the operation authority of each account corresponding to the enterprise according to the organizational structure of the enterprise on the enterprise instant messaging software, so that the user can send the information based on the enterprise version of the instant messaging software to determine whether the corresponding corresponding account of the user has received The sending permission of the account, this application is based on the content information of the user in the enterprise, and the corresponding permission setting of the instant messaging software of the enterprise version, and realizes the differentiated management of each account while taking into account the convenience operation of the account.

如图1所示,图1是本申请实施例方案涉及的硬件运行环境的服务器(又叫基于即时通讯的信息发送设备)结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic structural diagram of a server (also called an instant messaging-based information sending device) in a hardware operating environment according to an embodiment of the present application.

本申请实施例服务器可以如“物联网设备”、带联网功能的智能空调、智能电灯、智能电源等等;或者带联网功能的AR/VR设备,智能音箱、自动驾驶汽车、PC,智能手机、平板电脑、电子书阅读器、便携计算机等具有显示功能的服务器。The server of the embodiment of the present application may be, for example, an "Internet of Things device", a smart air conditioner with a networking function, a smart electric light, a smart power source, etc.; or an AR/VR device with a networking function, a smart speaker, an autonomous driving car, a PC, a smart phone, A server with a display function such as a tablet, an e-book reader, or a portable computer.

如图1所示,该服务器可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the server may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.

可选地,服务器还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块;输入单元,比显示屏,触摸屏;网络接口可选除无线接口中除WiFi外,蓝牙、探针、3G/4G/5G联网基站设备等等。本领域技术人员可以理解,图1中示出的服务器结构并不构成对服务器的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Optionally, the server may also include a camera, RF (Radio) Frequency, RF) circuit, sensor, audio circuit, WiFi module; input unit, display screen, touch screen; network interface optional in addition to wireless interface in addition to WiFi, Bluetooth, probe, 3G/4G/5G networked base station equipment, etc. . Those skilled in the art will appreciate that the server structure illustrated in FIG. 1 does not constitute a limitation to the server, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.

如图1所示,该计算机软件产品存储在一个存储介质(存储介质:又叫计算机存储介质、计算机介质、可读介质、可读存储介质、计算机可读存储介质或者直接叫介质等,如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及IM信息保护应用程序。As shown in FIG. 1, the computer software product is stored in a storage medium (storage medium: also called computer storage medium, computer medium, readable medium, readable storage medium, computer readable storage medium or directly called medium, such as ROM). /RAM, disk, CD-ROM, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the various embodiments of the present application as a The memory 1005 of the computer storage medium may include an operating system, a network communication module, a user interface module, and an IM information protection application.

在图1所示的服务器中,网络接口1004主要用于连接后台数据库,与后台数据库进行数据通信;用户接口1003主要用于连接客户端(用户端,本申请实施例中的收件端和发件端通称为客户端、或者终端,其中,客户端可以与服务器通信连接,客户端还可以包括传感器比如光传感器、运动传感器以及其他传感器,在此不再赘述)服务器与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的IM信息保护应用程序,并执行本申请以下实施例提供的基于即时通讯的信息发送方法中的步骤。In the server shown in FIG. 1 , the network interface 1004 is mainly used to connect to the background database, and performs data communication with the background database. The user interface 1003 is mainly used to connect to the client (the user end, the receiving end and the sending end in the embodiment of the present application) The terminal is generally referred to as a client or a terminal, wherein the client can communicate with the server, and the client can also include sensors such as a light sensor, a motion sensor, and other sensors, and the server and the client perform data communication; The processor 1001 can be used to invoke the IM information protection application stored in the memory 1005, and perform the steps in the instant messaging-based information transmission method provided by the following embodiments of the present application.

在本申请实施例执行的步骤之前,需要在企业版即时通讯软件中配置各个账户对应的操作权限。Before the steps performed by the embodiment of the present application, the operation rights corresponding to each account need to be configured in the enterprise version instant messaging software.

具体地,参考图2,企业版即时通讯软件进行账户操作权限配置包括以下步骤:Specifically, referring to FIG. 2, the enterprise version instant messaging software performs account operation authority configuration including the following steps:

步骤S01,接收基于企业版即时通讯软件触发的权限配置请求,获取权限配置请求中包含的账户标识;Step S01, receiving a permission configuration request triggered by the enterprise version instant messaging software, and obtaining an account identifier included in the permission configuration request;

企业IM信息管理者在企业版即时通讯软件上点击“权限设置”的虚拟按键,触发企业版即时通讯软件触发的权限配置请求,服务器接收用户基于企业版即时通讯软件触发的权限配置请求,获取用户需要配置的账户标识,例如,企业IM信息管理者在企业新增员工,或者用户岗位变动时,触发的权限配置请求,服务器接收权限配置请求,获取权限配置请求中包含的账户信息(账户信息可以是用户在企业版通信软件中的账号,用户工号,用户所属部分等信息),以在企业版即时通讯软件中配置对应的操作权限。The enterprise IM information manager clicks the virtual button of the “permission setting” on the enterprise instant messaging software to trigger the permission configuration request triggered by the enterprise instant messaging software, and the server receives the permission configuration request triggered by the user based on the enterprise instant messaging software to obtain the user. The account ID to be configured. For example, when the enterprise IM information manager adds a new employee in the enterprise, or the user's post changes, the permission configuration request is triggered, the server receives the permission configuration request, and obtains the account information included in the permission configuration request (the account information may be It is the user's account in the enterprise version of the communication software, the user ID, the user's part, etc.), to configure the corresponding operation authority in the enterprise version of the instant messaging software.

步骤S02,根据账户标识和预设组织架构,确定账户标识对应用户在企业中的岗位信息。Step S02: Determine, according to the account identifier and the preset organization structure, the account identifier corresponding to the post information of the user in the enterprise.

服务器根据账户标识和预设组织架构(如图3所示,预设组织架构是根据企业组织架构预先在企业版即时通讯软件中定义的企业部门信息,即,组织架构是企业的流程运转、部门设置及职能规划等最基本的结构依据,常见的组织架构形式包括中央集权制、分权制、直线式以及矩阵式等),确定账户标识对应用户在企业中的岗位信息,即,企业版即时通讯软件的预设组织架构中设置了各个用户的员工标识(员工标识是指即时通讯账号信息与员工工号信息合成的标识信息,例如,员工在企业版即时通信应用中的账号信息是123xxx,用工的工号是0456,则预设组织架构中的员工标识是123xxx-0456)预设组织架构中员工标识与员工工作内容和员工在组织架构中所属的部门信息和职位信息等相互关联,在账户权限配置时,服务器将账户标识与预设组织架构中员工标识比对,账户标识与预设组织架构中的员工标识匹配,则服务器获取员工标识的对应的部门信息和工作内容信息;服务器将部门信息和工作内容信息作为账户标识对应用户在企业中的岗位信息。The server is based on the account identifier and the preset organizational structure (as shown in FIG. 3, the preset organizational structure is the enterprise department information defined in advance in the enterprise version of the instant messaging software according to the enterprise organizational structure, that is, the organizational structure is the enterprise's process operation, the department The most basic structural basis for setting and functional planning, common organizational structure includes centralized, decentralized, linear, and matrix, etc., to determine the account identifier corresponding to the user's position in the enterprise, that is, the enterprise version of the instant The default organization structure of the communication software sets the employee identification of each user (the employee identification refers to the identification information of the instant messaging account information and the employee number information synthesis. For example, the account information of the employee in the enterprise instant messaging application is 123xxx, The employee ID is 0456, and the employee ID in the default organizational structure is 123xxx-0456. The employee ID in the default organizational structure is related to the employee's work content and the department information and position information of the employee in the organizational structure. When the account rights are configured, the server identifies the account and the employee ID in the default organizational structure. Comparing, the account identifier matches the employee identifier in the preset organization structure, the server obtains the corresponding department information and work content information of the employee identifier; the server uses the department information and the work content information as the account identifier corresponding to the user's position information in the enterprise. .

进一步地,说明了根据账户标识确定账户标识对应用户岗位信息的一种实现方式,具体地,步骤 S02包括:Further, an implementation manner of determining the user information corresponding to the account identifier according to the account identifier is described. Specifically, step S02 includes:

步骤a1,将账户标识与预设组织架构中的员工标识进行比对;In step a1, the account identifier is compared with the employee identifier in the preset organizational structure;

步骤a2,若账户标识与预设组织架构中的员工标识匹配,则获取员工标识的对应的部门信息和工作内容信息;In step a2, if the account identifier matches the employee identifier in the preset organization structure, the corresponding department information and work content information of the employee identifier are obtained;

步骤a3,将部门信息和工作内容信息作为账户标识对应用户在企业中的岗位信息。In step a3, the department information and the work content information are used as the account identifier corresponding to the position information of the user in the enterprise.

例如,服务器将账户标识为企业版钉钉的账号123xxxx与预设组织架构中的员工标识123xxxx-0456、122xxxx-0455等进行比对;若账户标识与预设组织架构中的员工标识匹配,则获取员工标识的对应的部门信息和工作内容信息;服务器将部门信息和工作内容信息作为账户标识对应用户在企业中的岗位信息。For example, the server identifies the account 123xxxx, which is an enterprise version of the account, and the employee identifiers 123xxxx-0456, 122xxxx-0455, etc. in the preset organizational structure; if the account identifier matches the employee identifier in the preset organizational structure, Obtain corresponding department information and work content information of the employee identifier; the server uses the department information and the work content information as the account identifier corresponding to the user's position information in the enterprise.

步骤S03,根据岗位信息确定账户标识对应的账户级别,根据所述账户级别确定对应账户的操作权限;Step S03, determining an account level corresponding to the account identifier according to the post information, and determining an operation authority of the corresponding account according to the account level;

具体地,服务器将岗位信息与预设等级表(预设等级表是指预先根据用户的岗位信息定义的账户等级信息,例如,总经理助理的岗位信息为所属总经办,工作职责是企业信息的上报和下发,则在预设等级表中的账户级别为一级)进行遍历匹配,获取预设等级表中与岗位信息匹配的等级;服务器将岗位信息匹配的等级作为账户标识对应的账户级别,以账户级别为查询维度,确定账户级别对应账户的操作权限。Specifically, the server sets the post information and the preset level table (the preset level table refers to the account level information defined in advance according to the user's job information, for example, the job information of the general manager assistant is the general manager, and the job responsibility is the enterprise information. For the reporting and delivery, the account level in the preset level table is level 1) traversal matching, and the level matching the post information in the preset level table is obtained; the server matches the level of the post information as the account corresponding to the account identifier. Level, with the account level as the query dimension, determine the operation authority of the account corresponding to the account level.

步骤S04,建立操作权限与账户标识之间的关联关系,以根据账户标识查询操作权限。Step S04, establishing an association relationship between the operation authority and the account identifier, so as to query the operation authority according to the account identifier.

服务器建立操作权限与账户标识之间的关联关系,以使需要确定账户对应的操作权限时,服务器根据账户标识和关联关系查询操作权限。The server establishes an association relationship between the operation authority and the account identifier, so that when the operation authority corresponding to the account needs to be determined, the server queries the operation authority according to the account identifier and the association relationship.

在本实施例中具体说明了企业版即时通讯软件中根据企业中员工的岗位信息设置用户操作权限的方法,实现了企业版即时通讯软件中账户操作权限与员工工作职责相关,通过在企业版即时通讯软件中设置权限,可以从源头上控制IM信息发送的干扰,提高企业版即时通讯中IM信息的管理的便捷性和灵活性。In the embodiment, the method for setting the user operation authority according to the position information of the employee in the enterprise in the enterprise version instant messaging software is specifically illustrated, and the account operation authority in the enterprise version instant messaging software is related to the employee's job responsibilities, and the instant is in the enterprise version. Setting permissions in the communication software can control the interference of IM information transmission from the source, and improve the convenience and flexibility of IM information management in the enterprise version of instant messaging.

参照图4,在第一实施例中,实现基于即时通讯的信息发送的具体步骤:Referring to FIG. 4, in the first embodiment, specific steps of implementing instant messaging based information transmission are as follows:

步骤S10,接收基于企业版即时通讯软件触发的IM信息发送请求,获取发送请求中包含的IM信息、发件账户的第一标识和收件账户的第二标识。Step S10: Receive an IM information sending request triggered by the enterprise version instant messaging software, and obtain the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account.

用户在企业版即时通讯软件输入IM信息(又叫即时通讯信息),并点击企业版即时通讯软件界面上的信息发送虚拟按键,触发IM信息发送请求,服务器接收基于企业版即时通讯软件触发的IM信息发送请求,获取发送请求中包含的IM信息、发件账户的第一标识(第一标识是指发件账户的账户标识,账户标识可以是账号,例如微信名称、微信号码等)和收件账户的第二标识(第二标识是指收件账户的账户标识);以使服务器判断是否响应IM信息发送请求。The user inputs IM information (also called instant messaging information) in the enterprise version of the instant messaging software, and clicks the information on the enterprise instant messaging software interface to send a virtual button to trigger the IM information sending request, and the server receives the IM triggered based on the enterprise version of the instant messaging software. The information sending request acquires the IM information included in the sending request, the first identifier of the sending account (the first identifier refers to the account identifier of the sending account, the account identifier may be an account number, such as a WeChat name, a micro-signal code, etc.) and the receiving The second identifier of the account (the second identifier refers to the account identifier of the receiving account); so that the server determines whether to respond to the IM information sending request.

步骤S20,根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限。Step S20: Acquire an operation right corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determine whether the sending account has the sending permission of the receiving account.

服务器根据预设账户标识与操作权限的关联关系(预设账户标识与操作权限的关联关系,是预先建立的操作权限与账户标识之间关系,用于服务器根据关联关系查询账户标识对应的操作权限)获取第一标识和第二标识对应的操作权限,即,服务器获取第一标识和第二标识,以第一标识和第二标识为查询维度,确定第一标识和第二标识对应的操作权限,服务器将第一标识下的操作权限与第二标识下的操作权限进行比对,判断发件账户是否具有收件账户的发送权限。The association between the preset account identifier and the operation authority (the association relationship between the preset account identifier and the operation authority) is a relationship between the pre-established operation authority and the account identifier, and is used by the server to query the operation authority corresponding to the account identifier according to the association relationship. Obtaining the operation authority corresponding to the first identifier and the second identifier, that is, the server obtains the first identifier and the second identifier, and uses the first identifier and the second identifier as the query dimension to determine the operation permission corresponding to the first identifier and the second identifier. The server compares the operation authority under the first identifier with the operation authority under the second identifier, and determines whether the sending account has the sending permission of the receiving account.

具体地:参照图5,步骤S20,还包括:Specifically, referring to FIG. 5, step S20 further includes:

步骤S21,根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限。Step S21: Acquire operation rights corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority.

服务器获取第一标识和第二标识,服务器第一标识和预设账户标识与操作权限的关联关系,获取第一标识对应的操作权限;根据第二标识和预设账户标识与操作权限的关联关系,获取第二标识对应的操作权限。The server obtains the first identifier and the second identifier, and the association between the first identifier of the server and the preset account identifier and the operation authority, and obtains the operation authority corresponding to the first identifier; and the association relationship between the second identifier and the preset account identifier and the operation authority Obtaining the operation authority corresponding to the second identifier.

步骤S22,获取第一标识操作权限中的发件权限级别和第二标识操作权限中的收件权限级别,将发件权限级别与收件权限级别进行比对;Step S22: Acquire a sending permission level in the first identification operation authority and a receiving permission level in the second identification operation permission, and compare the sending permission level with the receiving permission level;

服务器获取第一标识操作权限中的发件权限级别,服务器获取第二标识操作权限中的收件权限级别,服务器将发件权限级别与收件权限级别进行比对,以根据发件权限级别与收件权限级别的高低,确定发件账户具有收件账户的发送权限。The server obtains the sending permission level in the first identifier operation authority, and the server obtains the receiving permission level in the second identifier operation right, and the server compares the sending permission level with the receiving permission level, according to the sending permission level. The level of the recipient permission level determines that the sending account has the sending permission of the receiving account.

步骤S23,若发件权限级别与收件权限级别匹配,则发件账户具有收件账户的发送权限。In step S23, if the sending permission level matches the receiving permission level, the sending account has the sending permission of the receiving account.

若发件权限级别与收件权限级别匹配,即,发件权限级别高于或者等于收件权限级别,服务器确定发件权限级别与收件权限级别匹配,服务器确定发件账户具有收件账户的发送权限;发件权限级别低于收件权限级别,服务器确定发件权限级别与收件权限级别不匹配,服务器确定发件账户不具有收件账户的发送权限。If the sending permission level matches the receiving permission level, that is, the sending permission level is higher than or equal to the receiving permission level, the server determines that the sending permission level matches the receiving permission level, and the server determines that the sending account has the receiving account. Send permission; the sending permission level is lower than the receiving permission level, the server determines that the sending permission level does not match the receiving permission level, and the server determines that the sending account does not have the sending permission of the receiving account.

在本实施例中给出一种确定发件账户是否具有收件账户的发送权限的具体实现方式,通过发件账户与收件账户的权限级别的比对,确定发件账户的发件权限级别是否高于收件权限级别,若发件账户的发件权限级别是高于收件权限级别,则发件账户具有收件账户的发送权限,实现了将发件权限与收件权限进行比对,确定是否具有发送权限,使得发件账户具有收件账户的发送权限的确定更加科学,使得IM信息的干扰可以针对发件账户和收件账户个人,使得权限的确定更加严谨。In this embodiment, a specific implementation manner for determining whether a sending account has a sending right of a receiving account is provided, and the sending permission level of the sending account is determined by comparing the permission levels of the sending account and the receiving account. Whether it is higher than the receiving permission level, if the sending permission level of the sending account is higher than the receiving permission level, the sending account has the sending permission of the receiving account, and the sending permission is compared with the receiving permission. To determine whether there is a transmission right, so that the sending account has a more scientific determination of the sending permission of the receiving account, so that the interference of the IM information can be directed to the sending account and the receiving account individual, so that the determination of the authority is more rigorous.

步骤S30,若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户。In step S30, if the sending account has the sending permission of the receiving account, the IM information is sent to the receiving account.

在本实施例中通过根据企业组织架构在企业版即时通讯软件中设置员工对应账户的操作权限,在用户基于企业版即时通讯软件触发IM信息发送请求时,服务器接收基于企业版即时通讯软件触发的IM信息发送请求,服务器获取发送请求中包含的IM信息、发件账户的第一标识和收件账户的第二标识,其中,服务器根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限;若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户,通过对企业版即时通讯发送权限的设置,降低用户的干扰,最终实现了基于企业版即时通讯的信息发送的灵活管理。In this embodiment, by setting the operation authority of the employee corresponding account in the enterprise version instant messaging software according to the enterprise organization structure, when the user triggers the IM information sending request based on the enterprise version instant messaging software, the server receives the trigger based on the enterprise version instant messaging software. The IM information is sent by the server, and the server obtains the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, where the server acquires the first identifier according to the association relationship between the preset account identifier and the operating authority. The operation authority corresponding to the second identifier, and determining whether the sending account has the sending permission of the receiving account; if the sending account has the sending permission of the receiving account, sending the IM information to the receiving account, through the instant on the enterprise version The setting of the communication sending permission reduces the user's interference, and finally realizes the flexible management of the information transmission based on the enterprise version of instant messaging.

进一步的,参照图6,在本申请第一实施例的基础上,进一步提出了本申请基于即时通讯的信息发送方法的第二实施例。Further, referring to FIG. 6, based on the first embodiment of the present application, a second embodiment of the method for transmitting information based on instant messaging of the present application is further proposed.

本实施例与本申请第一实施例的区别在于,服务器确定发送账户没有收件账户的发送权限时,服务器根据用户的申请请求进行权限的授予,或者提示发件账户进行IM信息的转发。具体地,所述基于即时通讯的信息发送方法包括:The difference between this embodiment and the first embodiment of the present application is that when the server determines that the sending account does not have the sending permission of the receiving account, the server grants the authority according to the application request of the user, or prompts the sending account to forward the IM information. Specifically, the instant messaging-based information sending method includes:

步骤S40,若发件账户不具有收件账户的发送权限,则发送提示信息至发件账户,以提示发件账户对应的用户申请发送权限。Step S40: If the sending account does not have the sending permission of the receiving account, send a prompt message to the sending account to prompt the user corresponding to the sending account to apply for the sending permission.

若发件账户不具有收件账户的发送权限,即,将发件权限级别与收件权限级别进行比对,发件权限级别与收件权限级别不匹配,发件权限级别低于收件权限级别,则服务器发送提示信息至发件账户,以提示发件账户对应的用户申请发送权限,发件账户对应用户根据提示信息输入申请信息,用于申请发送权限。If the sending account does not have the sending permission of the receiving account, that is, the sending permission level is compared with the receiving permission level, the sending permission level does not match the receiving permission level, and the sending permission level is lower than the receiving permission. Level, the server sends a prompt message to the sending account to prompt the user corresponding to the sending account to apply for sending permission, and the corresponding user of the sending account inputs the application information according to the prompt information, and is used for applying for sending permission.

步骤S50,接收基于发件账户触发的发送权限申请请求,获取发送权限申请请求中包含的IM信息,并判断IM信息中是否包含敏感信息。Step S50: Receive a sending permission request request triggered by the sending account, obtain the IM information included in the sending permission request, and determine whether the IM information includes sensitive information.

服务器接收基于发件账户触发的发送权限申请请求,服务器获取发送权限申请请求中包含的IM信息,服务器解析IM信息,将IM信息与预设敏感字段表(预设敏感字段表:根据具体情况设置,可以是具有紧急通知等)进行比对,判断IM信息中是否包含敏感信息,即,若IM信息与预设敏感字段表进行匹配,则判定IM信息中包含敏感信息。The server receives the sending permission request request triggered by the sending account, the server obtains the IM information included in the sending permission request request, the server parses the IM information, and the IM information and the preset sensitive field table (preset sensitive field table: set according to specific conditions The comparison may be performed with an emergency notification or the like to determine whether the IM information includes sensitive information, that is, if the IM information matches the preset sensitive field table, it is determined that the IM information contains sensitive information.

步骤S60,若IM信息中包含敏感信息,则授予发件账户单次发送权限,以使发件账户将IM信息发送至收件账户标识对应的收件账户。Step S60: If the IM information includes sensitive information, grant a single sending permission to the sending account, so that the sending account sends the IM information to the receiving account corresponding to the receiving account identifier.

若服务器确定IM信息中包含敏感信息,则服务器授予发件账户单次发送权限,以使发件账户将IM信息发送至收件账户标识对应的收件账户;例如,企业发生紧急事故,企业员工通过企业版即时通讯软件将紧急事故信息发送至企业管理者,服务器确定发件账户不具有收件账户的发送权限,则服务器发送提示信息至发件账户,以提示发件账户对应的用户申请发送权限,服务器获取申请请求中的IM信息,判断IM信息中是否包含敏感信息,若IM信息中包含敏感信息,则服务器授予发件账户单次发送权限,以防止信息的延误。If the server determines that the IM information contains sensitive information, the server grants a single sending permission to the sending account, so that the sending account sends the IM information to the receiving account corresponding to the receiving account identifier; for example, an enterprise has an emergency, the enterprise employee The emergency information is sent to the enterprise manager through the enterprise version instant messaging software, and the server determines that the sending account does not have the sending permission of the receiving account, and the server sends the prompt information to the sending account to prompt the user corresponding to the sending account to apply for sending Permission, the server obtains the IM information in the application request, and determines whether the IM information contains sensitive information. If the IM information contains sensitive information, the server grants a single sending permission to the sending account to prevent information delay.

若IM信息中不包含敏感信息,则服务器将送提示信息至发件账户,以提示发件账户对应的用户将IM信息转发至具有IM信息发送权限的账户,进行IM信息的转发,例如,企业发生普通事件信息转达,企业员工通过企业版即时通讯软件将需要转达的信息发送至企业管理者,服务器确定发件账户不具有收件账户的发送权限,则服务器发送提示信息至发件账户,以提示发件账户对应的用户申请发送权限,服务器获取申请请求中的IM信息,判断IM信息中是否包含敏感信息,若IM信息中不包含敏感信息,则服务器提示发件终端对应用户,将信息转发至具有发送权限的账号进行转发,以防止信息的传递中断。If the IM information does not contain sensitive information, the server will send a prompt message to the sending account to prompt the user corresponding to the sending account to forward the IM information to the account with the IM information sending authority, and forward the IM information, for example, the enterprise. When the ordinary event information is transmitted, the enterprise employee sends the information to be relayed to the enterprise manager through the enterprise version instant messaging software, and the server determines that the sending account does not have the sending permission of the receiving account, the server sends the prompt information to the sending account, The server corresponding to the sending account applies for sending permission, and the server obtains the IM information in the request request, and determines whether the IM information contains sensitive information. If the IM information does not contain sensitive information, the server prompts the sending terminal to correspond to the user, and forwards the information. Forward to an account with sending permission to prevent interruption of information transmission.

在本实施例中具体说明了在企业版即时通讯软件中,发件账户不具有收件账户的发送权限时的信息发送方式,在实现防止IM信息干扰的同时,保证了IM信息的发送,更加灵活地实现了信息的管理。In the embodiment, the information sending manner in the instant messaging software of the enterprise version that the sending account does not have the sending permission of the receiving account is specifically described, and the IM information is transmitted while the IM information is prevented from being interfered. Flexible management of information.

进一步的,参照图7,进一步提出了本申请基于即时通讯的信息发送方法的第三实施例。Further, referring to FIG. 7, a third embodiment of the method for transmitting information based on instant messaging of the present application is further proposed.

在本实施例中接收账户可以对IM信息进行转发,转发IM信息需要接收用户具有转发权限,与此同时,企业版即时通讯软件在IM信息转发时携带IM信息的来源标识。In this embodiment, the receiving account may forward the IM information, and the forwarding of the IM information requires the receiving user to have the forwarding right. At the same time, the enterprise version of the instant messaging software carries the source identifier of the IM information when the IM information is forwarded.

所述基于即时通讯的信息发送方法包括:The instant messaging based information sending method includes:

步骤S70,接收基于IM信息触发的转发请求,获取转发请求中包含的IM信息,并将初始发件账户的账户标识作为IM信息的标签。Step S70: Receive a forwarding request triggered by the IM information, obtain the IM information included in the forwarding request, and use the account identifier of the initial sending account as the label of the IM information.

收件账户在接收到发件账户发送的IM信息时,收件账户可以将发件信息转发至其他账户,即,收件账户基于终端触发IM信息的转发请求,服务器接收基于IM信息触发的转发请求,获取转发请求中包含的IM信息,并将初始发件账户的账户标识作为IM信息的标签,以使用户可以了解信息的初步发布者。进一步地,用户可以进行多条即时通讯信息的转发,服务器接收IM信息转发请求,服务器获取IM信息转发请求中包含的IM信息,并确定IM信息的数量;若IM信息转发请求中包含的IM信息至少两条,则将初始发件账户标识作为标签IM信息,并显示提示信息,以提示用户选择逐条转发或者合并转发,以减少用户的操作步骤。When the receiving account receives the IM information sent by the sending account, the receiving account can forward the sending information to other accounts, that is, the receiving account is based on the terminal triggering the forwarding request of the IM information, and the server receives the forwarding triggered by the IM information. Request, obtain the IM information contained in the forwarding request, and use the account identifier of the initial sending account as the label of the IM information, so that the user can understand the preliminary publisher of the information. Further, the user can forward multiple pieces of instant messaging information, the server receives the IM information forwarding request, the server obtains the IM information included in the IM information forwarding request, and determines the quantity of the IM information; if the IM information is included in the IM information forwarding request At least two, the initial sender account identifier is used as the label IM information, and the prompt information is displayed to prompt the user to select one-by-one forwarding or merge forwarding to reduce the user's operation steps.

步骤S80,将触发转发请求的账户作为新的发件账户,获取新的发件账户的账户标识作为新的第一标识,并获取转发请求中新的收件账户的账户标识作为新的第二标识。Step S80, the account that triggers the forwarding request is used as a new sending account, the account identifier of the new sending account is obtained as a new first identifier, and the account identifier of the new receiving account in the forwarding request is obtained as a new second. Logo.

服务器将触发转发请求的账户作为新的发件账户,服务器获取新的发件账户的账户标识作为新的第一标识,并获取转发请求中新的收件账户的账户标识作为新的第二标识。The server will trigger the account for forwarding the request as a new sending account, the server obtains the account identifier of the new sending account as the new first identifier, and obtains the account identifier of the new receiving account in the forwarding request as the new second identifier. .

步骤S90,根据预设账户标识与操作权限的关联关系,获取新的第一标识和新的第二标识对应的操作权限,并判断发件账户是否具有收件账户的转发权限。Step S90: Acquire an operation right corresponding to the new first identifier and the new second identifier according to the association relationship between the preset account identifier and the operation authority, and determine whether the sending account has the forwarding authority of the receiving account.

服务器根据预设账户标识与操作权限的关联关系,获取新的第一标识和新的第二标识对应的操作权限,并判断发件账户是否具有收件账户的转发权限,即,服务器获取新的第一标识操作权限中的发件权限级别和新的第二标识操作权限中的收件权限级别,将发件权限级别与收件权限级别进行比对;若发件权限级别与收件权限级别匹配,则发件账户具有收件账户的转发权限,需要补充说明的是本实施例中还可以围绕原始第一标识和新的第一标识的权限比对,判断新的第一标识是否具有对原始第一标识的IM信息具有转发的权限,此处不进行具体说明,原理可以参照权限级别的匹配。The server obtains the operation authority corresponding to the new first identifier and the new second identifier according to the association relationship between the preset account identifier and the operation authority, and determines whether the sending account has the forwarding authority of the receiving account, that is, the server acquires a new one. The sending permission level in the first identification operation authority and the receiving permission level in the new second identification operation permission, comparing the sending permission level with the receiving permission level; if the sending permission level and the receiving permission level If the matching is performed, the sending account has the forwarding right of the receiving account. In addition, in this embodiment, the original first identifier and the new first identifier may be compared to determine whether the new first identifier has a pair. The IM information of the original first identifier has the right of forwarding. It is not specifically described here. The principle can refer to the matching of the privilege level.

步骤S100,若发件账户具有收件账户的转发权限,则将携带标签的IM信息的转发至收件账户。In step S100, if the sending account has the forwarding right of the receiving account, the IM information carrying the tag is forwarded to the receiving account.

若发件账户具有收件账户的转发权限,则将携带标签的IM信息的转发至收件账户,以使接收者了解IM的信息源,服务器可以在接收携带标签的IM信息,并将IM信息的标签进行突出显示,以方便用户查看。If the sending account has the forwarding right of the receiving account, the IM information carrying the tag is forwarded to the receiving account, so that the receiver knows the information source of the IM, and the server can receive the IM information carrying the tag, and the IM information The tabs are highlighted for easy viewing by the user.

在本实施例中基于即时通讯信息进行消息转发,并将IM信息中增加标签,时用户可以了解消息源,使得企业版即时通讯软件中的用户快速确定IM信息的来源,并进行IM信息的响应。In this embodiment, when the message is forwarded based on the instant messaging information, and the label is added to the IM information, the user can understand the source of the message, so that the user in the enterprise version of the instant messaging software can quickly determine the source of the IM information and respond to the IM information. .

此外,参照图8,本申请实施例还提出基于即时通讯的信息发送装置,所述基于即时通讯的信息发送装置包括: In addition, referring to FIG. 8, the embodiment of the present application further provides an information sending apparatus based on instant messaging, where the information sending apparatus based on instant messaging includes:

接收获取模块10,设置为接收基于企业版即时通讯软件触发的IM信息发送请求,获取发送请求中包含的IM信息、发件账户的第一标识和收件账户的第二标识,其中,第一标识是指发件账户的账户标识,第二标识是指收件账户的账户标识;The receiving and obtaining module 10 is configured to receive an IM information sending request triggered by the enterprise version of the instant messaging software, and obtain the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, where the first The identifier refers to the account identifier of the sending account, and the second identifier refers to the account identifier of the receiving account;

获取判断模块20,设置为根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限;The obtaining judgment module 20 is configured to obtain an operation right corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determine whether the sending account has the sending permission of the receiving account;

信息发送模块30,设置为若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户。The information sending module 30 is configured to send the IM information to the receiving account if the sending account has the sending right of the receiving account.

其中,基于即时通讯的信息发送装置的各个功能模块实现的步骤可参照本申请基于即时通讯的信息发送方法的各个实施例,此处不再赘述。The steps of implementing the function of the information transmission device of the instant messaging device can refer to various embodiments of the information transmission method based on the instant messaging in the present application, and details are not described herein again.

此外,本申请实施例还提出一种计算机存储介质。In addition, the embodiment of the present application further provides a computer storage medium.

所述计算机存储介质上存储有基于即时通讯的信息发送程序,所述基于即时通讯的信息发送程序被处理器执行时实现上述实施例提供的基于即时通讯的信息发送方法中的操作。The computer storage medium stores an instant messaging-based information transmitting program, and the instant messaging-based information transmitting program is executed by the processor to implement the operation in the instant messaging-based information transmitting method provided by the foregoing embodiment.

以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.

Claims (20)

一种基于即时通讯的信息发送方法,其中,所述基于即时通讯的信息发送方法包括以下步骤: An instant messaging-based information transmitting method, wherein the instant messaging-based information transmitting method comprises the following steps: 接收基于企业版即时通讯软件触发的IM信息发送请求,获取发送请求中包含的IM信息、发件账户的第一标识和收件账户的第二标识,其中,第一标识是指发件账户的账户标识,第二标识是指收件账户的账户标识;Receiving an IM information sending request triggered by the enterprise version of the instant messaging software, obtaining the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, wherein the first identifier refers to the sending account Account identifier, the second identifier refers to the account identifier of the receiving account; 根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限;以及Obtaining, according to the association relationship between the preset account identifier and the operation authority, the operation authority corresponding to the first identifier and the second identifier, and determining whether the sending account has the sending permission of the receiving account; 若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户。If the sending account has the sending permission of the receiving account, the IM information is sent to the receiving account. 如权利要求1所述的基于即时通讯的信息发送方法,其中,所述根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限的步骤之前,包括:The instant messaging-based information transmitting method according to claim 1, wherein the obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account is Before you have the steps to send permissions to your receiving account, include: 接收基于企业版即时通讯软件触发的权限配置请求,获取权限配置请求中包含的账户标识;Receiving a permission configuration request triggered by the enterprise version instant messaging software, and obtaining an account identifier included in the permission configuration request; 根据账户标识和预设组织架构,确定账户标识对应用户在企业中的岗位信息,其中,预设组织架构是根据企业组织架构预先在企业版即时通讯软件中定义的企业部门信息;Determining, according to the account identifier and the preset organization structure, the account identifier corresponds to the post information of the user in the enterprise, wherein the preset organizational structure is the enterprise department information defined in advance in the enterprise version instant messaging software according to the enterprise organizational structure; 根据岗位信息确定账户标识对应的账户级别,根据所述账户级别确定对应账户的操作权限;Determining an account level corresponding to the account identifier according to the job information, and determining an operation authority of the corresponding account according to the account level; 建立操作权限与账户标识之间的关联关系,以根据账户标识查询操作权限。Establish an association relationship between the operation authority and the account identifier to query the operation authority according to the account identifier. 如权利要求2所述的基于即时通讯的信息发送方法,其中,所述根据账户标识和预设组织架构,确定账户标识对应用户在企业中的岗位信息的步骤,包括:The method for transmitting information based on instant messaging according to claim 2, wherein the step of determining, according to the account identifier and the preset organization structure, the account identifier corresponding to the post information of the user in the enterprise comprises: 将账户标识与预设组织架构中的员工标识进行比对;Compare the account ID with the employee ID in the default organizational structure; 若账户标识与预设组织架构中的员工标识匹配,则获取员工标识的对应的部门信息和工作内容信息;If the account identifier matches the employee identifier in the preset organization structure, obtaining corresponding department information and work content information of the employee identifier; 将部门信息和工作内容信息作为账户标识对应用户在企业中的岗位信息。The department information and the work content information are used as account identifiers corresponding to the user's job information in the enterprise. 如权利要求1所述的基于即时通讯的信息发送方法,其中,所述根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限的步骤,包括:The instant messaging-based information transmitting method according to claim 1, wherein the obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account is The steps of having the sending permission of the receiving account include: 根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限;Acquiring the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority; 获取第一标识操作权限中的发件权限级别和第二标识操作权限中的收件权限级别,将发件权限级别与收件权限级别进行比对;Obtaining a sending permission level in the first identification operation authority and a receiving permission level in the second identification operation permission, and comparing the sending permission level with the receiving permission level; 若发件权限级别与收件权限级别匹配,则发件账户具有收件账户的发送权限。If the sending permission level matches the receiving permission level, the sending account has the sending permission of the receiving account. 如权利要求1所述的基于即时通讯的信息发送方法,其中,所述根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限的步骤之后,还包括:The instant messaging-based information transmitting method according to claim 1, wherein the obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account is After the step of having the sending permission of the receiving account, the method further includes: 若发件账户不具有收件账户的发送权限,则发送提示信息至发件账户,以提示发件账户对应的用户申请发送权限;If the sending account does not have the sending permission of the receiving account, sending a prompt message to the sending account to prompt the user corresponding to the sending account to apply for the sending permission; 接收基于发件账户触发的发送权限申请请求,获取发送权限申请请求中包含的IM信息,并判断IM信息中是否包含敏感信息;Receiving the sending permission request request triggered by the sending account, obtaining the IM information included in the sending permission request, and determining whether the IM information includes sensitive information; 若IM信息中包含敏感信息,则授予发件账户单次发送权限,以使发件账户将IM信息发送至收件账户标识对应的收件账户。If the IM information contains sensitive information, the sending account is granted a single sending permission, so that the sending account sends the IM information to the receiving account corresponding to the receiving account identifier. 如权利要求1所述的基于即时通讯的信息发送方法,其中,所述若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户的步骤之后,包括:The instant messaging-based information transmitting method according to claim 1, wherein, if the sending account has the sending right of the receiving account, the step of sending the IM information to the receiving account includes: 接收基于IM信息触发的转发请求,获取转发请求中包含的IM信息,并将初始发件账户的账户标识作为IM信息的标签;Receiving a forwarding request triggered by the IM information, obtaining the IM information included in the forwarding request, and using the account identifier of the initial sending account as a label of the IM information; 将触发转发请求的账户作为新的发件账户,获取新的发件账户的账户标识作为新的第一标识,并获取转发请求中新的收件账户的账户标识作为新的第二标识;The account that triggers the forwarding request is used as a new sending account, the account identifier of the new sending account is obtained as a new first identifier, and the account identifier of the new receiving account in the forwarding request is obtained as a new second identifier; 根据预设账户标识与操作权限的关联关系,获取新的第一标识和新的第二标识对应的操作权限,并判断发件账户是否具有收件账户的转发权限;Obtaining, according to the association relationship between the preset account identifier and the operation authority, the operation authority corresponding to the new first identifier and the new second identifier, and determining whether the sending account has the forwarding authority of the receiving account; 若发件账户具有收件账户的转发权限,则将携带标签的IM信息的转发至收件账户。If the sending account has the forwarding right of the receiving account, the IM information carrying the tag is forwarded to the receiving account. 如权利要求6所述的基于即时通讯的信息发送方法,其中,所述若发件账户具有收件账户的转发权限,则将携带标签的IM信息的转发至收件账户的步骤之后,包括:The instant messaging-based information transmitting method according to claim 6, wherein the step of forwarding the IM information carrying the tag to the receiving account after the step of forwarding the IM information of the tag to the receiving account comprises: 接收携带标签的IM信息,并将IM信息的标签进行突出显示,以方便用户查看。Receive the IM information carrying the label and highlight the label of the IM information for the user to view. 一种基于即时通讯的信息发送装置,其中,所述基于即时通讯的信息发送装置包括:An instant messaging-based information transmitting apparatus, wherein the instant messaging-based information transmitting apparatus comprises: 接收获取模块,设置为接收基于企业版即时通讯软件触发的IM信息发送请求,获取发送请求中包含的IM信息、发件账户的第一标识和收件账户的第二标识,其中,第一标识是指发件账户的账户标识,第二标识是指收件账户的账户标识;The receiving and receiving module is configured to receive an IM information sending request triggered by the enterprise version of the instant messaging software, and obtain the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, where the first identifier Refers to the account identifier of the sending account, and the second identifier refers to the account identifier of the receiving account; 获取判断模块,设置为根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限;以及Obtaining a judging module, configured to obtain an operation authority corresponding to the first identifier and the second identifier according to an association relationship between the preset account identifier and the operation authority, and determine whether the sending account has the sending permission of the receiving account; 信息发送模块,设置为若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户。The information sending module is configured to send the IM information to the receiving account if the sending account has the sending right of the receiving account. 如权利要求8所述的基于即时通讯的信息发送装置,其中,所述获取判断模块设置为:The instant messaging-based information transmitting apparatus according to claim 8, wherein the acquisition determining module is configured to: 根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限;Acquiring the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority; 获取第一标识操作权限中的发件权限级别和第二标识操作权限中的收件权限级别,将发件权限级别与收件权限级别进行比对;Obtaining a sending permission level in the first identification operation authority and a receiving permission level in the second identification operation permission, and comparing the sending permission level with the receiving permission level; 若发件权限级别与收件权限级别匹配,则发件账户具有收件账户的发送权限。If the sending permission level matches the receiving permission level, the sending account has the sending permission of the receiving account. 一种基于即时通讯的信息发送设备,其中,所述基于即时通讯的信息发送设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于即时通讯的信息发送程序,其中: An instant messaging-based information transmitting device, wherein the instant messaging-based information transmitting device comprises: a memory, a processor, and an instant messaging-based information transmission stored on the memory and operable on the processor Program, where: 所述基于即时通讯的信息发送程序被所述处理器执行时实现如下的步骤:The instant messaging based information transmitting program is executed by the processor to implement the following steps: 接收基于企业版即时通讯软件触发的IM信息发送请求,获取发送请求中包含的IM信息、发件账户的第一标识和收件账户的第二标识,其中,第一标识是指发件账户的账户标识,第二标识是指收件账户的账户标识;Receiving an IM information sending request triggered by the enterprise version of the instant messaging software, obtaining the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, wherein the first identifier refers to the sending account Account identifier, the second identifier refers to the account identifier of the receiving account; 根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限;以及Obtaining, according to the association relationship between the preset account identifier and the operation authority, the operation authority corresponding to the first identifier and the second identifier, and determining whether the sending account has the sending permission of the receiving account; 若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户。If the sending account has the sending permission of the receiving account, the IM information is sent to the receiving account. 如权利要求10所述的基于即时通讯的信息发送设备,其中,所述基于即时通讯的信息发送程序被所述处理器执行时实现的步骤,包括:The instant messaging-based information transmitting apparatus according to claim 10, wherein the step of implementing the instant messaging-based information transmitting program by the processor comprises: 接收基于企业版即时通讯软件触发的权限配置请求,获取权限配置请求中包含的账户标识;Receiving a permission configuration request triggered by the enterprise version instant messaging software, and obtaining an account identifier included in the permission configuration request; 根据账户标识和预设组织架构,确定账户标识对应用户在企业中的岗位信息,其中,预设组织架构是根据企业组织架构预先在企业版即时通讯软件中定义的企业部门信息;Determining, according to the account identifier and the preset organization structure, the account identifier corresponds to the post information of the user in the enterprise, wherein the preset organizational structure is the enterprise department information defined in advance in the enterprise version instant messaging software according to the enterprise organizational structure; 根据岗位信息确定账户标识对应的账户级别,根据所述账户级别确定对应账户的操作权限;Determining an account level corresponding to the account identifier according to the job information, and determining an operation authority of the corresponding account according to the account level; 建立操作权限与账户标识之间的关联关系,以根据账户标识查询操作权限。Establish an association relationship between the operation authority and the account identifier to query the operation authority according to the account identifier. 如权利要求11所述的基于即时通讯的信息发送设备,其中,所述根据账户标识和预设组织架构,确定账户标识对应用户在企业中的岗位信息的步骤,包括:The instant messaging-based information sending device of claim 11, wherein the determining, according to the account identifier and the preset organization structure, the step of determining the account identifier corresponding to the user's position information in the enterprise comprises: 将账户标识与预设组织架构中的员工标识进行比对;Compare the account ID with the employee ID in the default organizational structure; 若账户标识与预设组织架构中的员工标识匹配,则获取员工标识的对应的部门信息和工作内容信息;If the account identifier matches the employee identifier in the preset organization structure, obtaining corresponding department information and work content information of the employee identifier; 将部门信息和工作内容信息作为账户标识对应用户在企业中的岗位信息。The department information and the work content information are used as account identifiers corresponding to the user's job information in the enterprise. 如权利要求10所述的基于即时通讯的信息发送设备,其中,所述根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限的步骤,包括:The instant messaging-based information sending device according to claim 10, wherein the obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account is The steps of having the sending permission of the receiving account include: 根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限;Acquiring the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority; 获取第一标识操作权限中的发件权限级别和第二标识操作权限中的收件权限级别,将发件权限级别与收件权限级别进行比对;Obtaining a sending permission level in the first identification operation authority and a receiving permission level in the second identification operation permission, and comparing the sending permission level with the receiving permission level; 若发件权限级别与收件权限级别匹配,则发件账户具有收件账户的发送权限。If the sending permission level matches the receiving permission level, the sending account has the sending permission of the receiving account. 如权利要求10所述的基于即时通讯的信息发送设备,其中,所述根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限的步骤之后,还包括:The instant messaging-based information sending device according to claim 10, wherein the obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account is After the step of having the sending permission of the receiving account, the method further includes: 若发件账户不具有收件账户的发送权限,则发送提示信息至发件账户,以提示发件账户对应的用户申请发送权限;If the sending account does not have the sending permission of the receiving account, sending a prompt message to the sending account to prompt the user corresponding to the sending account to apply for the sending permission; 接收基于发件账户触发的发送权限申请请求,获取发送权限申请请求中包含的IM信息,并判断IM信息中是否包含敏感信息;Receiving the sending permission request request triggered by the sending account, obtaining the IM information included in the sending permission request, and determining whether the IM information includes sensitive information; 若IM信息中包含敏感信息,则授予发件账户单次发送权限,以使发件账户将IM信息发送至收件账户标识对应的收件账户。If the IM information contains sensitive information, the sending account is granted a single sending permission, so that the sending account sends the IM information to the receiving account corresponding to the receiving account identifier. 如权利要求10所述的基于即时通讯的信息发送设备,其中,所述若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户的步骤之后,包括:The instant messaging-based information transmitting apparatus according to claim 10, wherein, if the sending account has the sending right of the receiving account, the step of transmitting the IM information to the receiving account includes: 接收基于IM信息触发的转发请求,获取转发请求中包含的IM信息,并将初始发件账户的账户标识作为IM信息的标签;Receiving a forwarding request triggered by the IM information, obtaining the IM information included in the forwarding request, and using the account identifier of the initial sending account as a label of the IM information; 将触发转发请求的账户作为新的发件账户,获取新的发件账户的账户标识作为新的第一标识,并获取转发请求中新的收件账户的账户标识作为新的第二标识;The account that triggers the forwarding request is used as a new sending account, the account identifier of the new sending account is obtained as a new first identifier, and the account identifier of the new receiving account in the forwarding request is obtained as a new second identifier; 根据预设账户标识与操作权限的关联关系,获取新的第一标识和新的第二标识对应的操作权限,并判断发件账户是否具有收件账户的转发权限;Obtaining, according to the association relationship between the preset account identifier and the operation authority, the operation authority corresponding to the new first identifier and the new second identifier, and determining whether the sending account has the forwarding authority of the receiving account; 若发件账户具有收件账户的转发权限,则将携带标签的IM信息的转发至收件账户。If the sending account has the forwarding right of the receiving account, the IM information carrying the tag is forwarded to the receiving account. 如权利要求15所述的基于即时通讯的信息发送设备,其中,所述若发件账户具有收件账户的转发权限,则将携带标签的IM信息的转发至收件账户的步骤之后,包括:The instant messaging-based information transmitting apparatus according to claim 15, wherein the step of forwarding the IM information carrying the tag to the receiving account after the step of forwarding the IM information of the tag to the receiving account comprises: 接收携带标签的IM信息,并将IM信息的标签进行突出显示,以方便用户查看。Receive the IM information carrying the label and highlight the label of the IM information for the user to view. 一种计算机存储介质,其中,所述计算机存储介质上存储有基于即时通讯的信息发送程序,所述基于即时通讯的信息发送程序被处理器执行时实现如下步骤:A computer storage medium, wherein the computer storage medium stores an instant messaging-based information transmitting program, and the instant messaging-based information transmitting program is executed by the processor to implement the following steps: 接收基于企业版即时通讯软件触发的IM信息发送请求,获取发送请求中包含的IM信息、发件账户的第一标识和收件账户的第二标识,其中,第一标识是指发件账户的账户标识,第二标识是指收件账户的账户标识;Receiving an IM information sending request triggered by the enterprise version of the instant messaging software, obtaining the IM information included in the sending request, the first identifier of the sending account, and the second identifier of the receiving account, wherein the first identifier refers to the sending account Account identifier, the second identifier refers to the account identifier of the receiving account; 根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限;以及Obtaining, according to the association relationship between the preset account identifier and the operation authority, the operation authority corresponding to the first identifier and the second identifier, and determining whether the sending account has the sending permission of the receiving account; 若发件账户具有收件账户的发送权限,则将IM信息发送至收件账户。If the sending account has the sending permission of the receiving account, the IM information is sent to the receiving account. 如权利要求17所述的计算机存储介质,其中,所述根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限,并判断发件账户是否具有收件账户的发送权限的步骤之前,包括:The computer storage medium according to claim 17, wherein the obtaining the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority, and determining whether the sending account has the receiving account Before the steps to send permissions, include: 接收基于企业版即时通讯软件触发的权限配置请求,获取权限配置请求中包含的账户标识;Receiving a permission configuration request triggered by the enterprise version instant messaging software, and obtaining an account identifier included in the permission configuration request; 根据账户标识和预设组织架构,确定账户标识对应用户在企业中的岗位信息,其中,预设组织架构是根据企业组织架构预先在企业版即时通讯软件中定义的企业部门信息;Determining, according to the account identifier and the preset organization structure, the account identifier corresponds to the post information of the user in the enterprise, wherein the preset organizational structure is the enterprise department information defined in advance in the enterprise version instant messaging software according to the enterprise organizational structure; 根据岗位信息确定账户标识对应的账户级别,根据所述账户级别确定对应账户的操作权限;Determining an account level corresponding to the account identifier according to the job information, and determining an operation authority of the corresponding account according to the account level; 建立操作权限与账户标识之间的关联关系,以根据账户标识查询操作权限。Establish an association relationship between the operation authority and the account identifier to query the operation authority according to the account identifier. 如权利要求18所述的计算机存储介质,其中,所述基于即时通讯的信息发送程序被处理器执行时实现根据账户标识和预设组织架构,确定账户标识对应用户在企业中的岗位信息的步骤,包括:The computer storage medium according to claim 18, wherein the instant messaging-based information transmitting program is executed by the processor to implement the step of determining the account identifier corresponding to the user's position information in the enterprise according to the account identifier and the preset organization structure. ,include: 将账户标识与预设组织架构中的员工标识进行比对;Compare the account ID with the employee ID in the default organizational structure; 若账户标识与预设组织架构中的员工标识匹配,则获取员工标识的对应的部门信息和工作内容信息;If the account identifier matches the employee identifier in the preset organization structure, obtaining corresponding department information and work content information of the employee identifier; 将部门信息和工作内容信息作为账户标识对应用户在企业中的岗位信息。The department information and the work content information are used as account identifiers corresponding to the user's job information in the enterprise. 如权利要求17所述的计算机存储介质,其中,所述基于即时通讯的信息发送程序被处理器执行时实现以下步骤:The computer storage medium of claim 17, wherein the instant messaging based information transmitting program is executed by the processor to implement the following steps: 根据预设账户标识与操作权限的关联关系,获取第一标识和第二标识对应的操作权限;Acquiring the operation authority corresponding to the first identifier and the second identifier according to the association relationship between the preset account identifier and the operation authority; 获取第一标识操作权限中的发件权限级别和第二标识操作权限中的收件权限级别,将发件权限级别与收件权限级别进行比对;Obtaining a sending permission level in the first identification operation authority and a receiving permission level in the second identification operation permission, and comparing the sending permission level with the receiving permission level; 若发件权限级别与收件权限级别匹配,则发件账户具有收件账户的发送权限。 If the sending permission level matches the receiving permission level, the sending account has the sending permission of the receiving account.
PCT/CN2018/082242 2018-02-23 2018-04-09 Information sending method, apparatus and device based on instant messaging, and storage medium Ceased WO2019161597A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810154764.4A CN108418747B (en) 2018-02-23 2018-02-23 Information sending method, device, equipment and storage medium based on instant messaging
CN201810154764.4 2018-02-23

Publications (1)

Publication Number Publication Date
WO2019161597A1 true WO2019161597A1 (en) 2019-08-29

Family

ID=63128789

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/082242 Ceased WO2019161597A1 (en) 2018-02-23 2018-04-09 Information sending method, apparatus and device based on instant messaging, and storage medium

Country Status (2)

Country Link
CN (1) CN108418747B (en)
WO (1) WO2019161597A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379274B (en) * 2018-10-29 2021-08-20 政采云有限公司 Method and device for sending information of instant messaging group
CN111224860B (en) * 2018-11-27 2021-10-15 腾讯科技(深圳)有限公司 Method and device for realizing communication session, electronic equipment and readable storage medium
CN109995768A (en) * 2019-03-18 2019-07-09 网宿科技股份有限公司 A kind of method and device of server rights management
CN111479023B (en) * 2019-07-15 2020-12-22 广州湖森电子科技有限公司 Agent call processing method, agent cooperation control system and device
US10798094B2 (en) 2019-07-24 2020-10-06 Alibaba Group Holding Limited Blockchain-based account management
CN110445775B (en) * 2019-07-24 2021-08-20 创新先进技术有限公司 Method and apparatus for account management
CN112769672B (en) * 2019-11-01 2022-07-29 腾讯科技(深圳)有限公司 Data communication method and device and communication configuration method and device
CN111666539B (en) * 2020-05-06 2023-07-28 深圳思为科技有限公司 Real estate resource management method, device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705299A (en) * 2004-05-27 2005-12-07 腾讯科技(深圳)有限公司 Method for controlling instant message in instant messaging system
TW201437930A (en) * 2013-03-25 2014-10-01 Imar Technology Co Ltd Enterprise social networking service system with multi-level organization management
CN104348839A (en) * 2014-11-28 2015-02-11 北京奇虎科技有限公司 Network communication method, device and system
CN106330656A (en) * 2015-06-18 2017-01-11 天脉聚源(北京)科技有限公司 User authority management method in instant messaging tool and user authority management system thereof
US20180011848A1 (en) * 2004-09-03 2018-01-11 Open Text Sa Ulc Systems and methods for collaboration

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834878B (en) * 2010-01-29 2012-08-29 陈时军 Multiuser system privilege management method and instant messaging system applying same
CN103516591B (en) * 2012-06-30 2016-09-07 北京神州泰岳软件股份有限公司 The implementation method of enterprise's address list and device in immediate communication platform
US9083693B2 (en) * 2013-04-27 2015-07-14 Tencent Technology (Shenzhen) Company Limited Managing private information in instant messaging
CN104202236A (en) * 2014-08-29 2014-12-10 蓝信工场(北京)科技有限公司 Method and system for establishing collaborating group and corresponding instant communication method
KR101623742B1 (en) * 2015-01-23 2016-05-25 주식회사 악어스캔 Method and system for sharing file related messages
CN107104930A (en) * 2016-02-23 2017-08-29 腾讯科技(深圳)有限公司 It is a kind of that the methods, devices and systems for checking authority are set
CN106411710B (en) * 2016-10-13 2019-12-13 腾讯科技(深圳)有限公司 Information processing method and device
CN107360083A (en) * 2017-07-29 2017-11-17 成都牵牛草信息技术有限公司 The method that instant messaging account contact person and default address list are preset according to the communication relations between role

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705299A (en) * 2004-05-27 2005-12-07 腾讯科技(深圳)有限公司 Method for controlling instant message in instant messaging system
US20180011848A1 (en) * 2004-09-03 2018-01-11 Open Text Sa Ulc Systems and methods for collaboration
TW201437930A (en) * 2013-03-25 2014-10-01 Imar Technology Co Ltd Enterprise social networking service system with multi-level organization management
CN104348839A (en) * 2014-11-28 2015-02-11 北京奇虎科技有限公司 Network communication method, device and system
CN106330656A (en) * 2015-06-18 2017-01-11 天脉聚源(北京)科技有限公司 User authority management method in instant messaging tool and user authority management system thereof

Also Published As

Publication number Publication date
CN108418747B (en) 2020-09-22
CN108418747A (en) 2018-08-17

Similar Documents

Publication Publication Date Title
WO2019161597A1 (en) Information sending method, apparatus and device based on instant messaging, and storage medium
WO2019192085A1 (en) Method, apparatus and device for direct-connected communication between bank and enterprise, and computer-readable storage medium
WO2019037396A1 (en) Account settlement method, device, device and storage medium
WO2019100604A1 (en) Account inquiry method, apparatus, device, and computer readable storage medium
WO2016029594A1 (en) Method and system for terminal to connect with display device
WO2019196213A1 (en) Interface test method, apparatus and device, and computer-readable storage medium
WO2018228050A1 (en) Method and device for preventing leakage of sensitive information, and storage medium
WO2018107610A1 (en) Service data processing method, system and device, and computer-readable storage medium
WO2015172684A1 (en) Ap connection method, terminal, and server
WO2019104876A1 (en) Insurance product pushing method and system, terminal, client terminal, and storage medium
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2014019183A1 (en) Method and system for controlling terminal device to access wireless network
WO2019128174A1 (en) Method for playing audio, smart television and computer-readable storage medium
WO2016058258A1 (en) Terminal remote control method and system
WO2020224247A1 (en) Blockchain–based data provenance method, apparatus and device, and readable storage medium
WO2018166091A1 (en) Method, system, and terminal for face-to-face loan signing, and computer-readable storage medium
WO2017054481A1 (en) Information verification and processing method and apparatus, and information processing system
WO2018076864A1 (en) Data synchronization method, apparatus, storage medium and electronic device
WO2019161599A1 (en) Im information protection method, apparatus and device, and computer storage medium
WO2019109521A1 (en) Identity approval method, apparatus and device for video interview, and readable storage medium
WO2018076875A1 (en) Backup data synchronisation method, apparatus, storage medium, electronic device, and server
WO2018076811A1 (en) Data sharing method, device, system, storage medium and electronic device
WO2016052889A1 (en) Mobile terminal and method of controlling the same
WO2019134218A1 (en) Vtm-based transfer method and device, server, and storage medium
WO2015120774A1 (en) Network access method and apparatus applied to mobile application

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18906956

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16.11.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18906956

Country of ref document: EP

Kind code of ref document: A1