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.