CN111565246B - Telephone number dialing method and device, computer equipment and storage medium - Google Patents

Telephone number dialing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111565246B
CN111565246B CN202010309935.3A CN202010309935A CN111565246B CN 111565246 B CN111565246 B CN 111565246B CN 202010309935 A CN202010309935 A CN 202010309935A CN 111565246 B CN111565246 B CN 111565246B
Authority
CN
China
Prior art keywords
text
identifier
sent
switchboard
target text
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
CN202010309935.3A
Other languages
Chinese (zh)
Other versions
CN111565246A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010309935.3A priority Critical patent/CN111565246B/en
Publication of CN111565246A publication Critical patent/CN111565246A/en
Application granted granted Critical
Publication of CN111565246B publication Critical patent/CN111565246B/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/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27467Methods of retrieving data
    • H04M1/2748Methods of retrieving data by matching character strings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27467Methods of retrieving data
    • H04M1/27475Methods of retrieving data using interactive graphical means or pictorial representations

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to a telephone number dialing method, a telephone number dialing device, computer equipment and a storage medium. The method comprises the following steps: acquiring a telephone number text; matching the telephone number text with a preset character string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into clickable links to obtain a target text; detecting a sending event triggering a target text, responding to the sending event of the target text, and displaying an identification page to be sent; when the selection operation acting on the identifier to be sent in the identifier page to be sent is detected, the target text is sent to the terminal corresponding to the identifier to be sent, so that when the terminal corresponding to the identifier to be sent detects that a clickable link in the target text is triggered, the switchboard number is dialed, and after time delay, the extension number is dialed. The method can improve the accuracy and efficiency of dialing.

Description

Telephone number dialing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for dialing a telephone number, a computer device, and a storage medium.
Background
With the development of communication technology, many enterprises generally set a switchboard number and a plurality of extension numbers under the extension numbers, when a user needs to contact enterprise employees, the enterprise employees are required to provide the switchboard number and the extension numbers to the user, and then the user can use the switchboard number and the extension numbers to dial calls so as to contact the enterprise employees.
However, when the employees of the enterprise need to provide telephone numbers to a plurality of users, the telephone exchange numbers and the extension numbers need to be provided to the users one by one, so that the dialing efficiency is low, and the users often have errors in dialing due to the fact that the number of digits of the numbers is large in a way of contacting the telephone exchange numbers and the extension numbers, so that the users need to dial again.
Disclosure of Invention
In view of the above, there is a need to provide a telephone dialing method, apparatus, computer device and storage medium capable of preventing dialing errors and improving dialing accuracy and efficiency.
A method of telephone number dialing, the method comprising:
acquiring a telephone number text;
matching the telephone number text with a preset character string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into clickable links to obtain a target text;
detecting a sending event triggering a target text, responding to the sending event of the target text, and displaying an identification page to be sent;
when the selection operation acting on the identifier to be sent in the identifier page to be sent is detected, the target text is sent to the terminal corresponding to the identifier to be sent, so that when the terminal corresponding to the identifier to be sent detects that a clickable link in the target text is triggered, the switchboard number is dialed, and after time delay, the extension number is dialed.
A telephone number dialing apparatus, the apparatus comprising:
the text acquisition module is used for acquiring a telephone number text;
the number conversion module is used for matching the telephone number text with a preset character string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into a clickable link to obtain a target text;
the page display module is used for detecting a sending event triggering the target text, responding to the sending event of the target text and displaying an identification page to be sent;
and the dialing module is used for sending a target text to the terminal corresponding to the identifier to be sent when the selection operation acting on the identifier to be sent in the identifier page to be sent is detected, so that the switchboard number is dialed when the terminal corresponding to the identifier to be sent detects the clickable link in the trigger target text, and the extension number is dialed after time delay.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a telephone number text;
matching the telephone number text with a preset character string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into clickable links to obtain a target text;
detecting a sending event triggering a target text, responding to the sending event of the target text, and displaying an identification page to be sent;
when the selection operation acting on the identifier to be sent in the identifier page to be sent is detected, the target text is sent to the terminal corresponding to the identifier to be sent, so that when the terminal corresponding to the identifier to be sent detects that a clickable link in the target text is triggered, the switchboard number is dialed, and after time delay, the extension number is dialed.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a telephone number text;
matching the telephone number text with a preset character string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into clickable links to obtain a target text;
detecting a sending event triggering a target text, responding to the sending event of the target text, and displaying an identification page to be sent;
when the selection operation acting on the identifier to be sent in the identifier page to be sent is detected, the target text is sent to the terminal corresponding to the identifier to be sent, so that when the terminal corresponding to the identifier to be sent detects that a clickable link in the target text is triggered, the switchboard number is dialed, and after time delay, the extension number is dialed.
According to the telephone number dialing method, the telephone number dialing device, the computer equipment and the storage medium, the switchboard number and the extension number with the delay symbol in the telephone number text are converted into the clickable link to obtain the target text, and then the target text is sent to the terminal corresponding to the identifier to be sent, so that when the terminal corresponding to the identifier to be sent detects that the clickable link in the target text is triggered, the switchboard number is dialed, and the extension number is dialed after delay. The method and the device can enable a user to directly use the target text to automatically dial the telephone exchange number and automatically dial the extension number after time delay, thereby avoiding the situation that the user dials a wrong number when dialing a telephone number and improving the accuracy of dialing. Meanwhile, any identification to be dialed can be selected on the identification page to be dialed, so that the target text is sent to the corresponding terminal, the target text can be quickly sent to the user to be dialed, and the dialing efficiency is improved.
Drawings
FIG. 1 is a diagram of an exemplary implementation of a telephone number dialing method;
FIG. 2 is a flow diagram illustrating a method for dialing telephone numbers in one embodiment;
FIG. 3 is a flow chart illustrating a method for dialing a telephone number according to another embodiment;
FIG. 4 is a flowchart illustrating a method for dialing a telephone number according to another embodiment;
FIG. 5 is a flowchart illustrating a method for dialing telephone numbers in an embodiment;
FIG. 6 is a diagram of a message reminder page in one embodiment;
FIG. 7 is a block diagram showing the structure of a telephone number dialing apparatus according to an embodiment;
FIG. 8 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The telephone number dialing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 acquires a telephone number text; the terminal 102 matches the telephone number text with a preset character string rule to obtain a switchboard number and an extension number with a delay symbol, and converts the switchboard number and the extension number with the delay symbol into a clickable link to obtain a target text; the terminal 102 detects a sending event triggering a target text, responds to the sending event of the target text, and displays an identification page to be sent; when the selection operation acting on the to-be-sent identifier in the to-be-sent identifier page is detected, the communication server 104 sends the target text to the terminal 106 corresponding to the to-be-sent identifier, so that when the terminal 106 corresponding to the to-be-sent identifier detects that the clickable link in the target text is triggered, the switchboard number is dialed, and after time delay, the extension number is dialed. The terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the communication server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a method for dialing a telephone number is provided, which is described by taking the method as an example applied to the terminal 102 in fig. 1, and includes the following steps:
step 202, a phone number text is obtained.
Text, which refers to the representation of written language, is usually a sentence or a combination of sentences having complete and systematic meaning (Message) from a grammatical point of view. A text may be a Sentence (sequence), a Paragraph (paramgraph), or a chapter (Discourse). Telephone number text refers to text that includes a telephone exchange number and an extension number,
specifically, the terminal may acquire the phone number text in various ways.
In one embodiment, step 202, obtaining phone number text includes:
obtaining text of preset telephone number, or
Obtaining telephone number text from the destination address, or
And detecting a telephone number text editing event triggered by the text editing page, responding to the telephone number text editing event, and acquiring a telephone number text.
The preset telephone number text refers to a preset telephone number text. The target address refers to an address storing a phone number text, and the address may be a web page address, a server address, a cloud address, a blockchain address, and the like. The text editing page refers to a page for performing text editing. For example, the page can be used for text editing in a communication application, and the communication application can help a user to perform network communication interaction based on a social communication network. Or a page for text editing in a website having a communication function. The phone number text editing event is used to trigger a text editing event on a text editing page, and may be triggered by means including, but not limited to, clicking a button, pressing a page, sliding a page, and the like.
Specifically, a preset telephone number text may be obtained, and then when the terminal needs to be used, the terminal obtains the preset telephone number text. For example, a preset phone number text is stored in a mobile phone memory, and the phone number text is acquired from the mobile phone memory when the mobile phone is required to be used. Alternatively, in one embodiment, the user may store the phone number text in the destination address, and when the user needs to use the phone number text, obtain the phone number text from the destination address, for example, store the phone number text in the cloud, and when the user needs to use the phone number text from the stored cloud address. Or, in an embodiment, the user may edit the phone number text through a text editing page, and when the editing is completed, the terminal acquires the phone number text. Specifically, when the terminal detects a phone number text editing event triggered by a text editing page, the phone number text editing event is responded, so that a user edits a phone number text on the text editing page, and the terminal acquires the edited phone number text.
And 204, matching the telephone number text with a preset character string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into a clickable link to obtain a target text.
The preset character string rule is a preset character string matching rule and is used for matching telephone numbers in a telephone number text, wherein the telephone numbers comprise a switchboard number and an extension number with a delay symbol. The delay symbol is used for performing delay processing after the switchboard number is switched on, that is, extending a preset time length, and may be represented by various character string symbols such as "-", "," and "-", and the like, and preferably, the delay symbol may be represented by "or" in. The clickable link is a link which can be clicked and is generated according to the switchboard number and the extension number with the delay symbol, and a system dialing interface can be called to dial the switchboard number and the extension number with the delay symbol after clicking. Target text refers to text carrying clickable links.
Specifically, a telephone number text is matched with a preset character string rule to obtain a successfully matched character string, and the successfully matched character string is a character string corresponding to a switchboard number and an extension number with a delay symbol. At the moment, the telephone number of the switchboard and the extension number with the delay symbol in the telephone number text are converted into a clickable link, and the telephone number text with the clickable link is obtained and is the target text.
Step 206, detecting a sending event triggering the target text, responding to the sending event of the target text, and displaying an identifier page to be sent.
The sending event refers to an event for triggering the sending of the target text. The identifier to be sent is used to identify an object to be sent with a target text, where the object may be one user or a group consisting of multiple users. The identifier page to be sent is used for displaying an identifier list to be sent. The identifier list to be sent refers to an identifier list corresponding to an object capable of sending the target text.
Specifically, when the terminal detects that the sending event of the target text is triggered, the terminal responds to the sending event of the target text, and can jump to the to-be-sent identifier page, display the to-be-sent identifier page, perform pop-up window display of the to-be-sent identifier page, and the like.
And step 208, when the selection operation acting on the to-be-sent identifier in the to-be-sent identifier page is detected, sending a target text to the terminal corresponding to the to-be-sent identifier, so that when the terminal corresponding to the to-be-sent identifier detects a clickable link in the trigger target text, dialing the switchboard number, and after time delay, dialing the extension number.
The selection operation refers to an operation for selecting the identifier to be sent in the identifier page to be sent, and includes but is not limited to a click operation, a press operation, a move operation and a slide operation. The user can select a single identifier to be sent in the identifier page to be sent, and can also select a plurality of identifiers to be sent in the identifier page to be sent.
Specifically, when the terminal detects a selection operation acting on the to-be-sent identifier in the to-be-sent identifier page, the terminal sends the target text to the terminal corresponding to the to-be-sent identifier, that is, the terminal can jump to a page where a conversation is performed with an object of the to-be-sent identifier, and sends the target text to the page where the conversation is performed with the object of the to-be-sent identifier, so that the target text is received to the terminal corresponding to the to-be-sent identifier. When a user opens a dialog page with a target text through a terminal, the user can click a clickable link in the target text, namely the terminal corresponding to the identifier to be sent detects that the clickable link in the target text is triggered, at the moment, the terminal corresponding to the identifier to be sent can call a system dialing interface to automatically dial a switchboard number, delay is carried out after the switchboard number is connected, and an extension number is automatically dialed after the delay. In one embodiment, when there are a plurality of delay symbols, a plurality of delays of a predetermined length of time are performed, and after the delay, the extension number is automatically dialed.
In an embodiment, when the user does not click the clickable link in the target text, that is, the terminal corresponding to the identifier to be sent does not detect the clickable link in the trigger target text, at this time, the terminal corresponding to the identifier to be sent does not process the clickable link.
According to the telephone number dialing method, the switchboard number and the extension number with the delay symbol in the telephone number text are converted into the clickable link to obtain the target text, and then the target text is sent to the terminal corresponding to the identifier to be sent, so that when the terminal corresponding to the identifier to be sent detects that the clickable link in the target text is triggered, the switchboard number is dialed, and after the delay, the extension number is dialed. The method and the device can enable a user to directly use the target text to automatically dial the telephone exchange number and automatically dial the extension number after time delay, thereby avoiding the situation that the user dials a wrong number when dialing a telephone number and improving the accuracy of dialing. Meanwhile, any identification to be dialed can be selected on the identification page to be dialed, so that the target text is sent to the corresponding terminal, the target text can be quickly sent to the user to be dialed, and the dialing efficiency is improved.
In one embodiment, step 204, matching the phone number text with a preset string rule to obtain a switchboard number and an extension number with a delay symbol, includes:
and matching the telephone number text with a first rule in a preset regular expression to obtain a switchboard number, and matching the telephone number text with a second rule in the preset regular expression to obtain an extension number with a delay symbol.
The preset regular expression is a preset regular expression and is used for matching the telephone number text with the extension number with the time delay. The first rule refers to an expression part used for matching the switchboard number in the preset regular expression, and the second rule refers to an expression part used for matching the switchboard number in the preset regular expression.
Specifically, the server matches a first rule in a preset regular expression with a phone number text, and when matching is successful, a switchboard number is obtained by acquiring a successfully matched character string. And then, matching a second rule in the preset regular expression with the phone number text, and obtaining the successfully matched character string to obtain the extension number with the delay symbol when the matching is successful. In one embodiment, when a first rule in the preset regular expression is successfully matched with a phone number text, an unmatched text in the phone number text is obtained, the unmatched text is matched with a second rule in the preset regular expression, and when the matching is successful, an extension number with a delay symbol is obtained, so that the matching efficiency can be improved. In a specific embodiment, the preset regular expression may be "\ +? \\ d {1,8} ([ - ]? \ d {1,8} ([ - ]: "\ +? \ d {1,8} "represents a string of characters that can match the beginning of a 0 or 1 + number followed by 1 to 8 digits. "([ - ]. "(+ \ d + #) >" is a second rule in a preset regular expression that represents a string that may be matched with 0 or more coincidences, followed by 1 or more digits, followed by 0 or more symbols "#".
In the embodiment, the numbers in the telephone number text are matched by presetting the positive expression, so that the obtained switchboard number and the extension number with the delay symbol can be more accurate.
In one embodiment, step 204, converting the switchboard number and the extension number with the delay symbol into a clickable link to obtain the target text, includes the steps of:
taking the switchboard number and the extension number with the delay symbol as target telephone numbers, and displaying the target telephone numbers in a button clicking mode to obtain a target text; and the click event in the click button is used for calling a system dialing interface to dial.
The destination telephone number is a telephone number obtained by integrating a switchboard number and an extension number with a delay symbol, for example, if the switchboard number is "0102093020", the extension number with a delay symbol is "20501", the destination number is "0102093020,20501". The click button is a button for clicking, and the click event is an event triggered after the user clicks the click button and is preset. The system dialing interface is an interface used for dialing a telephone number in a terminal system, and the interface can be used for directly dialing.
Specifically, the terminal takes a switchboard number and an extension number with a delay symbol as a target telephone number, and displays the target telephone number in a button clicking mode, namely the target telephone number is displayed on the button clicking mode to obtain a target text; and the click event in the click button is used for calling a system dialing interface to dial. The target telephone number can be highlighted in the target text, so that the user can conveniently click.
Specifically, the target telephone number in the target text is displayed in a click button mode, so that a user can conveniently and directly click to dial, and convenience is improved.
In one embodiment, as shown in fig. 3, after the step 204, after matching the telephone number text with the preset string rule to obtain the switchboard number and the extension number with the delay symbol, and converting the switchboard number and the extension number with the delay symbol into a clickable link to obtain the target text, the method further includes:
step 302, detecting a telephone dialing event triggered by a clickable link in a target text, responding to the telephone dialing event, and calling a system dialing interface to display a dialing interface;
step 304, dialing the telephone exchange number through the dialing interface, and dialing the extension number after time delay.
The phone dialing event refers to the time for dialing the phone number corresponding to the clickable link triggered by the clickable link in the target text, and the dialing interface refers to an interface used for dialing on the terminal, and a user can dial the phone through the interface.
Specifically, the terminal detects a telephone dialing event triggered by a clickable link in a target text, responds to the telephone dialing event, calls a system dialing interface to display a dialing interface, displays a switchboard number and an extension number with a delay symbol in the displayed dialing interface, automatically dials the switchboard number through the dialing interface, performs delay processing according to the delay symbol after the switchboard number is connected, and automatically dials the extension number after delay.
In the embodiment, the extension number can be automatically dialed after the telephone exchange number is dialed and the time delay is delayed, so that the user does not need to manually input the extension number for dialing, and the dialing efficiency of the telephone number is improved.
In one embodiment, as shown in fig. 4, after the step 204, that is, after matching the telephone number text with the preset string rule to obtain the switchboard number and the extension number with the delay symbol, and converting the switchboard number and the extension number with the delay symbol into the clickable link to obtain the target text, the method further includes:
step 402, detecting a sharing event of the target text, and jumping to a to-be-shared identification page of the target communication application in response to the sharing event.
The sharing event is an event triggering the sharing of the target text. The target communication application refers to a communication application where an object needing to be shared is located, for example, a target text is shared to a user in the wechat application, so that the user in the wechat application can also dial a telephone number according to the target text. The identification page to be shared is a page for displaying an identification corresponding to an object capable of communicating in the target communication application, and the identification can be an account number, a name, a mobile phone number and the like.
Specifically, when the terminal detects a sharing event of the target text, the terminal jumps to an identifier page to be shared of the target communication application in response to the sharing event.
Step 404, when detecting a selection operation acting on the to-be-shared identifier in the to-be-shared identifier page, sending a target text to the terminal corresponding to the to-be-shared identifier, so that when the terminal corresponding to the to-be-shared identifier detects a clickable link in the trigger target text, dialing the switchboard number, and after delaying, dialing the extension number.
Specifically, when the terminal detects a selection operation acting on the identifier to be shared in the identifier page to be shared, the terminal acquires the selected identifier to be shared, jumps to a conversation page carrying out communication conversation with the selected identifier to be shared, and sends the target text to the selected identifier to be shared through the conversation page, namely sends the target text to the terminal corresponding to the identifier to be shared. When the terminal corresponding to the identifier to be shared receives the target text from the conversation page, the user can click the clickable link in the target text, at the moment, the terminal corresponding to the identifier to be shared detects that the clickable link in the target text is triggered, the terminal corresponding to the identifier to be shared calls a system dialing interface to automatically dial the switchboard number, and the extension number is automatically dialed after time delay.
In the embodiment, the target text can be shared in the identifier to be shared in the target communication application, so that the terminal corresponding to the identifier to be shared can also automatically dial the switchboard number through the clickable link in the target text, and automatically dial the extension number after time delay, so that the user corresponding to the identifier to be shared can directly dial the telephone number, and the dialing efficiency and accuracy of the telephone number are improved.
In one embodiment, step 204, matching the phone number text with a preset string rule to obtain a switchboard number and an extension number with a delay symbol, includes:
and matching the telephone number text with a preset character string rule to obtain a switchboard number, an extension number with a delay symbol and teleconference information with the delay symbol.
The teleconference information refers to information required when a user needs to enter a teleconference room, such as a teleconference room number or a teleconference room password.
Specifically, the telephone number text includes a teleconference information text, and the teleconference information including a telephone number, an extension number with a delay symbol, and a teleconference information with a delay symbol is obtained by matching the telephone number text with a preset character string rule.
After step S208, that is, when a selection operation acting on the identifier to be sent in the identifier page to be sent is detected, sending the target text to the terminal corresponding to the identifier to be sent, so that when the terminal corresponding to the identifier to be sent detects a clickable link in the trigger target text, dialing the switchboard number, and after delaying and dialing the extension number, the method further includes:
after the delay, dialing the teleconference information to enter a teleconference room.
Specifically, the terminal dials the extension number, acquires the teleconference information with the delay symbol, dials the teleconference information after delaying according to the delay symbol, and enters the teleconference room, for example, when the extension number is dialed, the terminal automatically dials the conference password of the teleconference room according to the voice response, and then enters the teleconference room. In an embodiment, the target text can be sent to a plurality of identifiers to be sent, and when the terminal corresponding to the plurality of identifiers to be sent dials the hierarchical number, the terminal dials the teleconference information after a delay and enters a teleconference room. In one embodiment, the target text may be sent to the communication user in the target communication application so that the communication user in the target communication application may also dial a telephone number into the conference call room using the target text.
In the embodiment, the user can enter the teleconference room by dialing the teleconference information after dialing the extension number, so that the user does not need to manually input the teleconference information to enter the teleconference, the efficiency of entering the teleconference room is improved, and the use is convenient.
In a specific embodiment, as shown in fig. 5, the method for dialing a phone number specifically includes the following steps:
step 502, detecting a phone number text editing event triggered by a text editing page, responding to the phone number text editing event, and acquiring a phone number text.
And step 504, matching the telephone number text with a first rule in a preset regular expression to obtain a switchboard number, and matching the telephone number text with a second rule in the preset regular expression to obtain an extension number with a delay symbol and teleconference information with the delay symbol.
Step 506, the switchboard number, the extension number with the delay symbol and the teleconference information with the delay symbol are used as target telephone numbers, and the target telephone numbers are converted into clickable links to obtain target texts.
Step 508, detecting a sending event triggering the target text, responding to the sending event of the target text, and displaying an identifier page to be sent.
Step 510, when detecting a selection operation acting on the to-be-shared identifier in the to-be-shared identifier page, sending a target text to a terminal corresponding to the to-be-shared identifier, so that when the terminal corresponding to the to-be-shared identifier detects a clickable link in a trigger target text, dialing a switchboard number, after delaying, dialing an extension number, after delaying, dialing conference call information, and entering a conference call room.
The application also provides an application scene, and the application scene applies the telephone number dialing method. Specifically, the application of the telephone number dialing method in the application scenario is as follows:
the conference call establishing user firstly edits a conference call text needing a conference call in a text editing page, the conference call text comprises a set switchboard number, an extension number with a delay symbol and a conference password with the delay symbol, the terminal acquires the conference call text needing the conference call, the switchboard number, the extension number with the delay symbol and the conference password with the delay symbol are identified by using a preset regular expression, the identified switchboard number, the extension number with the delay symbol and the conference password with the delay symbol are converted into a clickable link as a whole, and the clickable link is highlighted in the conference call text to obtain a target conference call text. At this time, the teleconference establishing user can send the established target teleconference text to the user needing to carry out the teleconference, that is, the terminal detects a sending event triggering the target teleconference text, responds to the sending event of the target teleconference text, displays a user name list capable of being sent, the teleconference establishing user selects the user name needing to be sent, and sends the target teleconference text to the terminal corresponding to the user name. When receiving the target teleconference text, the user who needs to perform the teleconference can view the target teleconference text on the message reminding page, as shown in fig. 6, which is a schematic diagram of the message reminding page of the user, wherein the subject, time and clickable link of the teleconference are shown (highlighted black font in the diagram). When the conference call starts, a user can click the clickable link, at the moment, the terminal detects a dialing event triggering the clickable link, responds to the dialing event of the clickable link, calls a system interface to display a dialing interface, fills a switchboard number corresponding to the clickable link, an extension number with a delay symbol and a conference password with the delay symbol into the dialing interface, dials the switchboard number, delays after the switchboard number is connected, automatically dials the extension number after the delay, delays again after the extension number is connected, and automatically dials the conference password after the delay, so that the conference call is started in a conference call room, and the efficiency of entering the conference call is improved.
It should be understood that although the various steps in the flow charts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 7, there is provided a telephone number dialing apparatus 700, which may be a part of a computer device using a software module or a hardware module, or a combination of the two, the apparatus specifically includes: a text acquisition module 702, a number translation module 704, a page presentation module 706, and a dialing module 708, wherein:
a text acquisition module 702, configured to acquire a phone number text;
the number conversion module 704 is used for matching the telephone number text with a preset character string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into a clickable link to obtain a target text;
a page display module 706, configured to detect a sending event that triggers the target text, respond to the sending event of the target text, and display an identifier page to be sent;
a dialing module 708, configured to send a target text to a terminal corresponding to the to-be-sent identifier when a selection operation acting on the to-be-sent identifier in the to-be-sent identifier page is detected, so that when the terminal corresponding to the to-be-sent identifier detects a clickable link in the trigger target text, a switchboard number is dialed, and after a delay, an extension number is dialed.
In one embodiment, number translation module 704 includes:
and the rule matching unit is used for matching the telephone number text with a first rule in a preset regular expression to obtain a switchboard number, and matching the telephone number text with a second rule in the preset regular expression to obtain an extension number with a delay symbol.
In one embodiment, number translation module 704 includes:
the target display unit is used for taking the switchboard number and the extension number with the delay symbol as target telephone numbers and displaying the target telephone numbers in a button clicking mode to obtain target texts; and the click event in the click button is used for calling a system dialing interface to dial.
In one embodiment, the telephone number dialing apparatus 700 further comprises:
the interface calling module is used for detecting a telephone dialing event triggered by a clickable link in the target text, responding to the telephone dialing event and calling a system dialing interface to display a dialing interface; dialing the telephone exchange number through the dialing interface, and dialing the extension number after time delay.
In one embodiment, the telephone number dialing apparatus 700 further comprises:
the sharing module is used for detecting a sharing event of the target text and jumping to a to-be-shared identification page of the target communication application in response to the sharing event; when the selection operation acting on the to-be-shared identifier in the to-be-shared identifier page is detected, the target text is sent to the terminal corresponding to the to-be-shared identifier, so that when the terminal corresponding to the to-be-shared identifier detects that the clickable link in the target text is triggered, the switchboard number is dialed, and after the delay, the extension number is dialed.
In one embodiment, number translation module 704 includes:
the conference information matching unit is used for matching the telephone number text with a preset character string rule to obtain a switchboard number, an extension number with a delay symbol and conference call information with the delay symbol;
the telephone number dialing apparatus 700 further comprises:
and the conference information dialing module is used for dialing the telephone conference information and entering a telephone conference room after time delay.
In one embodiment, the text acquisition module 702 includes:
a preset unit for acquiring a preset telephone number text, or
An address text acquiring unit for acquiring a telephone number text from the destination address, or
And the editing event triggering unit is used for detecting a telephone number text editing event triggered by the text editing page, responding to the telephone number text editing event and acquiring a telephone number text.
For the specific definition of the telephone number dialing device, reference may be made to the above definition of the telephone number dialing method, which is not described herein again. The various modules in the telephone number dialing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program when executed by a processor implements a telephone number dialing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of telephone number dialing, the method comprising:
acquiring a telephone number text;
matching the telephone number text with a preset character string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into a clickable link to obtain a target text;
detecting a sending event triggering the target text, responding to the sending event of the target text, and displaying an identification page to be sent;
and when the selection operation acting on the identifier to be sent in the identifier page to be sent is detected, sending the target text to the terminal corresponding to the identifier to be sent, so that when the terminal corresponding to the identifier to be sent detects that the clickable link in the target text is triggered, the switchboard number is dialed, and after the delay, the extension number is dialed.
2. The method of claim 1, wherein matching the phone number text with a preset string rule to obtain a switchboard number and an extension number with a delay symbol comprises:
and matching the telephone number text with a first rule in a preset regular expression to obtain a switchboard number, and matching the telephone number text with a second rule in the preset regular expression to obtain an extension number with a delay symbol.
3. The method of claim 1, wherein converting the extension numbers with time delay symbols and the exchange numbers into clickable links to obtain target text comprises:
taking the switchboard number and the extension number with the delay symbol as target telephone numbers, and displaying the target telephone numbers in a button clicking mode to obtain the target text; and the click event in the click button is used for calling a system dialing interface to dial.
4. The method of claim 1, wherein after matching the phone number text with a preset string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into a clickable link to obtain the target text, further comprising:
detecting a telephone dialing event triggered by the clickable link in the target text, responding to the telephone dialing event, and calling a system dialing interface to display a dialing interface;
and dialing the switchboard number through the dialing interface, and dialing the extension number after time delay.
5. The method of claim 1, wherein after matching the phone number text with a preset string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into a clickable link to obtain a target text, the method further comprises:
detecting a sharing event of the target text, and jumping to a to-be-shared identification page of a target communication application in response to the sharing event;
and when the selection operation acting on the identifier to be shared in the identifier page to be shared is detected, sending the target text to the terminal corresponding to the identifier to be shared, so that when the terminal corresponding to the identifier to be shared detects that the clickable link in the target text is triggered, the switchboard number is dialed, and after time delay, the extension number is dialed.
6. The method of claim 1, wherein matching the phone number text with a preset string rule to obtain a switchboard number and an extension number with a delay symbol comprises:
matching the telephone number text with a preset character string rule to obtain a switchboard number, an extension number with a delay symbol and teleconference information with the delay symbol;
when the selection operation acting on the to-be-sent identifier in the to-be-sent identifier page is detected, sending the target text to a terminal corresponding to the to-be-sent identifier, so that when the terminal corresponding to the to-be-sent identifier detects that the clickable link in the target text is triggered, the switchboard number is dialed, and after the time delay and the extension number are dialed, the method further comprises the following steps:
and after delaying, dialing the teleconference information and entering a teleconference room.
7. The method of claim 1, wherein obtaining phone number text comprises:
obtaining a preset text of the telephone number, or
Obtaining telephone number text from the destination address, or
And detecting a telephone number text editing event triggered by a text editing page, responding to the telephone number text editing event, and acquiring a telephone number text.
8. A telephone number dialing apparatus, the apparatus comprising:
the text acquisition module is used for acquiring a telephone number text;
the number conversion module is used for matching the telephone number text with a preset character string rule to obtain a switchboard number and an extension number with a delay symbol, and converting the switchboard number and the extension number with the delay symbol into a clickable link to obtain a target text;
the page display module is used for detecting a sending event triggering the target text, responding to the sending event of the target text and displaying an identification page to be sent;
and the dialing module is used for sending the target text to a terminal corresponding to the identifier to be sent when the selection operation acting on the identifier to be sent in the identifier page to be sent is detected, so that the switchboard number is dialed when the terminal corresponding to the identifier to be sent detects that the clickable link in the target text is triggered, and the extension number is dialed after time delay.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202010309935.3A 2020-04-20 2020-04-20 Telephone number dialing method and device, computer equipment and storage medium Active CN111565246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010309935.3A CN111565246B (en) 2020-04-20 2020-04-20 Telephone number dialing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010309935.3A CN111565246B (en) 2020-04-20 2020-04-20 Telephone number dialing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111565246A CN111565246A (en) 2020-08-21
CN111565246B true CN111565246B (en) 2021-03-09

Family

ID=72074432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010309935.3A Active CN111565246B (en) 2020-04-20 2020-04-20 Telephone number dialing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111565246B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327178A (en) * 2013-05-30 2013-09-25 广州市动景计算机科技有限公司 Method and device for automatic dialing of extension telephones in page
CN106686181A (en) * 2015-11-06 2017-05-17 北京奇虎科技有限公司 Telephone dialing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070005776A1 (en) * 2005-06-30 2007-01-04 Irontrack Technology, Inc. Method and system to use a telephone extension number to identify a session, such as an internet session that browses real estate information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327178A (en) * 2013-05-30 2013-09-25 广州市动景计算机科技有限公司 Method and device for automatic dialing of extension telephones in page
CN106686181A (en) * 2015-11-06 2017-05-17 北京奇虎科技有限公司 Telephone dialing method and device

Also Published As

Publication number Publication date
CN111565246A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
US8831209B2 (en) Conference call dialing
CN111193599B (en) Message processing method and device
US9021507B2 (en) Dynamic use of data across multiple programs
US8548444B2 (en) Linking a name to a phone number in a text message based on a contact list in a mobile device
US10091643B2 (en) Method and apparatus for displaying associated information in electronic device
CN104158945A (en) Conversation information obtaining method, device and system
CN112130729B (en) Page processing method and device, computer equipment and storage medium
CN111510439A (en) Session reminding method and device, computer equipment and storage medium
CN110134656A (en) Page control method, device, computer readable storage medium and computer equipment
CN110177039A (en) Message sharing method, device, computer equipment and storage medium
CN106792604B (en) Method and device for service prompt in communication process
CN104679506B (en) A kind of terminal
CN111565246B (en) Telephone number dialing method and device, computer equipment and storage medium
CN115174506A (en) Session information processing method, device, readable storage medium and computer equipment
CN107920012B (en) Instant communication message storage method and device
CN104135725A (en) Short message sending method and portable terminal
CN112995259B (en) Business information pushing method, device, system, equipment and storage medium
CN113873450A (en) Short message configuration method and device, computer equipment and storage medium
CN113672826A (en) Page jump method, device, computer equipment and storage medium
CN111966506A (en) Content sharing method based on different application programs and computer equipment
CN107145286B (en) Browsing interaction processing method and device
CN111694999A (en) Information processing method and device and electronic equipment
CN107995091B (en) Self-service method and device based on enterprise instant messaging application
US20150026231A1 (en) Facilitation of interaction with available subject matter experts (smes) associated with digital multimedia segment
WO2016197268A1 (en) Input method integrated with voice-over-internet-protocol function

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