CN116319633A - Instant messaging method, device, equipment and storage medium - Google Patents

Instant messaging method, device, equipment and storage medium Download PDF

Info

Publication number
CN116319633A
CN116319633A CN202211664620.6A CN202211664620A CN116319633A CN 116319633 A CN116319633 A CN 116319633A CN 202211664620 A CN202211664620 A CN 202211664620A CN 116319633 A CN116319633 A CN 116319633A
Authority
CN
China
Prior art keywords
cloud
ide
request message
group members
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211664620.6A
Other languages
Chinese (zh)
Inventor
王初晴
彭云鹏
李杨
魏嘉汛
高赛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202211664620.6A priority Critical patent/CN116319633A/en
Publication of CN116319633A publication Critical patent/CN116319633A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1895Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for short real-time information, e.g. alarms, notifications, alerts, updates

Abstract

The disclosure provides an instant messaging method, an instant messaging device, instant messaging equipment and a storage medium, relates to the technical field of computers, and particularly relates to the technical fields of application development, instant messaging and the like. The instant messaging method comprises the following steps: an IM plug-in built in a cloud IDE is adopted, a target developer is responded to be connected to the cloud IDE, a first request message is sent to a management system, and the first request message is used for obtaining information of group members in a group where the target developer is located; receiving information of the group members sent by the management system by adopting the IM plug-in, wherein the information of the group members is acquired by the management system based on the first request message, and the group members in the same group have the same development permission; and carrying out conversation among the group members in the cloud IDE based on the information of the group members by adopting the IM plug-in. The communication efficiency in the cloud IDE scene can be improved.

Description

Instant messaging method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the technical fields of application development, instant messaging, and the like, and in particular, to a data processing method, apparatus, device, and storage medium.
Background
The cloud integrated development environment (IntegratedDevelopmentEnvironment, IDE) is an integrated development environment based on a browser, and provides a stable cloud workstation for developers. Multiple members in a team can develop the same cloud workspace. When multiple members develop the same cloud work area, there is a need for communication. Multiple members may communicate through instant messaging (InstantMessaging, IM) software.
Disclosure of Invention
The present disclosure provides an instant messaging method, apparatus, device, and storage medium.
According to an aspect of the present disclosure, there is provided an instant messaging method including: an IM plug-in built in a cloud IDE is adopted, a target developer is responded to be connected to the cloud IDE, a first request message is sent to a management system, and the first request message is used for obtaining information of group members in a group where the target developer is located; receiving information of the group members sent by the management system by adopting the IM plug-in, wherein the information of the group members is acquired by the management system based on the first request message, and the group members in the same group have the same development permission; and carrying out conversation among the group members in the cloud IDE based on the information of the group members by adopting the IM plug-in.
According to another aspect of the present disclosure, there is provided an instant messaging method including: receiving a first request message sent by a cloud end IDE, wherein the first request message is sent by an IM plug-in built in the cloud end IDE after a target developer is connected to the cloud end IDE, and the first request message is used for acquiring information of group members in a group where the target developer is located; responding to the first request message, and acquiring information of group members in a group where the target developer is located, wherein the group members in the same group have the same development authority; and sending the information of the group members to the cloud side IDE so that the cloud side IDE adopts the IM plug-in, and performing conversation among the group members in the cloud side IDE based on the information of the group members.
According to another aspect of the present disclosure, there is provided an instant communication apparatus including: the system comprises a sending module, a management system and a target developer, wherein the sending module is used for responding to connection of the target developer to the cloud IDE by adopting an IM plug-in built in the cloud IDE and sending a first request message to the management system, wherein the first request message is used for acquiring information of group members in a group where the target developer is located; the receiving module is used for receiving the information of the group members sent by the management system by adopting the IM plug-in, wherein the information of the group members is acquired by the management system based on the first request message, and the group members in the same group have the same development permission; and the session module is used for carrying out session among the group members in the cloud IDE based on the information of the group members by adopting the IM plug-in.
According to another aspect of the present disclosure, there is provided an instant communication apparatus including: the receiving module is used for receiving a first request message sent by a cloud side IDE, wherein the first request message is sent by an IM plug-in built in the cloud side IDE after a target developer is connected to the cloud side IDE, and the first request message is used for acquiring information of group members in a group where the target developer is located; the acquisition module is used for responding to the first request message and acquiring the information of the group members in the group where the target developer is located, wherein the group members in the same group have the same development authority; the sending module is configured to send the information of the group members to the cloud IDE, so that the cloud IDE adopts the IM plug-in, and a session between the group members is performed in the cloud IDE based on the information of the group members.
According to another aspect of the present disclosure, there is provided an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the above aspects.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method according to any one of the above aspects.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method according to any of the above aspects.
According to the technical scheme, communication efficiency in the cloud IDE scene can be improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic diagram according to a first embodiment of the present disclosure;
fig. 2 is a schematic diagram of an application scenario provided according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an overall architecture of instant messaging provided in accordance with an embodiment of the present disclosure;
FIG. 4 is a schematic diagram according to a second embodiment of the present disclosure;
FIG. 5 is a schematic diagram according to a third embodiment of the present disclosure;
fig. 6 is a schematic diagram of an IM interface in a cloud IDE interface in a display state according to an embodiment of the disclosure;
FIG. 7 is a schematic diagram of an IM interface in a cloud IDE interface in a non-exposed state provided in accordance with an embodiment of the present disclosure;
FIG. 8 is a schematic diagram according to a fourth embodiment of the present disclosure;
FIG. 9 is a schematic diagram according to a fifth embodiment of the present disclosure;
fig. 10 is a schematic diagram of an electronic device for implementing an instant messaging method of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the related art, the cloud side IDE and the IM software are split, and when a user uses the cloud side IDE to develop, the user needs to switch to the IM software to communicate, so that the problem of poor communication efficiency exists.
In order to improve communication efficiency, the present disclosure provides the following embodiments.
Fig. 1 is a schematic diagram of a first embodiment of the present disclosure, where the present embodiment provides an instant messaging method, and the method includes:
101. an IM plug-in built in a cloud IDE is adopted, a target developer is responded to be connected to the cloud IDE, a first request message is sent to a management system, and the first request message is used for obtaining information of group members in a group where the target developer is located.
102. And receiving the information of the group members sent by the management system by adopting the IM plug-in, wherein the information of the group members is acquired by the management system based on the first request message, and the group members in the same group have the same development permission.
103. And carrying out conversation among the group members in the cloud IDE based on the information of the group members by adopting the IM plug-in.
In the related art, the cloud IDE and the IM software are split, and when a user (developer) uses the cloud IDE to develop and has a communication requirement, the user needs to switch between the cloud IDE and the IM software, so that the problem of poor communication efficiency exists.
In this embodiment, the IM plug-in is integrated in the cloud IDE, for example, the IM plug-in is installed in the cloud IDE in advance, so that the IM plug-in built in the cloud IDE can be adopted to communicate in the cloud IDE, and no switching to independent IM software is required, so that the communication efficiency in the cloud IDE scene can be improved. In addition, the group members in the same group have the same development authority, so that the conversation can be ensured to be carried out among the members with the same authority, and the data security of conversation messages is ensured.
The user (developer) can connect to the cloud end IDE through a browser or a client end, and develop in the cloud end IDE.
The development rights of the developer take the working area or the project as granularity, taking the working area as an example, a plurality of developers with the development rights of the same working area can be called collaborative developers, and the collaborative developers are also group members in the same group.
Before using the cloud IDE, a developer can register in a management system of the cloud, the registration information contains development authorities to be registered, and after the management system obtains the development authorities of each developer, a plurality of developers (collaborative developers) with the same development authorities can be created into a group. For each group, identification information of group members within the group may be recorded.
The target developer is any developer using the cloud IDE, and the target developer may connect to the cloud IDE through a browser or client. In the connection process, the target developer may send a connection request to the cloud IDE, where the connection request may carry identification information of the target developer, and because the management system has recorded the identification information of the group members in each group, based on the identification information, the group in which the target developer is located may be determined, and information of the group members in the group, such as identification information (id, user name, etc.), of the group members may be obtained.
After the cloud IDE obtains the information of the group members from the management system, a built-in IM plug-in can be adopted to perform conversation (group chat) among the group members.
For better understanding of the present disclosure, application scenarios of embodiments of the present disclosure are described.
Fig. 2 is a schematic diagram of an application scenario corresponding to an embodiment of the present disclosure. As shown in fig. 2, a developer may connect to a cloud IDE using a browser or client, which may be installed on a user terminal 201, the user terminal 201 including, for example: personal computers (PersonalComputer, PC), mobile devices (e.g., cell phones, tablet computers), notebook computers, wearable devices (e.g., smart watches), and the like. Different developers can use different user terminals, multiple developers can develop the same working area of the cloud IDE, multiple developers developing the same working area have the same development authority, and the developers can be called collaborative developers.
The cloud end IDE is deployed on a server of the cloud end, the cloud end can also deploy a management system, the management system is also deployed on the server of the cloud end, for distinguishing, the server where the cloud end IDE is located can be called a development server 202, the server where the management system is located can be called a management server 203, one or more development servers 202 can be provided, and one or more management servers 203 can be provided. The development server and the management server may be the same or different.
As shown in fig. 3, developers (e.g., developer a, developer B, and developer C) may register with the management system before using the cloud IDE. The registration information includes development rights, such as development rights for a certain work area.
The management system may store registration information for each developer in a database.
In addition, the management system may divide developers having the same development rights into one group based on the development rights in the registration information, thereby automatically establishing at least one group. For example, if the developers a to C have the same development authority, the developers a to C may be divided into a group, and the group members in the group are the developers a to C.
After the developer is connected to the cloud IDE through a browser or a client, the developer can obtain the group members in the group where the developer is located. Taking the developer a as an example, after the developer a is connected to the cloud IDE, the IM plug-in built in the cloud IDE can be used to interact with the management system, so as to obtain the group members in the group where the developer a is located from the management system. Developer B performs similarly to developer C and may also obtain the corresponding group member (represented in fig. 3 by a pull member list).
For group members in the same group, conversation among the group members can be performed based on an IM plug-in built in the cloud IDE. As shown in fig. 3, assuming developer a sends a message (session message), developer a may send the message to the management system, which may store the message in a message queue. Other group members (developer B and developer C) may pull messages from the management system, for example, IM plug-ins may be employed to periodically send pull requests to the management system, which reads messages from the message queue and feeds them back to the message pull in response to the pull requests. Similarly, assuming developer B sends a message, the management system may also store the message sent by developer B in a message queue, developer a and developer C trigger the management system to read the message from the message queue and pull the message sent by developer B from the management system.
In connection with the above application scenario, the embodiment shown in fig. 1 may be executed by the cloud IDE, and accordingly, the management system may execute the following procedure.
Fig. 4 is a schematic diagram of a second embodiment of the present disclosure, where the present embodiment provides an instant messaging method, and the method includes:
401. receiving a first request message sent by a cloud end IDE, wherein the first request message is sent by an IM plug-in built in the cloud end IDE after a target developer is connected to the cloud end IDE, and the first request message is used for acquiring information of group members in a group where the target developer is located.
402. And responding to the first request message, and acquiring the information of the group members in the group where the target developer is located, wherein the group members in the same group have the same development authority.
403. And sending the information of the group members to the cloud side IDE so that the cloud side IDE adopts the IM plug-in, and performing conversation among the group members in the cloud side IDE based on the information of the group members.
The method of the present embodiment may be performed by a management system.
In this embodiment, by sending the information of the group members to the cloud IDE, the cloud IDE can use the IM plug-in built in the cloud IDE to perform the session between the group members in the cloud IDE based on the information of the group members, without switching to independent IM software, so that the communication efficiency in the cloud IDE scene can be improved. In addition, the group members in the same group have the same development authority, so that the conversation can be ensured to be carried out among the members with the same authority, and the data security of conversation messages is ensured.
The embodiments described above are described by taking the execution of the cloud IDE and the management system as examples, and the following embodiments may be provided in combination with the execution flows of the cloud IDE and the management system.
Fig. 5 is a schematic diagram of a third embodiment of the present disclosure, where the present embodiment provides an instant messaging method, and the method includes:
501. and the management system is used for creating groups based on the development rights of the developers, wherein the developers in the same group have the same development rights.
The developer can send registration information to the management system, the registration information contains development authorities of the developer, and after receiving the registration information, the management system groups the developers with the same development authorities, so that the management system can automatically create at least one group.
In this embodiment, the group is created based on the development authority, so that automatic creation of the group can be realized, and security of session messages among members of the group can be ensured.
502. And the IM plug-in built in the cloud IDE periodically sends a first request message to the management system by taking a first preset duration as a period from the connection of the target developer to the cloud IDE, wherein the first request message is used for acquiring the information of the group members in the group where the target developer is located.
The target developer refers to any developer to be connected to the cloud IDE. The target developer may connect to the cloud IDE using a browser or client.
After establishing a connection with the target developer, the cloud IDE may start a process, and periodically send a first request message by using the process. For example, the first preset time period is 1 second.
503. And the management system responds to the first request message, acquires the information of the group members in the group where the target developer is located, and sends the information of the group members to the IM plug-in built in the cloud IDE.
For example, referring to fig. 3, after developers a-C connect to the cloud IDE, the three developers may obtain information of the corresponding group members from the management system, respectively.
Taking the example that the first preset duration is 1 second, the information of the group members can be updated every 1 second.
In this embodiment, the first request message is sent to the management system periodically with the first preset duration as a period, so that the periodic update of the group member information can be realized, and the timeliness and accuracy of the group member information are ensured.
504. And the IM plug-in is built in the cloud IDE and sends the first session message sent by the message generator in the group member to the management system.
Wherein the session message actively entered by the group member may be referred to as a first session message and the session message pulled from the management system may be referred to as a second session message.
Referring to fig. 3, assuming developer a actively inputs a session message, the message producer is developer a, and the IM plug-in may send the first session message input by developer a to the management system.
The developer A can input a first session message in an IM interface, the IM interface can be displayed in a cloud IDE interface, and the IM interface can be displayed based on a trigger instruction.
For example, as shown in fig. 6, after an IM plug-in is built in the cloud IDE, an IM plug-in name may be included in the cloud IDE interface, and after a developer (e.g., developer a) clicks on the IM plug-in name, the display of the IM interface may be triggered, and the developer may input a session message in the IM interface.
For group members in the same group, codes in the code area can be shared through the cloud IDE interface, and group chat conversation can be performed in the IM interface, for example, communication and communication are performed for the codes in the code area.
In addition, the developer can also view group members through the member list.
505. And the management system stores the first session message into a message queue.
The first session message may include, in addition to specific message content, a sequence identifier (e.g., id), sender information (e.g., developer a), and the management system may record the sequence identifier, sender information, etc. when storing the first session message in the message queue.
506. And the IM plug-in is arranged in the cloud IDE and is used for sending a second request message to the management system, wherein the second request message is used for pulling the session message.
The second request message may be sent to the management system periodically with a second preset duration as a period from the acquisition of the information of the group member.
For example, referring to fig. 3, after the developers a to C acquire the group member information (pull member list), a process may be started, and a second request message is sent to the management system every second preset time period (for example, 1 second), so that a session message within the last 1 second may be acquired.
In this embodiment, the second request message is sent to the management system periodically with the second preset duration as a period, so that the periodic update of the session message can be implemented, and it is ensured that the group member can acquire the latest session message in time.
507. And the management system reads a second session message from the message queue based on the second request message and sends the second session message to the IM plug-in.
Taking the second preset time period of 1 second as an example, if a member writes a session message, other developers can receive the session message within 1 second.
For example, referring to fig. 3, developer a sends a session message, which is sent to the management system and stored in the message queue by the management system, and developer B and developer C may send a second request message to the management system periodically through a process, and after receiving the second request message, the management system may read the session message in the latest cycle (e.g., 1 second) from the message queue and send the session message to developer B and developer C.
Further, the developer may carry the identification information of the developer when sending the second request message, and the management system may determine, based on the identification information, whether other developers except the message producer all pull the first session message generated by the message producer, and if all pull the first session message, delete the first session message in the message queue, so as to save the resource overhead of the message queue.
Further, the management system may store the received session message in the persistent storage of the cloud IDE, so that each time the workspace of the cloud IDE is opened, the history session message may be viewed based on the persistent storage.
508. And an IM plug-in is arranged in the cloud IDE, and the second session message is displayed on the IM interface.
Where the management system will record the senders of the session messages, and thus each sender may be presented with the session messages it sent, as shown in fig. 6.
Further, if the second session message is multiple, the second session message may be sequentially displayed on the IM interface corresponding to the IM plug-in based on the sequential identifier of the second session message. The management system can record the sequence identifier of the session message, and carry the sequence identifier in the session message sent to the cloud IDE when the developer pulls the session message, so that the cloud IDE sequentially displays the session message.
In this embodiment, based on the sequential identifier of the second session message, the second session message is displayed sequentially, so that the sequential display of the session messages can be ensured, and the session effect is improved.
In addition, as shown in fig. 7, one or some group members in the group may not trigger the presentation of the IM interface (e.g., not click on the IM plug-in name), at this time, if a new session message exists, the alert information may be presented corresponding to the IM plug-in name (e.g., with a red dot alert).
In this embodiment, an IM plug-in built in the cloud IDE is adopted, so that session messages sent by message generators can be sent to the management system and stored in the message queue by the management system, and then the management system can send session messages stored in the message queue to other developers based on requests of other developers in the group, so that sessions between group members can be performed in the cloud IDE, and communication efficiency is improved.
Fig. 8 is a schematic diagram of a fourth embodiment of the present disclosure, where an instant messaging device 800 includes: a transmitting module 801, a receiving module 802, and a session module 803.
The sending module 801 is configured to send, to a management system, a first request message by using an IM plug-in built in a cloud IDE, in response to a target developer connecting to the cloud IDE, where the first request message is used to obtain information of a group member in a group where the target developer is located; the receiving module 802 is configured to receive, by using the IM plug-in, information of the group member sent by the management system, where the information of the group member is obtained by the management system based on the first request message, and group members in a same group have a same development authority; the session module 803 is configured to use the IM plug-in to perform a session between the group members in the cloud IDE based on the information of the group members.
In this embodiment, the IM plug-in is integrated in the cloud IDE, for example, the IM plug-in is installed in the cloud IDE in advance, so that the IM plug-in built in the cloud IDE can be adopted to communicate in the cloud IDE, and no switching to independent IM software is required, so that the communication efficiency in the cloud IDE scene can be improved. In addition, the group members in the same group have the same development authority, so that the conversation can be ensured to be carried out among the members with the same authority, and the data security of conversation messages is ensured.
In some embodiments, the sending module 801 is further configured to: and adopting the IM plug-in, and starting from the connection of the target developer to the cloud IDE, periodically sending the first request message to the management system by taking a first preset duration as a period.
In this embodiment, the first request message is sent to the management system periodically with the first preset duration as a period, so that the periodic update of the group member information can be realized, and the timeliness and accuracy of the group member information are ensured.
In some embodiments, the session module 803 is further configured to: using the IM plug-in to send a first session message sent by a message generator in the group member to the management system, so that the management system stores the first session message in a message queue; and/or, adopting the IM plug-in to send a second request message to the management system, wherein the second request message is used for pulling the session message; and receiving a second session message sent by the management system, wherein the second session message is acquired by the management system in a message queue based on the second request message.
In this embodiment, the IM plug-in built in the cloud IDE is used to send the session message sent by the message producer to the management system, and the session message is stored in the message queue by the management system, and then,
The management system can send session 5 message stored in the message queue to other developers based on the requests of other developers in the group, so that session between group members can be carried out in the cloud IDE, and communication efficiency is improved.
In some embodiments, the session module 803 is further configured to: and the IM plug-in is adopted, and the second request message is sent to the management system periodically by taking a second preset duration as a period from the start of obtaining the information of the group members.
In this embodiment, a second request is periodically sent to the management system with a second preset duration as a period
The message can realize the periodic update of the session message, and ensures that the group members can acquire the latest session message in time.
In some embodiments, the session module 803 is further configured to: if the second session message
And sequentially displaying 5 the second session messages on the IM interface based on the sequential identification of the second session messages.
In this embodiment, based on the sequential identifier of the second session message, the second session message is displayed sequentially, so that the sequential display of the session messages can be ensured, and the session effect is improved.
Fig. 9 is a schematic diagram of a fifth embodiment of the present disclosure, where an instant messaging device 900 includes: a receiving module 901, an acquiring module 902 and a transmitting module 903. The 0 receiving module 901 is configured to receive a first request message sent by a cloud IDE, where the first request message is a first request
The message is sent by an IM plug-in built in the cloud IDE after responding to the connection of a target developer to the cloud IDE, and the first request message is used for acquiring the information of group members in a group where the target developer is located; the acquiring module 902 is configured to acquire, in response to the first request message, the
The information of group members in the group where the target developer is located, wherein group 5 members in the same group have the same development authority; the sending module 903 is configured to send the information of the group members to the cloud IDE, so that the cloud IDE adopts the IM plug-in, and performs a session between the group members in the cloud IDE based on the information of the group members.
In this embodiment, by sending the information of the group members to the cloud IDE, the cloud IDE can use the IM plug-in built in the cloud IDE to perform the session between the group 0 members in the cloud IDE based on the information of the group members, without switching to independent IM software, so that the communication efficiency in the cloud IDE scene can be improved. In addition, the group members in the same group have the same development authority, so that the conversation can be ensured to be carried out among the members with the same authority, and the data security of conversation messages is ensured.
In some embodiments, the receiving module 901 is further configured to: and starting from the connection of the target developer to the cloud IDE, periodically receiving the first request message sent by the cloud IDE by taking a first preset duration as a period.
In this embodiment, the first request message sent by the cloud IDE is received periodically with the first preset duration as a period, so that the periodic update of the group member information can be realized, and the timeliness and accuracy of the group member information are ensured.
In some embodiments, the apparatus 900 further comprises: a storage module, and/or a pull module. The storage module is used for receiving a first session message sent by the cloud IDE and storing the first session message into a message queue; the pulling module is used for receiving a second request message sent by the cloud IDE, and the second request message is used for pulling the session message; and reading the second session message from a message queue based on the second request message, and sending the second session message to the cloud IDE.
In this embodiment, an IM plug-in built in the cloud IDE is adopted, so that session messages sent by message generators can be sent to the management system and stored in the message queue by the management system, and then the management system can send session messages stored in the message queue to other developers based on requests of other developers in the group, so that sessions between group members can be performed in the cloud IDE, and communication efficiency is improved.
In some embodiments, the receiving module 901 is further configured to: and starting to acquire the information of the group members from the cloud IDE, and periodically receiving the second request message sent by the cloud IDE by taking a second preset duration as a period.
In this embodiment, the second request message sent by the cloud end IDE is received periodically with the second preset duration as a period, so that the periodic update of the session message can be realized, and it is ensured that the group member can acquire the latest session message in time.
In some embodiments, the apparatus 900 further comprises: the system comprises a creation module, a storage module and a storage module, wherein the creation module is used for receiving registration information sent by a developer, and the registration information comprises development permission of the developer; and dividing the developers into at least one group based on the development rights, wherein the developers in the same group have the same development rights.
In this embodiment, the group is created based on the development authority, so that automatic creation of the group can be realized, and security of session messages among members of the group can be ensured.
It is to be understood that in the embodiments of the disclosure, the same or similar content in different embodiments may be referred to each other.
It can be understood that "first", "second", etc. in the embodiments of the present disclosure are only used for distinguishing, and do not indicate the importance level, the time sequence, etc.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 10 shows a schematic block diagram of an example electronic device 1000 that may be used to implement embodiments of the present disclosure. Electronic device 1000 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, servers, blade servers, mainframes, and other appropriate computers. Electronic device 1000 may also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 10, the electronic device 1000 includes a computing unit 1001 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 1002 or a computer program loaded from a storage unit 1008 into a Random Access Memory (RAM) 1003. In the RAM1003, various programs and data required for the operation of the electronic apparatus 1000 can also be stored. The computing unit 1001, the ROM1002, and the RAM1003 are connected to each other by a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
Various components in the electronic device 1000 are connected to the I/O interface 1005, including: an input unit 1006 such as a keyboard, a mouse, and the like; an output unit 1007 such as various types of displays, speakers, and the like; a storage unit 1008 such as a magnetic disk, an optical disk, or the like; and communication unit 1009 such as a network card, modem, wireless communication transceiver, etc. Communication unit 1009 allows electronic device 1000 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks.
The computing unit 1001 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 1001 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1001 performs the respective methods and processes described above, such as an instant messaging method. For example, in some embodiments, the instant messaging method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 1008. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 1000 via the ROM1002 and/or the communication unit 1009. When the computer program is loaded into RAM1003 and executed by computing unit 1001, one or more steps of the instant messaging method described above may be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured to perform the instant messaging method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems-on-chips (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable load balancing apparatus, such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("VirtualPrivate Server" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (23)

1. An instant messaging method comprising:
an Instant Messaging (IM) plug-in built in a cloud Integrated Development Environment (IDE) is adopted, a target developer is responded to be connected to the cloud IDE, a first request message is sent to a management system, and the first request message is used for acquiring information of group members in a group where the target developer is located;
receiving information of the group members sent by the management system by adopting the IM plug-in, wherein the information of the group members is acquired by the management system based on the first request message, and the group members in the same group have the same development permission;
And carrying out conversation among the group members in the cloud IDE based on the information of the group members by adopting the IM plug-in.
2. The method of claim 1, wherein the sending, with the IM plug-in built into the cloud IDE, the first request message to the management system in response to the target developer connecting to the cloud IDE, comprises:
and adopting the IM plug-in, and starting from the connection of the target developer to the cloud IDE, periodically sending the first request message to the management system by taking a first preset duration as a period.
3. The method of claim 1 or 2, wherein the employing the IM plug-in to conduct a session between the group members in the cloud IDE based on the information of the group members comprises:
using the IM plug-in to send a first session message sent by a message generator in the group member to the management system, so that the management system stores the first session message in a message queue; and/or the number of the groups of groups,
adopting the IM plug-in to send a second request message to the management system, wherein the second request message is used for pulling a session message; and receiving a second session message sent by the management system, wherein the second session message is acquired by the management system in a message queue based on the second request message.
4. A method according to claim 3, wherein said employing said IM plug-in to send a second request message to said management system comprises:
and the IM plug-in is adopted, and the second request message is sent to the management system periodically by taking a second preset duration as a period from the start of obtaining the information of the group members.
5. The method of claim 3, wherein the employing the IM plug-in to conduct a session between the group members in the cloud IDE based on the information of the group members, further comprises:
and if the second session messages are multiple, sequentially displaying the second session messages on the IM interface corresponding to the IM plug-in based on the sequence identification of the second session messages.
6. An instant messaging method comprising:
receiving a first request message sent by a cloud integrated development environment IDE, wherein the first request message is sent by an Instant Messaging (IM) plug-in built in the cloud IDE after a target developer is connected to the cloud IDE, and the first request message is used for acquiring information of group members in a group where the target developer is located;
responding to the first request message, and acquiring information of group members in a group where the target developer is located, wherein the group members in the same group have the same development authority;
And sending the information of the group members to the cloud side IDE so that the cloud side IDE adopts the IM plug-in, and performing conversation among the group members in the cloud side IDE based on the information of the group members.
7. The method of claim 6, wherein the receiving the first request message sent by the cloud IDE comprises:
and starting from the connection of the target developer to the cloud IDE, periodically receiving the first request message sent by the cloud IDE by taking a first preset duration as a period.
8. The method of claim 6, further comprising:
receiving a first session message sent by the cloud IDE, and storing the first session message into a message queue; and/or the number of the groups of groups,
receiving a second request message sent by the cloud IDE, wherein the second request message is used for pulling a session message; and reading the second session message from a message queue based on the second request message, and sending the second session message to the cloud IDE.
9. The method of claim 8, wherein the receiving the second request message sent by the cloud IDE comprises:
and starting to acquire the information of the group members from the cloud IDE, and periodically receiving the second request message sent by the cloud IDE by taking a second preset duration as a period.
10. The method of any of claims 6-9, further comprising:
receiving registration information sent by a developer, wherein the registration information comprises development permission of the developer;
based on the development rights, the developers are divided into at least one group, wherein the developers in the same group have the same development rights.
11. An instant messaging device comprising:
the system comprises a sending module, a management system and a target developer, wherein the sending module is used for responding to the connection of the target developer to the cloud IDE by adopting an Instant Messaging (IM) plug-in built in the cloud integrated development environment IDE and sending a first request message to the management system, wherein the first request message is used for acquiring the information of group members in a group where the target developer is located;
the receiving module is used for receiving the information of the group members sent by the management system by adopting the IM plug-in, wherein the information of the group members is acquired by the management system based on the first request message, and the group members in the same group have the same development permission;
and the session module is used for carrying out session among the group members in the cloud IDE based on the information of the group members by adopting the IM plug-in.
12. The apparatus of claim 11, wherein the means for transmitting is further configured to:
and adopting the IM plug-in, and starting from the connection of the target developer to the cloud IDE, periodically sending the first request message to the management system by taking a first preset duration as a period.
13. The apparatus of claim 11 or 12, wherein the session module is further to:
using the IM plug-in to send a first session message sent by a message generator in the group member to the management system, so that the management system stores the first session message in a message queue; and/or the number of the groups of groups,
adopting the IM plug-in to send a second request message to the management system, wherein the second request message is used for pulling a session message; and receiving a second session message sent by the management system, wherein the second session message is acquired by the management system in a message queue based on the second request message.
14. The apparatus of claim 13, wherein the session module is further configured to:
and the IM plug-in is adopted, and the second request message is sent to the management system periodically by taking a second preset duration as a period from the start of obtaining the information of the group members.
15. The apparatus of claim 13, wherein the session module is further configured to:
and if the second session messages are multiple, sequentially displaying the second session messages on the IM interface based on the sequence identification of the second session messages.
16. An instant messaging device comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a first request message sent by a cloud Integrated Development Environment (IDE), the first request message is sent by an Instant Messaging (IM) plug-in unit built in the cloud IDE after a target developer is connected to the cloud IDE, and the first request message is used for obtaining information of group members in a group where the target developer is located;
the acquisition module is used for responding to the first request message and acquiring the information of the group members in the group where the target developer is located, wherein the group members in the same group have the same development authority;
the sending module is configured to send the information of the group members to the cloud IDE, so that the cloud IDE adopts the IM plug-in, and a session between the group members is performed in the cloud IDE based on the information of the group members.
17. The apparatus of claim 16, wherein the receiving module is further configured to:
And starting from the connection of the target developer to the cloud IDE, periodically receiving the first request message sent by the cloud IDE by taking a first preset duration as a period.
18. The apparatus of claim 16, further comprising:
the storage module is used for receiving the first session message sent by the cloud IDE and storing the first session message into a message queue; and/or the number of the groups of groups,
the pulling module is used for receiving a second request message sent by the cloud IDE, wherein the second request message is used for pulling the session message; and reading the second session message from a message queue based on the second request message, and sending the second session message to the cloud IDE.
19. The apparatus of claim 18, wherein the receiving module is further configured to:
and starting to acquire the information of the group members from the cloud IDE, and periodically receiving the second request message sent by the cloud IDE by taking a second preset duration as a period.
20. The apparatus of any of claims 16-19, further comprising:
the system comprises a creation module, a storage module and a storage module, wherein the creation module is used for receiving registration information sent by a developer, and the registration information comprises development permission of the developer; and dividing the developers into at least one group based on the development rights, wherein the developers in the same group have the same development rights.
21. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-10.
22. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-10.
23. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-10.
CN202211664620.6A 2022-12-23 2022-12-23 Instant messaging method, device, equipment and storage medium Pending CN116319633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211664620.6A CN116319633A (en) 2022-12-23 2022-12-23 Instant messaging method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211664620.6A CN116319633A (en) 2022-12-23 2022-12-23 Instant messaging method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116319633A true CN116319633A (en) 2023-06-23

Family

ID=86822859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211664620.6A Pending CN116319633A (en) 2022-12-23 2022-12-23 Instant messaging method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116319633A (en)

Similar Documents

Publication Publication Date Title
CN111756917B (en) Information interaction method, electronic device and computer readable medium
CN112866391A (en) Message pushing method and device, electronic equipment and storage medium
CN109446204B (en) Data storage method and device for instant messaging, electronic equipment and medium
CN114201278A (en) Task processing method, task processing device, electronic device, and storage medium
CN112965799B (en) Task state prompting method and device, electronic equipment and medium
CN111194540A (en) Communication control device and method for multi-topic conversation, and computer processing equipment
CN113691937B (en) Method for determining position information, cloud mobile phone and terminal equipment
CN112925623B (en) Task processing method, device, electronic equipment and medium
CN111555894B (en) Data processing method, device, equipment and storage medium
CN116319633A (en) Instant messaging method, device, equipment and storage medium
CN112752323B (en) Method and device for changing hot spot access state
CN114915516A (en) Communication method and device
CN114116200B (en) Resource sharing method, service creation method, device and electronic equipment
CN112887803B (en) Session processing method, device, storage medium and electronic equipment
CN114449031B (en) Information acquisition method, device, equipment and storage medium
CN117914819A (en) Chat robot menu display method, device and system
CN117955948A (en) Message processing method, device, electronic equipment and storage medium
CN114416040A (en) Page construction method, device, equipment and storage medium
CN113765985A (en) Method and apparatus for synchronizing messages
CN117041191A (en) Task execution method and device in instant messaging and electronic equipment
CN116774996A (en) Integrated development system, code processing method, electronic device, and storage medium
CN113992729A (en) Cloud mobile phone control method, related device and computer program product
CN117193825A (en) Method and device for calling update function, electronic equipment and storage medium
CN112311833A (en) Data updating method and device
CN116028178A (en) Execution method and device of job in private cloud environment

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