CN114979049A - Instant communication message display method, device, equipment and storage medium - Google Patents

Instant communication message display method, device, equipment and storage medium Download PDF

Info

Publication number
CN114979049A
CN114979049A CN202110192181.2A CN202110192181A CN114979049A CN 114979049 A CN114979049 A CN 114979049A CN 202110192181 A CN202110192181 A CN 202110192181A CN 114979049 A CN114979049 A CN 114979049A
Authority
CN
China
Prior art keywords
organization
member account
instant messaging
account
session
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.)
Granted
Application number
CN202110192181.2A
Other languages
Chinese (zh)
Other versions
CN114979049B (en
Inventor
林梅贞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110192181.2A priority Critical patent/CN114979049B/en
Publication of CN114979049A publication Critical patent/CN114979049A/en
Application granted granted Critical
Publication of CN114979049B publication Critical patent/CN114979049B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Abstract

The application discloses a display method, a display device, equipment and a storage medium of an instant messaging message, and relates to the field of instant messaging. The method is applied to a first instant messaging client belonging to a first instant messaging system, and the first instant messaging client logs in a first member account belonging to a first mechanism. The method comprises the following steps: displaying a second member account number shared by a second organization; responding to the triggering operation of the second member account, and displaying a session interface with the second member account; and responding to the sending operation, and displaying an instant messaging message on the conversation interface, wherein the instant messaging message is sent from the first member account to the second member account. By the scheme, communication between the mechanisms independently provided with the independent IM systems is more convenient, information safety of the mechanisms is protected, and cross-mechanism communication of users of different mechanisms is realized, so that the communication between the users of different mechanisms is always in a controllable state.

Description

Instant communication message display method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method, a device, equipment and a storage medium for displaying instant messaging messages.
Background
In internet communication, an IM (Instant Messaging) service provides an organization with Instant Messaging. Many organizations have separate IM systems for information security reasons.
In the related technology, the same IM service set is deployed in the same mechanism, and users in the mechanism can realize instant messaging. Users within the same organization are in a separate, privatized environment.
When users of different organizations need to perform cross-organization communication, the deployed IM service cannot realize interconnection and intercommunication on the premise of ensuring information security.
Disclosure of Invention
The application provides a display method, a device, equipment and a storage medium of instant messaging messages, which can realize interconnection and intercommunication of different mechanisms on the premise of ensuring information safety. The technical scheme is as follows:
according to an aspect of the present application, there is provided a method for displaying an instant messaging message, the method being applied to a first instant messaging client belonging to a first instant messaging system, the first instant messaging client having a first member account belonging to a first organization logged in, the method comprising:
displaying a second member account shared by a second mechanism, wherein the second mechanism uses a second instant messaging system, the second instant messaging system and the first instant messaging system are deployed on different servers, an interconnection channel is established between the different servers, and the second member account is a whole account or a part of account of the second mechanism;
responding to the triggering operation of the second member account, and displaying a conversation interface with the second member account;
and responding to the sending operation, and displaying an instant messaging message on the conversation interface, wherein the instant messaging message is sent from the first member account to the second member account.
According to another aspect of the present application, there is provided a first instant messaging device belonging to a first instant messaging system, the first instant messaging device being registered with a first member account belonging to a first organization, the device comprising:
the display module is used for displaying a second member account shared by a second mechanism, the second mechanism uses a second instant messaging system, the second instant messaging system and the first instant messaging system are deployed on different servers, an interconnection channel is established between the different servers, and the second member account is a whole account or a part of accounts of the second mechanism;
the interaction module is used for responding to the triggering operation of the second member account, and controlling the display module to display a session interface with the second member account;
and the display module is also used for responding to the sending operation and displaying the instant communication message on the conversation interface, wherein the instant communication message is sent from the first member account to the second member account.
According to an aspect of the present application, there is provided a computer device including: a processor and a memory, the memory storing a computer program that is loaded and executed by the processor to implement the method of displaying an instant messaging message as described above.
According to another aspect of the present application, there is provided a computer storage medium storing a computer program loaded and executed by a processor to implement the instant messenger message display method as described above.
According to another aspect of the application, a computer program product or computer program is provided, comprising computer instructions stored in a computer storage medium. The processor of the computer device reads the computer instruction from the computer storage medium, and the processor executes the computer instruction, so that the computer device executes the display method of the instant messaging message.
The beneficial effects that technical scheme that this application embodiment brought include at least:
the instant communication message is displayed on the session interface of the first member account and the second member account, the message sent by the first user is transmitted through the interconnection channel of the first IM server and the second IM server, and finally, the cross-mechanism communication of the users is realized on the premise of ensuring the information security. By the scheme, communication between the mechanisms independently provided with the independent IM systems is more convenient, information safety of the mechanisms is protected, and cross-mechanism communication of users of different mechanisms is realized, so that the communication between the users of different mechanisms is always in a controllable state.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a block diagram of an instant messaging system according to an exemplary embodiment of the present application;
fig. 2 is a flowchart of a method for displaying an instant messenger message according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of an interface for triggering a message to be sent according to an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of an interface for a chat session provided by an exemplary embodiment of the present application;
FIG. 5 is a schematic diagram of an interface for selecting a chat object provided by an exemplary embodiment of the application;
FIG. 6 is an interface diagram of an instant messaging application displaying a first organizational structure tree, as provided by an exemplary embodiment of the present application;
fig. 7 is a diagram illustrating an instant messaging application displaying a second organizational tree, according to an exemplary embodiment of the present application;
FIG. 8 is a schematic illustration of a first and third organizational structure tree formation process provided by an exemplary embodiment of the present application;
fig. 9 is a schematic diagram of a first instant messaging system organizational structure and a second instant messaging system organizational structure according to an exemplary embodiment of the present application;
FIG. 10 is a schematic diagram illustrating a mapping relationship between a native member account and a mapped member account provided in an exemplary embodiment of the application;
FIG. 11 is a diagram illustrating a mapping relationship between a native session identifier and a mapping session identifier according to an exemplary embodiment of the present application;
FIG. 12 is a schematic diagram of a version number mechanism provided by an exemplary embodiment of the present application;
FIG. 13 is a diagrammatic illustration of a multi-chassis session version number as provided by an exemplary embodiment of the present application;
FIG. 14 is a diagram of an instant messaging method in accordance with an exemplary embodiment of the present application;
fig. 15 is a block diagram showing the construction of an instant messenger message display apparatus according to an exemplary embodiment;
FIG. 16 shows a block diagram of an electronic device provided by an exemplary embodiment of the present application;
fig. 17 is a block diagram illustrating an instant messaging system according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms referred to in the embodiments of the present application are briefly described:
interconnecting channels: refers to the passage of messages from a first IM server of a first organization to a second IM server of a second organization. In one embodiment, the interconnection channel includes "first IM server-gateway-second IM server", that is, the first user sends a message from the first user terminal, and the message finally reaches the second user terminal via the first IM server, the gateway and the second IM server. In one embodiment, the interconnection channel comprises "first IM server-first organization gateway-central server-second organization gateway-second IM server", i.e. the first user sends a message from the first user terminal, which message finally reaches the second user terminal via the first IM server, first organization gateway, central server, second organization gateway, second IM server.
Interconnection: the present application refers to an interconnection relationship between at least two organizations which satisfies instant messaging. Illustratively, the a organization and the B organization realize interconnection, that is, a user in the a organization can communicate with a user in the B organization in an instant manner. The A mechanism and the B mechanism are respectively provided with respective IM systems.
An interconnection gateway: conventional gateways are located at the edge of a network and manage and forward data from within the network to outside networks. When one network communicates with another, the packet will pass to the gateway and then be routed to the destination through the most efficient path. The internet gateway has the same function as the traditional gateway, and is different from the traditional gateway in that the internet gateway is specially arranged on the IM servers of all organizations, or is used for communication among the organizations.
The conversion of the communication protocol can be realized on the internet gateway, namely, the message is processed, and the obtained new message conforms to the communication protocol of the external network.
The central server: the IM server is set as a master and the other IM servers are set as slaves in at least two IM servers after at least two organizations are interconnected. In the present application, the central server is used for determining the chat change version number.
Version number: to the identification of chat changes. Wherein the chat change includes sending a new message and revoking the message. Illustratively, the account a and the account B perform instant messaging, the session version number of the current account a and the current account B is a first version number, and a new message is sent to the account B based on the account a, so that the session version number of the account a and the account B is a second version number. And finally, withdrawing the new message based on the account A, so that the session version number of the account A and the session version number of the account B are a third version number. In one embodiment, the version number refers to the chat window identifier of the A account and the B account. In one embodiment, the version number is increasingly larger in value.
In one embodiment, all the interconnected organizations are provided with a version number mechanism, and in response to one of the organizations sending the chat change successfully, the first version numbers of all the interconnected organizations are updated to the second version numbers synchronously/asynchronously. Illustratively, the A, B, C institutions are set as interconnection institutions, wherein the version numbers of the A, B, C institutions are all first version numbers, and when the account number of the institution a successfully sends a message to the account number of the institution B, the version number of the A, B, C institution is updated to a second version number. Based on the version number mechanism, the chat change among all the interconnected mechanisms can be carried out in sequence, and the chat change collision among the mechanisms is avoided.
Cloud technology refers to a hosting technology for unifying series of resources such as hardware, software, and network in a wide area network or a local area network to realize calculation, storage, processing, and sharing of data.
Cloud technology (Cloud technology) is based on a general term of network technology, information technology, integration technology, management platform technology, application technology and the like applied in a Cloud computing business model, can form a resource pool, is used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-like websites and more web portals. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data in different levels are processed separately, and various industrial data need strong system background support and can only be realized through cloud computing.
The cloud conference is an efficient, convenient and low-cost conference form based on a cloud computing technology. A user can share voice, data files and videos with teams and clients all over the world quickly and efficiently only by performing simple and easy-to-use operation through an internet interface, and complex technologies such as transmission and processing of data in a conference are assisted by a cloud conference service provider to operate.
At present, domestic cloud conferences mainly focus on Service contents mainly in a Software as a Service (SaaS a Service) mode, including Service forms such as telephones, networks and videos, and cloud computing-based video conferences are called cloud conferences.
In the cloud conference era, data transmission, processing and storage are all processed by computer resources of video conference manufacturers, so that users do not need to purchase expensive hardware and install complicated software, and can carry out efficient teleconference only by opening a browser and logging in a corresponding interface.
The cloud conference system supports multi-server dynamic cluster deployment, provides a plurality of high-performance servers, and greatly improves conference stability, safety and usability. In recent years, video conferences are popular with many users because of greatly improving communication efficiency, continuously reducing communication cost and bringing about upgrading of internal management level, and the video conferences are widely applied to various fields such as governments, armies, transportation, finance, operators, education, enterprises and the like. Undoubtedly, after the video conference uses cloud computing, the cloud computing has stronger attraction in convenience, rapidness and usability, and the arrival of new climax of video conference application is necessarily stimulated.
Cloud Social interaction (Cloud Social) is a virtual Social application mode of internet of things, Cloud computing and mobile internet interactive application, aims to establish a famous resource sharing relationship map, and further develops network Social interaction, and is mainly characterized in that a large number of Social resources are uniformly integrated and evaluated to form a resource effective pool to provide services for users as required. The more users that participate in the sharing, the greater the utility value that can be created.
Artificial intelligence cloud service: the so-called artificial intelligence cloud Service is also generally called AIaaS (AI as a Service, chinese). The method is a service mode of an artificial intelligence platform, and particularly, the AIaaS platform splits several types of common AI services and provides independent or packaged services at a cloud. This service model is similar to the one opened in an AI theme mall: all developers can access one or more artificial intelligence services provided by the platform through an API interface, and some of the qualified developers can also use an AI framework and an AI infrastructure provided by the platform to deploy and operate and maintain the dedicated cloud artificial intelligence services.
According to the method and the system, interconnection and intercommunication among the mechanisms can be realized on the premise of ensuring the information security of the mechanisms. Fig. 1 is a schematic structural diagram of an instant messaging system according to an exemplary embodiment of the present application. The instant messaging system shown in fig. 1 includes:
a first IM server 110, a first terminal 111 connected with the first IM server 110, a second terminal 112 connected with the first IM server 110, a third terminal 113 connected with the first IM server 110, and a first Internet gateway 114;
a second IM server 120, a fourth terminal 121 connected to the second IM server 120, a fifth terminal 122 connected to the second IM server 120, and a second internet gateway 123;
a third IM server 130, a sixth terminal 131 connected to the third IM server, and a third internet gateway 132.
The first IM server 110, the first terminal 111, the second terminal 112, the third terminal 113 and the first internet gateway 114 form a first network 11, the second IM server 120, the fourth terminal 121, the fifth terminal 122 and the second internet gateway 123 form a second network 12, the third IM server 130, the sixth terminal 131 and the third internet gateway 132 form a third network 13, and these terminals or servers may form a blockchain network.
And an application program or a webpage client supporting instant messaging is installed and operated on the terminal. The terminal is connected with the IM server through a data connection channel in the network to which the terminal belongs. Illustratively, the first terminal 111, the second terminal 112, and the third terminal 113 are connected to the first IM server 110 through a data connection channel inside the first network 11.
The networks are connected through a data connection channel. In one embodiment, the IM server is provided with an Internet gateway, and the Internet gateway sends the session to another Internet gateway based on the session sent to the Internet gateway by the IM server. Illustratively, the first IM server 110 is provided with a first internet gateway 114, the second IM server 120 is provided with a second internet gateway 123, and the first network and the second network are communicated through session transfer between the first internet gateway 114 and the second internet gateway 123.
In the following, it is exemplified that the first terminal 111 in the first network 11 sends a message to the fourth terminal 121 in the second network 12, so that the message passing process of the terminals between different networks can be obtained by the same method.
In one embodiment, an application program supporting instant messaging is installed and executed on the first terminal 111, and in response to an operation that the first user sends a message to a second user of the second organization through the application program supporting instant messaging, the first terminal 111 sends the message to the first IM server 110, the first IM server 110 is provided with a first internet gateway 114, and the operations of account mapping, session mapping and chat version change updating are performed on the first internet gateway 114.
A central IM server is arranged between the first internet gateway 114 and the second internet gateway 123, and optionally, the central IM server is one of the first IM server 110 or the second IM server 120; optionally, the central IM server is an IM server other than the first IM server 110 and the second IM server 120.
The first internet gateway 114 sends the message to the central IM server, which updates the chat change request version number and sends the message to the second internet gateway 123, where the second internet gateway 123 is disposed on the second IM server 120.
The second internet gateway 123 receives the message, and then performs session mapping and determines whether the first user account includes a temporary user account. If the first user account includes a temporary user account, the second internet gateway 123 pulls the temporary user account information from the first IM server, and then waits for the first internet gateway 114 to resend the message; if the first user account does not include the temporary user account, the second internet gateway 123 sends the message to the second IM server, updates the local chat change version number after obtaining an instruction that the second IM server 120 successfully receives the message, sends the instruction that the second IM server 120 successfully receives the message to the first internet gateway 114, and the first internet gateway 114 sends an instruction to delete the session change to the first IM server.
The second IM server 120 receives the message and delivers the message to the fourth terminal 121. The fourth terminal 121 controls the display screen to display the above-mentioned message.
Based on the above description, the message passing process of the terminal between different networks has been explained.
Optionally, at least one terminal is included in different networks, and fig. 1 only shows a distribution of terminals according to an exemplary embodiment of the present application, and those skilled in the art may know that the number of the terminals may be greater or smaller. For example, the number of the terminals may be only one, or several tens or hundreds of the terminals, or more. The number of terminals and the type of the device are not limited in the embodiments of the present application.
Optionally, the application programs running on all the terminals are the same, or the application programs running on all the terminals are the same type of instant messaging program on different operating system platforms (android or IOS). Optionally, the device types of all the terminals are the same or different, and the device types include: at least one of a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, motion Picture Experts Group Audio Layer IV), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion Picture Experts Group Audio Layer 4), a laptop portable computer, and a desktop computer. The following embodiments are illustrated with the terminal comprising a desktop computer.
Optionally, the first IM server 110, the second IM server 120, and the third IM server 130 may all be one IM server, or may be an IM server cluster formed by multiple IM servers, or may be a physical IM server device, or may be a cloud IM server, which is not limited in this embodiment of the present application.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and a big data and artificial intelligence platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
Fig. 2 is a flowchart of a method for displaying an instant messenger message according to an exemplary embodiment of the present application. The method is applied to the instant messaging system shown in fig. 1 for explanation.
The method shown in fig. 2 may be applied to a first instant messaging client belonging to a first instant messaging system, where the first instant messaging client logs in a first member account belonging to a first organization. The method comprises the following steps:
step 210, displaying a second member account shared by a second organization;
the first mechanism uses a first instant messaging system and the second mechanism uses a second instant messaging system. The second instant messaging system and the first instant messaging system are deployed on different servers, an interconnection channel is established between the different servers, and the second member account is a whole account or a part of account of the second organization.
Optionally, the instant messaging application programs used by the first instant messaging system and the second instant messaging system are the same, or the same type of instant messaging program on different operating system platforms (android or IOS).
The intercommunication channel refers to a channel through which an instant messaging message is transferred from a first IM server of a first organization to a second IM server of a second organization. In one embodiment, the interconnection channel comprises "first IM server-gateway-second IM server", that is, the first institution user sends a message from the first institution terminal, and the message finally reaches the second institution terminal via the first IM server, the gateway and the second IM server. In one embodiment, the interconnection channel comprises "first IM server-first interconnection gateway-central server-second interconnection gateway-second IM server", that is, the first institution user sends a message from the first institution terminal, and the message finally reaches the second user terminal through the first IM server, the first interconnection gateway, the central server, the second interconnection gateway, and the second IM server.
Step 220, responding to the triggering operation of the second member account, and displaying a conversation interface with the second member account;
the second member account is a full or partial account of the second institution. The following will describe the case where the second member account is a single account and at least two accounts of the second institution:
first, in response to a first trigger operation on a single second member account, a single chat session interface with the single second member account is displayed.
Wherein the triggering operation comprises at least one of single-click and double-hit.
In one embodiment, in response to a single click operation of a first user on a single second member account, the terminal displays an operation selection frame for the single second member account, and in response to a message sending operation selected by the first user, the terminal displays a single chat session interface of the first user account and the single second member account.
Schematically, fig. 3 shows that the first user performs a triggering operation on the operation prison account, in response to the first user performing the triggering operation on the operation prison account, the terminal displays an operation selectable box, and in response to the first user selecting a "send message" operation, the terminal displays a single chat session interface with the operation prison account.
In one embodiment, in response to a double-click operation of the first user on a single second member account, the terminal directly displays a single chat session interface of the first user account and the single second member account.
Schematically, fig. 4 shows a single chat session interface of an engineer assistant account with an operator chief account. Where single chat session interface 400 includes a message input area 410, a history message area 420, a second member account information area 430, and a send message control 440.
The message input area 410 is used for a first user to input a message, and in combination with a font selection control, an expression selection control, a screenshot control and an image insertion control which are displayed from left to right above the text input box, the user can sequentially perform font selection, expression addition, screenshot addition and image addition on the input message. In response to the first user input message, the terminal displays the message on a single chat session interface of the engineer assistant account and the operations director account.
The historical message area 420 displays the most recent message records between the engineer assistant account and the operations director account. In response to the first user triggering the "message record" control, the terminal displays all of the historical message records.
The second member account information area 430 displays information of the second account. Illustratively, fig. 4 shows the telephone information "telephone: 123123 "and cell phone number information" cell phone number: 456456".
The send message control 440 is used for the first user to confirm the send message. And responding to the triggering of the sending control by the first user, and sending the message input by the first user to a second terminal of the second mechanism by the terminal.
And secondly, displaying a group chat session interface with the at least two second member accounts in response to a second trigger operation of the at least two second member accounts. And responding to the triggering operation of the first user on the at least two second member accounts, and displaying a group chat session interface of the at least two member accounts on the terminal.
And the second triggering operation comprises an operation of adding accounts in the single chat session interface and an operation of directly pulling at least two member accounts.
In one embodiment, fig. 5 illustrates a triggering operation of the first user selecting at least two second member accounts in response to the first user adding an account in the single chat session interface.
In one embodiment, FIG. 5 illustrates a triggering operation of a first user selecting at least two second member accounts in response to the first user pulling directly at least two member accounts.
Fig. 5 illustrates an interface diagram of the first user selecting two second member accounts as chat objects, where fig. 5 includes a select contacts area 510, a selected contacts area 520, an add target contact control 530, a delete target contact control 540, and a determine contact control 550.
In response to the first user triggering an add target contact control 530, the terminal adds the target contact in the select contacts area 510 to the selected contacts area 520, where the select contacts area 510 includes accounts in institution B that are interconnected with institution a and the selected contacts area 520 includes all selected target contact accounts.
In response to the first user triggering the delete target contact control 540, the terminal removes the target contact from the selected contacts area 520 in the selected contacts area 520. In response to the user triggering determination control 550, the first user completes a second triggering operation that selects at least two second member accounts.
And displaying a group chat session interface of the first member account and the at least two second member accounts on the terminal based on the first user completing the selection of the at least two second member accounts.
Based on the foregoing, the description has been completed that the second member account is a single account for the second institution and that the second member account is at least two accounts for the second institution.
The following will describe a case where the session interface between the first member account and the second member account also displays the temporary member account.
First, in response to an invite operation to a third member account, the third member account is displayed in a group chat session interface. Wherein the third member account is a member account belonging to the first organization, and the third member account is a member account not shared by the first organization to the second organization;
and responding to the invitation operation of the first user to the third member account, and displaying the third member account in the group chat session interface by the terminal. This third member account is the temporary member account.
And secondly, displaying a fourth member account in the group chat session interface, wherein the fourth member account is a member account belonging to the second organization, the fourth member account is a member account which is not shared by the second organization to the first organization, and the fourth member account is invited to the group chat session interface by the second member account.
And responding to the invitation operation of the second user to the fourth member account, and displaying the fourth member account in the group chat session interface. Wherein the second user controls a second member account of the second institution. The fourth member account is a temporary member account.
In one embodiment, the temporary user controlling the temporary member account cannot view the account information of the external institution.
In step 230, in response to the sending operation, an instant messaging message is displayed on the session interface.
The instant messaging message is sent from the first member account to the second member account.
And responding to the operation of sending the instant messaging message on the session interface by the first user, and displaying the instant messaging message on the session interface corresponding to the first member account.
Fig. 2 shows a method flow of displaying an instant messaging message on a first client of a first IM system, and a method flow of displaying an instant messaging message on a second client of a second IM system, where step 310, step 320, and step 340 are similar to step 210, step 220, and step 230, and are not described again.
In summary, the method includes displaying instant messaging messages of a first member account and a second member account on a first instant messaging client, where the first member account exists in a first instant messaging system of a first organization, and the second member account exists in a second instant messaging system of a second organization. The method makes the communication between the mechanisms independently provided with the independent IM system more convenient, not only protects the information safety of the mechanisms, but also realizes the cross-mechanism communication of users of different mechanisms, and makes the communication between the users of different mechanisms in a controllable state all the time.
Before the interconnection and intercommunication of two IM systems, the method also comprises the following steps:
step 202, in response to the setting operation of the shared organization architecture, the first IM client (having the management authority) generates a third organization architecture tree shared by the first organization to the second organization, where the third organization architecture tree is used to indicate an organization architecture corresponding to the first member account when shared by the first organization to the second organization;
the third organizational structure tree is all or a subset of the fourth organizational structure tree, or the third organizational structure tree is different from the fourth organizational structure tree (the portion corresponding to the shared first member account).
The fourth organization structure tree is used for indicating the corresponding organization structure of the first member account in the first instant messaging system.
Step 204, the first IM client sends a third organization structure tree to the server;
and generating a third organizational structure tree shared by the first organization to the second organization based on the first IM client (with management authority), and sending the third organizational structure tree to the server by the first IM client.
In the embodiment of the present application, the server refers to a server of an instant messaging application.
Step 206: in response to a setup operation of the shared organizational structure, the second IM client (with administrative authority) generates a first organizational structure tree shared by the second organization to the first organization, the first organizational structure tree indicating an organizational structure to which the second member account corresponds when shared by the second organization to the first organization;
in one embodiment, a first organization tree is used for displaying a second member account shared by a second organization on a first instant messaging client, and a second organization tree is used for displaying a second member account shared by the second organization on a second instant messaging client belonging to a second instant messaging system. The first organization architecture tree is used for indicating the organization architecture corresponding to the second member account when the second organization shares the first organization. The first organization tree is different from the second organization tree. The second organization structure tree is used for indicating the corresponding organization structure of the second member account in the second instant messaging system.
In one possible design, the first organizational tree is all or a subset of the second organizational tree. Schematically, fig. 6 shows a first organization structure tree, and fig. 6 shows an organization structure of a part of member accounts in an "operation part", "sales part", "development part", "human resource center" and "legal part" of a B organization corresponding to a first instant messaging system of a organization a. Fig. 7 shows a second organization structure tree, and fig. 7 shows the organization structure of all member accounts in "sales department", "development department", "human resource center", "legal department", "president office", "operation department" and "financial department" of the B organization in the second instant messaging system. The first organization tree shown in fig. 6 described above is a partial architecture of the second organization tree shown in fig. 7.
In another possible design, the first organization tree is different from the second organization tree. The following are exemplified: the operation chief deputy account of the organization B is in the operation department in the instant communication system of the organization B, and the operation chief deputy account of the organization B is in the butt joint department in the instant communication system of the organization A, namely, the operation chief deputy account is in different organization nodes in the instant communication system of the organization A, B.
The following explains the generation process of the first and third organizational structure trees.
In response to a setup operation of the shared organization architecture, a first member account in the first organization and a second member account of the second organization are selected as shared member accounts. In one embodiment, FIG. 8 illustrates a process in which shared member accounts are selected in a first organization and a second organization. In response to the setting operation of the shared organization structure, selecting the persons to be interconnected from the A organization to form an organization structure of the persons to be interconnected of the A organization, namely a third organization structure tree; and selecting the person to be interconnected from the B organization to form an organization structure of the person to be interconnected of the B organization, namely a first organization structure tree.
Fig. 9 shows a supplemented first instant messaging system organizational structure and a supplemented second instant messaging system organizational structure. Based on the formation of the first and third organization structure trees, the first organization structure tree supplements the organization structure of the organization a, and the third organization structure tree supplements the organization structure of the organization B.
The second IM client sends the first organizational structure tree to the server, step 208.
And generating a first organization architecture tree shared by the second organization to the first organization based on the second IM client (with management authority), and sending the first organization architecture tree to the server by the second IM client.
In summary, by setting the organization structure tree in each organization, the interconnection account numbers of each organization are disclosed mutually. By the scheme, communication between the mechanisms independently provided with the independent IM systems is more convenient, information safety of the mechanisms is protected, and cross-mechanism communication of users of different mechanisms is realized, so that the communication between the users of different mechanisms is always in a controllable state.
In an alternative embodiment based on fig. 2, step 210 further comprises step 210-1.
Step 210-1, a first set of loom interfaces is displayed.
A plurality of contact person nodes displayed by adopting a first organization structure tree are displayed on a first organization structure interface, and the contact person nodes correspond to second member accounts shared by a second organization one by one;
and displaying a first group of organization interfaces on the first instant messaging client, wherein a plurality of contact person nodes displayed by adopting a first organization tree are displayed on the first group of organization interfaces, and the contact person nodes are in one-to-one correspondence with second member accounts shared by a second organization. For example, fig. 6 shows a plurality of contact nodes on the interface of the first organization, and fig. 6 shows part of member accounts in "operation department", "sales department", "development department", "human resource center" and "legal department" of the organization B, such as "operation chief manager", "operation chief manager assistant", "sales department manager", "sales department assistant" and "sales department manager assistant". Fig. 7 shows all member accounts in "sales department", "research and development department", "human resource center", "legal department", "president office", "operation department", and "finance department" of the B organization. Wherein the contact nodes in fig. 6 are in one-to-one correspondence with the second member accounts shared by the second organization.
Optionally, a first organization interface is displayed on the first instant messaging client, a plurality of contact nodes displayed by using a fourth organization tree are displayed on the first organization interface, and the contact nodes correspond to part or all member accounts of the first organization one by one. Schematically, FIG. 6 shows an optional goal bar for the A mechanism. In response to the first user triggering the "A organization" selectable target bar, the first organization interface displays some or all of the member accounts for the A organization. Wherein, part or all member accounts form a fourth organization structure tree.
It should be noted that there are a plurality of combination display methods between the plurality of contact nodes displayed on the first organization tree on the first organization interface and the plurality of contact nodes displayed on the fourth organization tree on the first organization interface, and the combination methods will be described below.
Optionally, the contact nodes corresponding to the first organizational structure tree and the contact nodes corresponding to the fourth organizational structure tree are arranged in a staggered manner, for example, the order from top to bottom is: the president account of the organization A, the operation chief prison account of the organization B and the president secretary account of the organization A;
optionally, the contact nodes corresponding to the first organizational structure tree and the contact nodes corresponding to the fourth organizational structure tree are arranged in a classified manner, for example, part or all of the account numbers of the members of the organization a are displayed in the selectable target column of the organization a, and the shared account numbers of the members of the organization B are displayed in the selectable target column of the organization B.
In an alternative embodiment based on fig. 2, step 220 further comprises step 220-1.
Step 220-1, in response to a selection operation on the target contact node in the first organizational structure interface, displaying a session interface of the second member account corresponding to the target contact node.
Illustratively, FIG. 3 shows an interface diagram of a first user selecting a target contact. Fig. 3 shows an interface diagram of a first user performing a triggering operation on the operation prison account, where in response to the first user performing the triggering operation on the operation prison account, the terminal displays an operation selectable box, and in response to the first user selecting a "send message" operation, the terminal displays a single chat session interface with the operation prison account. That is, in response to a selection operation of the first user on the target contact node in the first organization structure interface, the first instant messaging client displays a session interface of the second member account corresponding to the target contact node.
In an alternative embodiment based on fig. 2, there is a first member account number on the first organization and a second member account number on the second organization.
The first member account number for the same organization member includes: a first native member account and a first mapping member account having a mapping relationship; the first native member account is a contact account used in the first instant messaging system; the first mapping member account is a contact account used in the second instant messaging system after mapping the first native member account, and the first mapping member account has uniqueness in the second instant messaging system.
When the first member account sends the instant messaging message to the second member account, the internet gateway is used for mapping the first native member account into a first mapping member account.
Second member accounts for members of the same organization include: a second native member account and a second mapping member account having a mapping relationship; the second native member account is a contact account used in a second instant messaging system; the second mapping member account is a contact account used in the first instant messaging system after mapping the second native member account, and the second mapping member account has uniqueness in the first instant messaging system.
When the second member account sends the instant messaging message to the first member account, the internet gateway is used for mapping the second native member account into a second mapping member account.
In one embodiment, the internet gateway stores a relationship table of native member accounts and mapped member accounts. Illustratively, fig. 10 shows the correspondence of the native member account and the mapped member account. Illustratively, as shown in fig. 10, the UIN (User Identification Number) of the member account mapped in the a organization of the operation director of the B organization is 20001, and the UIN of the native member account of the B organization of the operation director of the B organization is 1001. Namely, the primary member account of the operation chief of the organization B in the organization B is 1001, and the mapping member account of the operation chief of the organization B in the organization A is 20001.
In summary, through the account mapping mechanism, the native member account or the mapped member account is displayed on different mechanisms. The scheme ensures that the communication between the mechanisms independently provided with the independent IM system avoids the condition of messy message sending objects, not only protects the information safety of the mechanisms, but also realizes the cross-mechanism communication of users of different mechanisms, and ensures that the communication between the users of different mechanisms is always in a controllable state.
In an alternative embodiment based on fig. 2, a first session interface exists on the first instant messaging system and a second session interface exists on the second instant messaging system.
The chat session corresponding to the first session interface is initiated and created by the first member account, and the session identifier corresponding to the session interface comprises: a first native session identifier and a first mapping session identifier which have a mapping relation; the first native session identity is a session identity used in the first instant messaging system; the first mapping session identifier is a session identifier used in the second instant messaging system after mapping the first native session identifier, and the first mapping session identifier has uniqueness in the second instant messaging system.
When the first member account sends the instant messaging message to the second member account, the internet gateway is used for mapping the first native session identifier into a first mapping session identifier.
The chat session corresponding to the second session interface is initiated and created by the second member account, and the session identifier corresponding to the session interface includes: a second native session identifier and a second mapping session identifier having a mapping relationship; the second native session identity is a session identity used in the second instant messaging system; the second mapping session identifier is a session identifier used in the second instant messaging system after mapping the second native session identifier, and the second mapping session identifier has uniqueness in the first instant messaging system.
And when the second member account sends the instant messaging message to the second member account, the internet gateway is used for mapping the second native session identifier into a second mapping session identifier.
In one embodiment, the internet gateway stores a relationship table of native session identifications and mapped session identifications. Illustratively, as shown in fig. 11, the first native session identifier SID (Security Identifiers) of the chat session corresponding to the first session interface is 1000, and the first mapping session identifier SID of the chat session corresponding to the first session interface is 2000.
In summary, the session identifier mapping mechanism represents a native session or a mapping session on different session interfaces. The scheme ensures that the communication between the mechanisms independently provided with the independent IM system avoids the situation of continuously creating new chats or chatting messages, not only protects the information safety of the mechanisms, but also realizes the cross-mechanism communication of users of different mechanisms, so that the communication between the users of different mechanisms is always in a controllable state.
In an alternative embodiment based on fig. 2, the collision problem of chat messages of different organizations is avoided for the same chat session. The following methods are provided:
fig. 12 is a schematic diagram illustrating a version number mechanism provided in an exemplary embodiment of the present application, in response to an IM client 1201 sending a chat change request to a central server 1202, where the chat change request carries a second version number. The central server 1202 judges the second version number, and if the second version number is greater than the current version number of the central server 1202, a first indication is sent to the IM client 1201, and the operation of updating the local version number is executed; if the second version number is not greater than the current version number of the central server 1202, a second indication is sent to the IM client 1201, and the operation of updating the local version number is suspended.
In response to the first indication replied by the central server 1202, the IM client 1201 sends an instant messaging message to the central server 1202, and updates the local version number of the IM client 1201 to a second version number; in response to the second indication replied by the central server 1202, the IM client 1201 sends an instant messaging message to the central server 1202 and suspends updating the local version number of the IM client 1201 to the second version number.
In one embodiment, a first IM client sends a chat change request to a central server, the chat change request is used for applying for chat message change in a chat session, the chat session is a session between a first member account and a second member account, and the chat change request carries a second version number;
and the second version number is obtained by adding one to the session version number locally stored for the chat session by the first IM client.
Responding to a first indication replied by the central server, and sending an instant messaging message by the first IM client; the first indication is sent when the central server judges that the second version number is larger than the session version number stored by the central server for the chat session, and the central server is used for updating the session version number to the second version number after replying the first indication;
and after the first IM client side successfully sends the instant messaging message, the local session version number is updated to a second version number. And after the second IM client successfully receives the instant messaging message, adding one to the local session version number and updating the local session version number into a second version number.
Responding to a second indication replied by the central server, and suspending the instant messaging message sending of the first IM client; the second indication is sent when the central server determines that the second version number is not greater than the session version number that the central server saved for the chat session.
Similarly, the second IM client needs to execute the above process when sending the instant messaging message.
In one embodiment, fig. 13 shows that the session version number in the IM client of the a-institution is 21, the central server is the IM server of the C-institution, when the IM client of the a-institution sends a message to the IM client of the B-institution, the session version number in the IM client of the B-institution is 21, the session version number in the IM server of the C-institution is 21, and when the IM client of the a-institution applies for updating the session version number to the IM server of the C-institution to be 22, that is, the second version number 22 is greater than the session version number 21 saved by the central server for the target session, the IM server of the C-institution performs the operation of updating the session version number to the second version number 22;
after the IM client of the organization a successfully sends the instant messaging message, the local session version number 21 is updated to the second version number 22. After the IM client of the B organization successfully receives the instant messaging message, the IM client adds one to the local session version number 21 and updates the local session version number to a second version number 22.
In one embodiment, fig. 13 shows that the session version number in the IM client of the a institution is 21, the central server is the IM server of the C institution, when the IM client of the a institution sends a message to the IM client of the B institution, the session version number in the IM client of the B institution is 21, the session version number in the IM server of the C institution is 21, and when the IM client of the a institution applies for the second version number carried by the chat change request to the IM server of the C institution is 21, that is, the second version number 21 is not greater than the session version number 21 that the central server holds for the target session, the IM server of the C institution does not perform the operation of updating the session version number to the second version number 22;
in summary, by setting the version number mechanisms in all the interconnection mechanisms, when one of the mechanisms sends a chat change successfully, the first version numbers of all the interconnection mechanisms are updated to the second version numbers synchronously. By the scheme, chat change among all the interconnection mechanisms can be performed in sequence, and chat change collision among the mechanisms is avoided. The information security of the mechanism is protected, and the cross-mechanism communication of users of different mechanisms is realized, so that the communication among the users of different mechanisms is always in a controllable state.
Fig. 14 is a diagram illustrating an instant messaging method according to an exemplary embodiment of the present application. Fig. 14 shows an electronic device in the delivery process, which includes a first IM server 1401, a first internet gateway 1402, a central server 1403, a second internet gateway 1404, and a second IM server 1405. The transfer process is explained in five steps below.
Step one, a first IM server 1401 sends a session change event to a first internet gateway 1402;
step two, the first internet gateway 1402 applies for obtaining a session change event from the first IM server 1401, in response to the session change event sent by the first IM server 1401, the first internet gateway 1403 obtains a session from the first IM server 1401, and completes mapping of a chat identifier of the session, and then sends the session change application to the central server 1403, and in response to a session change permission instruction sent by the central server 1403, the first internet gateway updates a chat change version number and sends the session to the central server; in response to the disallowed session change instruction sent by the central server 1403, the first internet gateway 1402 waits for a delay, and then sends a session change application to the central server 1403 again;
step three, the central server 1403 receives the session change application sent by the first internet gateway, and then the central server 1403 determines whether the chat change version number applied by the first internet gateway meets the condition that the chat change version number is greater than that of the central server 1403; if the conditions are met, the central server 1403 updates the local chat change version number, and the central server 1403 sends a session change permission instruction to the first internet gateway 1402; if the condition is not satisfied, the central server 1403 sends a session change disallowing instruction to the first internet gateway 1402; in response to the session sent by the first internetworking gateway 1402, the central server 1403 receives the session, and routes the session change application to the second internetworking gateway;
step four, the second internet gateway 1404 receives the session sent by the central server 1403, and mapping of the chat identifier of the session is completed, then the second internet gateway 1404 determines whether the session is from a temporary user, if the session is from the temporary user, the second internet gateway 1404 sends a request for pulling the temporary user information to the first internet gateway, in response to the first internet gateway 1402 returning the temporary user information, the second internet gateway 1404 sends an instruction for creating the temporary user to the second IM server 1405, and then waiting for a delay until the first internet gateway 1402 resends the session; if the session is not from the temporary user, the second internet gateway 1404 sends a synchronization session change request to the second IM server 1405, and in response to the second IM server 1405 returning synchronization session change success information, the second internet gateway 1404 updates the local chat change version number and sends a synchronization success confirmation event to the first IM server 1401, instructing the first IM server 1401 to delete the session change event.
Step five, the second IM server 1405 receives the request for changing the synchronization session sent by the second internet gateway, and returns the information that the synchronization session is successfully changed to the second internet gateway 1404.
In summary, the message sent by the first IM server is finally transmitted through the first internet gateway, the central server, the second internet gateway, and the second IM server, so as to implement the cross-mechanism communication of the user. By the scheme, communication between the mechanisms independently provided with the independent IM systems is more convenient, information safety of the mechanisms is protected, and cross-mechanism communication of users of different mechanisms is realized, so that the communication between the users of different mechanisms is always in a controllable state.
Fig. 15 shows a block diagram of a first instant messaging device according to an exemplary embodiment. The device belongs to a first instant communication system, a first member account belonging to a first organization is logged in by a first instant communication device, and the device comprises:
the display module 1501 is configured to display a second member account shared by a second organization, where the second organization uses a second instant messaging system, the second instant messaging system and the first instant messaging system are deployed on different servers, and an interconnection channel is established between the different servers, and the second member account is a whole account or a part of accounts of the second organization;
an interaction module 1502, configured to control the display module 1501 to display a session interface with the second member account in response to a trigger operation on the second member account;
the display module 1501 is further configured to display an instant messaging message on the session interface in response to the sending operation, where the instant messaging message is sent from the first member account to the second member account.
In an alternative embodiment, display module 1501 is further configured to display a second member account shared by a second organization using a first organizational tree, where the first organizational tree is used to indicate an organizational structure to which the second member account corresponds when shared by the second organization to the first organization.
In an alternative embodiment, the display module 1501 is further configured to display a first group of organization interfaces, where a plurality of contact nodes displayed by using a first organization tree are displayed on the first group of organization interfaces, and the contact nodes are in one-to-one correspondence with second member accounts shared by second organizations;
in an alternative embodiment, the interaction module 1502 is further configured to control the display module 1501 to display a session interface of the second member account corresponding to the target contact node in response to a selection operation on the target contact node in the first organizational structure interface.
In an optional embodiment, a plurality of contact nodes displayed by adopting a fourth organization structure tree are further displayed on the first organization structure interface, and the contact nodes are in one-to-one correspondence with member accounts of the first organization.
In an alternative embodiment, the first organization tree is different from a second organization tree, and the second organization tree is used for indicating the corresponding organization structure of the second member account in the second instant messaging system.
In an alternative embodiment, display module 1501 is further configured to display a single chat session interface with a single second member account in response to a first trigger operation on the single second member account.
In an alternative embodiment, display module 1501 is further configured to display a group chat session interface with at least two second member accounts in response to a second trigger operation on the at least two second member accounts.
In an alternative embodiment, the display module 1501 is further configured to display the third member account in the group chat session interface in response to an invite operation to the third member account; wherein the third member account is a member account belonging to the first organization, and the third member account is a member account not shared by the first organization to the second organization.
In an alternative embodiment, display module 1501 is further configured to display a fourth member account in the group chat session interface; and the fourth member account is a member account which belongs to the second mechanism, the fourth member account is a member account which is not shared by the second mechanism to the first mechanism, and the fourth member account is invited to the group chat session interface by the second member account.
In an alternative embodiment, the display device of the instant communication message further comprises:
the generating module 1503 is configured to generate, in response to the setting operation of the shared organizational structure, a third organizational structure tree shared by the first organization to the second organization, where the third organizational structure tree is used to indicate an organizational structure corresponding to the first member account when shared by the first organization to the second organization.
In an alternative embodiment, the interaction module 1502 is further configured to send the third organizational tree to the server.
In an alternative embodiment, the second member accounts for members of the same organization include: the native member account and the mapping member account with mapping relation exist; the primary member account is a contact account used in the second instant messaging system; the mapping member account is a contact account used in the first instant messaging system after mapping the primary member account, and the mapping member account has uniqueness in the first instant messaging system.
In an optional embodiment, the chat session corresponding to the session interface is created by the first user identifier, and the session identifier corresponding to the session interface includes: the native session identifier and the mapping session identifier with mapping relationship exist; the native session identifier is a session identifier used in the first instant messaging system; the mapping session identifier is a session identifier used in the second instant messaging system after mapping the native session identifier, and the mapping session identifier has uniqueness in the second instant messaging system.
In an optional embodiment, the interaction module 1502 is further configured to send a chat change request to the central server, where the chat change request is used to apply for a chat message change in a chat session, the chat session is a session between a first member account and a second member account, and the chat change request carries a second version number;
in an alternative embodiment, the interaction module 1502 is further configured to send an instant messaging message in response to the first indication replied by the central server; the first indication is sent when the central server judges that the second version number is larger than the session version number stored by the central server for the chat session, and the central server is used for updating the session version number to the second version number after replying the first indication;
in an optional embodiment, the interaction module 1502 is further configured to suspend sending the instant messaging message in response to a second indication replied by the central server; the second indication is sent when the central server determines that the second version number is not greater than a session version number that the central server maintains for the chat session.
It should be noted that: the instant messaging message display device provided in the above embodiment is only illustrated by the division of the above functional modules, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the instant messaging message display device provided in the above embodiment has the same concept as the instant messaging message display method embodiment, and the specific implementation process thereof is described in detail in the method embodiment and is not described herein again.
In summary, the apparatus provided in this embodiment displays the instant messaging message on the session interface of the first member account and the second member account, and transmits the message sent by the first user through the internet channel between the first IM server and the second IM server, thereby finally realizing the cross-organization communication of the users on the premise of ensuring the information security. The scheme ensures that the communication between the mechanisms independently provided with the independent IM systems is more convenient, not only protects the information safety of the mechanisms, but also realizes the cross-mechanism communication of users of different mechanisms, so that the communication between the users of different mechanisms is always in a controllable state.
Fig. 16 shows a block diagram of an electronic device 1600 provided in an exemplary embodiment of the present application. The electronic device 1600 may be a portable mobile terminal, such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer or a desktop computer. Electronic device 1600 may also be referred to by other names such as user equipment, portable terminals, laptop terminals, desktop terminals, and the like.
Generally, the electronic device 1600 includes: a processor 1601, and a memory 1602.
The processor 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 1601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Processor 1601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, the processor 1601 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1602 may include one or more computer storage media, which may be non-transitory. The memory 1602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer storage medium in the memory 1602 is used to store at least one instruction for execution by the processor 1601 to implement the method for acceleration of out-of-domain network resources provided by the method embodiments herein.
In some embodiments, the electronic device 1600 may further optionally include: peripheral interface 1603 and at least one peripheral. Processor 1601, memory 1602 and peripheral interface 1603 may be connected by buses or signal lines. Various peripherals may be connected to peripheral interface 1603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1604, a display 1605, a camera assembly 1606, audio circuitry 1607, a positioning assembly 1608, and a power supply 1609.
Peripheral interface 1603 can be used to connect at least one I/O (Input/Output) related peripheral to processor 1601 and memory 1602. In some embodiments, processor 1601, memory 1602, and peripheral interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1601, the memory 1602 and the peripheral device interface 1603 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 1604 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1604 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1604 converts electrical signals into electromagnetic signals to be transmitted, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 1604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1604 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display 1605 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1605 is a touch display screen, the display screen 1605 also has the ability to capture touch signals on or over the surface of the display screen 1605. The touch signal may be input to the processor 1601 as a control signal for processing. At this point, the display 1605 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1605 may be one, disposed on the front panel of the electronic device 1600; in other embodiments, the display screens 1605 may be at least two, respectively disposed on different surfaces of the electronic device 1600 or in a folded design; in other embodiments, the display 1605 may be a flexible display disposed on a curved surface or on a folded surface of the electronic device 1600. Even further, the display 1605 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 1605 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
The camera assembly 1606 is used to capture images or video. Optionally, camera assembly 1606 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, the main camera and the wide-angle camera are fused to realize panoramic shooting and a VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, camera assembly 1606 can also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1607 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1601 for processing or inputting the electric signals to the radio frequency circuit 1604 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the electronic device 1600. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1601 or the radio frequency circuit 1604 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1607 may also include a headphone jack.
The positioning component 1608 is configured to locate a current geographic Location of the electronic device 1600 for navigation or LBS (Location Based Service). The Positioning component 1608 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 1609 is used to power the various components in electronic device 1600. Power supply 1609 may be alternating current, direct current, disposable or rechargeable. When power supply 1609 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charge technology.
In some embodiments, the electronic device 1600 also includes one or more sensors 1610. The one or more sensors 1610 include, but are not limited to: acceleration sensor 1611, gyro sensor 1612, pressure sensor 1613, fingerprint sensor 1614, optical sensor 1616, and proximity sensor 1616.
The acceleration sensor 1611 may detect acceleration magnitudes on three coordinate axes of a coordinate system established with the electronic device 1600. For example, the acceleration sensor 1611 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1601 may control the display screen 1605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1611. The acceleration sensor 1611 may also be used for acquisition of motion data of a game or a user.
Gyroscope sensor 1612 can detect the organism direction and turned angle of electronic equipment 1600, and gyroscope sensor 1612 can gather the 3D action of user to electronic equipment 1600 with acceleration sensor 1611 in coordination. From the data collected by the gyro sensor 1612, the processor 1601 may perform the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 1613 may be disposed on a side bezel of the electronic device 1600 and/or underneath the display 1605. When the pressure sensor 1613 is disposed on the side frame of the electronic device 1600, the holding signal of the user to the electronic device 1600 can be detected, and the processor 1601 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1613. When the pressure sensor 1613 is disposed at the lower layer of the display 1605, the processor 1601 controls the operability control on the UI interface according to the pressure operation of the user on the display 1605. The operability control comprises at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 1614 is configured to collect a fingerprint of the user, and the processor 1601 is configured to identify the user based on the fingerprint collected by the fingerprint sensor 1614, or the fingerprint sensor 1614 is configured to identify the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 1601 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 1614 may be disposed on the front, back, or side of the electronic device 1600. When a physical key or vendor Logo is provided on the electronic device 1600, the fingerprint sensor 1614 may be integrated with the physical key or vendor Logo.
The optical sensor 1615 is used to collect ambient light intensity. In one embodiment, the processor 1601 may control the display brightness of the display screen 1605 based on the ambient light intensity collected by the optical sensor 1615. Specifically, when the ambient light intensity is high, the display luminance of the display screen 1605 is increased; when the ambient light intensity is low, the display brightness of the display screen 1605 is adjusted down. In another embodiment, the processor 1601 may also dynamically adjust the shooting parameters of the camera assembly 1606 based on the ambient light intensity collected by the optical sensor 1615.
A proximity sensor 1616, also referred to as a distance sensor, is typically disposed on the front panel of the electronic device 1600. The proximity sensor 1616 is used to capture the distance between the user and the front of the electronic device 1600. In one embodiment, the processor 1601 controls the display 1605 to switch from the bright screen state to the dark screen state when the proximity sensor 1616 detects that the distance between the user and the front surface of the electronic device 1600 is gradually decreasing; when the proximity sensor 1616 detects that the distance between the user and the front surface of the electronic device 1600 is gradually increased, the display 1605 is controlled by the processor 1601 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 16 does not constitute a limitation of the electronic device 1600, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
In one embodiment, the instant messaging system related to the embodiments of the present application may be a distributed system formed by a client, a plurality of nodes (any form of computing device in an access network, such as an IM server, an instant messaging client) connected through a network communication form. Taking a distributed system as an example of a blockchain system, referring To fig. 17, fig. 17 is an optional structural schematic diagram of a blockchain system To which the distributed system 1700 provided in the embodiment of the present invention is applied, where the blockchain system is formed by a plurality of nodes (computing devices in any form in an access network, such as servers and user terminals) and clients, and a Peer-To-Peer (P2P) network is formed between the nodes, and the P2P Protocol is an application layer Protocol running on a Transmission Control Protocol (TCP). In a distributed system, any machine, such as a server or a terminal, can join to become a node, and the node comprises a hardware layer, a middle layer, an operating system layer and an application layer.
Referring to the functions of each node in the block chain system shown in fig. 17, the related functions include:
1) routing, a basic function that a node has, is used to support communication between nodes.
Besides the routing function, the node may also have the following functions:
2) the application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization functions to form recording data, carrying a digital signature in the recording data to represent a source of task data, and sending the recording data to other nodes in the block chain system, so that the other nodes add the recording data to a temporary block when the source and integrity of the recording data are verified successfully.
For example, the services implemented by the applications include:
2.1) wallet, for providing the function of transaction of electronic money, including initiating transaction (i.e. sending the transaction record of current transaction to other nodes in the blockchain system, after the other nodes are successfully verified, storing the record data of transaction in the temporary blocks of the blockchain as the response of confirming the transaction is valid; of course, the wallet also supports the querying of the remaining electronic money in the electronic money address;
and 2.2) sharing the account book, wherein the shared account book is used for providing functions of operations such as storage, query and modification of account data, record data of the operations on the account data are sent to other nodes in the block chain system, and after the other nodes verify the validity, the record data are stored in a temporary block as a response for acknowledging that the account data are valid, and confirmation can be sent to the node initiating the operations.
2.3) Intelligent contracts, computerized agreements, which can enforce the terms of a contract, implemented by codes deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions according to actual business requirement codes, such as querying the logistics status of goods purchased by a buyer, transferring the buyer's electronic money to the merchant's address after the buyer signs for the goods; of course, smart contracts are not limited to executing contracts for trading, but may also execute contracts that process received information.
The present application further provides a computer storage medium, where at least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the method for displaying an instant messaging message provided by the foregoing method embodiment.
A computer program product or computer program is provided that includes computer instructions stored in a computer storage medium. The processor of the computer device reads the computer instructions from the computer storage medium, and the processor executes the computer instructions, so that the computer device executes the method for displaying the instant messaging message provided by the method embodiment.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer storage medium, and the above storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A method for displaying instant messaging messages is applied to a first instant messaging client belonging to a first instant messaging system, wherein the first instant messaging client logs in a first member account belonging to a first organization, and the method comprises the following steps:
displaying a second member account shared by a second organization, wherein the second organization uses a second instant messaging system, the second instant messaging system and the first instant messaging system are deployed on different servers, an interconnection channel is established between the different servers, and the second member account is a whole account or a part of account of the second organization;
responding to the triggering operation of the second member account, and displaying a conversation interface of the second member account;
and responding to a sending operation, and displaying the instant messaging message on the conversation interface, wherein the instant messaging message is sent from the first member account to the second member account.
2. The method of claim 1, wherein displaying a second member account shared by a second organization comprises:
displaying the second member account number shared by the second organization by adopting a first organization structure tree;
wherein the first organization architecture tree is used for indicating the organization architecture corresponding to the second member account when the second organization shares the first organization.
3. The method of claim 2, wherein said displaying the second member account number shared by the second organization using the first organizational structure tree comprises:
displaying a first organization interface, wherein a plurality of contact nodes displayed by the first organization tree are displayed on the first organization interface, and the contact nodes correspond to the second member accounts shared by the second organization one by one;
the responding to the triggering operation of the second member account, displaying a conversation interface with the second member account, and including:
and responding to the selection operation on the target contact person node in the first organization structure interface, and displaying the session interface of the second member account corresponding to the target contact person node.
4. The method of claim 3, further comprising:
and further displaying a plurality of contact nodes displayed by adopting a fourth organization structure tree on the first organization structure interface, wherein the contact nodes correspond to the member accounts of the first organization one by one.
5. The method of claim 2, wherein the first organizational tree is different from a second organizational tree used to indicate a corresponding organizational structure of the second member account in the second instant messaging system.
6. The method according to any one of claims 1 to 5, wherein the displaying a session interface with the second member account in response to the triggering operation on the second member account comprises:
in response to a first trigger operation on a single second member account, a single chat session interface with the single second member account is displayed.
7. The method according to any one of claims 1 to 5, wherein the displaying a session interface with the second member account in response to the triggering operation on the second member account comprises:
and responding to a second trigger operation of at least two second member accounts, and displaying a group chat session interface with the at least two second member accounts.
8. The method of any of claims 1 to 5, further comprising:
displaying a third member account in the group chat session interface in response to an invite operation to the third member account; wherein the third member account is a member account belonging to the first organization, the third member account being a member account not shared by the first organization to the second organization;
alternatively, the first and second electrodes may be,
displaying a fourth member account in the group chat session interface; wherein the fourth member account is a member account belonging to the second organization, the fourth member account is a member account not shared by the second organization to the first organization, and the fourth member account is invited to the group chat session interface by the second member account.
9. The method of any of claims 1 to 5, further comprising:
in response to a setup operation for a shared organizational structure, generating a third organizational structure tree shared by the first organization to the second organization, the third organizational structure tree indicating an organizational structure to which the first member account corresponds when shared by the first organization to the second organization;
and sending the third organization structure tree to a server.
10. The method of any of claims 1 to 5, wherein the second member account number for the same institution member comprises: the native member account and the mapping member account with mapping relation exist;
the native member account is a contact account used in the second instant messaging system;
the mapping member account is a contact account used in the first instant messaging system after mapping the native member account, and the mapping member account has uniqueness in the first instant messaging system.
11. The method according to any one of claims 1 to 5, wherein a chat session corresponding to the session interface is initiated by the first user account, and the session identifier corresponding to the session interface includes: the native session identifier and the mapping session identifier with mapping relationship exist;
the native session identity is a session identity used in the first instant messaging system;
the mapping session identifier is a session identifier used in the second instant messaging system after mapping the native session identifier, and the mapping session identifier has uniqueness in the second instant messaging system.
12. The method of any of claims 1 to 5, further comprising:
sending a chat change request to a central server, wherein the chat change request is used for applying for chat message change in a chat session, the chat session is a session between the first member account and the second member account, and the chat change request carries a second version number;
responding to a first indication replied by the central server, and sending the instant communication message; the first indication is sent when the central server judges that the second version number is greater than a session version number saved by the central server for the chat session, and the central server is used for updating the session version number to the second version number after replying the first indication;
in response to a second indication replied by the central server, suspending sending the instant communication message; the second indication is sent when the central server determines that the second version number is not greater than a session version number saved by the central server for the chat session.
13. A first instant messaging device belonging to a first instant messaging system, wherein the first instant messaging device has a first member account registered therein belonging to a first organization, the device comprising:
the display module is used for displaying a second member account shared by a second organization, the second organization uses a second instant messaging system, the second instant messaging system and the first instant messaging system are deployed on different servers, an interconnection channel is established between the different servers, and the second member account is a whole account or a part of account of the second organization;
the interaction module is used for responding to the triggering operation of the second member account, and controlling the display module to display a session interface with the second member account;
the display module is further configured to display the instant messaging message on the session interface in response to a sending operation, where the instant messaging message is sent from the first member account to the second member account.
14. A computer device, characterized in that the computer device comprises: a processor and a memory, the memory storing a computer program that is loaded and executed by the processor to implement the method of displaying an instant messaging message according to any one of claims 1 to 12.
15. A computer storage medium storing a computer program which is loaded and executed by a processor to implement the method of displaying an instant messenger message according to any one of claims 1 to 12.
CN202110192181.2A 2021-02-19 2021-02-19 Instant messaging message display method, device, equipment and storage medium Active CN114979049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110192181.2A CN114979049B (en) 2021-02-19 2021-02-19 Instant messaging message display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110192181.2A CN114979049B (en) 2021-02-19 2021-02-19 Instant messaging message display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114979049A true CN114979049A (en) 2022-08-30
CN114979049B CN114979049B (en) 2023-09-22

Family

ID=82954217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110192181.2A Active CN114979049B (en) 2021-02-19 2021-02-19 Instant messaging message display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114979049B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115826827A (en) * 2023-01-10 2023-03-21 北京志翔科技股份有限公司 Method, device and equipment for selecting object in system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072190A (en) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 Instant messaging session transferring method and system
CN101247364A (en) * 2008-03-31 2008-08-20 腾讯科技(深圳)有限公司 Conversation message managing system and method thereof
CN101459628A (en) * 2009-01-04 2009-06-17 腾讯科技(深圳)有限公司 Method and apparatus based on interconnection and intercommunication between mailbox and IM
CN106130881A (en) * 2016-07-07 2016-11-16 腾讯科技(深圳)有限公司 A kind of account number login method and device
WO2017095215A1 (en) * 2015-11-30 2017-06-08 Linkdood Technologies Sdn Bhd A type of enterprise level instant messaging(im) system and method that supports cross system messaging
CN109842549A (en) * 2019-03-21 2019-06-04 天津字节跳动科技有限公司 Instant messaging interaction method, apparatus and electronic equipment
CN109962833A (en) * 2017-12-14 2019-07-02 腾讯科技(深圳)有限公司 The creation method and device of session on instant communication client
CN110138645A (en) * 2019-03-29 2019-08-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of conversation message
CN110971426A (en) * 2019-12-05 2020-04-07 深圳前海达闼云端智能科技有限公司 Method for constructing group session, client and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072190A (en) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 Instant messaging session transferring method and system
CN101247364A (en) * 2008-03-31 2008-08-20 腾讯科技(深圳)有限公司 Conversation message managing system and method thereof
CN101459628A (en) * 2009-01-04 2009-06-17 腾讯科技(深圳)有限公司 Method and apparatus based on interconnection and intercommunication between mailbox and IM
WO2017095215A1 (en) * 2015-11-30 2017-06-08 Linkdood Technologies Sdn Bhd A type of enterprise level instant messaging(im) system and method that supports cross system messaging
CN106130881A (en) * 2016-07-07 2016-11-16 腾讯科技(深圳)有限公司 A kind of account number login method and device
CN109962833A (en) * 2017-12-14 2019-07-02 腾讯科技(深圳)有限公司 The creation method and device of session on instant communication client
CN109842549A (en) * 2019-03-21 2019-06-04 天津字节跳动科技有限公司 Instant messaging interaction method, apparatus and electronic equipment
CN110138645A (en) * 2019-03-29 2019-08-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of conversation message
CN110971426A (en) * 2019-12-05 2020-04-07 深圳前海达闼云端智能科技有限公司 Method for constructing group session, client and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115826827A (en) * 2023-01-10 2023-03-21 北京志翔科技股份有限公司 Method, device and equipment for selecting object in system

Also Published As

Publication number Publication date
CN114979049B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
CN110917614B (en) Cloud game system based on block chain system and cloud game control method
US11126981B2 (en) Resource transferring method and apparatus
WO2022227623A1 (en) Method for displaying publish progress, and electronic device
CN110597924B (en) Block chain-based user identification processing method, device, equipment and storage medium
CN111045568B (en) Virtual article processing method, device, equipment and storage medium based on block chain
CN112420217B (en) Message pushing method, device, equipment and storage medium
CN112836136A (en) Chat interface display method, device and equipment
CN112163406A (en) Interactive message display method and device, computer equipment and storage medium
CN111596821B (en) Message display method, device, computer equipment and storage medium
CN111866140A (en) Fusion management apparatus, management system, service calling method, and medium
CN113709022A (en) Message interaction method, device, equipment and storage medium
CN114979049B (en) Instant messaging message display method, device, equipment and storage medium
CN112967043A (en) Resource transfer method, device, equipment and storage medium
CN113709020A (en) Message sending method, message receiving method, device, equipment and medium
CN111760296A (en) Team forming processing method, team forming processing device, terminal, server and storage medium
CN111130985B (en) Incidence relation establishing method, device, terminal, server and storage medium
CN112311661B (en) Message processing method, device, equipment and storage medium
CN111694892A (en) Resource transfer method, device, terminal, server and storage medium
CN114329292A (en) Resource information configuration method and device, electronic equipment and storage medium
CN114546188A (en) Interaction method, device and equipment based on interaction interface and readable storage medium
CN112087366B (en) Account management method and device and instant messaging system
WO2022100359A1 (en) Method and apparatus for group user migration, and device and storage medium
CN115344843A (en) Electronic contract signing file generation method, device, equipment and medium
CN114861085A (en) Event participation method and device, electronic equipment and storage medium
CN116506385A (en) Group notification issuing method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant