CN112637540B - Multi-client audio and video call connection method, device, equipment and storage medium - Google Patents

Multi-client audio and video call connection method, device, equipment and storage medium Download PDF

Info

Publication number
CN112637540B
CN112637540B CN202011467960.0A CN202011467960A CN112637540B CN 112637540 B CN112637540 B CN 112637540B CN 202011467960 A CN202011467960 A CN 202011467960A CN 112637540 B CN112637540 B CN 112637540B
Authority
CN
China
Prior art keywords
session
room
client
interface
instruction
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.)
Active
Application number
CN202011467960.0A
Other languages
Chinese (zh)
Other versions
CN112637540A (en
Inventor
贺利祥
李勇
汪艺燊
陈小炜
龙喜洋
高宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Merchants Finance Technology Co Ltd
Original Assignee
China Merchants Finance 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 China Merchants Finance Technology Co Ltd filed Critical China Merchants Finance Technology Co Ltd
Priority to CN202011467960.0A priority Critical patent/CN112637540B/en
Publication of CN112637540A publication Critical patent/CN112637540A/en
Application granted granted Critical
Publication of CN112637540B publication Critical patent/CN112637540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • H04N7/155Conference systems involving storage of or access to video conference sessions

Abstract

The invention relates to the technology of Internet of things, and discloses an audio and video call connection method for multiple clients, which comprises the following steps: the method comprises the steps of sending a room creating instruction to a background server, creating a room session interface at a session client and generating a session key when the background server responds to the room creating instruction, verifying whether a first instruction of a first session participant for joining the session passes or not according to the session key, adding the room session interface in the first client corresponding to the first session participant when the first instruction for joining the session passes the verification, and executing the session connection between the session client and the first client when the session state of the room session interface in the session client and the first client is updated successfully. The invention also discloses an audio and video call connection device of the multi-client, the electronic equipment and a storage medium. The invention can solve the problem that the multi-client audio and video call needs to store the information of call members in a background server in advance and occupies storage resources.

Description

Multi-client audio and video call connection method, device, equipment and storage medium
Technical Field
The invention relates to the field of Internet of things, in particular to an audio and video call connection method and device for multiple clients, electronic equipment and a computer readable storage medium.
Background
With the development of communication technology, many communication services support multiparty communication, such as Instant Messaging (IM) service and Push-To-talk over cellular (PoC), and such audio and video calls are collectively referred To as multi-client audio and video calls.
Currently, an audio/video call connection method for multiple clients is mainly based on a Pre-defined group (Pre-defined group) mode, in the Pre-defined group mode, a predefined group includes a member list, a group Identification (ID) is used to identify the group, when initiating a multi-party communication, a background server which initiates the multi-party communication sends an invitation message carrying the group ID to request to establish the multi-party communication. Although the Pre-defined group (Pre-defined group) method can complete multi-client communication, it needs to store information such as group ID, member list, and corresponding relationship of member list in the background server in advance, and needs to be further improved for flexibility of multi-client communication while occupying storage resources.
Disclosure of Invention
The invention provides a multi-client audio and video call connection method, a multi-client audio and video call connection device, electronic equipment and a computer readable storage medium, and mainly aims to solve the problem that the multi-client audio and video call needs to store call member information in a background server in advance and occupies storage resources.
In order to achieve the above object, the present invention provides a method for connecting an audio/video call of multiple clients, including:
receiving a room creating instruction of a session initiator at a session client, and sending the room creating instruction to a background server;
when the background server responds to the room creating instruction, a room session interface is created at the session client and a session key is generated;
when a first session participant sends a first instruction for joining the session according to the room session interface, verifying whether the first instruction for joining the session passes through according to the session key;
when the first instruction for joining the session is verified, adding the room session interface in a first client corresponding to the first session participant;
and updating the session state of the room session interface in the session client and the first client, sending the session state to the background server for synchronous updating when the first update interface of the room is obtained successfully, obtaining the first update state of the room, and executing the call connection between the session client and the first client by using the first update state of the room.
Optionally, the performing the call connection between the session client and the first client further includes:
when a second conversation participant is successfully added into the first room updating interface, updating the first room updating state into a second room updating state in the background server;
and according to the second room updating state, generating a second room updating interface at a second client corresponding to the second session participant, and executing the call connection among the session client, the first client and the second client when the first room updating interface is updated to the second room updating interface successfully in the session client and the first client.
Optionally, the sending the room creation instruction to a background server includes:
establishing a communication channel between the session client and the background server by utilizing a full-duplex communication protocol;
and sending the room creating instruction to the background server by utilizing the communication channel.
Optionally, the creating a room session interface and generating a session key at the session client includes:
analyzing the room creating instruction to obtain configuration parameters of the created room;
calling a room session interface to generate a software package, and receiving a room password input by the session initiator;
and running the room session interface generation software package in the session client by utilizing the background server according to the room password and the configuration parameters of the created room to generate the room session interface and the session key.
Optionally, the verifying whether the first instruction to join the session passes according to the session key includes:
analyzing a room joining password input by the first session participant from the joining session first instruction;
carrying out encryption operation on the room joining password to obtain a joining session key;
judging whether the session joining key is the same as the session key or not, and reminding the first session participant to resend a session joining first instruction when the session joining key is different from the session key;
and when the session joining key is the same as the session key, the session joining first instruction is verified to be passed.
Optionally, the adding the room session interface in the first client corresponding to the first session participant includes:
and extracting the configuration parameters of the first client from the session joining first instruction, and sending the configuration parameters of the first client to the background server.
And adding the room session interface to the first client by using the configuration parameters of the background server and the first client.
Optionally, the adding the room session interface to the first client by using the configuration parameters of the background server and the first client includes:
generating a session notification signaling by using the background server, and sending the session notification signaling to the first client;
judging whether the first client responds to the session notification signaling or not, if not, continuing to send the session notification signaling to the first client;
and adding the configuration parameters of the first client and the room session interface to the first client until the first client responds to the session notification signaling.
In order to solve the above problem, the present invention further provides an audio/video call connection device for multiple clients, where the device includes:
the session key generation module is used for receiving a room creation instruction of a session initiator at a session client, sending the room creation instruction to a background server, and creating a room session interface at the session client and generating a session key when the background server responds to the room creation instruction;
the conversation instruction verification module is used for verifying whether the first instruction for joining the conversation passes or not according to the conversation key when the first conversation participant sends the first instruction for joining the conversation according to the room conversation interface;
the room session interface adding module is used for adding the room session interface in the first client corresponding to the first session participant when the first instruction for joining the session is verified;
and the call connection module is used for updating the session state of the room session interface in the session client and the first client, sending the session state to the background server for synchronous updating when the first update interface of the room is successfully obtained, obtaining the first update state of the room, and executing the call connection between the session client and the first client by using the first update state of the room.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one instruction; and
and the processor executes the instructions stored in the memory to realize the audio and video call connection method of the multi-client.
In order to solve the above problem, the present invention further provides a computer-readable storage medium including a storage data area and a storage program area, the storage data area storing created data, the storage program area storing a computer program; wherein, the computer program realizes any one of the above audio and video call connection methods of multiple clients when executed by a processor.
The method comprises the steps that a room session interface is created in a corresponding session client through a session initiator and a session key is generated, when a first session participant sends a first command for joining a session according to the room session interface, if the first command for joining the session is verified to be passed, the room session interface is added in the first client corresponding to the first session participant, the session states of the room session interfaces in the session client and the first client are updated at the same time, a first updated state of a room is obtained, and the session connection between the session client and the first client is executed by utilizing the first updated state of the room. Compared with the background art, the embodiment of the invention does not adopt a predefined group mode, but generates the session key according to the room establishment instruction, directly operates each client to generate the session interface based on the session key and the background server to complete the audio and video call, so that the group ID, the member list, the corresponding relation of the member list and the like of the call members do not need to be stored in the background server in advance, and the storage resources are released.
Drawings
Fig. 1 is a schematic flowchart of an audio/video call connection method for multiple clients according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of S2 in the method for connecting audio and video calls of multiple clients according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of S4 in the method for connecting an audio/video call of multiple clients according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of an audio/video call connection device for multiple clients according to an embodiment of the present invention;
fig. 5 is a schematic internal structural diagram of an electronic device implementing an audio/video call connection method for multiple clients according to an embodiment of the present invention;
the implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides an audio and video call connection method for multiple clients, and an execution main body of the audio and video call connection method for the multiple clients includes but is not limited to a server, a terminal and the like, and at least one of electronic devices which can be configured to execute the method provided by the embodiment of the application. In other words, the multi-client audio/video call connection method may be performed by software or hardware installed in the terminal device or the server device, where the software may be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Fig. 1 is a schematic flow chart of an audio/video call connection method for multiple clients according to an embodiment of the present invention. In this embodiment, the method for connecting an audio and video call of multiple clients includes:
s1, receiving a room creating instruction of a session initiator at a session client, and sending the room creating instruction to a background server.
In a preferred embodiment of the present invention, the session client includes a mobile terminal supporting 4G and WiFi networks, and further, the session client is connected to a microphone and a camera, so as to facilitate audio and video communication.
In detail, the room creating instruction is generally pre-established in a button key or a click key of the session client, and after the session initiator clicks the room creating instruction in the session client, the embodiment of the present invention sends the room creating instruction to the background server. The background server is a communication basis supporting audio and video call connection of multiple clients, and includes a server capable of supporting an OTT (Over the top) platform or a Multimedia system (IP Multimedia Subsystem, IMS for short).
Further, the backend server adopts an information storage structure of < conditions > - < actions >, wherein < conditions > may include: each client member identification < identity > etc., < actions > includes: whether each client member is allowed to subscribe to the conference state < all-conference-state >, whether each client member is allowed to subscribe to the multi-party communication participation condition < all-conference-rule-state >, whether each client member is allowed to dynamically invite other clients to participate in the session < all-invite-users-dynamic >, whether anonymous participation in multi-client communication is allowed < all-authentication >, whether client members with high priority are allowed to participate in the session < is-key-participant >, whether each client member is allowed to create a sub-conference of multi-party communication < all-sub- >, whether each client member in multi-client communication is allowed to use secret messages in multi-party communication, and/or whether each client member is allowed to be completely muted (all-multicast-all), etc.
Further, the sending the room creating instruction to a background server includes: and establishing a communication channel between the session client and the background server by utilizing a full-duplex communication protocol, and sending the room establishing instruction to the background server by utilizing the communication channel.
The protocol of the full-duplex communication is called WebSocket for short, and a communication channel between a session client and a background server established by utilizing the protocol of the full-duplex communication can keep persistent connection and allow bidirectional data transmission.
And S2, when the background server responds to the room creating instruction, a room session interface is created at the session client and a session key is generated.
In detail, referring to fig. 2, the creating a room session interface and generating a session key at the session client includes:
s21, analyzing the room creating instruction to obtain configuration parameters of the created room;
s22, a room session interface is called to generate a software package, a room password input by the session initiator is received, the room session interface is operated in the session client to generate the software package by the background server according to the room password and the configuration parameters, and the room session interface and the session key are generated.
Further, the room session interface generation software package is written in advance for software developers and loaded in the background server, and after the session initiator initiates the room creation instruction, the room session interface generation software package is called from the background server and stored in the session client.
In detail, the room configuration parameters include an IP address of the session client, a user ID of the session initiator, a device ID, a device model, a device version number of the session client, an operating system of the session client, a remaining memory and a disk of the session client, whether a camera of the session client is turned on, and the like. The session key is typically generated based on the room password and an encryption algorithm.
In another embodiment of the present invention, when the room password input by the session initiator is empty, the room session interface is run in the session client to generate a software package according to the configuration parameters, so as to obtain the room session interface.
And S3, when the first session participant sends a session joining first instruction according to the room session interface, verifying whether the session joining first instruction passes through according to the session key.
In a preferred embodiment of the present invention, after the room session interface is successfully generated, if a first session participant needs to join the room session interface and perform an audio/video call with the session initiator, the first session participant needs to send the session first instruction. Wherein the session first instruction comprises the room password.
In detail, the verifying whether the first instruction for joining the session passes according to the session key includes: analyzing a room joining password input by the first session participant from the joining session first instruction; and carrying out encryption operation on the room join password to obtain a join session key, and judging whether the join session key is the same as the session key. Further, when the joining session key is different from the session key, the first session participant is reminded to resend a first instruction for joining the session, and when the joining session key is the same as the session key, the first instruction for joining the session is verified to be passed, and the following step S4 is executed.
And S4, when the first instruction for joining the session is verified, adding the room session interface in the first client corresponding to the first session participant.
In this embodiment of the present invention, when the join session key is the same as the session key, it indicates that the first instruction for joining the session is verified.
Further, referring to fig. 3, the adding the room session interface in the first client corresponding to the first session participant includes:
s41, extracting the configuration parameters of the first client from the first session joining instruction, and sending the configuration parameters to the background server.
And S42, adding the room session interface to the first client by using the configuration parameters of the background server and the first client.
Further, the adding the room session interface to the first client using the configuration parameters of the background server and the first client includes: generating a session notification signaling by using the background server, and sending the session notification signaling to the first client; judging whether the first client side responds to the session notification signaling, if not, continuing to send the session notification signaling to the first client side, and waiting for the first client side to extract a room session interface from the background server until the first client side responds to the session notification signaling;
further, when the first client extracts the room session interface from the background server, the configuration parameters of the first client and the room session interface are added to the first client.
In the embodiment of the present invention, the first client may be an APP installed in a mobile phone, a computer, and the like, and since the mobile phone, the computer, and the like are prone to generate a message screen, application switching, and the like, when the first client receives a session notification signaling of the background server, it may not be possible to obtain configuration parameters of the background server and a room session interface and the like at the first time. Compared with the configuration parameters of the first client and the room session interface, the session notification signaling has small information amount, so that the resource occupation is smaller.
In detail, the configuration parameters of the first client include an IP address of the first client, a user ID of the first session participant, a device ID, a device model, a device version number of the first client, an operating system of the first client, a remaining memory and a disk of the first client, and the like.
And further, the configuration parameters of the first client are sent to a background server, and the configuration parameters of the first client are loaded into the room session interface after the background server acquires the relevant parameters of the room session interface.
And S5, updating the session state of the session interfaces of the room in the session client and the first client, sending the session state to the background server for synchronous updating when a first update interface of the room is obtained successfully, obtaining the first update state of the room, and executing the call connection between the session client and the first client by using the first update state of the room.
In detail, the session state includes an online busy state, whether to open a camera, whether to open an audio, and the like, and the session state is synchronized to a < conditions > - < actions > information storage structure of the backend server, so as to obtain a first update state of a room after synchronization is completed. Further, after the first room updating state is obtained, the communication connection is established by using the first room updating state. The first updated state of the room comprises communication conditions such as whether each client member is allowed to subscribe to the conference state, whether each client member is allowed to subscribe to the multi-party communication participation condition, whether each client member is allowed to dynamically invite other clients to participate in the session and the like.
Further, the embodiment of the present invention performs the call connection between the session client and the first client, and then further includes: when a second conversation participant is successfully added into the first room updating interface, updating the first room updating state into a second room updating state in the background server; and according to the room second updating state, generating a room second updating interface at a second client corresponding to the second session participant, and executing the session connection among the session client, the first client and the second client when the room first updating interface is successfully updated into the room second updating interface in the session client and the first client.
In a preferred embodiment of the present invention, when the second session participant joins the first update interface of the room successfully, the method includes: establishing a communication channel between the second client and the background server by using a full-duplex communication protocol; receiving a join session request sent by the second session participant by using the communication channel; and updating the state of the background server by using the session request, and when the state of the background server is updated successfully, indicating that the second session participant is successfully added into the first update interface of the room.
Further, in another embodiment of the present invention, when the second session participant joins the first update interface of the room successfully, the method includes: when the second session participant sends a second instruction for joining the session according to the first room updating interface, verifying whether the second instruction for joining the session passes through according to the session key; when the second instruction for joining the session is verified, indicating that the second session participant is successfully joined to the first update interface of the room;
in detail, the join session second instruction is the same as the join session first instruction, and the authentication method is also the same.
Further, the update process of the second client is the same as the update process of the session client and the update process of the first client, and is not repeated here. In addition, compared with the first update state of the room, the second update state of the room is mainly implemented by adding client information and the like related to the second session participant to the < conditions > -actions > information storage structure in the backend server, so as to further implement the session connection among the session client, the first client and the second client.
The method comprises the steps that a room session interface is created in a corresponding session client through a session initiator and a session key is generated, when a first session participant sends a first command for joining a session according to the room session interface, if the first command for joining the session is verified to be passed, the room session interface is added in the first client corresponding to the first session participant, the session states of the room session interfaces in the session client and the first client are updated at the same time, a first updated state of a room is obtained, and the session connection between the session client and the first client is executed by utilizing the first updated state of the room. Compared with the background art, the embodiment of the invention does not adopt a predefined group mode, but generates the session key according to the room establishment instruction, directly operates each client to generate the session interface based on the session key and the background server to complete the audio and video call, so that the group ID, the member list, the corresponding relation of the member list and the like of the call members do not need to be stored in the background server in advance, and the storage resources are released.
Fig. 4 is a schematic block diagram of an audio/video call connection device for multiple clients according to the present invention.
The multi-client audio/video call connection device 100 of the present invention can be installed in an electronic device. According to the implemented functions, the audio/video call connection device of the multi-client may include a session key generation module 101, a session instruction verification module 102, a room session interface addition module 103, and a call connection module 104. A module according to the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions of the respective modules/units are as follows:
the session key generation module 101 is configured to receive a room creation instruction of a session initiator at a session client, send the room creation instruction to a background server, and create a room session interface and generate a session key at the session client when the background server responds to the room creation instruction;
the session instruction verification module 102 is configured to verify whether the first instruction for joining the session passes through according to the session key when the first session participant sends the first instruction for joining the session according to the room session interface;
the room session interface adding module 103 is configured to add the room session interface in the first client corresponding to the first session participant when the first instruction for joining the session is verified;
the call connection module 104 is configured to update the session states of the room session interfaces in the session client and the first client, send the session states to the background server for synchronous update when a first room update interface is successfully obtained, obtain a first room update state, and execute call connection between the session client and the first client by using the first room update state.
Each module in the multi-client audio/video call connection device 100 provided in the embodiment of the present invention can use the same means as the above-mentioned multi-client audio/video call connection method when in use, and the specific implementation steps are not described herein again, and the technical effect generated by the functions of each module/unit is the same as that of the above-mentioned multi-client audio/video call connection method, that is, the problem that the multi-client audio/video call needs to store call member information in a background server in advance and occupies a storage resource is solved.
As shown in fig. 5, the structure diagram of the electronic device for implementing the method for connecting an audio/video call of multiple clients according to the present invention is shown.
The electronic device 1 may include a processor 10, a memory 11 and a bus, and may further include a computer program stored in the memory 11 and operable on the processor 10, such as a multi-client audio-video call connection program 12.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, e.g. a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes of the multi-client av call connection program 12, but also to temporarily store data that has been output or will be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules stored in the memory 11 (for example, executing a multi-client audio/video call connection program, etc.) and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 5 only shows an electronic device with components, and it will be understood by a person skilled in the art that the structure shown in fig. 5 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The multi-client audio/video call connection program 12 stored in the memory 11 of the electronic device 1 is a combination of multiple instructions, and when running in the processor 10, can implement:
receiving a room creating instruction of a session initiator at a session client, and sending the room creating instruction to a background server;
when the background server responds to the room creating instruction, a room session interface is created at the session client and a session key is generated;
when a first session participant sends a first instruction for joining the session according to the room session interface, verifying whether the first instruction for joining the session passes through according to the session key;
when the first instruction for joining the session is verified, adding the room session interface in a first client corresponding to the first session participant;
and updating the session state of the room session interface in the session client and the first client, sending the session state to the background server for synchronous updating when the first update interface of the room is obtained successfully, obtaining the first update state of the room, and executing the call connection between the session client and the first client by using the first update state of the room.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM).
Further, the computer-usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
receiving a room creating instruction of a session initiator at a session client, and sending the room creating instruction to a background server;
when the background server responds to the room creating instruction, a room session interface is created at the session client and a session key is generated;
when a first session participant sends a first instruction for joining the session according to the room session interface, verifying whether the first instruction for joining the session passes through according to the session key;
when the first instruction for joining the session is verified, adding the room session interface in a first client corresponding to the first session participant;
and updating the session state of the room session interface in the session client and the first client, sending the session state to the background server for synchronous updating when the first update interface of the room is obtained successfully, obtaining the first update state of the room, and executing the call connection between the session client and the first client by using the first update state of the room.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any accompanying claims should not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, which is used for verifying the validity (anti-counterfeiting) of the information and generating a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (8)

1. A multi-client audio and video call connection method is characterized by comprising the following steps:
receiving a room creating instruction of a session initiator at a session client, and sending the room creating instruction to a background server;
when the background server responds to the room creating instruction, a room session interface is created at the session client and a session key is generated, wherein the room session interface comprises the following steps: analyzing the room creating instruction to obtain configuration parameters of the created room; calling a room session interface to generate a software package, receiving a room password input by the session initiator, running the room session interface in the session client by using the background server to generate the software package according to the room password and the configuration parameters, and generating the room session interface and the session key;
when a first session participant sends a first instruction for joining the session according to the room session interface, verifying whether the first instruction for joining the session passes through according to the session key;
when the first instruction for joining the session is verified, adding the room session interface in a first client corresponding to the first session participant;
updating the session state of the room session interface in the session client and the first client, sending the session state to the background server for synchronous updating when a first update interface of a room is obtained successfully, obtaining a first update state of the room, and executing the call connection between the session client and the first client by using the first update state of the room;
when a second conversation participant is successfully added into the first room updating interface, updating the first room updating state into a second room updating state in the background server;
and according to the second room updating state, generating a second room updating interface at a second client corresponding to the second session participant, and executing the call connection among the session client, the first client and the second client when the first room updating interface is updated to the second room updating interface successfully in the session client and the first client.
2. The multi-client audio-video call connection method according to claim 1, wherein the sending the room creation instruction to a background server includes:
establishing a communication channel between the session client and the background server by utilizing a full-duplex communication protocol;
and sending the room creating instruction to the background server by utilizing the communication channel.
3. The method for connecting audio/video calls of multiple clients according to claim 1, wherein the verifying whether the first command for joining the session passes through according to the session key comprises:
analyzing a room joining password input by the first session participant from the joining session first instruction;
encrypting and operating the room joining password to obtain a joining session key;
judging whether the session joining key is the same as the session key or not, and reminding the first session participant to resend a session joining first instruction when the session joining key is different from the session key;
and when the session joining key is the same as the session key, the session joining first instruction is verified.
4. The multi-client audio-video call connection method according to claim 1, wherein the adding of the room session interface in the first client corresponding to the first session participant comprises:
extracting the configuration parameters of the first client from the session joining first instruction, and sending the configuration parameters of the first client to the background server;
and adding the room session interface to the first client by using the configuration parameters of the background server and the first client.
5. The method of claim 4, wherein the adding the room session interface to the first client using the configuration parameters of the background server and the first client comprises:
generating a session notification signaling by using the background server, and sending the session notification signaling to the first client;
judging whether the first client side responds to the session notification signaling or not, if not, continuing to send the session notification signaling to the first client side;
and adding the configuration parameters of the first client and the room session interface to the first client until the first client responds to the session notification signaling.
6. An audio and video call connection device of multiple clients, the device comprising:
a session key generation module, configured to receive a room creation instruction of a session initiator at a session client, send the room creation instruction to a background server, and create a room session interface and generate a session key at the session client when the background server responds to the room creation instruction, where the session key generation module includes: analyzing the room creating instruction to obtain configuration parameters of the created room; calling a room session interface to generate a software package, receiving a room password input by the session initiator, running the room session interface in the session client by using the background server to generate the software package according to the room password and the configuration parameters, and generating the room session interface and the session key;
the conversation instruction verification module is used for verifying whether the first instruction for joining the conversation passes or not according to the conversation key when the first conversation participant sends the first instruction for joining the conversation according to the room conversation interface;
the room session interface adding module is used for adding the room session interface in the first client corresponding to the first session participant when the first instruction for joining the session is verified;
the conversation connection module is used for updating the conversation state of the room conversation interfaces in the conversation client and the first client, sending the conversation state to the background server for synchronous updating when a first room updating interface is obtained successfully, obtaining a first room updating state, and executing conversation connection between the conversation client and the first client by using the first room updating state;
the call connection module is further configured to:
when a second conversation participant is successfully added into the first room updating interface, updating the first room updating state into a second room updating state in the background server;
and according to the second room updating state, generating a second room updating interface at a second client corresponding to the second session participant, and executing the call connection among the session client, the first client and the second client when the first room updating interface is updated to the second room updating interface successfully in the session client and the first client.
7. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a multi-client audio-video call connection method as claimed in any one of claims 1 to 5.
8. A computer-readable storage medium comprising a storage data area and a storage program area, wherein the storage data area stores created data, and the storage program area stores a computer program; wherein the computer program, when executed by a processor, implements a multi-client audio-video call connection method as claimed in any one of claims 1 to 5.
CN202011467960.0A 2020-12-14 2020-12-14 Multi-client audio and video call connection method, device, equipment and storage medium Active CN112637540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011467960.0A CN112637540B (en) 2020-12-14 2020-12-14 Multi-client audio and video call connection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011467960.0A CN112637540B (en) 2020-12-14 2020-12-14 Multi-client audio and video call connection method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112637540A CN112637540A (en) 2021-04-09
CN112637540B true CN112637540B (en) 2023-02-28

Family

ID=75313706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011467960.0A Active CN112637540B (en) 2020-12-14 2020-12-14 Multi-client audio and video call connection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112637540B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438224A (en) * 2021-06-23 2021-09-24 广州智会云科技发展有限公司 Method and system for multiple persons to jointly participate in online exhibition

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427293A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Method and device for establishing video conference interface and video terminal
CN105306757A (en) * 2015-09-14 2016-02-03 上海可言信息技术有限公司 Synchronous interaction multi-party call method and system
CN105338288A (en) * 2015-11-20 2016-02-17 深圳联友科技有限公司 Multi-people network video session method and system
WO2016045321A1 (en) * 2014-09-22 2016-03-31 中兴通讯股份有限公司 Method, device, system and computer storage medium for multi-party call
CN107707868A (en) * 2016-08-08 2018-02-16 中国电信股份有限公司 Video conference Adding Way, multiple access Conference server and video conferencing system
CN109510758A (en) * 2019-02-14 2019-03-22 紫光云数科技有限公司 Session establishing method, terminal, third-party application server and system
CN110493022A (en) * 2019-08-26 2019-11-22 中国联合网络通信集团有限公司 A kind of method for building up, the apparatus and system of tripartite's session
CN110620672A (en) * 2018-06-19 2019-12-27 腾讯科技(深圳)有限公司 Multi-person session data processing method and device, computer equipment and storage medium
CN111131741A (en) * 2019-12-13 2020-05-08 中移(杭州)信息技术有限公司 Multi-party video call method, system, device and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8984422B2 (en) * 2011-06-24 2015-03-17 Google Inc. Group conversation between a plurality of participants
SG11201400645TA (en) * 2011-10-10 2014-09-26 Talko Inc Communication system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427293A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Method and device for establishing video conference interface and video terminal
WO2016045321A1 (en) * 2014-09-22 2016-03-31 中兴通讯股份有限公司 Method, device, system and computer storage medium for multi-party call
CN105306757A (en) * 2015-09-14 2016-02-03 上海可言信息技术有限公司 Synchronous interaction multi-party call method and system
CN105338288A (en) * 2015-11-20 2016-02-17 深圳联友科技有限公司 Multi-people network video session method and system
CN107707868A (en) * 2016-08-08 2018-02-16 中国电信股份有限公司 Video conference Adding Way, multiple access Conference server and video conferencing system
CN110620672A (en) * 2018-06-19 2019-12-27 腾讯科技(深圳)有限公司 Multi-person session data processing method and device, computer equipment and storage medium
CN109510758A (en) * 2019-02-14 2019-03-22 紫光云数科技有限公司 Session establishing method, terminal, third-party application server and system
CN110493022A (en) * 2019-08-26 2019-11-22 中国联合网络通信集团有限公司 A kind of method for building up, the apparatus and system of tripartite's session
CN111131741A (en) * 2019-12-13 2020-05-08 中移(杭州)信息技术有限公司 Multi-party video call method, system, device and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
e-MulCS : Multi-Party Conference System with Virtual Space and the Intuitive;Hiyoshi等;《IEEE》;20040131;全文 *

Also Published As

Publication number Publication date
CN112637540A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
US10873769B2 (en) Live broadcasting method, method for presenting live broadcasting data stream, and terminal
TWI465135B (en) Managing notification messages
CN104125540B (en) Multi-party call terminal and the method that one-to-one call is converted to from multi-party call
US20150180821A1 (en) Systems and methods for generating electronic meeting invitations in video communications and other services
EP3437253A1 (en) Cross-mode communication
CN110971757B (en) Method, device, equipment and medium for adding WeChat friends from telephone application
CN109446204B (en) Data storage method and device for instant messaging, electronic equipment and medium
CN111931962A (en) Information display method and device and electronic equipment
CN111818291B (en) Method and device for establishing multimedia call and electronic equipment
CN110582998A (en) Group communication method and device, computer storage medium and computer equipment
JP2020173797A (en) Method, system, and non-transitory computer-readable storage medium for providing many group calls in one chat room
CN112637540B (en) Multi-client audio and video call connection method, device, equipment and storage medium
CN113993092A (en) Emergency call method, device, mobile terminal and network side equipment
US10686844B2 (en) Trusted group identification code
CN111131741B (en) Multi-party video call method, electronic equipment, device and computer readable storage medium
CN113420133B (en) Session processing method, device, equipment and storage medium
US8856254B2 (en) Providing a collaborative status message in an instant messaging system
CN115913803A (en) Information interaction method and device and electronic equipment
CN109412931B (en) Method, device and terminal equipment for performing knowledge question answering by using instant messaging mode
CN111182023A (en) Mutual aid task processing method and system
CN112968826A (en) Voice interaction method and device and electronic equipment
CN113114755A (en) Method and device for smooth switching between devices, electronic device and storage medium
US9065681B2 (en) Parking and un-parking of conversations in multiple modalities
US20230198924A1 (en) Message capture in a multi channel communication environment
CN112202701B (en) Data processing method, device, server, terminal, system 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
GR01 Patent grant
GR01 Patent grant