CN113206780A - Enterprise instant messaging method and device, computer equipment and readable storage medium - Google Patents

Enterprise instant messaging method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN113206780A
CN113206780A CN202110369295.XA CN202110369295A CN113206780A CN 113206780 A CN113206780 A CN 113206780A CN 202110369295 A CN202110369295 A CN 202110369295A CN 113206780 A CN113206780 A CN 113206780A
Authority
CN
China
Prior art keywords
target user
audio
video call
message notification
user
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
CN202110369295.XA
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.)
Shenzhen Yishi Huolala Technology Co Ltd
Original Assignee
Shenzhen Yishi Huolala 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 Shenzhen Yishi Huolala Technology Co Ltd filed Critical Shenzhen Yishi Huolala Technology Co Ltd
Priority to CN202110369295.XA priority Critical patent/CN113206780A/en
Publication of CN113206780A publication Critical patent/CN113206780A/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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Abstract

The invention provides an enterprise instant communication method, a device, a storage medium and computer equipment, wherein the method comprises the steps of receiving an audio/video call request of a requesting user, acquiring a TCP (transmission control protocol) connection state of a target user, and judging the current state of the target user: when the TCP connection of the target user is online, a TCP message notification of audio and video call is pushed to the target user, and an audio/video call request is directly sent to the target user; when the TCP of the target user is disconnected and is not on-line, the APNS message notification of the target user is pushed, and the target user enters an application program according to the APNS message notification to acquire and process the audio/video call request. When the server does not establish TCP connection with the server, the invention pushes APNS message notification to the target user, performs physical connection authentication on the target user, stores the request information received by the server into the APNS message notification and sends the APNS message notification to the client terminal of the target user, and the target user enters an application program according to the APNS message notification to acquire and process the audio/video call request.

Description

Enterprise instant messaging method and device, computer equipment and readable storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to the field of enterprise real-time communication and enterprise content management communications, and more particularly, to an enterprise instant messaging method, apparatus, computer device, and computer-readable storage medium.
Background
Enterprise IM, enterprise instant messaging: EIM (enterprise Instant messaging) is a communication and content management tool service for enterprises, and company employees can perform real-time communication between two or more persons and enterprise content management by installing Instant messaging terminal software.
VoIP (Voice over Internet Protocol, Voice over IP) based network telephony has been widely used in enterprise instant messaging. By digitizing the analog voice signal and transmitting the analog voice signal in real time in the form of data packets over the IP network, not only can the traditional conversation scene be expanded, but also better conversation experience can be obtained. In the related art, the communication application provides the network call function, so that a user can realize network call after installing a client of the instant communication application on electronic equipment such as a mobile phone, a PC host and the like.
VoIP is a voice call technology, which achieves voice call and multimedia conference via Internet Protocol (IP), that is, communication via Internet. Other informal names are IP phone (IP telephony), Internet phone (Internet telephony), broadband phone (broadband telephony) and broadband phone service (broadband telephone service). VoIP can be used for a plurality of Internet access devices including VoIP phones, smart phones and personal computers, and calls and short messages are sent through cellular networks and Wi-Fi.
Currently, when an enterprise IM initiates telephone or voice communication by applying a VoIP technology, and when processing message push between users in the prior art, an online target user client is generally notified online to the target user client, at this time, a TCP connection of the enterprise IM is not disconnected, and the target user can directly enter an application program to process a call request of a request end; for a target user client in an offline or other non-online state, a TCP connection of an enterprise IM is disconnected, and at this time, a target user generally implements IOS audio/video message notification by push through a PushKit (a framework for processing a message notification mode). PushKit is a message pushing method, which is different from a common APN, and does not pop up a notification, but silently informs a user that an application program has been pushed, wakes up the application program, and allows the application program to perform corresponding processing and perform some operations without being perceived by the user. However, PushKit cannot be used in some operating systems, so that an offline user cannot receive a call request notification from a requesting user in time. For example, in an IOS System (Input Output System, a mobile operating System developed by apple inc.), according to a document of an apple, pushing a voip by using a PushKit must be followed by calling of calllkit, otherwise, an application program is forcibly terminated, and even no push is received after many violations, whereas IOS13 and the above systems cannot use callkit.
Disclosure of Invention
In order to solve the above problems, an object of the present invention is to provide an enterprise instant messaging method, an apparatus, a computer device and a computer readable storage medium, which, when receiving an audio/video call request from a requesting user to a target user, push a TCP message or an APNS message notification to the target user according to a TCP connection status between the target user and a server, and deliver the request information of the requesting user to the target user in an offline status.
Based on this, the invention provides an enterprise instant messaging method, which comprises the following steps:
receiving an audio/video call request of a requesting user;
acquiring a TCP connection state of a target user, and judging the current state of the target user:
when the TCP connection of the target user is online, a TCP message notification of audio and video call is pushed to the target user, and the audio/video call request is directly sent to the target user; and when the TCP of the target user is disconnected and is not on-line, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request.
In the invention, when a server receives an audio/video call request of a requesting user, if a target user does not establish TCP connection with the server, APNS message notification is pushed to the target user through physical connection, physical connection authentication is carried out on the target user, when the terminal equipment of the target user passes verification, request information received by the server is stored in the APNS message notification and is sent to a client terminal of the target user, and the target user enters an application program according to the APNS message notification to acquire and process the audio/video call request.
When the target user TCP connection is online, a TCP message notification of audio and video call is pushed to the target user, and after the audio/video call request is directly sent to the target user, the method further comprises the following steps:
and acquiring the current state of the target user, judging whether the target user is in an idle state, if the target user is busy, returning to the requesting user that the target user is busy and ending the audio/video call request, otherwise, if the target user is idle, calling a call connection request to enable the target user to enter an incoming call operation reminding page.
Wherein, when the target user TCP is disconnected and not online, the step of pushing the APNS message notification of the target user comprises the following steps:
collecting the call state of the target user, and judging whether the target user is suitable for receiving the listening/video call at present:
when the target user is in a call currently, the target user is not suitable for listening/video call, the request user is returned that the target user is busy, and the audio/video call request is ended;
and when the target user does not have a call currently, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request.
And when the APNS message notification is pushed to the target user, the call state of the target user is collected, and when the APNS message notification is not processed by the target user within the target time, the APNS message notification is pushed once again until the pushing time threshold is reached.
Wherein the pushing the APNS message notification of the target user further comprises:
and calling a prompt request to the target user to remind the target user of the APNS message notification.
The invention also provides an enterprise instant communication device, which comprises:
the receiving module is used for receiving an audio/video call request of a user;
the TCP connection verification module is used for acquiring the TCP connection state of a target user and judging the current state of the target user:
the message pushing module is used for pushing a TCP message notice of audio and video call to the target user when the TCP connection of the target user is on line, and directly sending the audio/video call request to the target user; and when the TCP of the target user is disconnected and is not on-line, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request.
Wherein the target user feedback module comprises:
the acquisition submodule is used for acquiring the call state of the target user and judging whether the target user is suitable for receiving the listening/video call currently;
the message pushing sub-module is used for returning the request user that the target user is busy and ending the audio/video call request when the target user is not suitable for receiving audio/video calls when the target user is currently in a call;
and when the target user does not have a call currently, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request.
And the message pushing sub-module is further used for acquiring the call state of the target user, and pushing the APNS message notification once again when the APNS message notification is not processed by the target user within a target time until a pushing frequency threshold is reached.
The invention also provides computer equipment which comprises a memory, a processor and a network interface, wherein the memory stores computer programs, and the processor realizes the steps of the enterprise instant messaging method when executing the computer programs.
The invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the enterprise instant messaging method.
In the invention, after receiving the audio/video call request of the requesting user, the enterprise instant communication method obtains the TCP connection state of the target user, and judges the current state of the target user: when the TCP connection of the target user is online, a TCP message notification of audio and video call is pushed to the target user, and the audio/video call request is directly sent to the target user; and when the TCP of the target user is disconnected and is not on-line, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request. When a server receives an audio/video call request of a requesting user, if a target user does not establish TCP connection with the server, an APNS message notification is pushed to the target user through physical connection, physical connection authentication is carried out on the target user, when terminal equipment of the target user passes verification, request information received by the server is stored in the APNS message notification and is sent to a client terminal of the target user, and the target user enters an application program according to the APNS message notification to acquire and process the audio/video call request.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 2 is a schematic diagram of an enterprise instant messaging method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an enterprise instant messaging method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an enterprise instant messenger device according to an embodiment of the present invention;
FIG. 5 is a schematic block diagram of one embodiment of a computer device according to the present application.
Detailed Description
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.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
Users can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages and the like to operate the business and applications of the enterprise instant messaging method. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to user devices, network devices, or devices formed by integrating user devices and network devices through a network. The user equipment includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, and the like, which can perform human-computer interaction with a user through a touch panel, and the mobile electronic product may employ any operating system, such as an android operating system, an IOS operating system, and the like. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to preset or stored instructions, and the hardware includes but is not limited to a microprocessor, an Application Specific Integrated Circuit (ASIC), a programmable gate array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like. The network device comprises but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud formed by a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (ad hoc network), etc. Of course, those skilled in the art should understand that the above terminal device is only an example, and other existing or future terminal devices may be applicable to the present application, and are included in the scope of the present application and are incorporated herein by reference.
The terminal devices 101, 102, 103 are clients of the enterprise instant messaging application, the clients can communicate with the server 105 through the network 104, and the terminal devices 101, 102, 103 can communicate with each other through two-party or even multi-party connection. Specifically, one of the terminal devices 101, 102, and 103 initiates a call request or an audio/video call request in the instant messaging application program, and after receiving the request, the server 105 pushes a message to the other terminal devices 101, 102, and 103 to establish a TCP connection call.
The server 105 may be a server, a server cluster composed of several servers, or a cloud computing service center. It may also be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that the enterprise instant messaging method provided by the embodiment of the present application is generally executed by a server, and accordingly, the enterprise instant messaging device is generally disposed in a server device, and a terminal device installs a corresponding computer program or application program.
It should be understood that the number of terminal devices, networks, and servers in fig. 2 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 is a schematic diagram of an enterprise instant messaging method provided in an embodiment of the present invention, where the method includes:
201. an audio/video call request is received from a requesting user.
Enterprise IM, enterprise instant messaging: EIM (enterprise Instant messaging) is a communication and content management tool service for enterprises, and company employees can perform real-time communication between two or more persons and enterprise content management by installing Instant messaging terminal software. In the embodiment of the invention, the enterprise instant messaging application terminal can send an audio/video call request to another or more terminal users, and the server receives the audio/video call request of a requesting user.
It should be noted that the instant messaging application may be any instant messaging application having a network call function, and the present application is not limited thereto. For example, the Instant messenger application may be an Enterprise Instant Messaging (EIM) application, such as "nail to nail" (DINGTalk), "do now," "Enterprise WeChat," kk, and so on.
It should be noted that the enterprise IM instant messaging application includes a plurality of end user members, and each of the end users includes at least one organization identifier, an account, and a password. Each of the end user members may initiate an audio/video call request to the server requesting an audio/video call connection with at least one other end user member.
It can be understood that the client terminal device loading the enterprise instant messaging application may be a mobile device such as a mobile phone and a tablet, or the terminal device may also be a non-mobile electronic device such as a PC host, which is not limited in this application. The electronic equipment can be configured as the client of the enterprise instant messaging application corresponding to the user by installing the client application program (APP) of the enterprise instant messaging application on the terminal equipment and logging in the registered account of the user at the instant messaging application.
202. Acquiring the TCP connection state of a target user, judging the current state of the target user, executing a step 203 if the target TCP connection is online, and executing a step 204 if the target user TCP disconnection is not online.
In the embodiment of the present invention, when the server receives the audio/video call request sent by the user requested in step 201, since the user terminal operating system (including other operating systems such as an IOS system and an android operating system) cannot use the call kit frame to push the vipp message to notify the target user, the target user terminal program cannot be awakened directly, and the enterprise instant messaging application of the target user terminal performs corresponding processing, that is, the message transmission notification cannot reach the target user.
To solve the technical problem, in the embodiment of the present invention, after receiving the audio/video call request sent by the requesting user in step 201, the message is pushed according to the TCP connection state between the requested target user and the server. When the target user terminal program is online, the TCP connection established between the target user and the server is not disconnected, step 203 is executed, and the server can directly push a TCP message notification of the audio and video call to the target user terminal application program. When the target user terminal program is in an offline or other non-online state, the TCP connection communication bridge for the server to directly communicate with the target user is disconnected, and the server cannot directly send a TCP message notification to the target user client application program. At this time, step 204 is executed, the server pushes an APNS (Apple Push Notification service) message Notification to the target user terminal application, when the APNS message Notification arrives, the enterprise instant messaging application of the target user terminal is not running, and the user terminal informs the target user of data to be processed by the enterprise instant messaging application.
203. And pushing a TCP message notice of audio and video call to the target user, and directly sending the audio/video call request to the target user.
In this embodiment of the present invention, in the running state, the target user runs the enterprise instant messaging application program and receives the TCP message notification pushed in step 202, and the target user determines whether the target user can answer the audio/video request call according to the current state of the enterprise instant messaging application program.
It should be understood that, when the target user is busy, if the target user is in the previous call, the target user cannot answer the audio/video call, a request is sent to a server to reject the audio/video call request, and a busy answer cannot be replied, the server receives the busy reply request of the target user, sends a TCP message notification that the audio/video is busy to the requesting user, directly hangs up the audio/video call request of the requesting user, and the requesting user client terminates the audio/video call request.
It can be understood that when the target user is idle, the target user terminal directly calls and pops up the audio/video call request page of the requesting user while operating the enterprise instant messaging, and the target user can initiate a request to the server to approve the audio/video call request, reply to the audio/video call, and pop up an answering page. Further, when the audio/video call is ended, the target user may initiate a call ending request to the server to end the call, or the requesting user may initiate a call ending request to the server to passively end the call.
It can be understood that, when the target client is idle, the target client terminal receives the TCP message in step 202 while running the enterprise instant messaging application, and may also directly send a request for rejecting the call to the server when the enterprise instant messaging application calls, where the audio/video call is not connected, and the server replies a TCP message notification that the requesting user hangs up, and ends the audio/video call.
204. And pushing the APNS message notification of the target user, wherein the target user enters an application program according to the APNS message notification to acquire and process the audio/video call request.
In this embodiment of the present invention, when step 202 obtains that the TCP connection between the target user and the server is disconnected, that is, the target user does not start to apply the enterprise instant messaging program, the server cannot directly send a TCP message to the target user terminal, but sends an APNS message notification, the APNS message notification does not run when reaching the enterprise instant messaging application program of the target user terminal, the target user is not online, the server calls a prompt request to the target user to remind the target user of the APNS message notification, the APNS message notifies the target user that an audio/video call to be processed is finally to be processed, and the target user enters the application program according to the APNS message notification to obtain and process the audio/video call request.
It is worth noting that when the APNS message is pushed to the target user, the call state or the processing condition of the target user is collected at the same time, when the target user does not process the notification message within the target time, the notification message is pushed again until the pushing time threshold is reached or the target user enters the enterprise instant messaging application to process the audio/video call request.
Illustratively, as shown in fig. 3, fig. 3 is an application schematic diagram of an enterprise instant messaging method provided by an embodiment of the present invention, and the following steps are to implement 4 a specific implementation process of the enterprise instant messaging method provided by the embodiment of the present invention by applying the principle shown in fig. 3, and include the following steps:
301: the requesting user a sends an audio/video call request to the server.
302: and the server acquires the TCP connection state of the target user B after receiving the audio and video call request, if the user B is online, the step 303 is executed, otherwise, the step 308 is executed.
303: a TCP message notification of audio and video conversation is pushed to a target user B, the current user state of the target user B is judged, if the current user state is busy, step 304 is executed, and if the current user state is idle, step 306 or step 307 is executed;
304: and the target user B initiates a request to the server, replies that the request is busy and cannot be answered, and the server receives the busy reply request of the target user B and sends a TCP message notice that the audio and the video are busy to the requesting user A.
305: and requesting the user A to receive a busy TCP message notification and ending the audio and video call.
306: the target user B initiates a request to the server, replies to the audio and video call, calls the call connection request, enters the incoming call operation reminding page, can click the answer button to enter the audio and video call, and clicks the hang-up button to finish the call or is requested by the requesting user A to finish the call passively.
307: the target user B initiates a request to the server to refuse to answer the audio and video call, the server sends a TCP message notification of hanging up the audio and video to the requesting user A, and the requesting user A receives the TCP message notification of hanging up to end the audio and video call.
308: acquiring the current user state of a target user B, and judging whether the target user is suitable for receiving sound/video calls at present: if the target user B is in a busy state (currently in a call state), step 309 is executed, otherwise, step 310 is executed.
309: the server directly returns the TCP message notice of the requesting user A with busy audio and video, and the requesting user A receives the TCP message notice of busy audio and video and finishes the audio and video call.
310: and the target user B receives the APNS message notification, rings for 30s, and vibrates in a cycle for 30 times.
311: and the target user B clicks the APNS message to inform the entrance of the enterprise instant messaging APP, initiates an audio and video call query request to the server, returns whether an ongoing audio and video call exists, if so, executes the step 312, and otherwise, finishes executing.
312: and the target user B clicks to answer the incoming call, clicks to hang up to finish the call, initiates a hang up request to the server, and requests the user A to receive the hung up TCP message notification to finish the audio and video call.
313: the target user B initiates a request to the server to refuse to answer the audio and video call, the server sends a TCP message notification of hanging up the audio and video to the requesting user A, and the requesting user A receives the TCP message notification of hanging up to end the audio and video call.
314: and the server acquires the audio and video call state of the target user B when the target user B is offline, and if the user B does not enter the enterprise instant messaging app within 30s, namely the user B is not online, the APNS message notification is pushed once again within 30 s.
Fig. 4 is a schematic diagram of an instant messaging device 400 for enterprise according to an embodiment of the present invention, the device including:
a receiving module 401, configured to receive an audio/video call request of a requesting user;
a TCP connection verification module 402, configured to obtain a TCP connection state of a target user, and determine a current state of the target user.
A message pushing module 403, configured to push a TCP message notification of an audio/video call to the target user when the TCP connection of the target user is online, and directly send the audio/video call request to the target user; and when the TCP of the target user is disconnected and is not on-line, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request.
The message pushing module 403 includes a collecting sub-module, configured to collect the call state of the target user, and determine whether the target user is currently suitable for receiving a sound/video call;
the message pushing sub-module is used for returning the request user that the target user is busy and ending the audio/video call request when the target user is not suitable for receiving audio/video calls when the target user is currently in a call;
and when the target user does not have a call currently, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request.
Further, the message pushing sub-module is further configured to collect a call state of the target user, and when the target user does not process the APNS message notification within a target time, push the APNS message notification once again until a pushing time threshold is reached.
The instant messenger 400 further includes a display module (not shown) for displaying a software development process and an operation page of the instant messenger 400, and visually processing an audio/video call operation process by a terminal user.
The enterprise instant messaging device 400 may further include an input module (not shown), the input module is connected to the display module, the input module may include a key for inputting information such as an account number, a password, and a name of a user id, the software development process operation page may be displayed on the display module in the software development device, and the display module may further display other information of the user and store the information, so that the user can view the information at any time.
It should be noted that the enterprise instant messaging device 500 of the present embodiment belongs to the same concept as that of the method embodiment, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the present embodiment, and are not described herein again.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 5, fig. 5 is a block diagram of a basic structure of a computer device according to the present embodiment.
The computer device 5 comprises a memory 51, a processor 52, a network interface 53 communicatively connected to each other via a system bus. It is noted that only a computer device 5 having components 51-53 is shown, but it is understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead. As will be understood by those skilled in the art, the computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 51 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 51 may be an internal storage unit of the computer device 5, such as a hard disk or a memory of the computer device 5. In other embodiments, the memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 5. Of course, the memory 51 may also comprise both an internal storage unit of the computer device 5 and an external storage device thereof. In this embodiment, the memory 51 is generally used for storing an operating system installed in the computer device 5 and various application software, such as program codes of an enterprise instant messaging method. Further, the memory 51 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 52 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 52 is typically used to control the overall operation of the computer device 5. In this embodiment, the processor 52 is configured to execute the program code stored in the memory 51 or process data, for example, execute the program code of the enterprise instant messaging method.
The network interface 53 may comprise a wireless network interface or a wired network interface, and the network interface 53 is generally used for establishing communication connections between the computer device 5 and other electronic devices.
Embodiments of the present invention also provide a storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of the enterprise instant messaging method.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and substitutions can be made without departing from the technical principle of the present invention, and these modifications and substitutions should also be regarded as the protection scope of the present invention.

Claims (10)

1. An enterprise instant messaging method is characterized by comprising the following steps:
receiving an audio/video call request of a requesting user;
acquiring a TCP connection state of a target user, and judging the current state of the target user:
when the TCP connection of the target user is online, a TCP message notification of audio and video call is pushed to the target user, and the audio/video call request is directly sent to the target user; and when the TCP of the target user is disconnected and is not on-line, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request.
2. The enterprise instant messaging method according to claim 1, wherein when the TCP connection of the target user is online, a TCP message notification of an audio/video call is pushed to the target user, and after the audio/video call request is directly sent to the target user, the method further comprises:
and acquiring the current state of the target user, judging whether the target user is in an idle state, if the target user is busy, returning to the requesting user that the target user is busy and ending the audio/video call request, otherwise, if the target user is idle, calling a call connection request to enable the target user to enter an incoming call operation reminding page.
3. The enterprise instant messaging method according to claim 1, wherein the step of pushing the APNS message notification of the target user when the TCP disconnection of the target user is offline comprises:
collecting the call state of the target user, and judging whether the target user is suitable for receiving the listening/video call at present:
when the target user is in a call currently, the target user is not suitable for listening/video call, the request user is returned that the target user is busy, and the audio/video call request is ended;
and when the target user does not have a call currently, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request.
4. The method according to claim 3, wherein when pushing the APNS message notification to the target user, the session status of the target user is collected, and when the APNS message notification is not processed by the target user within the target time, the APNS message notification is pushed again until reaching a threshold number of pushes.
5. The method according to claim 3, wherein said pushing the APNS message notification of the target user further comprises:
and calling a prompt request to the target user to remind the target user of the APNS message notification.
6. An instant messaging device for an enterprise, comprising:
the receiving module is used for receiving an audio/video call request of a user;
the TCP connection verification module is used for acquiring the TCP connection state of a target user and judging the current state of the target user:
the message pushing module is used for pushing a TCP message notice of audio and video call to the target user when the TCP connection of the target user is on line, and directly sending the audio/video call request to the target user; and when the TCP of the target user is disconnected and is not on-line, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request.
7. The enterprise instant messaging device of claim 6, wherein the message push module comprises:
the acquisition submodule is used for acquiring the call state of the target user and judging whether the target user is suitable for receiving the listening/video call currently;
the message pushing sub-module is used for returning the request user that the target user is busy and ending the audio/video call request when the target user is not suitable for receiving audio/video calls when the target user is currently in a call;
and when the target user does not have a call currently, pushing the APNS message notification of the target user, and enabling the target user to enter an application program according to the APNS message notification to acquire and process the audio/video call request.
8. The instant messaging device of claim 7, wherein the message pushing sub-module is further configured to collect a call status of the target user, and when the target user does not process the APNS message notification within a target time, push the APNS message notification again until a pushing time threshold is reached.
9. A computer device comprising a memory, a processor and a network interface, said memory storing a computer program, wherein said processor when executing said computer program implements the steps of the enterprise instant messaging method of any one of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the enterprise instant messaging method according to any one of claims 1 to 5.
CN202110369295.XA 2021-04-06 2021-04-06 Enterprise instant messaging method and device, computer equipment and readable storage medium Pending CN113206780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110369295.XA CN113206780A (en) 2021-04-06 2021-04-06 Enterprise instant messaging method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110369295.XA CN113206780A (en) 2021-04-06 2021-04-06 Enterprise instant messaging method and device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113206780A true CN113206780A (en) 2021-08-03

Family

ID=77026311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110369295.XA Pending CN113206780A (en) 2021-04-06 2021-04-06 Enterprise instant messaging method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113206780A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114120697A (en) * 2021-10-20 2022-03-01 深圳市捷顺科技实业股份有限公司 Three-party call method and device applied to parking lot

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618747A (en) * 2013-12-11 2014-03-05 中国联合网络通信集团有限公司 Method and system for realizing session initiation protocol (SIP) information service
US20140225976A1 (en) * 2011-10-17 2014-08-14 Tencent Technology (Shenzhen) Company Limited Session initiation method and system
CN104125141A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Pushing method for notification message, server, user terminal and system
US9148460B1 (en) * 2012-12-31 2015-09-29 Cellco Partnership Push notifications for enterprise applications
CN107995351A (en) * 2016-10-26 2018-05-04 阿里巴巴集团控股有限公司 Call method and device
CN112367714A (en) * 2020-10-23 2021-02-12 北京声智科技有限公司 Method and device for establishing session connection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140225976A1 (en) * 2011-10-17 2014-08-14 Tencent Technology (Shenzhen) Company Limited Session initiation method and system
US9148460B1 (en) * 2012-12-31 2015-09-29 Cellco Partnership Push notifications for enterprise applications
CN104125141A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Pushing method for notification message, server, user terminal and system
CN103618747A (en) * 2013-12-11 2014-03-05 中国联合网络通信集团有限公司 Method and system for realizing session initiation protocol (SIP) information service
CN107995351A (en) * 2016-10-26 2018-05-04 阿里巴巴集团控股有限公司 Call method and device
CN112367714A (en) * 2020-10-23 2021-02-12 北京声智科技有限公司 Method and device for establishing session connection

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114120697A (en) * 2021-10-20 2022-03-01 深圳市捷顺科技实业股份有限公司 Three-party call method and device applied to parking lot

Similar Documents

Publication Publication Date Title
US9185227B2 (en) Sender driven call completion system
US8190705B2 (en) Communication capability coupons
CN113438355B (en) Communication method, device, equipment and storage medium based on cloud mobile phone
CN109391476B (en) Network communication method, device and system
CN103209247B (en) Method and system that a kind of information shows and terminal and server
US9602310B2 (en) Associating system requests with SMS user responses
CN111416867A (en) Method for processing messages between different devices, server and computer storage medium
CN109508527A (en) A kind of method that realizing that different terminals account is unified, terminal and server
EP2974159B1 (en) Method, device and system for voice communication
CN113760145A (en) Interaction method, interaction device, electronic equipment and storage medium
CN114466348A (en) Communication method, device and equipment
CN105515937A (en) Instant communication method, instant communication terminal, instant communication server and instant communication system
EP3432559B1 (en) System and method for contextually based fulfillment of communicated service requests via a telephony platform
CN113206780A (en) Enterprise instant messaging method and device, computer equipment and readable storage medium
US9058586B2 (en) Identification of a person located proximite to a contact identified in an electronic communication client
CN109040331B (en) Electronic business card processing method and device, computing equipment and storage medium
CN113596383B (en) Method, device and equipment for managing participants of network conference
CN112417349B (en) Programming device and network state monitoring method
CN111818293B (en) Communication method and device and electronic equipment
CN114390239A (en) Communication method, device, system, electronic device, and storage medium
CN107888482B (en) Instant messaging method and device
CN103139407B (en) Internet telephone system and device thereof
CN104580070A (en) Method, device and system for confirming network conversations
US20050198237A1 (en) Method, system, and computer program product for activating non-SMS device using chat protocol
CN113179322B (en) Remote interaction method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210803