CN113596256B - Interface display method, electronic device and storage medium - Google Patents

Interface display method, electronic device and storage medium Download PDF

Info

Publication number
CN113596256B
CN113596256B CN202110668607.7A CN202110668607A CN113596256B CN 113596256 B CN113596256 B CN 113596256B CN 202110668607 A CN202110668607 A CN 202110668607A CN 113596256 B CN113596256 B CN 113596256B
Authority
CN
China
Prior art keywords
call
application
interface
communication application
account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110668607.7A
Other languages
Chinese (zh)
Other versions
CN113596256A (en
Inventor
尹杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110668607.7A priority Critical patent/CN113596256B/en
Publication of CN113596256A publication Critical patent/CN113596256A/en
Application granted granted Critical
Publication of CN113596256B publication Critical patent/CN113596256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/30Security of mobile devices; Security of mobile applications
    • H04W12/37Managing security policies for mobile devices or for controlling mobile applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/80Wireless
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/60Details of telephonic subscriber devices logging of communication history, e.g. outgoing or incoming calls, missed calls, messages or URLs

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides an interface display method and electronic equipment, wherein in the method, a first application displays a first interface, and the first interface displays call record information of a first telephone number; the first interface comprises a first control; detecting a first operation on the first control; and responding to the first operation, and triggering a first communication application to initiate a call based on the first telephone number. The method and the device can provide a new call path for the user, and improve user experience.

Description

Interface display method, electronic device and storage medium
Technical Field
The application relates to the technical field of intelligent terminals, in particular to an interface display method and electronic equipment.
Background
In the electronic equipment of a user, such as a mobile phone, in interfaces which display user information of other users, such as a contact detail interface, a call record detail interface and the like, a 'dialing' control is provided for the user, and after the user selects the control, the electronic equipment initiates a call to the other users through an operator network.
The interface for displaying the user information of other users only provides a call mode for the user to initiate a call to other users through the operator network, and the provided call mode is too single.
Disclosure of Invention
The application provides an interface display method and electronic equipment, which can provide a new call mode for a user to select and improve user experience.
In a first aspect, an embodiment of the present application provides an interface display method, including: the first application displays a first interface, and the first interface displays call record information of a first telephone number; the first interface includes a first control; detecting a first operation on a first control; and responding to the first operation, and triggering the first communication application to initiate a call based on the first telephone number. The method includes displaying a first control on a first interface to trigger a first communication application to initiate a call. Therefore, a communication mode of communicating with the user to which the first telephone number belongs through the communication application is provided for the user, and user experience is improved.
In one possible implementation manner, the method further includes: and responding to the first operation, jumping from the first interface to a second interface, wherein the second interface is an interface displayed when the first communication application initiates a call.
In a possible implementation manner, before the first application displays the first interface, the method further includes: it is determined that the first communication application is logged into the first account.
In one possible implementation, triggering the first communication application to initiate a call based on the first phone number includes: and triggering the first communication application to dial the network telephone to the first telephone number.
In one possible implementation, triggering the first communication application to dial the network phone to the first phone number includes: the first application sends a first message to the first communication application, the first message comprising: the first phone number is used for facilitating the first communication application to respond to the first message and dial the network telephone of which the calling party is the second phone number and the called party is the first phone number, wherein the second phone number is a phone number associated with the first account number or a phone number bound with the electronic equipment where the first communication application is located.
In one possible implementation, triggering the first communication application to initiate a call based on the first phone number includes: and triggering the first communication application to initiate an in-application call to a second account, wherein the second account is a communication application account which is recorded in the contact information associated with the first account and corresponds to the first telephone number.
In one possible implementation manner, triggering the first communication application to initiate an intra-application call to the second account includes: the first application sends a second message to the first communication application, the second message comprising: the first phone number to facilitate the first communication application initiating an in-app call to the second account.
In a possible implementation manner, before the first application displays the first interface, the method further includes: the method comprises the steps of obtaining first information from a first communication application logged in a first account, wherein the first information is used for indicating that the first account has the permission of initiating a call.
In a possible implementation manner, the acquiring first information from a first communication application that has logged in a first account includes: the first application sends a third message to the first communication application; and receiving first information fed back by the first communication application in response to the third message, wherein the first information is used for indicating that the first account has the right to initiate the call.
In a possible implementation manner, before the first application displays the first interface, the method further includes: the method comprises the steps of obtaining first information and second information from a first communication application logged in with a first account, wherein the first information is used for indicating that the first account has the permission of initiating a call, and the second information is used for indicating that a communication application account corresponding to a first telephone number is recorded in contact person information associated with the first account.
In a possible implementation manner, the acquiring the first information and the second information from the first communication application that has logged in the first account includes: the first application sends a fourth message to the first communication application; and receiving the first information and the second information fed back by the first communication application in response to the fourth message.
In one possible implementation manner, the method further includes: the first interface includes a second control; detecting a second operation for a second control; and responding to the second operation, triggering the first application to initiate a call based on the first telephone number, wherein the second control and the first control correspond to different modes of the first communication application to initiate the call.
In one possible implementation, the first interface includes a first control and a second control, including: a third control is displayed in the first interface; and detecting a third operation aiming at a third control element, and displaying a third interface, wherein the first control element and the second control element are displayed in the third interface.
In one possible implementation manner, the method further includes: the first interface includes a fourth control; and detecting a fourth operation aiming at a fourth control, and triggering a second communication application of the logged account to initiate a call based on the first telephone number.
In one possible implementation manner, the contact information associated with the first account is employee information of an enterprise associated with the first account.
In a second aspect, embodiments of the present application provide an electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method of any one of the first aspect.
In a third aspect, embodiments of the present application provide a computer-readable storage medium, in which a computer program is stored, which, when run on a computer, causes the computer to perform the method of any one of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when run on a computer, causes the computer to perform the method of any one of the first aspect.
In a fifth aspect, the present application provides a computer program for performing the method of the first aspect when the computer program is executed by a computer.
In a possible design, the program in the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
Drawings
FIG. 1A is an exemplary diagram of a prior art call record main interface and a details interface;
FIG. 1B is a schematic diagram illustrating an implementation of a network telephone in the communication application of the present application;
FIG. 1C is a schematic view of a call interface in the communication application of the present application;
FIG. 2 is a schematic view of a call detail interface according to an embodiment of the present application;
FIG. 3A is a flowchart of an embodiment of an interface display method of the present application;
FIG. 3B is a flowchart of the inter-application authentication method of the present application;
FIG. 4 is a flow chart of another embodiment of an interface display method according to the present application;
FIG. 5 is a schematic diagram of a call detail interface according to an embodiment of the present application;
FIG. 6 is a flow chart of yet another embodiment of an interface display method of the present application;
FIG. 7 is a flow chart of yet another embodiment of an interface display method according to the present application;
FIG. 8 is a schematic view of a contact detail interface of the present application;
FIG. 9 is a schematic view of a contact details interface and a call record details interface of the present application;
FIG. 10 is a block diagram of a software architecture of an electronic device of the present application;
fig. 11 is a flowchart of an interface display method based on the software structure of the electronic device shown in fig. 7 according to an embodiment of the present application;
fig. 12 is a flowchart of an interface display method based on the software structure of the electronic device shown in fig. 7 according to an embodiment of the present application;
fig. 13 is a flowchart of an interface display method based on the software structure of the electronic device shown in fig. 7 according to an embodiment of the present application;
FIG. 14 is a block diagram of another software architecture for an electronic device of the present application;
fig. 15 is a schematic structural diagram of an embodiment of an electronic device according to the present application.
Detailed Description
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
When a call between an electronic device and another electronic device occurs, information of the call is stored, which may be referred to as a call record. The call behavior may include: the electronic equipment is used as a calling party to call other electronic equipment, and the conversation is not connected; the electronic equipment is used as a calling party to call other electronic equipment, and the conversation is connected; the electronic equipment is called by other electronic equipment as a called party, and the conversation is not connected; the electronic equipment is called by other electronic equipment as a called party, and the conversation is connected.
Taking a mobile phone as an example, when a user wants to view a call record in the mobile phone, the user enters a call record main interface, and a call record list is displayed in the main interface, for example, as shown in an interface 11 in fig. 1A; a user selects a certain call record to enter a detailed interface of the call record, user information of a user at a call opposite end is displayed in the detailed interface, and information such as a telephone number of the call opposite end in the call record can also be displayed generally, for example, as shown in an interface 12 in fig. 1A; a "dial" control is provided in the above-described detail interface, such as shown by control 101 in interface 12; after the user selects the control 101, the mobile phone dials a phone number of the opposite call end through the operator network to initiate a call to the user of the opposite call end, and the mobile phone displays an outgoing call interface, for example, as shown in an interface 13 in fig. 1A.
The electronic equipment is generally provided with an address book, the address book comprises a plurality of contact persons, each contact person generally has a corresponding natural person user, and the contact persons store communication information of the users, such as telephone numbers, names and the like of the corresponding users.
Taking a mobile phone as an example, when a user wants to view contact information in the mobile phone, the user enters a contact main interface, and a contact list is displayed in the contact main interface, for example, as shown in an interface 14 in fig. 1A; a user selects a certain contact person to enter a detail interface of the contact person, and information such as the name, the telephone number and the like of the contact person is displayed in the detail interface, for example, as shown in an interface 15 in fig. 1A; a "dial" control is provided in the contact's details interface, such as shown by control 102 in interface 15; after the user selects the control 102, the mobile phone dials the phone number of the contact through the carrier network to initiate a call to the corresponding user, and the mobile phone displays an outgoing call interface, for example, as shown in the interface 16 in fig. 1A.
The interface only provides a communication mode for the user to initiate communication to other users through the operator network, and the provided communication mode is too single.
Therefore, the interface display method and the electronic device can provide a new call mode for a user to select, and improve user experience.
Currently, communication applications are numerous. The communication application referred to in the embodiments of the present application refers to application software that enables online communication between users. Specific communication application the embodiments of the present application are not limited, and may be, for example
Figure BDA0003118220210000041
Figure BDA0003118220210000042
And the like.
In work, an enterprise to which a user belongs often designates a certain communication application for communication between employees in the enterprise for convenience and high efficiency of communication between the employees in the enterprise. In an example of the communication application provided in the present application, in the communication application, an enterprise may be established through an enterprise administrator account, and enterprise data, such as employee information within the enterprise, may be set, where the employee information within the enterprise may include but is not limited to: name, department in the enterprise, job title, telephone number, communication application account number, etc.; the enterprise data may be stored in a remote server of the communication application. The account number of the enterprise administrator can edit the employee information stored in the remote server, set the viewing authority of the enterprise employee information, set the viewing authority of the account number of a certain employee to the enterprise employee information, the authority of initiating a call to other employees in the enterprise through the enterprise employee information, and the like, so that the security of the enterprise employee information is ensured. In addition, the communication application provider can also provide different function use authorities for accounts of different enterprise employees based on enterprise customization.
Alternatively, the enterprise server may send the enterprise data to a remote server of the communication application, or update the enterprise data stored in the remote server.
After the user installs the communication application in the electronic equipment, the user logs in the communication application by using the account. If the account and the employee information corresponding to the account are stored in the enterprise data in advance, the account may be associated with the enterprise and the employee information. Alternatively, if the account is not stored in the enterprise data, the user may set the associated enterprise and employee information in the account. If the user has the authority, the user can modify the employee information associated with the account number, such as the name, the department in the enterprise, the role, the telephone number and the like, so as to update the corresponding data stored in the remote server.
Taking enterprise a as an example, the remote server may store employee information of a plurality of employees of enterprise a, for example, as follows
Shown in table 1.
Department of department Job title Name(s) Telephone number Account number
Department
1 Group leader Zhao xx 12345678911 Account number 1
Department 1 Group member Money xx 12345678922 Account 2
Department 2 Group leader Grandson xx 12345678933 Account number 3
TABLE 1
After a user logs in the communication application by using the account, the user can request to view the employee information of the enterprise to which the user belongs, and the communication application can acquire the employee information of the account-related enterprise from the remote server and display the employee information to the user. If the communication application provides a dialing control for the user, the user can initiate a call with other employees in the communication application based on the displayed employee information, and the call can be realized by a network telephone initiated based on the telephone numbers of the user and other employees, or a voice call initiated based on the communication application account number of the user and the communication application account number of a certain employee in the communication application. Each communication application may support one or more of the above telephony implementations.
For example, after the employee zhao xx in the enterprise a logs in the communication application of the electronic device by using the account 1, the employee information viewing function provided by the communication application may be selected, and accordingly, the communication application may obtain the employee information of the enterprise a associated with the account 1 from the remote server, for example, table 1 above, and display the obtained employee information of the enterprise a on an interface of the electronic device for the user zhao xx to view.
If the employee Zhao xx selects a certain employee, for example, the grandchild xx initiates the network telephone to the grandchild xx. The following illustrates the principles of implementation of a communication application supporting a dialed network phone. As shown in fig. 1B, the network telephone relates to the following network structure: cell-phone 1, remote server, call center and cell-phone 2.
The phone number of the mobile phone 1 is "1234567911", the mobile phone 1 is installed with a communication application, the user "zhao xx" logs in the communication application by using the account 1, the account 1 is associated with the phone number "12345678911" of the user, the user "zhao xx" selects a certain contact "grandchild xx" under the account 1, and enters a contact interface, for example, as shown in an interface 17 in fig. 1C, the phone number of the contact "grandchild xx" is "12345678933", and it is assumed that the mobile phone 2 is a mobile phone bound with the phone number "12345678933"; the user 'Zhao xx' selects a 'network telephone' dialing control to trigger the contact person 'Sun xx' to dial a network telephone with a telephone number '12345678933'; at this time, the following network telephone dialing procedure may be performed:
the communication application of the mobile phone 1 sends a network telephone dialing request to the remote server, wherein the network telephone dialing request carries: account 1, the telephone number "12345678911" as the calling party's handset 1, the telephone number "12345678933" as the called party's contact "grandchild xx"; or, the network telephone dialing request carries: account 1 as the calling party, the telephone number "12345678933" as the called party's contact "grandchild xx".
And the remote server responds to the network telephone dialing request and sends a call request to the call center. If the network telephone dialing request carries the telephone number of the calling party "12345678911" and the telephone number of the called party "12345678933", the call request also carries the telephone number of the calling party "12345678911" and the telephone number of the called party "12345678933"; if the network telephone dials the telephone number "12345678933" carrying account number 1 and called party in the request, the remote server obtains the telephone number "12345678911" associated with account number 1, and correspondingly, the telephone number "12345678911" associated with account number 1 in the call request is taken as the calling party number and also carries the called party number "12345678933".
If the electronic device is bound with 2 phone numbers, the communication application can select a preset default phone number or independently select 1 phone number, for example, select a phone number with high use frequency and long use time in the last period of time.
The call center responds to the call request, and dials back the telephone number "12345678911" of the calling party and the telephone number "12345678933" of the called party, namely sends call requests to the mobile phone 1 and the mobile phone 2 respectively;
the mobile phone 1 and the mobile phone 2 respectively receive the incoming call request, the user "zhao xx" answers the call in the mobile phone, the user "sun xx" answers the call in the mobile phone 2, and then the mobile phone 1 and the mobile phone 2 establish call connection through the call center to realize the call, namely the user "zhao xx" and "sun xx" realize the call.
If the employee zhao xx selects a certain employee, for example, the grandchild xx initiates a voice call in the communication application to the grandchild xx, correspondingly, the communication application may send a call request to the communication application in which the account 3 is logged in another electronic device, and the grandchild xx may receive the call request in the communication application.
It should be noted that, because the update frequency of the employee information of the enterprise is relatively low, the communication application may store the employee information of the enterprise, which is obtained by the communication application from the remote server, for example, table 1 above, in the electronic device where the communication application is located, and set an effective duration for the electronic device, within the effective duration, the user requests to view the employee information of the enterprise, the communication application displays the stored employee information of the enterprise to the user, and if the effective duration is exceeded, the communication application obtains the employee information of the account associated with the enterprise from the remote server again, displays the newly obtained employee information of the enterprise to the user, and updates the employee information of the enterprise stored in the electronic device.
It should be noted that, in the above description, an account is taken as an example of associating one enterprise, in an actual application, one account may be associated with a plurality of enterprises, and when logging in the account in the communication application, the communication application may obtain employee information of the plurality of enterprises associated with the account from a remote server.
In one example provided herein, the following applications are provided in an electronic device: a contacts application, a telephony application. The call application is used for displaying an incoming call interface, an outgoing call interface and an interface in call to a user and completing corresponding data processing corresponding to the interfaces, for example, sending a call request to an operator network side through electronic equipment, receiving a request sent by the operator network side, and the like. The contact person application is used for providing interfaces such as a call record main interface, a call record detail interface, an address list main interface, a contact person detail interface and a dialing interface for a user and completing corresponding data processing corresponding to the interfaces. It should be noted that the above applications are only examples, and in practical applications, the implementation of the call application and the contact application in the electronic device may differ based on the difference of the application implementation function division. For example, the call application and the contact application are implemented by one application, or the functions of the call application and the contact application are different.
According to the interface display method provided by the embodiment of the application, besides the conventional call mode of initiating the call through the operator network, the call mode of initiating the call through the communication application is provided for the user to select, so that the user can flexibly select the mode of the call with other users, and the user experience is improved.
The following provides an exemplary description of an implementation of the interface display method according to the embodiment of the present application.
Taking the electronic device as an example, a mobile phone, fig. 2 shows an example of a scene to which the interface display method of the present application is applied. In fig. 2, an interface 21 and an interface 22 are respectively an exemplary diagram of a call detail interface provided by the interface display method according to the embodiment of the present application, where the call detail interface is used to display detailed information of one call record.
In the call record displayed on the interface 21, the telephone number of the opposite-end user is a strange number, that is, the telephone number is not stored in the address list of the mobile phone, so that the interface 21 displays the telephone number "12345678900" of the opposite-end user, as well as the control 201 and the control 202. After the control 201 is selected by the user, the electronic device initiates a call to the opposite-end user based on the telephone number "12345678900" by using the carrier network, and the interface jumps to an outgoing interface of the electronic device, for example, as shown in the interface 13 in fig. 1A. After the control 202 is selected by the user, the communication application "X application" may be triggered to initiate a call to the opposite-end user based on the phone number "12345678900", the interface jumps to a call interface of the communication application, if the jump is successful, the call interface of the communication application is displayed, for example, as shown in the interface 22 in fig. 2, and if the jump is failed, a jump failure prompt interface, for example, as shown in the interface 23, may be displayed.
In the call record displayed on the interface 24, the phone number of the opposite end user is stored in the address book of the mobile phone, so that the interface 22 displays the contact information corresponding to the phone number, such as the name "zhan xx" and the phone number "12345678900" shown in fig. 2. Also displayed in interface 22 are controls 201 and 202. After the control 201 is selected by the user, the electronic device initiates a call to the opposite end user based on the telephone number "12345678900" by using the carrier network, and the interface is similar to the interface 16 in fig. 1A. After the control 202 is selected by the user, the communication application "X application" may be triggered to initiate a call to the opposite-end user based on the phone number "12345678900", the interface jumps to a call interface of the communication application, if the jump is successful, the call interface of the communication application is displayed, for example, as shown in an interface 25 in fig. 2, and if the jump is failed, a jump failure prompt interface may be displayed, for example, as shown in an interface 23.
Fig. 3A is a flowchart of an embodiment of an interface display method according to the present application based on the scenario shown in fig. 2. As shown in fig. 3A, the method may include:
step 301: a detail query operation directed to the first call record is detected.
The first call record is any one of a plurality of call records stored in the electronic equipment.
For example, referring to the call record main interface 11 in fig. 1A, the user selects a certain call record in the call record main interface 11, and accordingly, the electronic device detects a detail query operation for the call record.
Step 302: and responding to the detail inquiry operation, and acquiring the call permission information of the first account from the communication application logged in the first account.
The call permission information is used for recording whether the first account has the permission to initiate a call through the communication application. The call authority information may include, but is not limited to: having the right to initiate a call and not having the right to initiate a call.
The communication application may set a database in the electronic device, where the contact information associated with the first account, the call permission information of the first account, and the like are stored. In this step, the communication authority information of the first account may be acquired from a database of the communication application.
It should be noted that, the information stored in the database may be information obtained by pushing, by a remote server of the communication application, the changed information to the communication application when the information changes, or may be information obtained by querying, by the communication application, whether data associated with the first account in the remote server changes or not from the remote server, and when the data changes, the data stored in the electronic device is updated based on the data in the remote server.
Optionally, this step may include: the method comprises the steps that a first application sends a first message to a communication application, wherein the first message is used for requesting conversation authority information of a first account; the first application receives the communication authority information fed back by the communication application.
The first application is an application that is set in the electronic device and used for interacting with a communication application and acquiring call permission information, and the first application may be a contact application or a call record detail processing application, or an application other than the contact application or the call record detail processing application, which is not limited in the embodiment of the present application.
Optionally, when the information query is performed between the first application and the communication application, the information query may be implemented by using a standard interface provided by an operating system of the electronic device, or an information query interface between the first application and the communication application may be customized by a developer of the first application and the communication application. Taking an example that an operating system of the electronic device is an android system, the android system comprises a ContentProvider component, and the component can share data among applications of the android system in a standardized manner. The query of the communication authority information can be realized by using a standard interface defined by a ContentProvider component between the first application and the communication application, the first application can obtain a Uniform Resource Identifier (URI) for querying the communication authority information from a database of the communication application according to predefined query parameters, and correspondingly, the communication application can return corresponding authority information to the first application. The information carried in the search results may be specified by column names.
Optionally, for security of communication between the first application and the communication application, the first application and the communication application may be mutually authenticated, and after the authentication between the first application and the communication application is passed, data interaction may be performed between the first user and the communication application. The authentication may be verification of the package name and signature of the peer application. The application package name is a unique identification of the application on one device, and the application signature is used to uniquely identify the application developer.
The procedure for the first application to authenticate the communication application is described as follows: the electronic device may preset a white list, the white list records packet names and signatures of a plurality of applications, the first application obtains the packet names and signatures of the communication applications, the packet names and signatures are compared with the packet names and signatures applied in the white list, if the packet names and signatures are consistent with the packet name and signature applied in one of the applications, the authentication is successful, otherwise, the authentication fails. The authentication process of the communication application to the first application may also refer to the above authentication process, which is not described herein again.
The following illustrates the procedure for mutual authentication between the first application and the communication application. Referring to FIG. 3B:
the first application sends an authentication request to the communication application, wherein the authentication request carries the package name and the signature of the first application;
and the communication application receives the authentication request, authenticates the packet name and the signature of the first application, and sends a feedback message to the first application according to the authentication result. If the authentication is successful, the feedback message can carry the packet name and the signature of the communication application, and if the authentication is failed, the feedback message can carry information for indicating the authentication failure;
the first application receives the feedback message, if the feedback message indicates that the authentication fails, the authentication process is ended; and if the feedback message carries the package name and the signature of the communication application, authenticating the package name and the signature of the communication application to obtain an authentication result, and ending the authentication process.
In other possible implementations, the first application may also call an authentication application preset in the electronic device, and the authentication with the communication application is implemented through the authentication application.
If the first application successfully authenticates the communication application, the first application can send the first message to the communication application to acquire the employee information.
It should be noted that this step may not be executed, at this time, if the first account has the call permission, the user selects the first control in the subsequent step 304, after the electronic device detects the selection operation for the first control, the communication application may initiate a call, and the interface successfully jumps to a call interface of the communication application, for example, as shown in interface 22 or interface 25 in fig. 2; if the first account does not have the call permission, in subsequent step 304, the user selects the first control, and after the electronic device detects the selection operation directed to the first control, the communication application cannot complete the operation of initiating the call, so that the communication application may display a call failure prompt interface, for example, as shown in interface 23 in fig. 2; alternatively, if the communication application is not logged in, the electronic device may also display a call failure prompt interface, such as interface 23 in fig. 2. It should be noted that the information prompted in the call failure prompting interface may be the "call failure" or a more specific reason for the call failure, for example, the communication application is not logged in, the first account does not have a call authority, and the like, which is not limited in the embodiment of the present application.
Step 303: and if the call permission information indicates that the first account has the permission to initiate the call, displaying a first control on a call detail interface of the first call record.
The first control is used for triggering the communication application logged into the first account to initiate a call based on the opposite-end telephone number in the first call record after the first control is selected.
If the call permission information indicates that the first account does not have the permission to initiate a call, the call detail interface may not display the first control.
Step 304: and when the selection operation aiming at the first control is detected, triggering the communication application which has logged in the first account to initiate a call based on the telephone number of the opposite-end user in the first call record, and jumping to a call calling interface of the communication application.
The call interface is an interface displayed by the communication application when a call is initiated.
In a possible implementation manner, if the communication application only supports the first account to dial a network phone based on a phone number of a peer user, the triggering the communication application logged in the first account to initiate a call based on the peer phone number in the first call record may include:
and triggering the communication application to dial the network telephone to the opposite-end user based on the opposite-end telephone number of the first call record.
The step may specifically include: the preset application sends a network telephone dialing request message to the communication application, and the network telephone dialing request message may include: the phone number associated with the electronic equipment where the communication application is located, and the phone number of the opposite terminal.
Optionally, when the request message is sent between the preset application and the communication application, the request message may be sent using a standard interface provided by an operating system of the electronic device, or a network telephone dialing interface between the preset application and the communication application may be customized by a developer of the preset application and the communication application. Taking an example that an operating system of the electronic device is an android system, the android system comprises a ContentProvider component, and the component can share data among applications of the android system in a standardized manner. The preset application and the communication application can use a standard interface defined by a ContentProvider component to realize the dialing request of the network telephone, for example, a parameter for network telephone dialing can be predefined, and a parameter value can be defined, for example, a parameter action and an extra can be defined, the parameter value of the parameter action can indicate that the network telephone dialing needs to be executed to the target application, and the parameter value of the parameter extra can indicate the telephone number of a called party or indicate the telephone number of a calling party and the telephone number of the called party to the target application; the network telephone dialing request carries the parameter values of the parameters, and the network telephone can be requested to be dialed to the communication application.
It should be noted that, the electronic device where the communication application is located may be provided with 2 sim cards so as to bind 2 phone numbers, and at this time, which phone number is specifically carried in the network phone dialing request is specifically carried, which is not limited in the embodiment of the present application. For example, one of 2 telephone numbers may be preset in the electronic device as a default telephone number, or a user sets a telephone number in the electronic device as the default telephone number in advance, and the default telephone number may be carried in the network telephone dialing request message as a calling party telephone number; or, the electronic device may also autonomously select a telephone number that is relatively more frequently used by the user as the telephone number of the calling party based on parameters such as the frequency and duration of use of the 2 telephone numbers in the last period of time, and the like.
It should be noted that before sending the network telephone dialing request message to the communication application, the validity processing and/or formatting processing may be further performed on the telephone number of the calling party (the telephone number associated with the electronic device where the communication application is located) and the telephone number of the called party (the opposite-end telephone number of the call record) that need to be carried, so as to convert the telephone numbers into valid numbers meeting the requirements of the communication application.
Among them, the validity process may include but is not limited to: some non-numeric characters included in the telephone number, such as ".", "; "etc.
The formatting process mainly converts the telephone number into a number meeting the preset format requirement. For example, if a certain telephone number is "+8612345678900" which has a prefix "+86", and a preset format requirement requires that the telephone number does not have prefixes such as "+86", "0086", etc., the above-mentioned number "+8612345678900" may be formatted into a number "12345678900" through a formatting process; for another example, if a certain telephone number is "12345678900" which does not have a prefix of "+86", and the preset format requirement requires that the telephone number have a prefix of "+86", the above-mentioned number "12345678900" can be formatted into the number "+8612345678900" through the formatting process. For the validity detection and the formatting process, reference is made to the foregoing description for a specific method, which is not described herein again.
In another possible implementation manner, if the communication application supports the first account to initiate a call with an account of another communication application, and also supports the first account to dial the internet phone based on the opposite-end phone number, which manner the communication application specifically selects to initiate a call to the opposite-end user in the first call record may be determined by the communication application. For example, if a second account associated with an opposite-end phone number is stored in the contact information associated with the first account, the call application may select to initiate a call between the first account and the second account, otherwise, initiate a call by dialing a network phone, and then the triggering the communication application that has logged in to the first account may initiate a call based on the opposite-end phone number in the first call record, including:
the preset application sends a call request message to the communication application, where the call request message may include: the phone number associated with the electronic equipment where the communication application is located, and the phone number of the opposite terminal.
At this time, the call application receives the call request message, and may autonomously select to dial the network phone or initiate the intra-application call. Correspondingly, based on the operation, the communication application can be triggered to dial the network telephone based on the opposite-end telephone number of the first call record; or, the communication application may also be triggered to initiate a call to a second account, where the second account is a communication application account corresponding to the opposite-end phone number in the contact information associated with the first account.
The contact information associated with the first account may be: the first account is associated with employee information of the enterprise, for example, as shown in table 1 above; the application account information may also be friend account information of the first account, for example, in various instant address lists, each application account may be associated with a plurality of other application accounts as friends, and the application accounts associated with the application accounts and serving as friends are referred to as friend account information.
The specific implementation of the call request message may refer to the implementation of the network telephone dialing request message, and the difference is that the network telephone dialing request message may indicate that the call mode is the network telephone, and the call mode does not need to be specified in the call request message.
Before sending the call request message to the communication application, validity processing and formatting processing may also be performed on the telephone number of the calling party and the telephone number of the called party, which need to be carried in the call request message, and the specific method is not described in detail.
In another possible implementation manner, if the communication application only supports the first account to initiate a call with other communication application accounts, the triggering the communication application logged in the first account to initiate a call based on the opposite-end phone number in the first call record may include:
and triggering the communication application to initiate a call to a second account, wherein the second account is a communication application account corresponding to the opposite-end telephone number in the contact information associated with the first account.
The step may specifically include: the preset application sends an intra-application call request message to the communication application, where the intra-application call request message may include: the opposite terminal telephone number.
Correspondingly, the call application receives the in-application call request message, may find a second account corresponding to the opposite-end phone number from the contact information associated with the first account according to the opposite-end phone number, initiate a call request to the second account, and display a call interface, for example, as shown in interface 25 in fig. 2.
The specific implementation of the in-application call request message may refer to the implementation of the network telephone dialing request message, and the difference is that the network telephone dialing request message may indicate that the call mode is a network telephone, and the in-application call request message may specify that the call mode is an in-application call.
Before sending the in-application call request message to the communication application, validity processing and formatting processing may also be performed on the opposite-end telephone number that needs to be carried by the in-application call request message, and the specific method is not described in detail.
It should be noted that in this implementation, if the contact information associated with the first account does not include a communication application account corresponding to the opposite-end phone number, the communication application may display a call failure prompt interface, for example, as shown in an interface 23 in fig. 2, to prompt the user of a call failure. The call failure prompt interface may prompt the call failure as shown in the interface 23, or may prompt a specific failure reason, for example, "account not found", and the like.
Fig. 4 is a flowchart of another embodiment of the interface display method according to the present application based on the scenario shown in fig. 2. The embodiment shown in fig. 4 is provided to solve the above problem by providing that, if the communication application only supports initiating an intra-application call, after the first control is displayed in step 303, a problem may occur that the user selects the first control but cannot successfully initiate a call through the communication application. As shown in fig. 4, the method may include:
step 401: a detail query operation for the first call record is detected.
Step 301 may be referred to for implementation of this step, and details are not described here.
Step 402: and responding to the detail inquiry operation, and acquiring the call permission information and the call capability information of the first account from the communication application logged in the first account.
The call capability information is used for indicating whether a communication application account corresponding to the opposite-end telephone number is recorded in the contact information associated with the first account.
In this step, a first message may be sent from the first application to the communication application, where the first message includes an opposite-end phone number, and the first message is used to request the call permission information and the call capability information; the communication application receives the first message, acquires communication authority information of the first account, and searches whether a communication application account corresponding to the phone number is recorded in contact information associated with the first account according to the opposite-end phone number; and the communication application feeds back the conversation authority information and the conversation capacity information to the first application.
The first application is an application preset in the electronic device and used for interacting with a communication application and acquiring information, and the first application may be a contact application or a call record detail processing application, or an application other than the contact application or the call record detail processing application, which is not limited in the embodiment of the present application.
It should be noted that the communication application may complete the determination of the call permission information and the call capability information based on data recorded in a database of the communication application, and may also complete the determination of the call permission information and the call capability information based on data recorded by a remote server.
Optionally, when the information query is performed between the first application and the communication application, the information query may be implemented by using a standard interface provided by an operating system of the electronic device, or the information query interface between the first application and the communication application may be customized by a developer of the first application and the communication application. Taking an example that an operating system of the electronic device is an android system, the android system comprises a ContentProvider component, and the component can share data among applications of the android system in a standardized manner. The first application and the communication application can use a standard interface defined by the ContentProvider component to realize the query of the call permission information and the call capability information, the first application can obtain a Uniform Resource Identifier (URI) for querying the call permission information and the call capability information from a database of the communication application according to the predefined query parameters, and correspondingly, the communication application can return the corresponding call permission information and the call capability information to the first application. The information carried in the search results may be specified by column names.
Before the telephone number of the opposite-end user is sent to the communication application through the first message, validity processing and/or formatting processing can be carried out on the telephone number, and therefore the telephone number is converted into a valid number meeting the requirements of the communication application. The specific implementation manner of the efficiency processing and the format processing may refer to the related description in step 304, which is not described herein again.
Step 403: and if the call permission information is the permission for initiating the call and the call capability information is the call capability, displaying a call detail interface of the first call record, and displaying a second control on the call detail interface, wherein the second control is used for triggering the communication application logged in the first account to initiate the call to the second account after being selected.
Step 404: and detecting a selection operation aiming at the second control, triggering the communication application logged in the first account to initiate a call to the second account, and jumping to a call interface of the communication application.
The step may specifically include: the preset application sends an in-application call request message to the communication application, where the in-application call request message may include: the opposite terminal telephone number.
Correspondingly, the call application receives the in-application call request message, may find a second account corresponding to the opposite-end phone number from the contact information associated with the first account according to the opposite-end phone number, initiate a call request to the second account, and display a call interface, for example, as shown in interface 25 in fig. 2.
According to the method, a call mode that the user communicates with other users through a call function in the communication application is provided for the user on a detailed interface of the call record, so that more call modes are provided for the user, and the user experience is improved. The method is particularly suitable for the scene of triggering the communication application which only supports the call in the initiating application to initiate the call. At the moment, the first control is displayed only under the condition that the second account exists in the communication application, so that the success rate of the user for initiating the call based on the first control is improved, and the user experience is improved.
In the above embodiment, the first control is displayed, which may trigger the communication application to dial a network phone call or initiate an inter-account call. If the communication application only supports the network telephone or the in-application call, only one control is displayed or not in the detail interface of the call record, and if the communication application supports the network telephone and the in-application call, only one control is displayed, and the communication application selects a mode for initiating the call. In another embodiment provided by the present application, if the communication application supports multiple call initiating modes, a corresponding control may be set based on each call mode. The following is still an example of a communication application supporting making network phone calls and intra-application communication. Referring to the interface 51 in fig. 5, the control 501 and the control 502 are included, the control 501 is configured to trigger the communication application to dial a network phone based on a phone number of a call opposite end after being selected, and the control 502 is configured to trigger the communication application to initiate a call to the second account after being selected. So that the user can select a call mode.
It should be noted that a specific manner in which the control 501 and the control 502 are displayed to the user is not limited in this embodiment of the application, for example, as shown in the interface 51 by displaying the control 501 and the control 502 simultaneously through a detail interface of a call record, in another possible implementation manner, as shown in the interface 52, a control 503 may be displayed in the detail interface, the control 503 is used for jumping to the control display interface 53 after being triggered, and the control 501 and the control 503 are displayed in the control display interface 53 for the user to select.
Based on the scenes shown in the interface 51 and the interface 52, a flowchart of the interface display method according to the embodiment of the present application is shown in fig. 6, and steps 303 to 304 are replaced with steps 601 to 602, which are described below, in comparison with the embodiment shown in fig. 3A.
Step 601: and if the call permission information indicates that the first account number has the permission to initiate the call, displaying a first control and a second control on a call detail interface of the first call record.
The first control is used for triggering the communication application to dial the network telephone based on the opposite-end telephone number after being selected; the second control is used for triggering the communication application to initiate a call to a second account after the second control is selected, wherein the second account is a communication application account corresponding to an opposite-end telephone number in the contact information associated with the first account.
If the call permission information indicates that the first account does not have the permission to initiate a call, the call detail interface may not display the first control and the second control.
Step 602: if the selection operation aiming at the first control is detected, triggering the communication application which has logged in the first account to initiate a call based on the opposite-end telephone number in the call record, and jumping to a call calling interface of the communication application; or if the selection operation aiming at the second control is detected, triggering the communication application logged in the first account to initiate a call to the second account, and jumping to a call interface of the communication application.
In this step, the triggering the communication application that has logged in the first account initiates a call based on the phone number of the opposite-end user in the first call record, and the implementation of triggering the communication application that has logged in the first account to initiate a call to the second account may refer to the corresponding description in step 304, which is not described herein again.
It should be noted that, if a selection operation for the second control is detected, the communication application logged in the first account is triggered to initiate a call to the second account, and if the contact information associated with the first account does not include a communication application account corresponding to the opposite-end phone number, that is, the second account, the communication application cannot find the communication application account according to the opposite-end phone number, so that an in-application call cannot be initiated, and a call failure prompt interface, for example, as shown in an interface 23 in fig. 2, may be displayed to prompt the user that the call fails. The call failure prompt interface may prompt the call failure as shown in the interface 23, or may prompt a specific failure reason, for example, "account not found", and the like.
In the embodiments shown in fig. 5 and fig. 6, if the first account has the right to initiate a call, 2 controls are simultaneously displayed on the detailed interface of the call record, and respectively correspond to 2 call initiating manners supported by the communication application. In another embodiment provided by the application, whether the control corresponding to which call mode is displayed and which is displayed in the detail interface of the call record can be determined according to the actual situation. Therefore, in this embodiment, the detail interface of the call record may not display the control corresponding to the communication application, as shown in interfaces 12 and 15 in fig. 1A; only 1 control may be displayed to trigger a control of the communication application to dial the network call, as shown in interface 21 and interface 24 in fig. 2; 2 controls may also be displayed for triggering the communication application to dial the internet phone and the intra-application call, respectively, as shown in fig. 5, interfaces 51 to 53.
Based on this scenario, for example, as shown in fig. 7, a flowchart of an interface display method according to the embodiment of the present application replaces step 403 and step 404 in the method shown in fig. 4 with the following steps 701 to 702.
Step 701: if the call permission information indicates that the call has the permission to initiate the call and the call capability information indicates that the call capability exists, displaying a first control and a second control on a call detail interface of the first call record; and if the call authority information is that the call has the authority of initiating the call and the call capability information is that the call capability does not exist, displaying a first control on a call detail interface.
And if the call permission information does not have the permission of initiating the call, the first control and the second control are not displayed on the call detail interface.
Step 702: if the selection operation aiming at the first control is detected, triggering the communication application which has logged in the first account to initiate a call based on the telephone number of the opposite-end user in the first call record, and jumping to a call interface of the communication application; or if the selection operation aiming at the second control is detected, triggering the communication application logged in the first account to initiate a call to the second account, and jumping to a call interface of the communication application.
Step 602 may be referred to for implementation of this step, and details are not described here.
Taking the electronic device as an example, fig. 8 shows an example of a scene to which the interface display method of the present application is applied. Referring to fig. 8, an interface 81 is an exemplary diagram of a contact details interface provided by an interface display method according to an embodiment of the present application, where the contact details interface is used to display details of a contact.
The interface 81 displays the detailed information of the contact, for example, the detailed information of the contact displayed in the interface 81 is: name "zhang xx", telephone number "12345678900". Also displayed in interface 81 are controls 801 and 802. After the control 801 is selected by the user, the mobile phone uses the operator network to dial the telephone number "12345678900" of the contact person, and the interface jumps to the outgoing interface of the mobile phone. After the control 802 is selected by the user, the communication application is triggered to initiate a call based on the telephone number "12345678900" of the contact, and the interface jumps to a call interface of the communication application.
Further, the contact details interface may also display 2 controls, which respectively correspond to different call modes of the communication application, for example, as shown in the interface 82, the interface includes a control 803 and a control 804, the control 803 is used to trigger the communication application to initiate a network phone, and the control 804 is used to trigger the communication application to initiate an in-application call.
The interface 83 and the interface 84 show another method for displaying the control 803 and the control 804, the interface 83 displays a control 805, the interface 84 is displayed after the control 805 is triggered, and the control 803 and the control 804 are displayed in the interface 84.
The implementation of the interface display method of the present application based on the scenario shown in fig. 8 can refer to the embodiments shown in fig. 3A to fig. 7, and the differences mainly lie in: the call record is replaced by a contact, and the call detail interface of the call record is replaced by a contact detail interface.
According to the embodiment, the communication mode that the user communicates with other users through the communication function in the communication application is provided for the user on the contact detail interface, so that more selectable communication modes are provided for the user, and the user experience is improved.
In the above embodiment, by taking as an example that a first control corresponding to one communication application is added in a call detail interface of a call record or a contact detail interface, if a plurality of communication applications are installed in the electronic device, and all of the plurality of communication applications support a function of initiating a call. A plurality of first controls can be displayed in the call detail interface or the contact detail interface provided in the embodiment of the present application, each first control corresponds to one communication application, and the corresponding communication application can be triggered to initiate a call to another user. Referring to fig. 9, each of the interfaces 91 to 93 includes 2 first controls as an example, the interface 91 is a call detail interface of a strange call, the interface 92 is a call detail interface of a contact, and the interface 93 is a contact detail interface. The three interfaces all include: control 901, control 902, and control 903, wherein after control 901 is selected by the user, the mobile phone dials the phone number "12345678900" using the carrier network; the control 902 corresponds to the communication application 1, after the control 702 is selected by a user, the communication application 1 is triggered to initiate a call based on the telephone number "12345678900", and the interface jumps to a call interface of the communication application 1; the control 903 corresponds to the communication application 2, after the control 903 is selected by a user, the communication application 2 is triggered to initiate a call based on the telephone number "12345678900", and the interface jumps to a call interface of the communication application 2.
Further, referring to fig. 9, the interfaces 94 to 96 show that the application 1 corresponds to a control 904 and a control 905, and the application 2 corresponds to a control 906 and a control 907, which correspond to different call paths of the applications respectively.
Fig. 10 is a block diagram illustrating a software structure of an electronic device according to an embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android (Android) system is divided into four layers, an application layer, a framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
An Application layer (App) may comprise a series of Application packages. As shown in fig. 10, the application package may include a call service application, an address book application, and the like. In addition, the application layer can be divided into three modules of an interface, logic and data, and the modules communicate with each other through software interfaces. The interface module is used for displaying information for user interaction; the logic module is used for processing information; the data module is used for storing data.
Specifically, as shown in fig. 10, the interface module includes:
and the detail interface processing module is used for displaying the call detail interface.
And the call interface processing module is used for displaying a call interface of the communication application.
The logic module comprises:
and the detail processing module is used for processing data related to the conversation details.
And the system authentication and certification module is used for authenticating the application of the access number identification module and authenticating the application of the calling number identification module for reading the contact information. Optionally, the system authentication and authentication module may store a first white list and a second white list, where the first white list stores authentication information of an application that can access the number identification module, and the second white list stores authentication information of an application that can call the number identification module to read contact information. The authentication information of the application may include a package number and a signature of the application. When other applications access the number identification module, whether the applications are recorded in a first white list or not can be determined according to the package numbers and the signatures of the applications, if so, the authentication of the applications is successful, otherwise, the authentication of the applications is failed; similarly, when other applications call the number recognition module to read the contact information, whether the application is recorded in the second white list or not can be determined according to the package number and the signature of the application, if so, the authentication of the application is successful, otherwise, the authentication of the application fails.
And the number identification module is used for interacting with the detail processing module, the authentication module, the enterprise data module and the like, acquiring first information and feeding the first information back to the detail processing module.
And the call processing module is used for initiating an outgoing call process in the communication application.
The number validity detection module is used for detecting the validity of the telephone number.
The number formatting module is used for converting the invalid telephone number into a valid number.
The first authentication module is used for being matched with the number identification module to authenticate the communication application.
The second authentication module is an authentication module of the communication application and is used for authenticating other applications which perform data interaction with the communication application.
The enterprise data module is used for storing contact information under a logged account in the communication application and/or staff information of a logged account related enterprise.
The call processing module, the first authentication module and the enterprise data module can be modules in communication application.
The Framework layer (FWK) provides an Application Programming Interface (API) and a programming Framework for an application program of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 10, the framework layer includes a communication protocol framework. The communication protocol framework is used for realizing the transmission of call data. The framework layer may also include an audio framework, a rendering module for drawing, and the like.
The system library may include a plurality of functional modules. Such as the audio processing module, transmission channel module, and display processing module shown in fig. 7.
The kernel layer is a layer between hardware and software. The kernel layer may contain display drivers, IPC communications, audio drivers, etc.
Fig. 11 illustrates an interface display method based on the software structure of the electronic device according to an embodiment of the present application. As shown in fig. 11, the method for displaying an interface shown in fig. 3A can be implemented, and specifically, the detail processing module is used to implement step 301; the detail processing module, the number identification module and the enterprise data module are used for realizing the step 302; the detail processing module and the detail interface processing module are used for realizing the step 303, so that the display of a first control in the call detail interface is realized; a detail interface processing module, a detail processing module, a call processing module, a communication protocol framework, and a call interface processing module are used to implement step 304. Furthermore, in the process of executing step 302, a permission authentication step for accessing the number identification module by other applications is added, and is realized by the number identification module and the system authentication module. Further, a mutual authentication step between the application to which the number identification module belongs and the communication application to which the enterprise data module belongs is added in the process of executing the step 302, and is realized by the number identification module, the first authentication module, the second authentication module and the enterprise data module.
The number identification module and the first authentication module may belong to the same application, and the second authentication module, the enterprise data module and the call processing module may be modules in a communication application.
Fig. 12 illustrates an interface display method based on the software structure of the electronic device according to an embodiment of the present application. As shown in fig. 12, the method for displaying an interface shown in fig. 4 can be implemented, and specifically, the detail processing module is used to implement step 401; the detail processing module, the number identification module and the enterprise data module are used for realizing the step 402; the detail processing module and the detail interface processing module are used for implementing the step 403, so that the display of a first control in the call detail interface is implemented; the detail interface processing module, the detail processing module, the call processing module, the communication protocol framework, and the call interface processing module are used to implement step 404. Furthermore, in the process of executing step 402, a permission authentication step for accessing the number identification module by other applications is added, and is realized by the number identification module and the system authentication module. Further, a mutual authentication step between the application to which the number identification module belongs and the communication application to which the enterprise data module belongs is added in the process of executing the step 402, and is realized by the number identification module, the first authentication module, the second authentication module and the enterprise data module. Further, a number validity detection and formatting processing step is added in the process of executing step 402, the validity detection is realized by a number identification module and a number validity detection module, and the formatting processing step is realized by a number validity detection module and a number formatting module.
Fig. 13 illustrates an interface display method based on the software structure of the electronic device according to an embodiment of the present application. As shown in fig. 13, the interface display method shown in fig. 7 may be implemented, and specifically, the detail processing module is configured to implement step 401; the detail processing module, the number recognition module and the enterprise data module are used for realizing the step 402; the detail processing module, the control display interface processing module and the detail interface processing module are used for realizing the step 701, so that the display of a first control and a second control in the call detail interface is realized; the control display interface processing module, the detail processing module, the call processing module, the communication protocol framework, and the call interface processing module are used to implement step 702. Furthermore, in the process of executing step 402, a permission authentication step for accessing the number identification module by other applications is added, and is realized by the number identification module and the system authentication module. Further, a mutual authentication step between the application to which the number identification module belongs and the communication application to which the enterprise data module belongs is added in the process of executing the step 402, and is realized by the number identification module, the first authentication module, the second authentication module and the enterprise data module. Further, a number validity detection and formatting processing step is added in the process of executing step 402, the validity detection is realized by a number identification module and a number validity detection module, and the formatting processing step is realized by a number validity detection module and a number formatting module.
In the above fig. 10, taking the example that only the first control corresponding to one communication application is displayed in the interface, if the electronic device includes 2 communication applications and all the communication applications support call initiation, the software implementation structure of the electronic device is, for example, as shown in fig. 14, and the difference from fig. 10 is mainly that: the modules comprising the communication application 1 in fig. 14: the second authentication module 1, the data module 1, the call processing module 1 and the communication application outgoing interface processing module 1 further comprise a module of a communication application 2: the system comprises a second authentication and certification module 2, a data module 2, a call processing module 2 and a communication application outgoing call interface processing module 2. The detail processing module and the number recognition module can respectively interact with the two communication application modules to display 2 first controls in the interface. The specific implementation flow may refer to fig. 11 to fig. 13 above.
Corresponding to the embodiment, the application further provides the electronic equipment. Fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device 1500 may include: a processor 1501, memory 1502, and a communication unit 1503. The processor 1501, the memory 1502 and the communication unit 1503 may communicate with each other via an internal connection path to transmit control and/or data signals, the memory 1502 is used for storing a computer program, and the processor 1501 is used for calling and running the computer program from the memory 1502.
The communication unit 1503 is configured to establish a communication channel so that the electronic device can communicate with other devices.
The processor 1501, which is a control center of the storage device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and/or processes data by operating or executing software programs and/or modules stored in the memory 1502 and calling data stored in the memory.
The memory 1502 may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a Random Access Memory (RAM), or other types of dynamic storage devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disc storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, etc.
The processor 1501 may be combined with the memory 1502 into a processing device, and more typically, separate components, that executes program code stored in the memory 1502 to perform the functions described herein. In particular implementations, the memory 1502 may be integrated with the processor 1501 or may be separate from the processor 1501.
The execution instructions in the memory 1502, when executed by the processor 1501, enable the electronic device 1500 to perform some or all of the steps in the embodiments of fig. 3A-13 described above. Reference may be made to the above embodiments, which are not described herein again.
The present application further provides an electronic device, where the electronic device includes a storage medium and a central processing unit, the storage medium may be a non-volatile storage medium, a computer executable program is stored in the storage medium, and the central processing unit is connected to the non-volatile storage medium and executes the computer executable program to implement the method provided in any one of fig. 3A to 13 of the present application.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the method provided in any of fig. 3A to 13 of the present application.
Embodiments of the present application further provide a computer program product, which includes a computer program, when the computer program runs on a computer, causing the computer to execute the method provided in any one of fig. 3A to fig. 13 of the present application.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units 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, any function, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a portable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other media capable of storing program codes.

Claims (14)

1. An interface display method, comprising:
the first application displays a call record main interface; the call record main interface comprises a call record list, and the call record list comprises call records of a first telephone number;
the first application detects a selection operation of a call record aiming at the first telephone number;
the first application authenticates a first communication application;
after the first application successfully authenticates the first communication application, determining that the first communication application logs in a first account, and acquiring first information from the first communication application which logs in the first account, wherein the first information is used for indicating whether the first account has the permission of initiating a call;
the first application displays a first interface, and the first interface displays call record information of a first telephone number; if the first information indicates that the first account number has the permission to initiate the call, displaying a first control on the first interface; the first interface is a call record details interface;
detecting a first operation on the first control;
and responding to the first operation, triggering a first communication application to initiate a call based on the first telephone number, and jumping from the first interface to a second interface, wherein the second interface is an interface displayed when the first communication application initiates the call.
2. The method of claim 1, wherein triggering the first communication application to initiate a call based on the first phone number comprises:
and triggering the first communication application to dial the network telephone to the first telephone number.
3. The method of claim 2, wherein the triggering the first communication application to dial a network phone to the first phone number comprises:
the first application sending a first message to the first communication application, the first message comprising: the first phone number is used for facilitating the first communication application to respond to the first message and dial the network phone with a second phone number as a calling party and a first phone number as a called party, wherein the second phone number is a phone number associated with the first account number or a phone number bound with the electronic equipment where the first communication application is located.
4. The method of claim 1, wherein triggering the first communication application to initiate a call based on the first phone number comprises:
and triggering the first communication application to initiate an in-application call to a second account, wherein the second account is a communication application account which is recorded in the contact information associated with the first account and corresponds to the first telephone number.
5. The method of claim 4, wherein the triggering the first communication application to initiate an in-app call to a second account comprises:
the first application sending a second message to the first communication application, the second message comprising: the first phone number is used for facilitating the first communication application to initiate an intra-application call to the second account.
6. The method according to claim 1, wherein the obtaining first information from the first communication application that has logged in to the first account includes:
the first application sending a third message to the first communication application;
and receiving first information fed back by the first communication application in response to the third message, wherein the first information is used for indicating that the first account has the right to initiate a call.
7. The method of any of claims 1-6, wherein before the first application displays the first interface, further comprising:
and acquiring second information from the first communication application logged in with the first account, wherein the second information is used for indicating that a communication application account corresponding to the first telephone number is recorded in the contact information associated with the first account.
8. The method of claim 7, wherein obtaining the first information and the second information from the first communication application logged in to the first account comprises:
the first application sending a fourth message to the first communication application;
receiving the first information and the second information fed back by the first communication application in response to the fourth message.
9. The method of any of claims 1 to 6, further comprising:
the first interface comprises a second control;
detecting a second operation for the second control;
and responding to the second operation, triggering the first communication application to initiate a call based on the first telephone number, wherein the second control and the first control correspond to different modes of initiating the call by the first communication application.
10. The method of claim 9, wherein the first interface comprises a first control and a second control, comprising:
a third control is displayed in the first interface;
and detecting a third operation aiming at the third control, and displaying a third interface, wherein the first control and the second control are displayed in the third interface.
11. The method of any of claims 1 to 6, further comprising:
the first interface comprises a fourth control;
and detecting a fourth operation aiming at the fourth control, and triggering a second communication application of the logged account to initiate a call based on the first phone number.
12. The method according to claim 4 or 5, wherein the contact information associated with the first account is employee information of a business associated with the first account.
13. An electronic device, characterized in that the electronic device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the electronic device to perform the method of any of claims 1 to 12.
14. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method of any one of claims 1 to 12.
CN202110668607.7A 2021-06-16 2021-06-16 Interface display method, electronic device and storage medium Active CN113596256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110668607.7A CN113596256B (en) 2021-06-16 2021-06-16 Interface display method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110668607.7A CN113596256B (en) 2021-06-16 2021-06-16 Interface display method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN113596256A CN113596256A (en) 2021-11-02
CN113596256B true CN113596256B (en) 2022-11-22

Family

ID=78243878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110668607.7A Active CN113596256B (en) 2021-06-16 2021-06-16 Interface display method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113596256B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017028569A1 (en) * 2015-08-20 2017-02-23 中兴通讯股份有限公司 Internet telephone call connection method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594585A (en) * 2008-05-30 2009-12-02 鸿富锦精密工业(深圳)有限公司 Seek the system and method for cheapest talking mode
CN104506709A (en) * 2014-11-24 2015-04-08 周良勇 Mobile phone dialing interface and method for sending out call invitation in instant communication
US9516115B2 (en) * 2014-12-05 2016-12-06 Software 263 Technology (Beijing) Co., Ltd. Softphone user interface system and method
CN106657645A (en) * 2016-12-28 2017-05-10 深圳天珑无线科技有限公司 Call request processing method and device, calling method and device, and related terminal
CN108632453B (en) * 2018-03-28 2021-01-08 维沃移动通信有限公司 Call method and mobile terminal
CN111953838B (en) * 2020-08-03 2023-01-20 聚好看科技股份有限公司 Call dialing method, display device and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017028569A1 (en) * 2015-08-20 2017-02-23 中兴通讯股份有限公司 Internet telephone call connection method and device

Also Published As

Publication number Publication date
CN113596256A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
US10244105B2 (en) Methods and systems for real time display of caller location, profile, and trust relationship
US20170034147A1 (en) User identity verification method and system, and verification server
CN105956435A (en) Mobile APP registration method and device and mobile APP registration login method and device
CN107710725B (en) Method and system for authenticating a user by a telephone number
JP2011507393A (en) Call generation system and method
MX2008010234A (en) A method and system for enhancing voice calls, such as enhancing voice calls with data services.
US9143910B2 (en) Method and system for remote wipe through voice mail
JP4323089B2 (en) Procedure for accessing service in data communication system and data communication system
EP4131908A1 (en) Interface display method and electronic device
EP2979503B1 (en) Initiating a call in a communications system
US20090305669A1 (en) Transaction method between two servers including a prior validating step using two mobile telephones
CN113568542A (en) Interface display method and electronic equipment
KR101516035B1 (en) Method for establishing communication from a mobile terminal in dual mode
US8392588B2 (en) Terminal and method for selecting secure device
CN113810535B (en) Information processing method and electronic device
CN108696864B (en) Virtual number request and transmission method, device and storage medium
CN113596256B (en) Interface display method, electronic device and storage medium
US10616418B2 (en) Dynamically generated call triggers
CN113821284B (en) Interface display method and electronic equipment
JP4667148B2 (en) Communication system, terminal device, address book management server, and computer program
CN110383861B (en) Method and terminal for sharing information in call
US20240223694A1 (en) Interface display method and electronic device
CN113794802B (en) Interface display method and electronic equipment
US20090262727A1 (en) Communication system
CN101662769B (en) Method, mobile terminal, server and system of telephone business authentication

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