CN111181903A - Information acquisition method and apparatus, storage medium, and electronic apparatus - Google Patents

Information acquisition method and apparatus, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN111181903A
CN111181903A CN201910483453.7A CN201910483453A CN111181903A CN 111181903 A CN111181903 A CN 111181903A CN 201910483453 A CN201910483453 A CN 201910483453A CN 111181903 A CN111181903 A CN 111181903A
Authority
CN
China
Prior art keywords
server
target
client
interconnection
information
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
CN201910483453.7A
Other languages
Chinese (zh)
Other versions
CN111181903B (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 CN201910483453.7A priority Critical patent/CN111181903B/en
Publication of CN111181903A publication Critical patent/CN111181903A/en
Application granted granted Critical
Publication of CN111181903B publication Critical patent/CN111181903B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/102Entity profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

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

Abstract

The invention discloses an information acquisition method and device, a storage medium and an electronic device. The method comprises the following steps: sending a first request message to a second server through a first server, wherein the first request message is used for requesting to start an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which starts the interconnection function through the second server, the first server and the target server are different privatized deployment service ends, the first request message carries a target authorization code, and the target authorization code is an authorization code distributed to the first server when the second server allows the first server to start the interconnection function; receiving a first response message returned by the second server on the first server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server; and acquiring a target list which is sent by the second server and contains a target server identifier for identifying the target server on the first server.

Description

Information acquisition method and apparatus, storage medium, and electronic apparatus
Technical Field
The invention relates to the field of computers, in particular to an information acquisition method and device, a storage medium and an electronic device.
Background
In order to improve the office efficiency, a collaborative office system capable of supporting privatized deployment is provided in the related art. The above-described cooperative office system is capable of searching for a person and initiating instant messaging within an organization using a hierarchical organization management structure and person information of a single organization group of the organization.
However, the above-mentioned cooperative office systems only support the use and information interaction of personnel in the organization, and different cooperative office systems cannot communicate with each other, so that the problem of low information interaction efficiency between privatized deployment servers exists in the related art.
Disclosure of Invention
The embodiment of the invention provides an information acquisition method and device, a storage medium and an electronic device, and aims to at least solve the technical problem of low information interaction efficiency between privatized deployment servers in the related art.
According to an aspect of an embodiment of the present invention, there is provided an information acquisition method including: sending a first request message to a second server through a first server, wherein the first request message is used for requesting to start an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which starts the interconnection function through the second server, the first server and the target server are different privatized deployment service ends, the first request message carries a target authorization code, and the target authorization code is an authorization code which is allocated to the first server when the second server allows the first server to start the interconnection function; receiving a first response message returned by the second server on the first server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code; and acquiring a target list which is sent by a second server and contains a target server identification on the first server, wherein the target server identification is used for identifying the target server.
According to another aspect of the embodiments of the present invention, there is also provided an information acquiring method, including: receiving a first request message sent by a first server on a second server, wherein the first request message is used for requesting to open an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which has opened the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, a target authorization code is carried in the first request message, and the target authorization code is an authorization code which is distributed to the first server when the second server allows the first server to open the interconnection function; sending a first response message to the first server through the second server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code; and sending a target list containing target server identification to the first server through the second server, wherein the target server identification is used for identifying the target server.
According to another aspect of the embodiments of the present invention, there is also provided an information acquiring method, including: sending a fourth request message to a first server through a first client, wherein the fourth request message is used for requesting to acquire a target list containing a target server identifier, the target servers identified by the first server and the target server identifier are different privatized deployment service terminals which have opened an interconnection function through a second server, the interconnection function of the first server is used for allowing the first server to communicate with the target server, the first client is a client belonging to the first server, and the target server is represented by target identifier information of the target server in the target list; receiving a fourth response message returned by the first server through the first client, wherein the fourth response message carries a target list, and the target list comprises target identification information; target identification information is displayed on the first client.
According to still another aspect of the embodiments of the present invention, there is also provided an information acquisition apparatus including: the system comprises a sending unit, a receiving unit and a sending unit, wherein the sending unit is used for sending a first request message to a second server through a first server, the first request message is used for requesting to start an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which starts the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, a target authorization code is carried in the first request message, and the target authorization code is an authorization code distributed to the first server when the second server allows the first server to start the interconnection function; the device comprises a receiving unit, a sending unit and a processing unit, wherein the receiving unit is used for receiving a first response message returned by a second server on a first server, and the first response message is used for indicating that the second server opens an interconnection function for the first server after the first server is verified by using a target authorization code; the acquisition unit is used for acquiring a target list which is sent by a second server and contains a target server identification on a first server, wherein the target server identification is used for identifying the target server.
According to still another aspect of the embodiments of the present invention, there is also provided an information acquisition apparatus including: the system comprises a receiving unit and a processing unit, wherein the receiving unit is used for receiving a first request message sent by a first server on a second server, the first request message is used for requesting to start an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which starts the interconnection function through the second server, the first server and the target server are different privatized deployment service ends, a target authorization code is carried in the first request message, and the target authorization code is an authorization code which is distributed for the first server when the second server allows the first server to start the interconnection function; the first sending unit is used for sending a first response message to the first server through the second server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code; and the second sending unit is used for sending a target list containing target server identification to the first server through the second server, wherein the target server identification is used for identifying the target server.
According to still another aspect of the embodiments of the present invention, there is also provided an information acquisition apparatus including: the system comprises a sending unit, a first server and a second server, wherein the sending unit is used for sending a fourth request message to the first server through a first client, the fourth request message is used for requesting to acquire a target list containing a target server identifier, the target servers identified by the first server and the target server identifier are different privatized deployment service terminals which have opened an interconnection function through the second server, the interconnection function of the first server is used for allowing the first server to communicate with the target server, the first client is a client belonging to the first server, and the target server is represented in the target list through target identifier information of the target server; the receiving unit is used for receiving a fourth response message returned by the first server through the first client, wherein the fourth response message carries a target list, and the target list comprises target identification information; and the display unit is used for displaying the target identification information on the first client.
According to a further aspect of the embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is configured to perform the above method when executed.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method by the computer program.
In the embodiment of the invention, a first request message is sent to a second server through a first server in a manner that the second server controls an interconnection function of a privatized deployment server, wherein the first request message is used for requesting to start the interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which has started the interconnection function through the second server, the first server and the target server are different privatized deployment servers, the first request message carries a target authorization code, and the target authorization code is an authorization code which is allocated to the first server when the second server allows the first server to start the interconnection function; receiving a first response message returned by the second server on the first server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code; the method comprises the steps that a target list containing target server identifications sent by a second server is obtained on a first server, wherein the target server identifications are used for identifying the target server, and the privatized deployment service terminals can start an interconnection function through the second server and obtain information of other privatized deployment service terminals which start the interconnection function through the second server, so that interconnection among different privatized deployment service terminals can be realized, the information interaction efficiency among the privatized deployment service terminals is improved, and the problem of low information interaction efficiency among the privatized deployment service terminals in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of an application environment of an information acquisition method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an alternative information acquisition method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative information acquisition method according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an alternative information acquisition method according to an embodiment of the invention;
FIG. 5 is a schematic diagram of yet another alternative information acquisition method according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart diagram illustrating an alternative information acquisition method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of yet another alternative information acquisition method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of yet another alternative information acquisition method according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of yet another alternative information acquisition method according to an embodiment of the present invention;
FIG. 10 is a schematic flow chart diagram illustrating an alternative information acquisition method according to an embodiment of the present invention;
FIG. 11 is a schematic flow chart diagram illustrating an alternative information acquisition method according to an embodiment of the present invention;
FIG. 12 is a schematic flow chart diagram illustrating an alternative information acquisition method according to an embodiment of the present invention;
FIG. 13 is a schematic flow chart diagram illustrating an alternative information acquisition method according to an embodiment of the present invention;
FIG. 14 is a schematic diagram of an alternative information acquisition device according to an embodiment of the present invention;
FIG. 15 is a schematic diagram of another alternative information acquisition device according to an embodiment of the present invention;
FIG. 16 is a schematic structural diagram of yet another alternative information acquisition device according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The terms and their meanings referred to in this example are as follows:
(1) instant messaging collaborative office system (also called collaborative office instant messaging system)
The instant communication cooperative office system is one office system with address list management, instant communication system and one series of expandable application programming interface technology as core and capable of integrating various customized application services. The instant messaging collaborative office system is an information system platform which makes full use of the advantages of the mobile internet and improves the office collaborative efficiency.
(2) Privatized deployment
Privatized deployment refers to: the information system can deploy services in a customer-specific computer environment, with the characteristics of autonomic control of computing resources, network security, and data security. The designated computer environment may be an information machine room autonomously maintained by a customer, a host and network resources purchased by the customer on a public cloud, or a private cloud environment such as a government cloud of a government agency. The client is the construction investor and owner of the system, can be an enterprise main body, and can also be an organization unit. In this embodiment, the main body is named as an organization and is embodied in an interconnected and interworking instant messaging cooperative office system.
According to an aspect of an embodiment of the present invention, there is provided an information acquisition method. Alternatively, the information acquisition method can be applied to, but is not limited to, the application environment shown in fig. 1. As shown in fig. 1, a first server (which may be a collaborative office instant messaging server) and a target server (which may be a collaborative office instant messaging server) that has started an interconnection function through a second server (which may be an interconnection and interworking management node, also referred to as an interconnection management node, or a management node) are different privatization deployment servers, and each privatization deployment server has a plurality of clients (running on different terminals) belonging to the privatization deployment server. The second server may allow the first server to open the interconnection function, and may assign an authorization code (target authorization code) to the first server when the first server is allowed to open the interconnection function.
The first server may send a first request message to the second server, where the first request message carries a target authorization code and is used to request to start an interconnection function of the first server, and the interconnection function of the first server is used to allow the first server to communicate with the target server. The second server receives the first request message, and after the first server is verified by the target authorization code, the interconnection function of the first server can be determined to be started. After determining to open the interworking function of the first server, the second server may send a first response message to the first server, where the first response message is used to indicate that the second server has opened the interworking function for the first server. And the first server receives the first response message returned by the second server and acquires a target list which is sent by the second server and contains a target server identifier, wherein the target server identifier is used for identifying the target server.
Optionally, the first server and the second server may perform information interaction through a network between the first server and the second server.
Optionally, in this embodiment, the terminal may include, but is not limited to, at least one of the following: mobile phones, tablet computers, PCs, and the like. Such networks may include, but are not limited to: a wired network, a wireless network, wherein the wired network comprises: a local area network, a metropolitan area network, and a wide area network, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communication. The first server and the second server may include, but are not limited to, at least one of: PC and other devices for information interaction. The above is only an example, and the present embodiment is not limited to this.
Optionally, in this embodiment, as an optional implementation manner, as shown in fig. 2, the information obtaining method may include:
s202, sending a first request message to a second server through a first server, wherein the first request message is used for requesting to start an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which starts the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code distributed to the first server when the second server allows the first server to start the interconnection function;
s204, receiving a first response message returned by the second server on the first server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code;
s206, acquiring a target list which is sent by the second server and contains a target server identification on the first server, wherein the target server identification is used for identifying the target server.
Optionally, the information obtaining method may be, but is not limited to, a process in which different privatized deployment servers perform interaction. For example, the method is applied to a privatized deployment collaborative office instant messaging system of cross-organization interconnection and interworking.
Alternatively, the information obtaining method may be applied to the first server, but is not limited thereto.
The information acquisition method described above will be described below with reference to fig. 2.
In step S202, the first server may send a first request message to the second server, where the first request message is used to request to open an interconnection function of the first server, the interconnection function of the first server is used to allow the first server to communicate with a target server that has opened the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code that is allocated to the first server when the second server allows the first server to open the interconnection function.
The first server may be a privatized deployment server of a collaborative office system (e.g., a collaborative office instant messaging system) of a first organization. The first server may control information interaction between clients of a plurality of objects within the first organization. The target server may be a privatized deployment server of a collaborative office system (e.g., a collaborative office instant messaging system) of an organization other than the first organization. The target server may control information interaction between clients of multiple objects within other organizations.
Before the first server sends the first request message to the second server, the target server already starts an interconnection function (also called an interconnection function) through the second server. The manner in which the target server opens the interworking function through the second server is similar to the manner in which the first server opens the interworking function through the second server.
The servers (i.e., interconnection servers) having the interconnection function opened by the second server can perform interconnection. The interconnection server may obtain server parameters (for example, a network address and a port, a server identifier, a server key, and the like) of another interconnection server from the second server, may establish a network connection with the other interconnection server using the obtained server parameters (without passing through the second server), and performs communication using the established network connection, thereby implementing interconnection and interworking between the interconnection servers.
The second server may allow the first server to open the interworking function and assign the first server the target authorization code before sending the first request message to the second server through the first server. The target authorization code may be an access authorization code allowing access to the second server, and only the server side assigned with the access authorization code allows access to the second server, so as to open the interconnection function through the second server.
The manner in which the second server allows the first server to open the interconnection function may be: the second server obtains the server parameters of the first server; and allocating a target authorization code for the first server according to the server parameter of the first server so as to allow the first server to open the interconnection function.
After allowing the first server to start the interconnection function, the second server may store the server information of the first server to store the interconnection state of the first server.
The server parameter is used to represent the first server, and may include, but is not limited to, at least one of the following: network address and port, service identity (Corp ID), service key (Corp Secret). Wherein, the network address and the port of the first server can be multiple, so as to provide the characteristic of high availability of network access.
After obtaining the target authorization code, an administrator (interconnection administrator) of the second server may notify an administrator (server administrator) of the first server or a relevant person of the target authorization code assigned to the first server in various ways. For example, the first server is notified by a message carrying the target authorization code, and for example, a verbal notification, a short message notification, a mail notification, and the like.
For example, as shown in fig. 3, the interconnection management node (second server) may provide a management interface, and an interconnection administrator may add a server parameter of a privatized deployment instant messaging server (private deployment server, first server) through the management interface, where the parameter to be added includes: its network address and port, a server identity (Corp ID), a server key (corpseret). The network address and the port of one privatized deployment instant messaging service end can be multiple, and the characteristic of high availability of network access can be provided. After the privatized deployment service terminal is added, the interconnection management node generates an access authorization code (target authorization code). And the administrator informs the relevant personnel of the privatized deployment service terminal of the access authorization code.
The interconnection management node may further store a server-side list, where information of each server in the server-side list is used to record an interconnection state of a server that the interconnection management node allows to start an interconnection function (as shown in fig. 4).
After the second server assigns the target authorization code to the first server, the first server obtains the target authorization code, for example, the target authorization code is input to the first server by a server administrator of the first server, or is sent to the first server by another device (for example, the second server, or another device capable of communicating with the first server).
It should be noted that the HTTPS protocol is used for communication between the service end (e.g., the first server and the target server) and the interconnection management node (e.g., the second server). Considering that the server and the interconnection management node are likely to be used in a pure intranet environment, SSL (Secure Sockets Layer) should consider supporting the self-signed certificate format.
After obtaining the target authorization code, the first server may send a first request message to the second server to request to start an interconnection function of the first server. The first request message may carry the destination authorization code and may also carry network parameters (e.g., network address and port information) of the second server. The target authorization code and the network parameter may be obtained through an interconnection management interface on the first server.
For example, as shown in fig. 5, the server may also provide an interworking management portal on its management interface. When the interconnection and interworking needs to be opened, the access authorization code generated by the interconnection management node and the network address and the port of the interconnection management node are provided according to requirements, and then an opening button (an "opening interconnection" button) is clicked. The network address and the port of the interconnection management node can be set to be multiple, and the server side can attempt to initiate a request (verification request) to the network address of the interconnection management node by using the access authorization code. In the request, the short name and the full name of the organization of the service end can be provided to the interconnection management node together. And the interconnection management terminal verifies information such as an access authorization code in the request of the server terminal, when the request passes verification, the server terminal and the interconnection management node both store interconnection and intercommunication settings, and the interconnection and intercommunication function is successfully started.
In step S204, the first server receives a first response message returned by the second server, where the first response message is used to indicate that the second server has opened the interconnection function for the first server after the first server is verified by using the target authorization code.
After the interworking function is opened for the first server, the second server may send a first response message to the first server.
After receiving the first response message, the first server may determine that the second server has opened the interworking function for the first server, and the interworking function of the first server is successfully opened.
Other servers (e.g., target servers) may initiate a request to a second server (interconnection management node) by the same operation, and start an interconnection function.
In step S206, the first server obtains a target list containing a target server identifier sent by the second server, where the target server identifier is used to identify the target server.
Each server with the interconnection function can maintain an interconnection information list to record the information of the server (which may or may not include the server) with the interconnection function started by the second server.
After the interconnection function is opened for the first server, in order to facilitate the target server to know that the interconnection function has been opened for the first server, the second server may notify the target server to send a notification message to notify the first server that the interconnection function has been opened.
Optionally, in this embodiment, after the second server sends the first response message to the first server, the second server may send a notification message to a fourth server in the target list, where the notification message carries identification information of the first server, the notification message is used to instruct the fourth server to update an interconnection server list of the fourth server using the identification information of the first server, and the interconnection server list of the fourth server is a list of servers that have opened an interconnection function through the second server and are stored by the fourth server.
For example, after a new server joins, the interconnection management node may send a notification of joining the new server to other servers, and trigger the servers to update the interconnection information list.
For the first server, in addition to determining that the second server has opened the interconnection function for the first server, the first server may also obtain a target list of target servers from the second server. The first server may obtain the target list in various manners, for example, the target list may be carried in the first response message, or may be obtained in a query-receiving manner.
As an optional implementation manner, the obtaining, by the first server, the target list of the target servers sent by the second server may include: and the first server acquires a target list which is carried in the first response message and is sent by the second server and contains the target server identifier.
As another optional implementation, the obtaining, by the first server, the target list of the target servers sent by the second server may include: the method comprises the steps that a first server sends a query request to a second server, wherein the query request is used for requesting to query a target server; and receiving a query result sent by the second server, wherein the query result carries a target list containing the target server identifier.
For example, after a server opens interworking, the server may query the interworking management node for the server that has established interworking, and construct an interworking information list according to the query result.
After obtaining the target list containing the target server identifier, the first server may establish a connection with a target server identified by the target server identifier in the target list, so that the target server performs communication.
For example, each privatized deployed server inquires network access addresses of other servers through an interconnection management node, and establishes an interconnection and interworking link request to the other servers after acquiring a login credential.
Optionally, in this embodiment, after obtaining, on the first server, a target list of a target server sent by the second server, a second request message may be sent to the second server by the first server, where the second request message is used to request to obtain target network information of a third server in the target list, and the target network information is used to establish an interconnection link with the third server; receiving a second response message returned by a second server on the first server, wherein the second response message carries target network information; sending a third request message to a third server by using the target network information on the first server, wherein the third request message is used for requesting to establish an interconnection link between the first server and the third server; and receiving a third response message returned by the third server on the first server, wherein the third response message is used for indicating that the interconnection link between the first server and the third server is established.
After the interconnection links between the first server and the servers in the target server are established, the established interconnection links may be used for communication between the servers.
It should be noted that, when a server (e.g., a first server, a target server) requests an interconnection management node (e.g., a second server), an access authorization code needs to be used to replace a token, and a subsequent request from the server to the interconnection management node needs to bring the token. The exchanged token has a validity period, and the server needs to periodically acquire a new token from the interconnection management node.
When the interconnection management node actively sends a request to the server, a token (which may be different from the token) needs to be exchanged by using the server identifier and the server key, and the token needs to be taken by a subsequent request sent to the server by the interconnection management node. Similarly, the token has a validity period, and the interconnection management node needs to periodically acquire a new token from the server.
The server initiates a request to another server, and applies the same logic, and needs to use the server identifier of the other side and the server key to exchange for the token (which may be different from the token), and the subsequent server sends the request to the other server needs to bring the token. Similarly, the token has a validity period, and needs to periodically obtain a new token from the opposite server.
Optionally, each server may maintain an interconnection and interworking node information mapping list by itself. The mapping list takes the service end identification as key, and the node information is value. The node information includes the server key and a list of network access addresses. The request between the service ends needs to be provided with the service end identification and combined with the result obtained by the key operation of the service ends.
The following describes a manner of opening the server interconnection function with reference to a specific example. As shown in fig. 6, an interconnection administrator has a right to set an interconnection management node, and a server administrator has a right to set a management background of a privately deployed server. And adding a server to be interconnected on the interconnection management node by an interconnection manager to obtain the access authorization code. And the interconnection manager sends the access authorization code to the server manager in a certain mode, and the server manager logs in the server management background of the interconnection manager to start the interconnection function. When the server side starts the interconnection function, the server side verifies the interconnection function to the interconnection management node. When the verification is passed, the interconnection management node can actively push a new server joining notification to other servers which have opened the interconnection function, so that the interconnected servers update the list of the interconnection servers.
After the interworking function is enabled, the first server may set the organization architecture information and personnel of the organization that are exposed to one or more of the target servers, and may also set the applications that are shared to one or more of the target servers.
In the communication protocol of the system across organizations, the identification of the cross-organization personnel (the personnel of the non-local organization displayed in the local organization) is a character string consisting of 'personnel account' + '@' + 'server identification' in the system. The identification of the cross-organizational application may be a string in the system that consists of "application identification" + "@" + "server identification".
For example, after the interconnection function is started, a server administrator may add organization structure information and personnel that wish to be disclosed to the outside to a server management interface, and may set an application to be shared to the outside.
For each privatized deployment server, the representation in the address book thereof can be referred to as a root node of a tree-shaped address book for short by the organization mechanism. After the interconnection function is started, the address book of each privatized deployment server may also be embodied by using an organization to which the interconnection client belongs, which is referred to as a root node of the tree address book for short (for example, as shown in fig. 7).
Every time a user opens an address book on a client, the client inquires about the update of the address book from a server to which an account belongs, and the method comprises the following steps: the hierarchy tree of the organization, which is called root node for short, lists all the organizations which have established interconnection and intercommunication for short.
Optionally, in this embodiment, for the first server, the first server receives a fourth request message sent by the first client, where the fourth request message is used to request to acquire a target list including a target server identifier (the target server is represented in the target list by target identifier information of the target server); and the first server responds to the fourth request message, and the first server sends a fourth response message to the first client, wherein the fourth response message carries a target list, and the target list contains target identification information.
Optionally, in this embodiment, for the first client of the first server, the fourth request message may be sent to the first server through the first client; the first client receives a fourth response message returned by the first server, wherein the fourth response message carries a target list, and the target list comprises target identification information; target identification information is displayed on the first client.
When a user expands the root node of the interconnection and interworking mechanism on the address list at the client, the user can be triggered to acquire the open organizational structure tree from the corresponding server, and when one tree node is expanded, the user can acquire the node information under the node, namely, a department or personnel, from the server.
When the address book is checked across organizations and a user develops a specified interconnection organization, the client sends a first-layer node information list for inquiring the public address book of the interconnection organization to a target server through the server; when a user expands any node of the address book, the server is triggered to send a query to a target server (a server of an interconnection organization) to query the information of a layer of nodes below the node, and each layer of nodes are recursively queried to form a tree-shaped address book.
Optionally, in this embodiment, after the target identification information is displayed on the first client, the first client detects a first operation performed on a first node in a first hierarchical tree displayed on the first client, where the first operation is used to display a next-level node located at a next level of the first node on the first client, the first hierarchical tree corresponds to a fifth server identified by the first identification in the target identification information, the first hierarchical tree is used to represent a first organizational structure set by the fifth server and allowed to be accessed by the first server, the first node is used to represent a first object in the first organizational structure, and the next-level node is used to represent a next-level object located at a next level of the first object; responding to the first operation, the first client acquires the next-level object information of the next-level object from the fifth server, wherein the next-level object information is acquired through a first link between the first client and the first server and a second link between the first server and the fifth server; the next level node is displayed on the first client using the next level object information.
For the first client, the first hierarchical tree displayed on the first client represents organization architecture information (which may be intermediate nodes of the first hierarchical tree) and personnel information (which may be leaf nodes of the first hierarchical tree) which are set by the fifth server and are allowed to be disclosed to the outside: the first hierarchical tree is used to represent a first organizational structure (including organizational structure information and staff information) set by the fifth server that is allowed to be accessed by the first server.
After detecting a first operation (e.g., a click operation) performed on a first node (corresponding to a first object in the first organizational structure) in a first hierarchical tree displayed on a first client, a next level object (corresponding to a next level node of the first node in the first hierarchical tree) of the first object may be obtained from a fifth server through a link between the first client and the first server and an interlink between the first server and the fifth server, and the next level node of the first node is displayed on the first client.
In addition to expanding the architectural hierarchy of an interconnect organization, viewing people, a user may initiate a conversation with the people of the interconnect organization on the client.
For example, after developing information for a person of an interconnected organization, a dialog with the person may be established by double-clicking on the person.
Optionally, in this embodiment, after the target identification information is displayed on the first client, a second operation performed on a second hierarchical tree displayed on the first client may be detected by the first client, where the second hierarchical tree corresponds to a sixth server identified by the second identification information in the target identification information, the second hierarchical tree is used to represent a second organizational structure set by the sixth server and allowed to be accessed by the first server, and the second operation is used to search for a second object with a target attribute in the second organizational structure; responding to the second operation, acquiring second object information of a second object from a sixth server through the first client, wherein the second object information is acquired through a first link between the first client and the first server and a third link between the first server and the sixth server; and displaying a second node on the first client by using the second object information, wherein the second node is a node corresponding to the second object in the second hierarchical tree.
The user can select the interconnection and intercommunication node on the address list interface to initiate the search of the personnel name. And for the first client, the interconnection and interworking node is used as target identification information. The second hierarchical tree displayed on the first client corresponds to the sixth server identified by the second identification information in the target identification information. The second hierarchical tree is used to represent a second organizational structure (organizational structure information and/or staff information) set by the sixth server that is allowed to be accessed by the first server.
For example, when searching an address book across organizations, a user provides the name of a person to be searched and the interconnection organization of the search at a client, and sends a request of the person to be searched to a target server through the server. The target server will return a list of up to 100 matching people information to be presented on the client initiating the search.
It should be noted that the hierarchical tree displayed on the client may be a complete hierarchical tree or a part of the hierarchical tree, and the nodes in the hierarchical tree may be expanded or retracted by operating the hierarchical tree.
For the searched personnel, the user can initiate a session of instant messaging, namely sending messages such as text messages, pictures, files and the like.
Optionally, in this embodiment, after the second node is displayed by the first client using the second object information, a third operation performed on the second node may be detected by the first client, where the third operation is used to establish a target session between the first client and the second client of the second object; a target session is established by the first client via the first link and the third link.
The user can add members of the session on the basis of the established session, and the added members can realize multi-person session instant messaging (group chat) capable of crossing organizations by searching in the address book of the organization or searching in the public address book of the designated interconnected organization.
Optionally, in this embodiment, after the target session is established by the first client via the first link and a third link, a fourth operation performed on a third node in a third hierarchical tree displayed on the first client may be detected by the first client, where the third hierarchical tree corresponds to a seventh server identified by third identification information in the target identification information, the third hierarchical tree is used to represent a third organizational structure set by the seventh server and allowed to be accessed by the first server, and the fourth operation is used to add a third client of a third object corresponding to the third node in the third organizational structure to the target session; in response to the fourth operation, adding, by the first client, the third client to the target session via the first link and a fourth link, wherein the fourth link is an interconnection link between the first server and the seventh server.
After the target session is established, after detecting a fourth operation performed on a third node in a third hierarchical tree (the corresponding relationship between the third hierarchical tree and the seventh server is similar to that described above), the first client may add the third client to the target session through the first link and the interconnection link between the first server and the seventh server, so as to add a user of a non-local organization to the session.
In the member list interface of the conversation, for the users who are not in the organization, the '@ interconnection organization abbreviation' can be added after the user identification (usually the name of the user) (as shown in fig. 8).
The application information shared by the target server may also be displayed on the first client.
Optionally, in this embodiment, after the target identification information is displayed on the first client, the target application information sent by the first server may be acquired by the first client, where the target application information is used to indicate a target application set by the target server and allowed to share the first server; target application information is displayed on the first client.
There may be a "workbench" operating panel on the client (as shown in fig. 9), on which, besides the applications of the organization to which the user belongs, the icons and names of the applications that the interconnected organization has shared can be seen. The names of applications shared from the interconnected organization may be labeled as interconnected organization shorthand to distinguish the applications from the organization.
For application messages shared across organizations, messages may be pushed across organizations and presented in a conversation list on the client. The exposed message will also mark "@ interconnect organization abbreviation" to distinguish from applications within the organization.
For the server with the interconnection function, the interconnection function of the server can be closed as required. The manner of closing the interconnection function of the server may be various, and for example, may be initiated by the server (e.g., the first server) or may be initiated by an interconnection management node (e.g., the second server).
As an optional implementation manner, after obtaining, on a first server, a target list of a target server sent by a second server, a first instruction may be sent to the second server by the first server, where the first instruction is used to instruct the second server to close an interconnection function of the first server; and receiving a first response message sent by the second server on the first server, wherein the first response message is used for indicating that the second server closes the interconnection function for the first server.
For example, after a server administrator logs in and enters an interconnection management interface of a server management background, an "interconnection closing" button in an interconnection management node is clicked. And after the server side administrator confirms closing according to the prompt, the server side sends an interconnection quitting instruction to the interconnection management node, and the interconnection management node responds to the interconnection quitting instruction to execute corresponding operation. The interconnection management node can mark the server as an unopened state on the management interface.
The second server may sequentially send the event that the first server exits the interconnection to other servers that have established interconnection, so as to trigger the second server to update the information of the interconnection server.
The manner in which the interconnect shutdown function is initiated by the server is described below with reference to an alternative example. As shown in fig. 10, the server administrator closes the interconnection function by operating the management interface of the server. And the server side informs the interconnection management node of closing interconnection, and the interconnection management node informs other interconnection server sides that the server side exits.
As another optional implementation manner, after the target list of the target server sent by the second server is obtained on the first server, a second instruction sent by the second server may be received on the first server, where the second instruction is used to indicate that the second server closes the interconnection function for the first server; and sending a second response message to the second server through the first server, wherein the second response message is used for indicating that the interconnection function of the first server is determined to be closed.
For example, after logging in a management interface, an interconnection manager selects an interconnection server, enters a setting interface, clicks a button for closing interconnection, and after the interconnection manager confirms closing according to a prompt, an interconnection management node sends an interconnection exit instruction to the server and marks the server in an unopened state.
The second server may sequentially send the event that the first server exits the interconnection to other servers that have established interconnection, so as to trigger the second server to update the information of the interconnection server.
The manner in which the interconnect management node initiates the shutdown of the interconnect function is described below with reference to an alternative example. As shown in fig. 11, the interconnection administrator closes the interconnection function of the server by operating the management interface of the interconnection management node. And the interconnection management node informs the server to close the interconnection function and informs other interconnection servers that the server exits.
According to the embodiment, a first request message is sent to a second server through a first server, wherein the first request message is used for requesting to start an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which starts the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code distributed to the first server when the second server allows the first server to start the interconnection function; receiving a first response message returned by the second server on the first server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server; the target list of the target server sent by the second server is obtained on the first server, so that the problem of low information interaction efficiency between the privatized deployment service terminals in the related technology is solved, and the information interaction efficiency between the privatized deployment service terminals is improved.
As an optional implementation, after obtaining, on the first server, the target list of the target servers sent by the second server, the method further includes:
s1, sending a second request message to a second server through the first server, wherein the second request message is used for requesting to acquire target network information of a third server in a target list, and the target network information is used for establishing an interconnection link with the third server;
s2, receiving a second response message returned by the second server on the first server, wherein the second response message carries the target network information;
s3, sending a third request message to a third server by using the target network information on the first server, wherein the third request message is used for requesting to establish an interconnection link between the first server and the third server;
and S4, receiving a third response message returned by the third server on the first server, wherein the third response message is used for indicating that the interconnection link between the first server and the third server is established.
According to the embodiment, the target network information of the third server in the target servers is acquired from the second server through the first server, so that the interconnection link between the first server and the third server is established through the target network information, direct communication between the first server and the third server can be achieved, and the information interaction efficiency between the privatized deployment servers is improved.
As an optional implementation, after obtaining, on the first server, the target list of the target servers sent by the second server, the method further includes:
s1, sending a first instruction to a second server through a first server, wherein the first instruction is used for instructing the second server to close the interconnection function of the first server;
and S2, receiving a first response message sent by the second server on the first server, wherein the first response message is used for indicating that the second server closes the interconnection function for the first server.
By the embodiment, the first server controls to close the interconnection function of the first server, so that the control capability of the first server on the interconnection function of the first server can be improved.
As an optional implementation, after obtaining, on the first server, the target list of the target servers sent by the second server, the method further includes:
s1, receiving a second instruction sent by a second server on a first server, wherein the second instruction is used for indicating that the second server closes an interconnection function for the first server;
and S2, sending a second response message to the second server through the first server, wherein the second response message is used for indicating that the interconnection function of the first server is determined to be closed.
By the embodiment, the second server controls to close the interconnection function of the first server, so that the control capability of the second server on the interconnection function of the first server can be improved.
According to another aspect of the embodiment of the invention, the invention further provides an information acquisition method. Alternatively, the information acquisition method can be applied to, but is not limited to, the application environment shown in fig. 1.
Optionally, in this embodiment, as an optional implementation manner, as shown in fig. 12, the information obtaining method may include:
s1202, receiving a first request message sent by a first server on a second server, wherein the first request message is used for requesting to start an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which has started the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, a target authorization code is carried in the first request message, and the target authorization code is an authorization code which is distributed to the first server when the second server allows the first server to start the interconnection function;
s1204, sending a first response message to the first server through the second server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code;
s1206, sending a target list containing a target server identifier to the first server through the second server, where the target server identifier is used to identify the target server.
Optionally, the information obtaining method may be, but is not limited to, a process in which different privatized deployment servers perform interaction. For example, the method is applied to a privatized deployment collaborative office instant messaging system of cross-organization interconnection and interworking.
Alternatively, the above-described information acquisition method may be applied to the second server, but is not limited thereto. The processing performed by the second server is similar to the processing performed by the second server or the interconnection management node, and is not described herein again.
According to the embodiment, a first request message sent by a first server is received on a second server, wherein the first request message is used for requesting to start an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which has started the interconnection function through the second server, the first server and the target server are different privatized deployment service ends, a target authorization code is carried in the first request message, and the target authorization code is an authorization code which is distributed to the first server when the second server allows the first server to start the interconnection function; sending a first response message to the first server through the second server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code; and sending a target list containing a target server identifier to the first server through the second server, wherein the target server identifier is used for identifying the target server, so that the problem of low information interaction efficiency between privatized deployment servers in the related technology is solved, and the information interaction efficiency between the privatized deployment servers is improved.
As an optional implementation, after sending the first response message to the first server through the second server, the method further includes:
and S1, sending a notification message to a fourth server in the target list through the second server, wherein the notification message carries the identification information of the first server, the notification message is used for indicating the fourth server to update an interconnection server list of the fourth server by using the identification information of the first server, and the interconnection server list of the fourth server is a list of servers which are stored by the fourth server and have passed through the second server to start an interconnection function.
According to the embodiment, the second server sends the notification message to the fourth server in the target server to notify the fourth server of updating the interconnection server list of the fourth server, so that the accuracy of the interconnection server list in the fourth server can be ensured.
According to another aspect of the embodiment of the invention, an information acquisition method is also provided. Alternatively, the information acquisition method can be applied to, but is not limited to, the application environment shown in fig. 1.
Optionally, in this embodiment, as an optional implementation manner, as shown in fig. 13, the information obtaining method may include:
s1302, sending a fourth request message to the first server through the first client, where the fourth request message is used to request to obtain a target list including a target server identifier, the target servers identified by the first server and the target server identifier are different privatized deployment service terminals that have opened an interconnection function through the second server, the interconnection function of the first server is used to allow the first server to communicate with the target server, the first client is a client belonging to the first server, and the target server is represented in the target list by target identifier information of the target server;
s1304, receiving, by the first client, a fourth response message returned by the first server, where the fourth response message carries a target list, and the target list includes target identification information;
s1306, displaying the target identification information on the first client.
Optionally, the information obtaining method may be, but is not limited to, a process in which different privatized deployment servers perform interaction. For example, the method is applied to a privatized deployment collaborative office instant messaging system of cross-organization interconnection and interworking.
Optionally, the information obtaining method may be applied to the first client in the first server, but is not limited thereto. The processing performed by the first client in the first server is similar to the processing performed by the first client, and is not described herein again.
According to the embodiment, a fourth request message is sent to a first server through a first client, wherein the fourth request message is used for requesting to acquire a target list containing a target server identifier, the first server and the target server identified by the target server identifier are different privatized deployment service terminals with interconnection functions started through a second server, the interconnection function of the first server is used for allowing the first server to communicate with the target server, the first client is a client belonging to the first server, and the target server is represented by target identifier information of the target server in the target list; receiving a fourth response message returned by the first server through the first client, wherein the fourth response message carries a target list, and the target list comprises target identification information; the target identification information is displayed on the first client, and different privatized deployment servers with the interconnection function started through the second server are displayed on the first client of the first server, so that a user can conveniently know the condition of the interconnection server, a basis is provided for information interaction, the problem of low information interaction efficiency between the privatized deployment servers in the related technology is solved, and the information interaction efficiency between the privatized deployment servers is improved.
As an alternative embodiment, after displaying the target identification information on the first client, the method further includes:
s1, detecting, by the first client, a first operation performed on a first node in a first hierarchical tree displayed on the first client, where the first operation is used to display a next-level node located at a next level of the first node on the first client, the first hierarchical tree corresponding to a fifth server identified by a first identifier in the target identification information, the first hierarchical tree being used to represent a first organizational structure set by the fifth server and allowing access by the first server, the first node being used to represent a first object in the first organizational structure, and the next-level node being used to represent a next-level object located at a next level of the first object;
s2, responding to the first operation, acquiring next-level object information of a next-level object from the fifth server through the first client, wherein the next-level object information is acquired through a first link between the first client and the first server and a second link between the first server and the fifth server;
s3, displaying the next level node on the first client using the next level object information.
Through the embodiment, the organization structure disclosed by other interconnected service ends is displayed in a mode of recursively inquiring each layer of nodes of the layer number, so that the occupation of resources of the terminal where the first client is located can be reduced, and the operation efficiency of the terminal is improved.
As an alternative embodiment, after displaying the target identification information on the first client, the method further includes:
s1, detecting, by the first client, a second operation performed on a second hierarchical tree displayed on the first client, where the second hierarchical tree corresponds to a sixth server identified by second identification information in the target identification information, the second hierarchical tree is used to represent a second organizational structure set by the sixth server and allowed to be accessed by the first server, and the second operation is used to search for a second object having a target attribute in the second organizational structure;
s2, in response to the second operation, obtaining, by the first client, second object information of the second object from the sixth server, where the second object information is obtained via a first link between the first client and the first server and a third link between the first server and the sixth server;
and S3, displaying a second node on the first client by using the second object information, wherein the second node is a node corresponding to the second object in the second hierarchical tree.
By the embodiment, the organization structure disclosed by the sixth server is retrieved according to the operation detected by the first client and displayed on the first client, so that the interconnection information can be clearly displayed, and the efficiency of information interaction between the service terminals is privatized and deployed.
Optionally, after displaying the second node through the first client using the second object information, the method further includes:
s1, detecting, by the first client, a third operation performed on the second node, wherein the third operation is used to establish a target session between the first client and the second client of the second object;
s2, establishing, by the first client, a target session via the first link and the third link;
s3, detecting, by the first client, a fourth operation performed on a third node in a third hierarchical tree displayed on the first client, where the third hierarchical tree corresponds to a seventh server identified by third identification information in the target identification information, the third hierarchical tree is used to represent a third organizational structure set by the seventh server and allowed to be accessed by the first server, and the fourth operation is used to add a third client of a third object corresponding to the third node in the third organizational structure to the target session;
s4, in response to the fourth operation, adding, by the first client, the third client to the target session via the first link and a fourth link, wherein the fourth link is an interconnection link between the first server and the seventh server.
According to the embodiment, the multi-party conversation between the clients of different privatization deployment service terminals is established according to the operation detected by the first client, so that the information interaction mode between the privatization deployment service terminals is enriched, and the flexibility of information interaction is improved.
As an alternative embodiment, after displaying the target identification information on the first client, the method further includes:
s1, acquiring target application information sent by the first server through the first client, wherein the target application information is used for representing a target application which is set by the target server and allows the first server to be shared;
and S2, displaying the target application information on the first client.
According to the embodiment, the first client side obtains the target application information which is used for representing the target application which is set by the target server and allowed to share the first server, and displays the target application information on the first client side, so that the cross-server application sharing is realized.
The information acquisition method provided by the embodiment of the invention can realize cross-organization interconnection and intercommunication between privatized deployment collaborative office instant messaging systems: two or more deployment service terminals can make personnel and organization structures visible, establish instant messaging chat and apply message cross-organization transfer. By controllably disclosing the organization architecture deployed by the client, the personnel can check the disclosed personnel and organization hierarchy of the other party and initiate instant messaging among different client organizations, and the application system can carry out cross-organization information access by virtue of the instant messaging system, thereby realizing the capability of interconnecting the privatized cooperative office instant messaging system,
it should be noted that the information acquisition method provided by the embodiment of the present invention can solve the decision difficulty of large loosely-coupled enterprises or government organizations during mobile collaborative office construction. When a privatized collaborative office instant messaging system is built by a large organization, the private collaborative office instant messaging system can be built according to regions or branch organizations respectively, and then fusion is realized through interconnection, so that one-time investment and decision thresholds can be reduced, and operation and maintenance costs and risks can be dispersed. And moreover, the privatized collaborative office instant messaging system product with the interconnection capacity is received by the client in the market to a higher degree, and has a better market popularization advantage.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to still another aspect of the embodiments of the present invention, there is also provided an information acquisition apparatus for implementing the information acquisition method described above, as shown in fig. 14, the apparatus including:
(1) a sending unit 1402, configured to send a first request message to a second server through a first server, where the first request message is used to request to open an interconnection function of the first server, the interconnection function of the first server is used to allow the first server to communicate with a target server that has opened the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code that is allocated to the first server when the second server allows the first server to open the interconnection function;
(2) a receiving unit 1404, configured to receive, on the first server, a first response message returned by the second server, where the first response message is used to indicate that the second server has opened an interconnection function for the first server after the first server is verified by using the target authorization code;
(3) an obtaining unit 1406 is configured to obtain, on the first server, a target list that includes a target server identifier and is sent by the second server, where the target server identifier is used to identify the target server.
Optionally, the information obtaining apparatus may be, but is not limited to, a process of interacting with different privatized deployment servers. For example, the method is applied to a privatized deployment collaborative office instant messaging system of cross-organization interconnection and interworking.
Alternatively, the information acquiring apparatus may be applied to the first server, but is not limited thereto. The sending unit 1402 may be configured to execute the aforementioned step S202, the receiving unit 1404 may be configured to execute the aforementioned step S204, and the obtaining unit 1406 may be configured to execute the aforementioned step S206.
Through the embodiment, the problem that the information interaction efficiency between the privatization deployment service terminals is low in the related technology is solved, and the information interaction efficiency between the privatization deployment service terminals is improved.
As an alternative embodiment, the above apparatus further comprises:
(1) the first acquiring unit is used for acquiring a target list of a target server sent by a second server on the first server, and then sending a second request message to the second server through the first server, wherein the second request message is used for requesting to acquire target network information of a third server in the target list, and the target network information is used for establishing an interconnection link with the third server;
(2) a first receiving unit, configured to receive, on a first server, a second response message returned by a second server, where the second response message carries target network information;
(3) the first sending unit is used for sending a third request message to a third server by using the target network information on the first server, wherein the third request message is used for requesting to establish an interconnection link between the first server and the third server;
(4) and the second receiving unit is used for receiving a third response message returned by the third server on the first server, wherein the third response message is used for indicating that the interconnection link between the first server and the third server is established.
According to the embodiment, the target network information of the third server in the target servers is acquired from the second server through the first server, so that the interconnection link between the first server and the third server is established through the target network information, direct communication between the first server and the third server can be achieved, and the information interaction efficiency between the privatized deployment servers is improved.
As an alternative embodiment, the above apparatus further comprises:
(1) the second sending unit is used for sending a first instruction to the second server through the first server after the target list of the target server sent by the second server is acquired on the first server, wherein the first instruction is used for indicating the second server to close the interconnection function of the first server;
(2) and a third receiving unit, configured to receive, on the first server, a first response message sent by the second server, where the first response message is used to indicate that the second server has closed the interconnection function for the first server.
By the embodiment, the first server controls to close the interconnection function of the first server, so that the control capability of the first server on the interconnection function of the first server can be improved.
As an alternative embodiment, the above apparatus further comprises:
(1) a fourth receiving unit, configured to receive, on the first server, a second instruction sent by the second server after acquiring, on the first server, a target list of a target server sent by the second server, where the second instruction is used to indicate that the second server closes an interconnection function for the first server;
(2) and the third sending unit is used for sending a second response message to the second server through the first server, wherein the second response message is used for indicating that the interconnection function of the first server is determined to be closed.
By the embodiment, the second server controls to close the interconnection function of the first server, so that the control capability of the second server on the interconnection function of the first server can be improved.
According to still another aspect of the embodiments of the present invention, there is also provided an information acquisition apparatus for implementing the above-described information acquisition method, as shown in fig. 15, the apparatus including:
(1) a receiving unit 1502, configured to receive, on a second server, a first request message sent by a first server, where the first request message is used to request to open an interconnection function of the first server, the interconnection function of the first server is used to allow the first server to communicate with a target server that has opened the interconnection function by the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code that is allocated to the first server when the second server allows the first server to open the interconnection function;
(2) a first sending unit 1504, configured to send a first response message to the first server through the second server, where the first response message is used to indicate that the second server has opened the interconnection function for the first server after the first server is verified by using the target authorization code;
(3) the second sending unit 1506 is configured to send, to the first server, a target list including a target server identifier, where the target server identifier is used to identify the target server, through the second server.
Optionally, the information obtaining apparatus may be, but is not limited to, a process of interacting with different privatized deployment servers. For example, the method is applied to a privatized deployment collaborative office instant messaging system of cross-organization interconnection and interworking.
Alternatively, the above-described information acquisition apparatus may be applied to the second server, but is not limited thereto. The processing performed by the second server is similar to the processing performed by the second server or the interconnection management node, and is not described herein again.
Alternatively, the receiving unit 1502 may be configured to perform the foregoing step S1202, the first transmitting unit 1504 may be configured to perform the foregoing step S1204, and the second transmitting unit 1506 may be configured to perform the foregoing step S1206.
Through the embodiment, the problem that the information interaction efficiency between the privatization deployment service terminals is low in the related technology is solved, and the information interaction efficiency between the privatization deployment service terminals is improved.
As an alternative embodiment, the above apparatus further comprises:
(1) and a third sending unit, configured to send, after sending the first response message to the first server through the second server, a notification message to a fourth server in the target list through the second server, where the notification message carries identification information of the first server, the notification message is used to instruct the fourth server to update an interconnection server list of the fourth server using the identification information of the first server, and the interconnection server list of the fourth server is a list of servers that have opened an interconnection function through the second server and are stored by the fourth server.
According to the embodiment, the second server sends the notification message to the fourth server in the target server to notify the fourth server of updating the interconnection server list of the fourth server, so that the accuracy of the interconnection server list in the fourth server can be ensured.
According to still another aspect of the embodiments of the present invention, there is also provided an information acquisition apparatus for implementing the above-described information acquisition method, as shown in fig. 16, the apparatus including:
(1) a sending unit 1602, configured to send a fourth request message to a first server through a first client, where the fourth request message is used to request to obtain a target list including a target server identifier, the first server and the target server identified by the target server identifier are different privatized deployment service terminals that have opened an interconnection function through a second server, the interconnection function of the first server is used to allow the first server to communicate with the target server, the first client is a client belonging to the first server, and the target server is represented in the target list by target identifier information of the target server;
(2) a receiving unit 1604, configured to receive, by the first client, a fourth response message returned by the first server, where the fourth response message carries a target list, and the target list includes target identification information;
(3) a display unit 1606 for displaying the target identification information on the first client.
Optionally, the information obtaining apparatus may be, but is not limited to, a process of interacting with different privatized deployment servers. For example, the method is applied to a privatized deployment collaborative office instant messaging system of cross-organization interconnection and interworking.
Alternatively, the information acquiring apparatus may be applied to implement the first client in the first server, but is not limited thereto. The processing performed by the first client in the first server is similar to the processing performed by the first client, and is not described herein again.
Alternatively, the sending unit 1602 may be configured to execute the foregoing step S1302, the receiving unit 1604 may be configured to execute the foregoing step S1304, and the display unit 1606 may be configured to execute the foregoing step S1306.
Through the embodiment, the problem that the information interaction efficiency between the privatization deployment service terminals is low in the related technology is solved, and the information interaction efficiency between the privatization deployment service terminals is improved.
As an alternative embodiment, the above apparatus further comprises:
(1) a first detection unit, configured to detect, by a first client, a first operation performed on a first node in a first hierarchical tree displayed on the first client after target identification information is displayed on the first client, where the first operation is used to display, on the first client, a next-level node located at a next level from the first node, the first hierarchical tree corresponding to a fifth server identified by a first identification in the target identification information, the first hierarchical tree being used to represent a first organizational structure set by the fifth server and allowing access by the first server, the first node being used to represent a first object in the first organizational structure, and the next-level node being used to represent a next-level object located at a next level from the first object;
(2) a first obtaining unit, configured to obtain, by a first client, next-level object information of a next-level object from a fifth server in response to a first operation, where the next-level object information is obtained via a first link between the first client and the first server and a second link between the first server and the fifth server;
(3) and a first display unit for displaying the next level node on the first client using the next level object information.
Through the embodiment, the organization structure disclosed by other interconnected service ends is displayed in a mode of recursively inquiring each layer of nodes of the layer number, so that the occupation of resources of the terminal where the first client is located can be reduced, and the operation efficiency of the terminal is improved.
As an alternative embodiment, the above apparatus further comprises:
(1) a second detection unit, configured to detect, by the first client, a second operation performed on a second hierarchical tree displayed on the first client after the target identification information is displayed on the first client, where the second hierarchical tree corresponds to a sixth server identified by second identification information in the target identification information, the second hierarchical tree is used to represent a second organizational structure set by the sixth server and allowing access to the first server, and the second operation is used to search for a second object having a target attribute in the second organizational structure;
(2) a second obtaining unit, configured to obtain, by the first client, second object information of a second object from the sixth server in response to a second operation, where the second object information is obtained via a first link between the first client and the first server and a third link between the first server and the sixth server;
(2) and a second display unit for displaying a second node on the first client using the second object information, wherein the second node is a node corresponding to the second object in the second hierarchical tree.
By the embodiment, the organization structure disclosed by the sixth server is retrieved according to the operation detected by the first client and displayed on the first client, so that the interconnection information can be clearly displayed, and the efficiency of information interaction between the service terminals is privatized and deployed.
Optionally, the apparatus further comprises:
(1) a third detecting unit, configured to detect, by the first client, a third operation performed on the second node after displaying the second node by the first client using the second object information, where the third operation is used to establish a target session between the first client and the second client of the second object;
(2) an establishing unit, configured to establish, by a first client, a target session via a first link and a third link;
(3) a fourth detection unit, configured to detect, by the first client, a fourth operation performed on a third node in a third hierarchical tree displayed on the first client, where the third hierarchical tree corresponds to a seventh server identified by third identification information in the target identification information, the third hierarchical tree is used to represent a third organizational structure set by the seventh server and allowed to be accessed by the first server, and the fourth operation is used to add a third client of a third object corresponding to the third node in the third organizational structure to the target session;
(4) and the adding unit is used for responding to a fourth operation, and adding the third client to the target session through the first link and a fourth link by the first client, wherein the fourth link is an interconnection link between the first server and the seventh server.
According to the embodiment, the multi-party conversation between the clients of different privatization deployment service terminals is established according to the operation detected by the first client, so that the information interaction mode between the privatization deployment service terminals is enriched, and the flexibility of information interaction is improved.
As an alternative embodiment, the above apparatus further comprises:
(1) the third acquisition unit is used for acquiring target application information sent by the first server through the first client after the target identification information is displayed on the first client, wherein the target application information is used for representing a target application which is set by the target server and allows the first server to be shared;
(2) and the third display unit is used for displaying the target application information on the first client.
According to the embodiment, the first client side obtains the target application information which is used for representing the target application which is set by the target server and allowed to share the first server, and displays the target application information on the first client side, so that the cross-server application sharing is realized.
According to a further aspect of embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, sending a first request message to a second server through a first server, wherein the first request message is used for requesting to start an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which starts the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code distributed to the first server when the second server allows the first server to start the interconnection function;
s2, receiving a first response message returned by the second server on the first server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code;
and S3, acquiring a target list containing target server identification sent by the second server on the first server, wherein the target server identification is used for identifying the target server.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, receiving a first request message sent by a first server on a second server, wherein the first request message is used for requesting to open an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which has opened the interconnection function through the second server, the first server and the target server are different privatized deployment service ends, the first request message carries a target authorization code, and the target authorization code is an authorization code which is allocated to the first server when the second server allows the first server to open the interconnection function;
s2, sending a first response message to the first server through the second server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code;
s3, sending, by the second server, to the first server, a target list including a target server identification, wherein the target server identification is used to identify the target server.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, sending a fourth request message to a first server through a first client, where the fourth request message is used to request to obtain a target list including a target server identifier, the target servers identified by the first server and the target server identifier are different privatized deployment service terminals that have opened an interconnection function through a second server, the interconnection function of the first server is used to allow the first server to communicate with the target server, the first client is a client belonging to the first server, and the target server is represented in the target list by target identifier information of the target server;
s2, receiving a fourth response message returned by the first server through the first client, wherein the fourth response message carries a target list, and the target list contains target identification information;
s3, displaying the object identification information on the first client.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
According to still another aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the information acquisition method, as shown in fig. 17, the electronic device including: a processor 1702, a memory 1704, a transmitting device 1706, and the like. The memory has stored therein a computer program, and the processor is arranged to execute the steps of any of the above method embodiments by means of the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, sending a first request message to a second server through a first server, wherein the first request message is used for requesting to start an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which starts the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code distributed to the first server when the second server allows the first server to start the interconnection function;
s2, receiving a first response message returned by the second server on the first server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code;
and S3, acquiring a target list containing target server identification sent by the second server on the first server, wherein the target server identification is used for identifying the target server.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving a first request message sent by a first server on a second server, wherein the first request message is used for requesting to open an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which has opened the interconnection function through the second server, the first server and the target server are different privatized deployment service ends, the first request message carries a target authorization code, and the target authorization code is an authorization code which is allocated to the first server when the second server allows the first server to open the interconnection function;
s2, sending a first response message to the first server through the second server, wherein the first response message is used for indicating that the second server opens the interconnection function for the first server after the first server is verified by using the target authorization code;
s3, sending, by the second server, to the first server, a target list including a target server identification, wherein the target server identification is used to identify the target server.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, sending a fourth request message to a first server through a first client, where the fourth request message is used to request to obtain a target list including a target server identifier, the target servers identified by the first server and the target server identifier are different privatized deployment service terminals that have opened an interconnection function through a second server, the interconnection function of the first server is used to allow the first server to communicate with the target server, the first client is a client belonging to the first server, and the target server is represented in the target list by target identifier information of the target server;
s2, receiving a fourth response message returned by the first server through the first client, wherein the fourth response message carries a target list, and the target list contains target identification information;
s3, displaying the object identification information on the first client.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 17 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 17 is a diagram illustrating the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 17, or have a different configuration than shown in FIG. 17.
The memory 1704 may be used to store software programs and modules, such as program instructions/modules corresponding to the information obtaining method and apparatus in the embodiments of the present invention, and the processor 1702 executes various functional applications and data processing by running the software programs and modules stored in the memory 1704, that is, implements the information obtaining method. Memory 1704 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1704 may further include memory located remotely from the processor 1702, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmitting device 1706 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1706 includes a network adapter (NIC) that can be connected to a router via a network cable and other network devices to communicate with the internet or a local area network. In one example, the transmission device 1706 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (15)

1. An information acquisition method, comprising:
sending a first request message to a second server through a first server, wherein the first request message is used for requesting to open an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server which has opened the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code which is allocated to the first server when the second server allows the first server to open the interconnection function;
receiving a first response message returned by the second server on the first server, wherein the first response message is used for indicating that the interconnection function is opened for the first server after the second server passes the verification of the first server by using the target authorization code;
and acquiring a target list which is sent by the second server and contains a target server identifier on the first server, wherein the target server identifier is used for identifying the target server.
2. The method of claim 1, wherein after obtaining the target list containing the target server identifier sent by the second server on the first server, the method further comprises:
sending a second request message to the second server through the first server, wherein the second request message is used for requesting to acquire target network information of a third server in the target list, and the target network information is used for establishing an interconnection link with the third server;
receiving a second response message returned by the second server on the first server, wherein the second response message carries the target network information;
sending a third request message to the third server by using the target network information on the first server, wherein the third request message is used for requesting to establish an interconnection link between the first server and the third server;
and receiving a third response message returned by the third server on the first server, wherein the third response message is used for indicating that the interconnection link between the first server and the third server is established.
3. The method according to claim 1 or 2, wherein after obtaining the target list of the target servers sent by the second server on the first server, the method further comprises:
sending a first instruction to the second server through the first server, wherein the first instruction is used for instructing the second server to close the interconnection function of the first server; receiving a first response message sent by the second server on the first server, wherein the first response message is used for indicating that the second server closes the interconnection function for the first server; alternatively, the first and second electrodes may be,
receiving a second instruction sent by the second server on the first server, wherein the second instruction is used for indicating that the second server closes the interconnection function for the first server; sending a second response message to the second server through the first server, wherein the second response message is used for indicating that the interconnection function of the first server is determined to be closed.
4. An information acquisition method, comprising:
receiving a first request message sent by a first server on a second server, wherein the first request message is used for requesting to open an interconnection function of the first server, the interconnection function of the first server is used for allowing the first server to communicate with a target server, which has opened the interconnection function by the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code allocated to the first server when the second server allows the first server to open the interconnection function;
sending, by the second server, a first response message to the first server, where the first response message is used to indicate that the second server has opened the interworking function for the first server after the first server is verified by using the target authorization code;
sending, by the second server, a target list including a target server identifier to the first server, wherein the target server identifier is used to identify the target server.
5. The method of claim 4, wherein after sending the first response message to the first server through the second server, the method further comprises:
and sending a notification message to a fourth server in the target list through the second server, wherein the notification message carries the identification information of the first server, the notification message is used for indicating the fourth server to update an interconnection server list of the fourth server by using the identification information of the first server, and the interconnection server list of the fourth server is a list of servers which are stored by the fourth server and have passed through the second server to start the interconnection function.
6. An information acquisition method, comprising:
sending a fourth request message to a first server through a first client, wherein the fourth request message is used for requesting to acquire a target list containing a target server identifier, the target servers identified by the first server and the target server identifier are different privatized deployment service terminals which have opened an interconnection function through a second server, the interconnection function of the first server is used for allowing the first server to communicate with the target server, the first client is a client belonging to the first server, and the target server is represented in the target list through target identifier information of the target server;
receiving a fourth response message returned by the first server through the first client, wherein the fourth response message carries the target list, and the target list contains the target identification information;
displaying the target identification information on the first client.
7. The method of claim 6, wherein after displaying the target identification information on the first client, the method further comprises:
detecting, by the first client, a first operation performed on a first node in a first hierarchical tree displayed on the first client, wherein the first operation is used to display a next-level node located at a next level of the first node on the first client, the first hierarchical tree corresponds to a fifth server identified by a first identifier in the target identification information, the first hierarchical tree is used to represent a first organizational structure set by the fifth server and allowing access by the first server, the first node is used to represent a first object in the first organizational structure, and the next-level node is used to represent a next-level object located at a next level of the first object;
acquiring, by the first client, next-level object information of the next-level object from the fifth server in response to the first operation, wherein the next-level object information is acquired via a first link between the first client and the first server and a second link between the first server and the fifth server;
displaying the next level node on the first client using the next level object information.
8. The method of claim 6, wherein after displaying the target identification information on the first client, the method further comprises:
detecting, by the first client, a second operation performed on a second hierarchical tree displayed on the first client, wherein the second hierarchical tree corresponds to a sixth server identified by second identification information in the target identification information, the second hierarchical tree is used for representing a second organizational structure set by the sixth server and allowing access to the first server, and the second operation is used for searching for a second object having a target attribute in the second organizational structure;
acquiring, by the first client, second object information of the second object from the sixth server in response to the second operation, wherein the second object information is acquired via a first link between the first client and the first server and a third link between the first server and the sixth server;
displaying a second node on the first client using the second object information, wherein the second node is a node in the second hierarchical tree corresponding to the second object.
9. The method of claim 8, wherein after displaying the second node by the first client using the second object information, the method further comprises:
detecting, by the first client, a third operation performed on the second node, wherein the third operation is used to establish a target session between the first client and a second client of the second object;
establishing, by the first client, the target session via the first link and the third link;
detecting, by the first client, a fourth operation performed on a third node in a third hierarchical tree displayed on the first client, wherein the third hierarchical tree corresponds to a seventh server identified by third identification information in the target identification information, the third hierarchical tree is used for representing a third organizational structure set by the seventh server and allowing access to the first server, and the fourth operation is used for adding a third client of a third object corresponding to the third node in the third organizational structure to the target session;
in response to the fourth operation, adding, by the first client, the third client to the target session via the first link and a fourth link, wherein the fourth link is an interconnection link between the first server and the seventh server.
10. The method of any of claims 6 to 9, wherein after displaying the target identification information on the first client, the method further comprises:
acquiring target application information sent by the first server through the first client, wherein the target application information is used for representing a target application which is set by the target server and allows the first server to be shared;
and displaying the target application information on the first client.
11. An information acquisition apparatus characterized by comprising:
a sending unit, configured to send a first request message to a second server through a first server, where the first request message is used to request to open an interconnection function of the first server, the interconnection function of the first server is used to allow the first server to communicate with a target server that has opened the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code that is allocated to the first server when the second server allows the first server to open the interconnection function;
a receiving unit, configured to receive, on the first server, a first response message returned by the second server, where the first response message is used to indicate that the second server has opened the interconnection function for the first server after the first server is verified by using the target authorization code;
an obtaining unit, configured to obtain, on the first server, a target list that includes a target server identifier and is sent by the second server, where the target server identifier is used to identify the target server.
12. An information acquisition apparatus characterized by comprising:
a receiving unit, configured to receive, on a second server, a first request message sent by a first server, where the first request message is used to request to open an interconnection function of the first server, the interconnection function of the first server is used to allow the first server to communicate with a target server that has opened the interconnection function through the second server, the first server and the target server are different privatized deployment service terminals, the first request message carries a target authorization code, and the target authorization code is an authorization code that is allocated to the first server when the second server allows the first server to open the interconnection function;
a first sending unit, configured to send, by the second server, a first response message to the first server, where the first response message is used to indicate that the second server has opened the interconnection function for the first server after the first server is verified by using the target authorization code;
a second sending unit, configured to send, to the first server through the second server, a target list including a target server identifier, where the target server identifier is used to identify the target server.
13. An information acquisition apparatus characterized by comprising:
a sending unit, configured to send a fourth request message to a first server through a first client, where the fourth request message is used to request to obtain a target list including a target server identifier, where the target server identified by the first server and the target server identifier is a different privatized deployment server that has started an interconnection function through a second server, the interconnection function of the first server is used to allow the first server to communicate with the target server, the first client is a client that belongs to the first server, and the target server is represented in the target list by target identifier information of the target server;
a receiving unit, configured to receive, by a first client, a fourth response message returned by the first server, where the fourth response message carries the target list, and the target list includes the target identification information;
a display unit, configured to display the target identification information on the first client.
14. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 10 when executed.
15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 10 by means of the computer program.
CN201910483453.7A 2019-06-04 2019-06-04 Information acquisition method and apparatus, storage medium, and electronic apparatus Active CN111181903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910483453.7A CN111181903B (en) 2019-06-04 2019-06-04 Information acquisition method and apparatus, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910483453.7A CN111181903B (en) 2019-06-04 2019-06-04 Information acquisition method and apparatus, storage medium, and electronic apparatus

Publications (2)

Publication Number Publication Date
CN111181903A true CN111181903A (en) 2020-05-19
CN111181903B CN111181903B (en) 2021-08-17

Family

ID=70657621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910483453.7A Active CN111181903B (en) 2019-06-04 2019-06-04 Information acquisition method and apparatus, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN111181903B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114793219A (en) * 2021-01-25 2022-07-26 腾讯科技(深圳)有限公司 Account processing method and device, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140142999A1 (en) * 2012-11-19 2014-05-22 International Business Machines Corporation Managing Assets
CN103986639A (en) * 2014-03-07 2014-08-13 杭州易和互联软件技术有限公司 Algorithm for realizing message interconnection and interworking among a plurality of independently-deployed instant message systems
CN104978650A (en) * 2015-07-28 2015-10-14 金蝶软件(中国)有限公司 Integrated method and integrated system for approval processes
CN105528694A (en) * 2015-12-31 2016-04-27 青岛英特沃克网络科技有限公司 Enterprise interconnected office system based on cluster communication
CN108200089A (en) * 2018-02-07 2018-06-22 腾讯云计算(北京)有限责任公司 Implementation method, device, system and the storage medium of information security
CN108809968A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Collaborative share method, apparatus and storage medium
CN109639565A (en) * 2018-12-14 2019-04-16 杭州安司源科技有限公司 A kind of more service nodes of the instant messaging of decentralization interconnect system
CN109829703A (en) * 2019-01-29 2019-05-31 腾讯科技(深圳)有限公司 Virtual objects distribution method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140142999A1 (en) * 2012-11-19 2014-05-22 International Business Machines Corporation Managing Assets
CN103986639A (en) * 2014-03-07 2014-08-13 杭州易和互联软件技术有限公司 Algorithm for realizing message interconnection and interworking among a plurality of independently-deployed instant message systems
CN104978650A (en) * 2015-07-28 2015-10-14 金蝶软件(中国)有限公司 Integrated method and integrated system for approval processes
CN105528694A (en) * 2015-12-31 2016-04-27 青岛英特沃克网络科技有限公司 Enterprise interconnected office system based on cluster communication
CN108200089A (en) * 2018-02-07 2018-06-22 腾讯云计算(北京)有限责任公司 Implementation method, device, system and the storage medium of information security
CN108809968A (en) * 2018-05-28 2018-11-13 北京小米移动软件有限公司 Collaborative share method, apparatus and storage medium
CN109639565A (en) * 2018-12-14 2019-04-16 杭州安司源科技有限公司 A kind of more service nodes of the instant messaging of decentralization interconnect system
CN109829703A (en) * 2019-01-29 2019-05-31 腾讯科技(深圳)有限公司 Virtual objects distribution method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114793219A (en) * 2021-01-25 2022-07-26 腾讯科技(深圳)有限公司 Account processing method and device, storage medium and electronic equipment
CN114793219B (en) * 2021-01-25 2023-10-24 腾讯科技(深圳)有限公司 Account processing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111181903B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
US9246765B2 (en) Apparatus and methods for auto-discovery and migration of virtual cloud infrastructure
US20190207812A1 (en) Hybrid cloud network configuration management
CN103023875B (en) A kind of account management system and method
CN101009576B (en) Distributed instant messaging method and system
CN101399729B (en) Management system and method for file download and upload
US9262037B2 (en) Selective capture of incoming email messages for diagnostic analysis
US11177974B2 (en) Consistent provision of member node group information on virtual overlay network
CN112910904B (en) Login method and device of multi-service system
US20110137809A1 (en) Establishing secure tunnels for customer support
CN106844489A (en) A kind of file operation method, device and system
CN111447133A (en) Message transmission method and device, storage medium and electronic device
US20160380954A1 (en) Identification of employees on external social media
CN102685101A (en) Proxy communications on a social network
Lowe Networking All-in-one for Dummies
CN109088812A (en) Information processing method, device, computer equipment and storage medium
CN104363163A (en) Method for establishing instant messaging APP (application) capable of automatically generating tree-type communication directory
CN108390774A (en) A kind of wide area network network-building method and system based on software definition
CN113568970A (en) Application service data management method, device, equipment and storage medium
CN107172061A (en) It is a kind of to realize shared method and system
CN111966779A (en) Robot knowledge base management method, system, electronic device and storage medium
CN111181903B (en) Information acquisition method and apparatus, storage medium, and electronic apparatus
CN111181915B (en) Configuration method and device of sharing permission, storage medium and electronic device
CN109040331B (en) Electronic business card processing method and device, computing equipment and storage medium
CN105959197A (en) SSL VPN user interface customization method and device
CN106034048B (en) A kind of method and device of information configuration

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