CN109802961B - Interface management method and device, electronic equipment and storage medium - Google Patents
Interface management method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109802961B CN109802961B CN201910033113.4A CN201910033113A CN109802961B CN 109802961 B CN109802961 B CN 109802961B CN 201910033113 A CN201910033113 A CN 201910033113A CN 109802961 B CN109802961 B CN 109802961B
- Authority
- CN
- China
- Prior art keywords
- identification information
- conference
- electronic device
- preset
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application discloses an interface management method and device, electronic equipment and a storage medium. The method comprises the following steps: when the IMS teleconference with the plurality of second electronic devices is successfully established, the first electronic device sends a conference event subscription request to the conference center, receives a first notification message issued by the conference center based on the conference event subscription request, judges whether the plurality of first identification information are consistent with the plurality of preset identification information, the plurality of preset identification information are stored locally, when at least one identification information is inconsistent with the corresponding preset identification information, the plurality of first identification information are replaced by the plurality of preset identification information to obtain first current identification information, and the first current identification information is displayed on a conference management interface of the first electronic device. According to the method and the device, the identification information issued by the conference center is compared with the local preset identification information and corrected, the problems that the identification information issued by the conference center is wrong and the display of a conference management interface is wrong are solved, and the user experience is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to an interface management method and apparatus, an electronic device, and a storage medium.
Background
With the development of scientific technology, bandwidth resources owned by users are more and more abundant, and therefore, the communication requirements of users gradually evolve from pure voice calls to multimedia conferences. However, the current multimedia conference management is difficult, which causes poor user experience.
Disclosure of Invention
In view of the above problems, the present application provides an interface management method, an interface management apparatus, an electronic device, and a storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides an interface management method, where the method includes: when the first electronic equipment successfully establishes an IP Multimedia Subsystem (IMS) telephone conference with a plurality of second electronic equipment, sending a conference event subscription request to a conference center; receiving a first notification message issued by the conference center based on the conference event subscription request, wherein the first notification message carries a plurality of first identification information, and the plurality of second electronic devices correspond to the plurality of first identification information one to one; judging whether the plurality of first identification information are consistent with a plurality of preset identification information, wherein the plurality of preset identification information are stored locally in the first electronic equipment; when at least one piece of first identification information in the plurality of pieces of first identification information is inconsistent with corresponding preset identification information, replacing the plurality of pieces of first identification information with the plurality of pieces of preset identification information to obtain first current identification information; and displaying the first current identification information on a conference management interface of the first electronic equipment.
In a second aspect, an embodiment of the present application provides an interface management apparatus, where the apparatus includes: the system comprises a sending module, a conference center and a service module, wherein the sending module is used for sending a conference event subscription request to the conference center when the first electronic equipment successfully establishes an IP Multimedia Subsystem (IMS) telephone conference with a plurality of second electronic equipment; a receiving module, configured to receive a first notification message issued by the conference center based on the conference event subscription request, where the first notification message carries the multiple pieces of first identifier information, and the multiple pieces of second electronic equipment correspond to the multiple pieces of first identifier information one to one; the judging module is used for judging whether the plurality of first identification information are consistent with a plurality of preset identification information, wherein the plurality of preset identification information are stored locally in the first electronic equipment; the replacing module is used for replacing at least one piece of first identification information in the plurality of pieces of first identification information with the plurality of pieces of preset identification information when the at least one piece of first identification information is inconsistent with the corresponding preset identification information, so as to obtain first current identification information; and the display module is used for displaying the first current identification information on a conference management interface of the first electronic equipment.
In a third aspect, an embodiment of the present application provides an electronic device, including: a screen; a memory; one or more processors respectively coupled to the screen and the memory; one or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the above-described methods.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
According to the interface management method, the device, the electronic device and the storage medium provided by the embodiment of the application, when an IMS (IP multimedia subsystem) teleconference with a plurality of second electronic devices is successfully established, a conference event subscription request is sent to a conference center by the first electronic device, and a first notification message issued by the conference center based on the conference event subscription request is received, wherein the first notification message carries a plurality of first identification information, and the plurality of second electronic devices correspond to the plurality of first identification information one to one. Judging whether the plurality of first identification information are consistent with the plurality of preset identification information, storing the plurality of preset identification information in the local first electronic equipment, replacing the plurality of first identification information with the plurality of preset identification information when at least one identification information is inconsistent with the corresponding preset identification information, obtaining first current identification information, and displaying the first current identification information on a conference management interface of the first electronic equipment. Therefore, the problem that the identification information issued by the conference center is wrong and the display of the conference management interface is wrong is solved by comparing and correcting the identification information issued by the conference center with the local preset identification information, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic application environment diagram illustrating an interface management method and apparatus provided in an embodiment of the present application;
FIG. 2 is a flow chart illustrating an interface management method according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating an interface management method according to another embodiment of the present application;
FIG. 4 is a flow chart illustrating step S212 of the interface management method illustrated in FIG. 3 of the present application;
FIG. 5 is a block diagram illustrating an interface management apparatus according to an embodiment of the present application;
FIG. 6 is a block diagram of an interface management device according to another embodiment of the present application;
FIG. 7 is a block diagram of an electronic device for executing an interface management method according to an embodiment of the present application;
fig. 8 illustrates a storage unit for storing or carrying program codes for implementing the interface management method according to the embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment that can be used for the interface management method and apparatus provided by the embodiment of the present application. As shown in fig. 1, a first electronic device 100, a conference center 300, and a plurality of second electronic devices 200 are located in a network, which may be a wireless network or a wired network. Through the wireless network or the wired network, the first electronic device 100 may perform data interaction with the conference center 300, the plurality of second electronic devices 200 may also perform data interaction with the conference center 300, and the first electronic device 100 and the plurality of second electronic devices 200 may perform data interaction through the conference center 300. In this application, the first electronic device 100 and the second electronic device 200 may be a smart phone, a tablet computer, a computer device, etc., and the conference center 300 may be a conventional server, a cloud platform, etc., which are not limited herein.
An IP multimedia Subsystem (IMS, IP multimedia Subsystem) is a standard of a next-Generation network defined by the Third Generation partnership Project (3 GPP), and is significantly characterized in that a Session Initiation Protocol (SIP) system is adopted, communication is independent of access, and the IMS has a plurality of service convergence capabilities, thereby conforming to the trend of convergence development of communication networks.
The inventor finds in application practice that after an IMS teleconference is successfully established at present, an electronic device sends a Subscribe conference event to a network-side conference center, and when information of conference participants changes, for example, after a person leaves the teleconference or newly joins the teleconference, the network-side conference center carries the information of the conference participants through a Notify message and returns the information to a subscriber of the conference event, and the subscriber of the conference event can refresh a conference management interface according to the information of the conference participants carried in the Notify message. However, this mechanism depends on that the participant information carried in the Notify message of the network side is correct, and the inventor tests in the real network to find that the participant information carried in the Notify message of the network side is not hundreds of correct, and if the participant information sent to the subscriber by the Notify message is incorrect, the participant information displayed in the conference management of the electronic device is incorrect.
In view of the above problems, the inventor provides an interface management method, an interface management apparatus, an electronic device, and a storage medium provided in this embodiment of the present application, and by comparing and correcting identification information issued by a conference center with local preset identification information, the problem that the identification information issued by the conference center is wrong and a display error of a conference management interface is caused is solved, and user experience is improved. The specific interface management method is described in detail in the following embodiments.
Examples
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an interface management method according to an embodiment of the present application. The interface management method is used for comparing and correcting the identification information issued by the conference center with the local preset identification information, solving the problem that the identification information issued by the conference center is wrong and the display of the conference management interface is wrong, and improving the user experience. In a specific embodiment, the interface management method is applied to the interface management apparatus 400 shown in fig. 5 and the electronic device 600 (fig. 7) configured with the interface management apparatus 400. The specific flow of the embodiment will be described below by taking an electronic device as an example, and it is understood that the electronic device applied in the embodiment may be a smart phone, a tablet computer, a wearable electronic device, a vehicle-mounted device, a gateway, and the like, and is not limited specifically herein. As will be described in detail with respect to the flow shown in fig. 2, the interface management method may specifically include the following steps:
step S101: the first electronic device sends a conference event subscription request to the conference center when an IP Multimedia Subsystem (IMS) teleconference with a plurality of second electronic devices is successfully established.
In this embodiment, the first electronic device corresponds to an initiator of an IMS teleconference, and the second electronic device corresponds to a participant of the IMS teleconference. As one way, an initiator initiates an IMS teleconference through a first electronic device and invites a participant corresponding to a second electronic device to participate in the IMS teleconference, where the initiator may invite at least one participant to participate in the IMS teleconference, that is, the first electronic device may attempt to establish the IMS teleconference with at least one second electronic device. Optionally, in this embodiment, the initiator invites a plurality of participants to participate in the IMS teleconference, that is, the first electronic device attempts to establish the IMS teleconference with a plurality of second electronic devices.
It can be understood that, when the conference center returns the message of passing the invitation, it may be determined that the first electronic device and the second electronic device successfully establish the IMS teleconference. For example, a first electronic device a sends a request for inviting a second electronic device B, a second electronic device C, and a second electronic device D to join an IMS teleconference, then the first electronic device a first sends invite (a- > B) to a conference center, and if it receives invite 200OK returned by the conference center, it may be determined that the first electronic device a and the second electronic device B successfully establish the IMS teleconference; then the second electronic device A sends invite (A- > C) to the conference center, and if invite 200OK returned by the conference center is received, the first electronic device A and the second electronic device C can be determined to successfully establish the IMS teleconference; and finally, the second electronic device A sends invite (A- > D) to the conference center, and if receiving invite 200OK returned by the conference center, the first electronic device A and the second electronic device D can be determined to successfully establish the IMS teleconference, that is, the first electronic device and the plurality of second electronic devices can be determined to successfully establish the IMS teleconference.
Further, when it is determined that the first electronic device and the plurality of second electronic devices successfully establish the IMS teleconference, the first electronic device sends a conference event subscription request to the conference center to instruct the conference center to feed back information of the second electronic devices to the first electronic device through the Notify message. The conference center may send a Notify message to the first electronic device when any one of the plurality of second electronic devices changes, may send information of the second electronic device to the first electronic device through the Notify message according to a preset time interval, and may send information of the second electronic device to the first electronic device through the Notify message according to other rules set by a user, which is not limited herein.
Step S102: and receiving a first notification message issued by the conference center based on the conference event subscription request, wherein the first notification message carries a plurality of first identification information, and the plurality of second electronic devices correspond to the plurality of first identification information one to one.
In this embodiment, the first electronic device may receive a notification message sent by a conference center, and record the notification message as a first notification message, that is, a first Notify message. It can be understood that the first notification message at least carries a plurality of first identification information, where the number of the plurality of first identification information is consistent with the number of the plurality of second electronic devices, and the plurality of second electronic devices correspond to the plurality of first identification information one to one. For example, when the plurality of second electronic devices includes a second electronic device B, a second electronic device C, and a second electronic device D, then the number of the plurality of first identification information is 3, and the 3 first identification information respectively correspond to the second electronic device B, the second electronic device C, and the second electronic device D.
Further, after receiving the first notification message, the first electronic device may perform operations such as recognition, analysis, extraction, and the like on the first notification message, so as to obtain a plurality of pieces of first identification information from the first notification message, and obtain a second electronic device corresponding to each piece of the plurality of pieces of first identification information.
Step S103: and judging whether the plurality of first identification information are consistent with a plurality of preset identification information, wherein the plurality of preset identification information are stored locally in the first electronic equipment.
As one mode, the first electronic device may obtain, in advance, a plurality of pieces of identification information of a plurality of second electronic devices participating in the IMS teleconference, store the plurality of pieces of identification information locally in the first electronic device, and record the plurality of pieces of identification information as a plurality of pieces of preset identification information. The preset identification information may be MAC addresses of a plurality of second electronic devices, phone numbers of a plurality of users corresponding to the plurality of second electronic devices, identification numbers of a plurality of users corresponding to the plurality of second electronic devices, or other identification codes for uniquely identifying the plurality of second electronic devices, and in addition, the preset identification information may be input into the first electronic device by a user corresponding to the first electronic device and stored, or may be acquired and stored by the first electronic device when inviting the plurality of second electronic devices, which is not limited herein.
As can be appreciated, because the plurality of preset identification information are pre-stored locally in the first electronic device, the first electronic device can directly obtain the plurality of preset identification information locally, that is, the obtaining process of the plurality of preset identification information does not need to be transmitted through a network, so that the obtaining of the plurality of preset identification information is not affected by the network, and the accuracy of the plurality of preset identification information is improved. Therefore, in this embodiment, the plurality of preset identification information may be used as a basis for determining the plurality of first identification information, and specifically, after the plurality of first identification information are obtained, the plurality of first identification information are compared with the plurality of preset identification information to determine whether the plurality of first identification information are consistent with the plurality of preset identification information.
For example, the plurality of second electronic devices include a second electronic device B, a second electronic device C, and a second electronic device D, and the preset identification information of the second electronic device B is B ', the preset identification information of the second electronic device C is C', and the identification information of the second electronic device D is D ', then after the plurality of first identification information are obtained, it may be determined whether the plurality of first identification information are consistent with B', C ', and D'. As a manner, a one-to-one correspondence relationship may be established between the plurality of first identification information and the plurality of preset identification information, so as to compare whether each first identification information is consistent with the corresponding preset identification information.
Step S104: when at least one piece of first identification information in the plurality of pieces of first identification information is inconsistent with the corresponding preset identification information, replacing the plurality of pieces of first identification information with the plurality of pieces of preset identification information to obtain first current identification information.
When at least one of the first identification information is inconsistent with the corresponding preset identification information, that is, when any one or more of the first identification information is inconsistent with the corresponding preset identification information, it may be determined that the first identification information in the first notification message sent by the conference center is incorrect, and therefore, the first identification information may be replaced with the preset identification information to obtain the first current identification information, so as to correct the incorrect first identification information, and ensure that the IMS teleconference initiator corresponding to the first electronic device can obtain accurate information of the conference participants.
For example, the plurality of second electronic devices includes a second electronic device B, a second electronic device C, and a second electronic device D, and the preset identification information of the second electronic device B is B ', the preset identification information of the second electronic device C is C ' and the preset identification information of the second electronic device D is D ', when the plurality of first identification information carried in the first notification message are sequentially B ', C ' and E ', it may be determined that the first identification information B 'of the second electronic device B is identical to the preset identification information B', the first identification information C 'of the second electronic device C is identical to the preset identification information C', and the first identification information E 'of the second electronic device D is not identical to the preset identification information D', and therefore, the plurality of first identification information may be replaced with a plurality of preset identification information to obtain the first current identification information. As one way, only the first identification information E 'of the second electronic device D may be replaced with the preset identification information D', that is, only the wrong first identification information may be replaced with the preset identification information, or the first identification information B 'of the second electronic device B may be replaced with the preset identification information B', the first identification information C 'of the second electronic device C may be replaced with the preset identification information C' and the first identification information D 'of the second electronic device D may be replaced with the preset identification information D', that is, all the first identification information may also be replaced with the preset identification information.
Step S105: and displaying the first current identification information on a conference management interface of the first electronic equipment.
Further, the first current identification information is displayed on a conference management interface of the first electronic device. If the conference management interface of the first electronic device does not display the identification information of the second electronic device, the first current identification information can be directly displayed on the conference management interface; if the conference management interface of the first electronic device displays the identification information of the second electronic device, the identification information currently displayed on the conference management interface may be refreshed based on the first current identification information, so as to update the display information of the conference management interface.
In the interface management method provided in an embodiment of the present application, when an IMS teleconference with multiple second electronic devices is successfully established, a first electronic device sends a conference event subscription request to a conference center, and receives a first notification message issued by the conference center based on the conference event subscription request, where the first notification message carries multiple pieces of first identification information, and the multiple second electronic devices are in one-to-one correspondence with the multiple pieces of first identification information. Judging whether the plurality of first identification information are consistent with the plurality of preset identification information, storing the plurality of preset identification information in the local first electronic equipment, replacing the plurality of first identification information with the plurality of preset identification information when at least one identification information is inconsistent with the corresponding preset identification information, obtaining first current identification information, and displaying the first current identification information on a conference management interface of the first electronic equipment. Therefore, the problem that the identification information issued by the conference center is wrong and the display of the conference management interface is wrong is solved by comparing and correcting the identification information issued by the conference center with the local preset identification information, and the user experience is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating an interface management method according to another embodiment of the present application. As will be described in detail with respect to the flow shown in fig. 3, the interface management method may specifically include the following steps:
step S201: and the first electronic equipment respectively establishes the corresponding relation between the plurality of second electronic equipment and the plurality of second identification information in the process of establishing the IMS teleconference with the plurality of second electronic equipment.
In this embodiment, the first electronic device attempts to establish an IMS teleconference with a plurality of second electronic devices, and in the process of establishing the IMS teleconference, the corresponding relationships between the plurality of second electronic devices and the plurality of second identification information are respectively established. Specifically, the first electronic device may acquire second identification information of the invited second electronic device in a process of inviting the second electronic device to join the IMS teleconference, where the second identification information may be a unique identification code such as a MAC address, a telephone number, an identity card number, and the like, and then establish a corresponding relationship between the acquired second identification information and the second electronic device, for example, the first electronic device may preset a mapping relationship table, where the mapping relationship table is used to record a corresponding relationship between the second electronic device and the second identification information, and therefore, the second electronic device and the corresponding second identification information thereof may be added to the preset relationship table to form a corresponding relationship.
Step S202: caching the plurality of second identification information and the corresponding relation, and taking the plurality of second identification information as the plurality of preset identification information.
Further, the plurality of second identification information and the corresponding relationship between the plurality of second identification information and the plurality of second electronic devices are cached locally in the first electronic device, and the plurality of second identification information are used as preset identification information. It can be understood that the correspondence relationship may be stored as a correspondence basis between the first identification information and the preset identification information of the same second electronic device, and the plurality of preset identification information may be stored as a correction basis for the first identification information of the plurality of second electronic devices.
Step S203: the first electronic device initiates the conference event subscription request to the conference center in a first subscription mode.
As one mode, the subscription mode of the conference event of the first electronic device generally includes a first subscription mode and a second subscription mode, specifically, the subscription mode of the conference event generally includes an in-session subscription mode and an out-of-session subscription mode, and likewise, the conference center generally supports only one of the first subscription mode and the second subscription mode. If the default subscription mode of the first electronic device is inconsistent with the subscription mode supported by the conference center, the conference center returns a 404Not Found response to the subscription event of the Subscribe conference sent by the first electronic device, and because the subscription of the conference event is failed, the conference center does Not issue the information of the conference participants through Notify messages, so that the conference management interface of the first electronic device cannot display the information of the conference participants.
In this embodiment, the first electronic device may first initiate the conference event subscription request to the conference center in a first subscription manner, and wait for a feedback from the conference center. It can be understood that the first subscription mode may be an out-of-session subscription mode or an in-session subscription mode, and is not specifically limited herein.
Step S204: and when the conference center returns a failure response, the first electronic equipment initiates the conference event subscription request to the conference center again in a second subscription mode.
When the conference center returns a failure response, the first subscription mode may be considered to be different from the subscription mode supported by the conference center, and therefore, the first electronic device may initiate a conference event subscription request to the conference center again in the second subscription mode, so as to improve the success rate of the conference subscription. Of course, when the conference center returns a successful response, for example, returns 200OK, the first subscription mode may be considered to be the same as the subscription mode supported by the conference center, and therefore, the conference center may not be switched to the second subscription mode.
As one mode, when the first subscription mode is an out-of-session subscription mode, the second subscription mode is an in-session subscription mode, and when the first subscription mode is an in-session subscription mode, the second subscription mode is an out-of-session subscription mode.
Step S205: the first electronic device sends a conference event subscription request to the conference center when an IP Multimedia Subsystem (IMS) teleconference with a plurality of second electronic devices is successfully established.
Step S206: and receiving a first notification message issued by the conference center based on the conference event subscription request, wherein the first notification message carries a plurality of first identification information, and the plurality of second electronic devices correspond to the plurality of first identification information one to one.
Step S207: and judging whether the plurality of first identification information are consistent with a plurality of preset identification information, wherein the plurality of preset identification information are stored locally in the first electronic equipment.
Please refer to steps S101 to S103 for the detailed implementation of steps S205 to S207, which are not described herein again.
Step S208: and when the plurality of first identification information is consistent with the plurality of preset identification information, displaying the plurality of first identification information on a conference management interface of the first electronic equipment.
When the plurality of first identification information and the plurality of preset identification information are all consistent, it can be determined that the first identification information in the first notification message sent by the conference center is correct, and therefore the plurality of first identification information can be displayed on the conference management interface of the first electronic device. Similarly, if the conference management interface of the first electronic device does not display the identification information of the second electronic device, the plurality of first identification information may be directly displayed on the conference management interface; if the conference management interface of the first electronic device displays the identification information of the second electronic device, the currently displayed identification information of the conference management interface may be refreshed based on the plurality of first identification information, so as to update the display information of the conference management interface.
For example, the plurality of second electronic devices include a second electronic device B, a second electronic device C, and a second electronic device D, and the preset identification information of the second electronic device B is B ', the preset identification information of the second electronic device C is C', and the identification information of the second electronic device D is D ', when the plurality of first identification information carried in the first notification message are sequentially B', C ', and D', it may be determined that the first identification information B 'of the second electronic device B is consistent with the preset identification information B', the first identification information C 'of the second electronic device C is consistent with the preset identification information C', and the first identification information D 'of the second electronic device D is consistent with the preset identification information D', so that the plurality of first identification information may be displayed on the conference management interface of the first electronic device.
Step S209: when at least one piece of first identification information in the plurality of pieces of first identification information is inconsistent with the corresponding preset identification information, replacing the plurality of pieces of first identification information with the plurality of pieces of preset identification information to obtain first current identification information.
Step S210: and displaying the first current identification information on a conference management interface of the first electronic equipment.
The sequence between step S208 and step S209 to step S210 is not limited herein, that is, step S208 may be set before step S209 to step S210, and step S208 may also be set after step S209 to step S210. In addition, for the detailed description of step S209 to step S210, refer to step S104 to step S105, which are not described herein again.
Step S211: and receiving a second notification message issued by the conference center, wherein the second notification message carries a plurality of pieces of first identification information and a plurality of pieces of state information, and the plurality of pieces of second electronic equipment, the plurality of pieces of first identification information and the plurality of pieces of state information correspond to one another.
In this embodiment, the conference center further issues a notification message to the first electronic device when the state of the second electronic device changes, and correspondingly, the first electronic device receives the notification message issued by the conference center and records as a second notification message, that is, a second Notify message. The second notification message at least carries a plurality of first identification information and a plurality of status information, wherein the number of the plurality of first identification information, the number of the plurality of status information, and the number of the plurality of second electronic devices are consistent, and the plurality of second electronic devices, the plurality of first identification information, and the plurality of status information are in one-to-one correspondence. For example, when the plurality of second electronic devices includes a second electronic device B, a second electronic device C, and a second electronic device D, then the number of the plurality of first identification information is 3, and the 3 first identification information respectively correspond to the second electronic device B, the second electronic device C, and the second electronic device D, and the number of the plurality of status information is 3, and the 3 status information respectively correspond to the second electronic device B, the second electronic device C, and the second electronic device D.
Step S212: updating the plurality of preset identification information based on the plurality of first identification information and the plurality of state information to obtain second current identification information.
Further, after the plurality of first identification information and the plurality of status information are acquired, the plurality of preset identification information may be updated based on the plurality of first identification information and the plurality of status information to obtain the second current identification information. Specifically, the plurality of status messages may include join messages, leave messages, turn off microphone messages, turn off handset messages, and the like, which are not limited herein.
Referring to fig. 4, fig. 4 is a flowchart illustrating step S212 of the interface management method illustrated in fig. 3 according to the present application. As will be explained in detail with respect to the flow shown in fig. 4, the method may specifically include the following steps:
step S2121: and acquiring target identification information corresponding to the leaving information in the plurality of pieces of first identification information.
In this embodiment, the state information is taken as the leaving information as an example, where the leaving information indicates that the second electronic device corresponding to the leaving information exits the IMS teleconference. As a manner, the first electronic device may obtain target identification information corresponding to the leaving information in a plurality of pieces of first identification information, where the leaving information may include one or more, and correspondingly, the target identification information may be one or more, which is not limited herein.
Step S2122: deleting target preset identification information corresponding to the target identification information in the plurality of preset identification information to obtain the second current identification information.
Further, the target preset identification information corresponding to the target identification information is searched in the plurality of preset identification information and deleted to obtain second current identification information. It can be understood that, at this time, the second current identification information does not include the preset identification information of the second electronic device that leaves, so as to ensure that the conference management interface only displays the second electronic device that is online, and simplify the difficulty of the conference management interface.
Certainly, when the state information is the joining information, it indicates that a new second electronic device joins the IMS teleconference, and then, the identification information of the newly joined second electronic device may be added to the preset identification information, and the identification information of the newly joined second electronic device is displayed on the conference management interface.
Step S213: and updating the first current identification information into the second current identification information on the conference management interface.
Furthermore, the first current identification information is updated to the second current identification information in the conference management interface, so that the conference management interface is ensured to update and display correct information.
In an interface management method provided in another embodiment of the present application, in a process of establishing an IMS teleconference with a plurality of second electronic devices, a first electronic device respectively establishes correspondence between the plurality of second electronic devices and a plurality of second identification information, caches the plurality of second identification information and the correspondence, and uses the plurality of second identification information as the plurality of preset identification information. The first electronic equipment initiates a conference event subscription request to the conference center in a first subscription mode, and when the conference center returns a failure response, the first electronic equipment initiates the conference event subscription request to the conference center again in a second subscription mode. When the IMS teleconference with a plurality of second electronic devices is successfully established, a conference event subscription request is sent to a conference center by a first electronic device, a first notification message sent by the conference center based on the conference event subscription request is received, a plurality of first identification information is carried in the first notification message, whether the plurality of first identification information is consistent with the plurality of preset identification information or not is judged, wherein the plurality of preset identification information is stored in the local part of the first electronic device, when the plurality of first identification information is consistent with the plurality of preset identification information, the plurality of first identification information is displayed on a conference management interface of the first electronic device, when at least one first identification information in the plurality of first identification information is inconsistent with the corresponding preset identification information, the plurality of first identification information is replaced by the plurality of preset identification information, and first current identification information is obtained, and displaying the first identification information on a conference management interface of the first electronic equipment. Receiving a second notification message sent by a conference center, wherein the second notification message carries a plurality of pieces of first identification information and a plurality of pieces of state information, updating a plurality of pieces of preset identification information based on the plurality of pieces of first identification information and the plurality of pieces of state information, obtaining second current identification information, and updating the first current identification information into the second current identification information on a conference management interface. Compared with the interface management method shown in fig. 2, in the present embodiment, in the process of establishing the IMS teleconference between the first electronic device and the plurality of second electronic devices, the second identification information is cached as the preset identification information, so as to improve the accuracy of the preset identification information; in addition, the first electronic equipment sends a conference event subscription request to the conference center in a polling way in a first subscription way and a second subscription way so as to improve the success rate of the conference event subscription; moreover, when the state information of the second electronic device changes, the preset identification information and the first current identification information are updated based on the state information and the identification information, so that the accuracy of the identification information displayed on the conference management interface is ensured.
Referring to fig. 5, fig. 5 is a block diagram illustrating an interface management apparatus 400 according to an embodiment of the present application. As will be explained below with respect to the block diagram shown in fig. 5, the interface management apparatus 400 shown includes: a sending module 401, a receiving module 402, a judging module 403, a replacing module 404 and a displaying module 405, wherein:
a sending module 401, configured to send a conference event subscription request to a conference center when the first electronic device successfully establishes an IP multimedia subsystem IMS teleconference with multiple second electronic devices.
A receiving module 402, configured to receive a first notification message issued by the conference center based on the conference event subscription request, where the first notification message carries the multiple pieces of first identifier information, and the multiple pieces of second electronic equipment correspond to the multiple pieces of first identifier information one to one.
A determining module 403, configured to determine whether the plurality of first identification information is consistent with a plurality of preset identification information, where the plurality of preset identification information is stored locally in the first electronic device.
A replacing module 404, configured to replace, when at least one of the plurality of first identification information is inconsistent with corresponding preset identification information, the plurality of first identification information with the plurality of preset identification information, so as to obtain first current identification information.
A display module 405, configured to display the first current identification information on a conference management interface of the first electronic device.
Referring to fig. 6, fig. 6 is a block diagram illustrating an interface management apparatus 500 according to another embodiment of the present application. As will be explained below with respect to the block diagram shown in fig. 6, the interface management apparatus 500 includes: the device comprises a building module 501, a caching module 502, a sending module 503, a receiving module 504, a judging module 505, a replacing module 506, a displaying module 507 and an updating module 508, wherein:
an establishing module 501, configured to respectively establish a correspondence between the plurality of second electronic devices and the plurality of second identification information in a process that the first electronic device establishes an IMS teleconference with the plurality of second electronic devices.
A caching module 502, configured to cache the multiple pieces of second identification information and the corresponding relationship, and use the multiple pieces of second identification information as the multiple pieces of preset identification information.
A sending module 503, configured to initiate the conference event subscription request to the conference center in a first subscription manner by the first electronic device.
The sending module 503 is configured to, when the conference center returns a failure response, initiate the conference event subscription request to the conference center again in a second subscription manner by the first electronic device.
The sending module 503 is configured to send a conference event subscription request to the conference center when the first electronic device successfully establishes an IMS teleconference with multiple second electronic devices.
A receiving module 504, configured to receive a first notification message issued by the conference center based on the conference event subscription request, where the first notification message carries the multiple pieces of first identifier information, and the multiple pieces of second electronic equipment correspond to the multiple pieces of first identifier information one to one.
A determining module 505, configured to determine whether the plurality of first identification information is consistent with a plurality of preset identification information, where the plurality of preset identification information is stored locally in the first electronic device.
A replacing module 506, configured to replace, when at least one of the plurality of first identification information is inconsistent with corresponding preset identification information, the plurality of first identification information with the plurality of preset identification information, so as to obtain first current identification information.
A display module 507, configured to display the first current identification information on a conference management interface of the first electronic device.
The display module 507 is further configured to display the plurality of first identification information on a conference management interface of the first electronic device when the plurality of first identification information is consistent with the plurality of preset identification information.
The receiving module 504 is further configured to receive a second notification message sent by the conference center, where the second notification message carries a plurality of first identification information and a plurality of status information, and the plurality of second electronic devices, the plurality of first identification information, and the plurality of status information correspond to one another.
An updating module 508, configured to update the preset identification information based on the first identification information and the status information to obtain second current identification information. Further, the update module 508 includes: acquiring a submodule and deleting a submodule, wherein:
and the obtaining sub-module is used for obtaining target identification information corresponding to the leaving information in the plurality of pieces of first identification information.
And the deleting submodule is used for deleting target preset identification information corresponding to the target identification information in the plurality of preset identification information to obtain the second current identification information.
The updating module 508 is configured to update the first current identification information to the second current identification information in the conference management interface.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 7, a block diagram of an electronic device 600 according to an embodiment of the present disclosure is shown. The electronic device 600 may be the first electronic device 100 or the second electronic device 200, and the electronic device 600 may be an electronic device capable of running an application program, such as a smart phone, a tablet computer, and an electronic book. The electronic device 600 in the present application may include one or more of the following components: a processor 610, a memory 620, a screen 630, and one or more applications, wherein the one or more applications may be stored in the memory 620 and configured to be executed by the one or more processors 610, the one or more programs configured to perform the methods as described in the aforementioned method embodiments.
The processor 610 may include one or more processing cores. The processor 610 interfaces with various components throughout the electronic device 600 using various interfaces and circuitry to perform various functions of the electronic device 600 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 620 and invoking data stored in the memory 620. Alternatively, the processor 610 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 610 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 610, but may be implemented by a communication chip.
The Memory 620 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 620 may be used to store instructions, programs, code sets, or instruction sets. The memory 620 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created during use by the electronic device 600 (e.g., phone books, audio-visual data, chat log data), and so forth.
The screen 630 is used to display image data generated or received by the electronic device 600 and to perform interaction between the electronic device 600 and a user. The screen 630 may be a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), an electronic ink screen, or the like, which is not limited herein.
Referring to fig. 8, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 700 has stored therein program code that can be called by a processor to execute the methods described in the above-described method embodiments.
The computer-readable storage medium 700 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 700 includes a non-volatile computer-readable storage medium. The computer readable storage medium 700 has storage space for program code 710 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 710 may be compressed, for example, in a suitable form.
To sum up, according to the interface management method, the apparatus, the electronic device, and the storage medium provided in the embodiments of the present application, when an IMS teleconference with a plurality of second electronic devices is successfully established, the first electronic device sends a conference event subscription request to the conference center, and receives a first notification message issued by the conference center based on the conference event subscription request, where the first notification message carries a plurality of first identification information, and the plurality of second electronic devices correspond to the plurality of first identification information one to one. Judging whether the plurality of first identification information are consistent with the plurality of preset identification information, storing the plurality of preset identification information in the local first electronic equipment, replacing the plurality of first identification information with the plurality of preset identification information when at least one identification information is inconsistent with the corresponding preset identification information, obtaining first current identification information, and displaying the first current identification information on a conference management interface of the first electronic equipment. Therefore, the problem that the identification information issued by the conference center is wrong and the display of the conference management interface is wrong is solved by comparing and correcting the identification information issued by the conference center with the local preset identification information, and the user experience is improved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (9)
1. An interface management method, comprising:
the method comprises the steps that in the process that a first electronic device establishes an IMS (IP multimedia subsystem) teleconference with a plurality of second electronic devices, corresponding relations between the plurality of second electronic devices and a plurality of second identification information are respectively established, wherein the second identification information is used for uniquely identifying the second electronic devices;
caching the plurality of second identification information and the corresponding relation, and taking the plurality of second identification information as a plurality of preset identification information;
when an IP Multimedia Subsystem (IMS) telephone conference with a plurality of second electronic devices is successfully established, a first electronic device sends a conference event subscription request to a conference center, wherein the conference event subscription request is used for indicating the conference center to send a first notification message to the first electronic device when any one of the plurality of second electronic devices is changed;
receiving a first notification message issued by the conference center based on the conference event subscription request, wherein the first notification message carries a plurality of first identification information, and the plurality of second electronic devices correspond to the plurality of first identification information one to one;
judging whether the plurality of first identification information are consistent with a plurality of preset identification information, wherein the plurality of preset identification information are stored locally in the first electronic equipment;
when any one or any plurality of first identification information in the plurality of first identification information is inconsistent with the corresponding preset identification information, replacing the plurality of first identification information with the plurality of preset identification information to obtain first current identification information;
and displaying the first current identification information on a conference management interface of the first electronic equipment.
2. The method of claim 1, wherein after the displaying the first current identification information at the meeting management interface of the first electronic device, further comprising:
receiving a second notification message issued by the conference center, wherein the second notification message carries a plurality of pieces of first identification information and a plurality of pieces of state information, and the plurality of pieces of second electronic equipment, the plurality of pieces of first identification information and the plurality of pieces of state information are in one-to-one correspondence;
updating the plurality of preset identification information based on the plurality of first identification information and the plurality of state information to obtain second current identification information;
and updating the first current identification information into the second current identification information on the conference management interface.
3. The method of claim 2, wherein the plurality of status information includes departure information, and wherein updating the plurality of preset identification information based on the plurality of first identification information and the plurality of status information to obtain second current identification information comprises:
acquiring target identification information corresponding to the leaving information in the plurality of pieces of first identification information;
deleting target preset identification information corresponding to the target identification information in the plurality of preset identification information to obtain the second current identification information.
4. The method according to any one of claims 1-3, further comprising:
and when the plurality of first identification information is consistent with the plurality of preset identification information, displaying the plurality of first identification information on a conference management interface of the first electronic equipment.
5. The method according to any one of claims 1 to 3, wherein before receiving the first notification message sent by the conference center based on the conference event subscription request, the method further comprises:
the first electronic equipment initiates the conference event subscription request to the conference center in a first subscription mode;
and when the conference center returns a failure response, the first electronic equipment initiates the conference event subscription request to the conference center again in a second subscription mode.
6. The method according to claim 5, wherein when the first subscription mode is an out-of-session subscription mode, the second subscription mode is an in-session subscription mode, and when the first subscription mode is an in-session subscription mode, the second subscription mode is an out-of-session subscription mode.
7. An interface management apparatus, the apparatus comprising:
the establishing module is used for respectively establishing corresponding relations between the plurality of second electronic devices and a plurality of second identification information in the process that the first electronic device establishes the IMS teleconference with the plurality of second electronic devices, wherein the second identification information is used for uniquely identifying the second electronic devices;
the cache module is used for caching the plurality of second identification information and the corresponding relation and taking the plurality of second identification information as a plurality of preset identification information;
a sending module, configured to send, by a first electronic device, a conference event subscription request to a conference center when an IP multimedia subsystem IMS teleconference with a plurality of second electronic devices is successfully established, where the conference event subscription request is used to instruct the conference center to send a first notification message to the first electronic device when any one of the plurality of second electronic devices changes;
a receiving module, configured to receive a first notification message issued by the conference center based on the conference event subscription request, where the first notification message carries a plurality of first identification information, and the plurality of second electronic devices are in one-to-one correspondence with the plurality of first identification information;
the judging module is used for judging whether the plurality of first identification information are consistent with a plurality of preset identification information, wherein the plurality of preset identification information are stored locally in the first electronic equipment;
the replacing module is used for replacing the plurality of first identification information with the plurality of preset identification information when any one or a plurality of first identification information in the plurality of first identification information is inconsistent with the corresponding preset identification information, so as to obtain first current identification information;
and the display module is used for displaying the first current identification information on a conference management interface of the first electronic equipment.
8. An electronic device, comprising:
a screen;
a memory;
one or more processors respectively coupled to the screen and the memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-6.
9. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910033113.4A CN109802961B (en) | 2019-01-14 | 2019-01-14 | Interface management method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910033113.4A CN109802961B (en) | 2019-01-14 | 2019-01-14 | Interface management method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109802961A CN109802961A (en) | 2019-05-24 |
CN109802961B true CN109802961B (en) | 2021-06-15 |
Family
ID=66558935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910033113.4A Active CN109802961B (en) | 2019-01-14 | 2019-01-14 | Interface management method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109802961B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110971767B (en) * | 2019-12-18 | 2021-08-17 | 紫光展讯通信(惠州)有限公司 | Teleconference management method and device and readable storage medium |
CN112003978A (en) * | 2020-08-21 | 2020-11-27 | 惠州Tcl云创科技有限公司 | Conference management interface display method and device, storage medium and terminal equipment |
CN113434224B (en) * | 2021-05-24 | 2022-09-20 | 荣耀终端有限公司 | Conference information transmission method and electronic equipment |
CN114579193B (en) * | 2022-03-08 | 2024-01-12 | 国泰新点软件股份有限公司 | Multi-system loading method, device, equipment and storage medium |
CN114449112B (en) * | 2022-04-08 | 2023-06-16 | 荣耀终端有限公司 | Prompting method for telephone conference, electronic equipment and storage medium |
CN116743712B (en) * | 2022-10-21 | 2024-09-06 | 荣耀终端有限公司 | Telephone conference number display method and electronic equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1885111B1 (en) * | 2006-08-01 | 2011-03-02 | Alcatel Lucent | Conference server |
US7778231B2 (en) * | 2007-02-21 | 2010-08-17 | At&T Intellectual Property I, L.P. | System and method of communication in an IP multimedia subsystem network |
CN101127771B (en) * | 2007-09-28 | 2011-04-20 | 中兴通讯股份有限公司 | Method for displaying name of public user identifier of IP multimedia subsystem |
CN101478414B (en) * | 2009-02-03 | 2011-07-13 | 中兴通讯股份有限公司 | Method and system for implementing meeting service |
CN105282730B (en) * | 2014-05-26 | 2019-04-12 | 中国电信股份有限公司 | Terminal communications status acquisition methods and system and application server in IMS network |
-
2019
- 2019-01-14 CN CN201910033113.4A patent/CN109802961B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109802961A (en) | 2019-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109802961B (en) | Interface management method and device, electronic equipment and storage medium | |
US11641383B2 (en) | Method and apparatus for controlling sessions from one or more devices | |
US11412179B2 (en) | Video call continuity between devices via a telecommunications network | |
CN107534679B (en) | Method and system for endpoint control for a communication session | |
CN113055628A (en) | Displaying video call data | |
US20130198635A1 (en) | Managing Multiple Participants at the Same Location in an Online Conference | |
US10412123B2 (en) | Session initiation for multimedia services | |
US10778736B2 (en) | On demand in-band signaling for conferences | |
CN113099055A (en) | Communication method, system, device, electronic equipment and storage medium | |
EP2974159B1 (en) | Method, device and system for voice communication | |
JP6699862B2 (en) | Remote conference system, remote conference server, remote conference method and program | |
US9001980B2 (en) | Data communication | |
US9143536B2 (en) | Determining a location address for shared data | |
US8983043B2 (en) | Data communication | |
US20080117916A1 (en) | VoIP TERMINAL APPARATUS, VoIP COMMUNICATION SYSTEM AND PRESENCE CHECK METHOD THEREOF | |
US20150031341A1 (en) | Method for responding to push notification based communication request | |
CN115086595B (en) | Video conference control system, video conference control method and device | |
US9049310B2 (en) | Data communication | |
JP2012530304A (en) | Method and device for controlling presence information of a user terminal | |
CN116346988A (en) | Method and device for receiving incoming call | |
US8938055B2 (en) | System and method for establishing data communication using pre-configured user data | |
CN109923880B (en) | Conference flow control method and related equipment | |
CN116915936A (en) | Video conference communication method, device and storage medium | |
CN115865870A (en) | Audio and video intercommunication method and device, electronic equipment and storage medium | |
CN117376323A (en) | Real-time data interaction method, system and S-CSCF |
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 |