CN102761672B - Method, system and device for realizing speech communication in webpage server - Google Patents
Method, system and device for realizing speech communication in webpage server Download PDFInfo
- Publication number
- CN102761672B CN102761672B CN201110106741.4A CN201110106741A CN102761672B CN 102761672 B CN102761672 B CN 102761672B CN 201110106741 A CN201110106741 A CN 201110106741A CN 102761672 B CN102761672 B CN 102761672B
- Authority
- CN
- China
- Prior art keywords
- terminal
- user
- wireless communication
- communication number
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 371
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000001514 detection method Methods 0.000 claims description 43
- 230000008859 change Effects 0.000 claims description 14
- 230000006870 function Effects 0.000 description 23
- 230000008569 process Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000005484 gravity Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method, a system and a device for realizing speech communication in a webpage server. The method comprises the following steps that: receiving a first user request submitted by a first terminal of a first user, and speech communication request information of a second user by the webpage server; sending an instruction for acquiring a communication number of a second terminal of the first user to the first terminal, and receiving the communication number after the first terminal confirms the second terminal and the communication number of the second terminal is acquired; and establishing the communication connection between the second terminal and a third terminal according to the communication number of the second terminal and the communication number of the third terminal of a second user. According to the technical scheme, the communication number of the second terminal of the first user is confirmed by the first terminal, compared with the prior art, the communication number is not input by a user, and the problem that the communication number input error or malice input of the user causes the wrong communication number acquired by the webpage server, so that the accuracy of the communication number acquired by the webpage server is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, a system, and an apparatus for implementing voice communication in a web server.
Background
With the rapid development of internet technology, applications implemented based on the internet are becoming more and more popular, for example, various transaction websites, which bring great convenience to the life of users. By logging in to the transaction website, both the seller user and the buyer user can complete the transaction without going out.
In a transaction website, a seller user usually displays description information of a commodity that can be provided to a buyer user through a webpage, such as information of a commodity picture, commodity performance, commodity price, and the like; the buyer user browses the description information of each commodity displayed on the webpage by logging in a transaction website, and determines whether the commodity meets the requirement of the buyer user or not through the description information of the commodity. In the process of browsing the goods by the buyer user through the web page, the seller user needs to be consulted online for reasons such as incomplete description information of the goods, and is required to provide other information of the corresponding goods. At present, a buyer user generally communicates with a seller user through an instant messaging tool provided by a web server, and due to uncertainty of time for the buyer user to browse a commodity, even the seller user with a high online rate may have difficulty in answering a question raised by the buyer user in time, so that the buyer user cannot know relevant information of the commodity in time.
In order to achieve the purpose of timely acquiring the related information of the commodity, the webpage server provides a network calling function for the user, namely, the buyer user can call the seller user by submitting a calling request to the webpage server. In the implementation process of the web page call function, the web page server needs to acquire the communication number of the buyer user, and at present, the main acquisition mode for the web page server to acquire the communication number of the buyer user is as follows: the web server prompts the purchaser user to input a communication number of the communication terminal of the purchaser user and receives the communication number input by the purchaser user. Since the communication number of the buyer user is input by the buyer user, on one hand, there may be a case where the buyer user inputs an error, and on the other hand, there may also be a case where an illegal user maliciously inputs a communication number, so that the accuracy of the communication number of the buyer user acquired by the web server is low, and a problem of a call error or failure is caused by acquiring an erroneous communication number. And, because the mode of manually inputting the communication number causes the input efficiency to be lower, have slowed down the execution efficiency of the webpage call.
In summary, in the prior art, the accuracy of the communication number of the buyer user obtained by the web server is low, and the execution efficiency of the web call is low.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, a system, and a device for implementing voice communication in a web server, and with the adoption of the technical scheme, the accuracy of a communication number of a call requester acquired by the web server can be improved, and the execution efficiency of voice communication is improved.
The embodiment of the application is realized by the following technical scheme:
according to an aspect of an embodiment of the present application, there is provided a method for implementing voice communication in a web server, including:
the method comprises the steps that a webpage server receives request information submitted by a first terminal of a first user, wherein the request information is used for carrying out voice communication between the first user and a second user;
sending an instruction of acquiring a communication number of a second terminal of the first user to the first terminal, and receiving the communication number of the second terminal submitted by the first terminal after the second terminal of the first user is determined and the determined communication number of the second terminal is acquired;
and the webpage server establishes communication connection between the second terminal and a third terminal of the second user according to the communication number of the second terminal and a pre-stored communication number of the third terminal.
According to another aspect of the embodiments of the present application, there is provided a method for implementing voice communication in a web server, including:
a first terminal of a first user generates request information of the first user for requesting voice communication with a second user;
the first terminal sends the request information to a webpage server and receives an instruction sent by the webpage server for acquiring a communication number of a second terminal of the first user; and
and determining a second terminal of the first user, acquiring the determined communication number of the second terminal, and reporting the determined communication number of the second terminal to a network side.
According to another aspect of the embodiments of the present application, there is also provided a system for implementing voice communication in a web server, including:
a first terminal and a web server; wherein,
the first terminal is used for generating request information of a first user for requesting voice communication with a second user and sending the request information to the webpage server; receiving an indication sent by the web server and used for acquiring the communication number of the second terminal of the first user, determining the second terminal of the first user, acquiring the determined communication number of the second terminal, and reporting the determined communication number of the second terminal to the web server;
the web server is used for receiving request information of voice communication between the first user request submitted by the first terminal and a second user, sending an instruction of acquiring a communication number of a second terminal of the first user to the first terminal, and receiving the communication number of the second terminal reported by the first terminal; and establishing communication connection between the second terminal and a third terminal of the second user according to the communication number of the second terminal and a pre-stored communication number of the third terminal.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for implementing voice communication in a web server, including:
the receiving unit is used for receiving request information which is submitted by a first terminal of a first user and used for requesting the first user to carry out voice communication with a second user;
a communication number determining unit, configured to send an instruction to the first terminal to acquire a communication number of a second terminal of the first user, and receive the communication number of the second terminal, which is submitted by the first terminal after the first terminal determines the second terminal of the first user and acquires the determined communication number of the second terminal;
and the communication establishing unit is used for establishing communication connection between the second terminal and a third terminal of the second user according to the communication number of the second terminal determined by the communication number determining unit and a communication number of the third terminal stored in advance.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for implementing voice communication in a web server, including:
a request information generating unit for generating request information that a first user requests voice communication with a second user;
a request information sending unit, configured to send the request information generated by the request information generating unit to a web server;
a terminal determining unit, configured to receive an instruction sent by the web server to acquire a communication number of a second terminal of the first user; and determining a second terminal of the first user;
and the communication number determining unit is used for acquiring the determined communication number of the second terminal and reporting the determined communication number of the second terminal to a network side.
According to the at least one technical scheme provided by the embodiment of the application, when voice communication is realized in the web server, the web server receives request information of a first user request submitted by a first terminal of a first user and voice communication between the first user request and a second user, sends an instruction of acquiring a communication number of a second terminal of the first user to the first terminal, receives a communication number of the second terminal submitted by the first terminal after the second terminal of the first user is determined and the determined communication number of the second terminal is acquired, and further establishes communication connection between the second terminal and a third terminal of the second user according to the determined communication number of the second terminal and a pre-stored communication number of the third terminal of the second user. According to the technical scheme, the communication number of the second terminal of the first user is automatically determined by the first terminal, and compared with the prior art, the communication number does not need to be input by the user, so that the problem that the webpage server acquires the wrong communication number due to the fact that the communication number is input by mistake or is input maliciously by the user is solved, the accuracy of the communication number of the user acquired by the webpage server is improved, the speed of acquiring the communication number of the second terminal is improved, and the execution efficiency of voice communication is improved.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of a network environment involved in implementing voice communication in a web server according to an embodiment of the present application;
fig. 2 is a flowchart illustrating implementation of voice communication in a web server according to a second embodiment of the present application;
fig. 3 is a flowchart of storing a correspondence between a user identifier and a communication number according to a third embodiment of the present application;
fig. 4 is a flowchart of determining, by the first terminal, the second terminal of the first user according to the third embodiment of the present application;
fig. 5 is a schematic diagram of an apparatus for implementing voice communication in a web server according to a fourth embodiment of the present application;
fig. 6 is a schematic diagram of an apparatus for implementing voice communication in a web server according to a fifth embodiment of the present application;
fig. 7 is a schematic diagram of another apparatus for implementing voice communication in a web server according to a fifth embodiment of the present application;
fig. 8 is a schematic diagram of a system for implementing voice communication in a web server according to a sixth embodiment of the present application.
Detailed Description
In order to provide an implementation scheme for improving the accuracy of a communication number of a call requester acquired by a web server and improving the execution efficiency of voice communication, embodiments of the present application provide a method, a system and a device for implementing voice communication in a web server. And the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In the technical solution provided in the embodiment of the present application, with a view to implementing voice communication in a web server, after receiving a request message for performing voice communication between a first user request submitted by a first terminal of a first user and a second user, the web server can determine a communication number of a second terminal of the first user, and establish a communication connection between the second terminal and a third terminal of the second user according to the determined communication number of the second terminal and a pre-stored communication number of the third terminal.
The technical scheme provided by the embodiment of the application can be applied to the process that a user accesses a webpage server of an e-commerce website, in the scene, a first user can be a buyer user, and a second user can be a seller user, for example, the buyer user needs to consult the seller user for specific information of a certain commodity in the process of browsing the commodity, and then the webpage server can be requested to establish communication connection with the seller user, so that voice communication can be carried out with the seller user in real time, and related information of the commodity can be acquired.
The technical scheme provided in the embodiment of the application can also be applied to a process that a user accesses a web server of an information publishing type, in the scenario, a first user can be a user needing to acquire information, a second user can be a user publishing the information, for example, when the first user searches some information which is desired to be acquired through a web page, the first user needs to consult a summary or summary of the information provided by the second user to further publish detailed information content of the second user publishing the information, and then the web server can be requested to establish communication connection with the user publishing the information, so that voice communication can be performed with the user publishing the information in real time to acquire the detailed content of the information.
It should be understood that the above application scenarios are only examples of scenarios in which the technical solution provided in the embodiment of the present application can be applied, and in practical applications, the technical solution provided in the embodiment of the present application may be applicable to various scenarios with a requirement for supporting real-time communication between users, which is not listed here.
The following is a detailed description of technical details related to the implementation of the above technical solutions of the present application.
Example one
The first embodiment provides a network environment involved in implementing voice communication in a web server according to the embodiments of the present application.
Fig. 1 illustrates a network environment involved in implementing voice communications in a web server. As shown in fig. 1, the network environment includes a web server, a first terminal of a first user, a second terminal of the first user, and a third terminal of a second user.
The first terminal of the first user may be a personal computer or a mobile terminal of the user, the second terminal of the first user may be a mobile terminal of the user with a voice communication function, and in a specific case, the first terminal and the second terminal of the first user may be the same terminal device. The third terminal of the second user may be a terminal having a voice communication function, such as a mobile phone, a fixed phone, etc.
Example two
The second embodiment provides a method for implementing voice communication in a web server based on the network environment provided by the first embodiment.
As shown in fig. 2, the process of implementing voice communication in the web server mainly includes the following steps:
step 201, a first terminal of a first user sends request information of a first user requesting voice communication with a second user to a web server.
In step 201, the web server may develop an interface for the user to send a voice communication request in a web page displayed to each user, and in the process of browsing the web page by the first user, if it is determined that there is a need for voice communication with the second user, the first terminal may be triggered to generate request information for the first user to request for voice communication with the second user, and the generated request information is sent to the web server through the interface. In practical applications, the first terminal may generate a request message according to a protocol type based on which the first terminal is in communication with the web server, where the request message is used to instruct the web server to establish a voice communication connection between the second terminal of the first user and the third terminal of the second user.
Step 202, after receiving request information of a first user request submitted by a first terminal of a first user and performing voice communication with a second user, the web server determines a communication number of the second terminal of the first user.
In this step 202, the web server determines that the communication number of the second terminal of the first user can be obtained in various ways, which will be described in detail in the following embodiments and will not be described here for the moment.
Step 203, the web server establishes a communication connection between the second terminal and a third terminal of the second user according to the determined communication number of the second terminal and a pre-stored communication number of the third terminal.
So far, the main flow of implementing voice communication in the web server is finished.
Before step 203 is implemented, the second user needs to register the communication number of the third terminal of the second user in the web server in advance, and specifically, the web server may store a correspondence between the user identifier of the second user and the communication number of the third terminal of the second user. Based on the stored correspondence, the web server may determine, after receiving request information for performing voice communication between a first user request sent by a first terminal of a first user and a second user, a user identifier of the second user according to the request information, and determine, according to the stored correspondence between the user identifier of the second user and a communication number of a third terminal of the second user, a communication number of a third terminal of the second user. Specifically, the web server may obtain the user identifier of the second user carried by the request information from the request information, or obtain the user identifier of the second user from an associated link of the request information (i.e., a web link or a sub-link where the first terminal is located when sending the request information).
In step 203 included in the corresponding flow of fig. 2, the web server establishes a communication connection between the second terminal and the third terminal according to the determined communication number of the second terminal and the pre-stored communication number of the third terminal of the second user, which may specifically be implemented by the following processes:
and the webpage server calls the second terminal through the built-in communication number. Specifically, the web server may request, through a communication interface with a first communication device in a home network of a communication number of the second terminal, the first communication device to establish a communication connection with the communication number of the second terminal through a built-in communication number; and
and the webpage server calls the third terminal through the built-in communication number. Specifically, the web server may request, through the built-in communication number, the second communication device to establish a communication connection with the communication number of the third terminal through a communication interface with the second communication device in the home network of the communication number of the third terminal.
In practical applications, the web server may perform a process of calling another terminal after the second terminal or the third terminal is connected.
According to the implementation mode, the web server needs to open a communication interface for communication with each network operator in advance so as to call the voice call function of the operator network through the communication interface.
EXAMPLE III
A third embodiment of the present application provides a specific implementation process of step 202 included in the method flow for implementing voice communication in a web server provided in the second embodiment.
The web server determines the communication number of the second terminal of the first user, which may preferably be implemented by the following embodiment one or embodiment two.
Detailed description of the preferred embodiment
And the webpage server determines the communication number of the second terminal of the first user according to the user identification of the first user carried in the request information and the corresponding relation between the stored user identification and the communication number of the second terminal of the user corresponding to the user identification.
The first embodiment is suitable for a scenario in which the web server pre-stores the correspondence between the user identifier of the first user and the communication number of the second terminal of the user corresponding to the user identifier. Specifically, the process of the web server storing the correspondence between the user identifier of the first user and the communication number of the second terminal of the user corresponding to the user identifier, as shown in fig. 3, mainly includes the following steps:
step 301, a first terminal of a first user sends a registration request to a web server, where the registration request includes a correspondence between a user identifier of the first user and a communication number of a second terminal of the first user.
In step 301, the registration request may be sent before the first terminal sends request information that the first user requests to perform language communication with the second user to the web server, and the request information needs to carry a user identifier of the first user when sending the request information.
Step 302, after receiving the registration request, the web server stores the corresponding relationship between the carried user identifier of the first user and the communication number of the second terminal of the first user.
And ending the process that the webpage server stores the corresponding relation between the user identification of the first user and the communication number of the second terminal of the user corresponding to the user identification.
Detailed description of the invention
The webpage server sends an instruction for acquiring the communication number of the second terminal to the first terminal and receives the communication number of the second terminal submitted by the first terminal according to the instruction.
The first terminal submits the communication number of the second terminal to the web server, and the communication number of the second terminal of the first user needs to be acquired.
Specifically, the first terminal acquires the communication number of the second terminal of the first user, and the communication number may be acquired in any one of the following first mode, second mode, or third mode:
in a first mode
The first terminal prompts the user to input the communication number of the second terminal of the first terminal and receives the communication number of the second terminal of the first terminal input by the first user.
Mode two
The first terminal stores the communication number of the second terminal of the first user in advance, and after the first terminal receives the instruction for acquiring the communication number of the second terminal sent by the webpage server, the first terminal acquires the communication number of the second terminal stored locally.
Mode III
The first terminal firstly determines a second terminal of the first user and acquires the communication number of the determined second terminal.
Specifically, in the third mode, the process of the first terminal determining the second terminal of the first user, as shown in fig. 4, may specifically include the following steps:
step 401, the first terminal performs device detection in a wireless communication mode.
In step 401, the first terminal may send a monitoring signal through a wireless communication manner, and determine that the device is detected if response information of the device to the monitoring signal is received.
Step 402, determining the detected device as the second terminal of the first user.
And the first terminal determines that the second terminal of the first user is finished.
In step 401 included in the flow corresponding to fig. 4, the first terminal performs device detection through a wireless communication method, and may perform device detection through any wireless communication method of a wireless network, bluetooth, or infrared. Specifically, which mode is adopted can be determined according to the wireless communication modes of a first terminal and a second terminal of a user, and specifically, the first terminal can adopt a set wireless mode to perform equipment detection; the priority of each wireless mode can also be set, for example, the wireless network with the highest priority and the bluetooth mode with the second lowest priority and the infrared mode with the lowest priority can be set, the device detection can be performed through the wireless network firstly, and if the detection fails (if the wireless network does not exist currently), the device detection can be further performed through the bluetooth mode; the first terminal may further determine a currently supported wireless communication mode, specifically, determine which wireless communication mode is supported by sending a probe signal, and determine which wireless mode is used for device detection according to a detection result, specifically, if it is determined that one wireless communication mode is currently supported, perform device detection by using the wireless communication mode; if it is determined that a plurality of wireless communication methods are currently supported, one wireless communication method is arbitrarily selected for device detection, or a wireless communication method having the highest priority is selected from the plurality of supported wireless communication methods according to the set priority of the wireless communication method for device detection.
After the device detection is performed in step 401, there are the following detection results:
detecting a device by the first terminal through device detection;
detecting a plurality of devices by the first terminal through device detection;
through the device detection, the first terminal does not detect the device.
In the flow corresponding to fig. 4, if the detection result in step 401 is: if the first terminal detects one device or the first terminal detects multiple devices, in step 402, the first terminal further needs to further verify whether the detected device is a second terminal of the first user, and the process specifically includes:
the first terminal instructs the first user to change the position of the second terminal within a set time interval, for example, the first user is required to shake the second terminal; the first terminal further obtains the position information of the detected devices within the set time interval in a wireless communication manner, where the position information may be the position information reported by the device with changed position after detecting the position sending change through a sensing module (such as a gravity sensing module or a direction sensing module), and the position information may also be the position information determined by each device detected by the first terminal through a GPRS positioning function. The first terminal determines the device with the position change determined according to the acquired position information as a second terminal of the first user, for example, if the first terminal receives the detected position information reported by a certain device after sensing that the gravity acceleration changes through the gravity sensing module or the direction changes through the direction sensing module, the first terminal determines the device as the second terminal of the first user; or after the first terminal receives at least two pieces of position information reported by each device in a set time interval through a GPRS function, if the two pieces of position information reported by a certain device are different, the device is determined to be the second terminal of the first user.
In the flow corresponding to fig. 4, if the detection result in step 401 is: if the first terminal does not detect the device, in step 402, the first terminal determines the second terminal of the first user, which may further be implemented as follows:
the first terminal searches the equipment installed with the setting software in a wireless communication mode, and determines the searched equipment installed with the setting software as the second terminal of the first user.
In the third mode, the first terminal acquires the determined communication number of the second terminal, and may acquire, in a wireless communication mode, a communication number stored in a designated location in the second terminal, where the designated location may be a smart card (e.g., a SIM card) of the second terminal or a designated readable area. The specific acquisition process comprises the following steps: the first terminal establishes a wireless connection, such as a Wi-fi connection, a bluetooth connection or an infrared connection, with the determined second terminal, and then acquires the communication number stored in the second terminal through the wireless connection, specifically, after the second terminal establishes a connection with the first terminal, the second terminal can read the communication number stored at the specified position and transmit the communication number to the first terminal through the wireless connection. The wireless mode used by the first terminal to acquire the communication number of the second terminal may be the same as or different from the wireless mode used in the device detection.
In the three ways of acquiring the communication number of the second terminal of the first user by the first terminal provided by the second embodiment, the first way and the second way have no specific requirements on the terminal capability of the second terminal of the first user, and therefore, the first way and the second way can be suitable for various terminal types; in the third method, the second terminal of the first user needs to have a wireless communication function, and particularly, when a plurality of devices are detected through the wireless communication method of the first terminal, the second terminal needs to have a corresponding position detection function, for example, a gravity sensing module, a direction sensing module, or a GPRS positioning module.
Further, the three modes can be used independently or can complement each other. For example, the locally stored communication number of the second terminal may be obtained in the second mode first or the communication number of the second terminal may be obtained in the third mode first, and if the locally stored communication number of the second terminal is not obtained, the first mode first may be used to request the first user to input the communication number of the second terminal in real time.
Example four
The fourth embodiment of the present application provides a device for implementing voice communication in a web server, where functions implemented by the device correspond to functions implemented by the web servers in the first to third embodiments one to one.
As shown in fig. 5, the apparatus for implementing voice communication in a web server includes:
a receiving unit 501, a communication number determining unit 502, and a communication establishing unit 503;
wherein:
a receiving unit 501, configured to receive request information, which is submitted by a first terminal of a first user, of a first user requesting voice communication with a second user;
a communication number determining unit 502, configured to determine a communication number of the second terminal of the first user after the receiving unit receives the request information;
a communication establishing unit 503, configured to establish a communication connection between the second terminal and the third terminal according to the communication number of the second terminal determined by the communication number determining unit and a communication number of the third terminal of the second user, which is stored in advance.
In a preferred implementation manner provided in the fourth embodiment of the present application, the communication number determining unit 502 included in the apparatus shown in fig. 5 is specifically configured to:
determining the communication number of the second terminal of the first user according to the user identification of the first user carried in the request information and the corresponding relation between the stored user identification and the communication number of the second terminal of the user corresponding to the user identification; or
Sending an instruction for acquiring a communication number of a second terminal to a first terminal, and receiving the communication number of the second terminal, which is input by a first user or is stored in advance, submitted by the first terminal according to the instruction; or
And sending an instruction for acquiring the communication number of the second terminal to the first terminal, and receiving the communication number of the second terminal submitted by the first terminal after the second terminal of the first user is determined and the determined communication number of the second terminal is acquired.
In a preferred implementation manner provided in the fourth embodiment of the present application, the communication establishing unit 503 included in the apparatus shown in fig. 5 is specifically configured to:
requesting, by a built-in communication number, the first communication device to establish a communication connection with a communication number of the second terminal through a communication interface with the first communication device in a home network of the communication number of the second terminal; and
requesting the second communication device to establish a communication connection with the communication number of the third terminal through a communication interface with the second communication device in the home network of the communication number of the third terminal.
The device for implementing voice communication in the web server in the fourth embodiment further has a functional module that can be implemented by the web server in the first embodiment, the second embodiment, and the third embodiment, and details thereof are not repeated herein.
It should be understood that the above apparatus for implementing voice communication in a web server includes only logical partitions according to the functions implemented by the apparatus, and in practical applications, the above units may be stacked or separated. The functions implemented by the apparatus for implementing voice communication in a web server provided in this embodiment correspond to the method flows for implementing voice communication in a web server provided in the first to third embodiments one to one, and for the more detailed processing flows implemented by the apparatus, the method embodiments have been described in detail, and are not described in detail here.
EXAMPLE five
In a fifth embodiment of the present application, a device for implementing voice communication in a web server is provided, where functions implemented by the device correspond to functions implemented by a first terminal in the first to third embodiments one to one.
As shown in fig. 6, the apparatus for implementing voice communication in a web server includes:
a request information generating unit 601, a request information transmitting unit 602, a terminal determining unit 603, and a communication number determining unit 604;
wherein:
a request information generating unit 601 for generating request information that a first user requests voice communication with a second user;
a request information sending unit 602, configured to send the request information generated by the request information generating unit to the web server;
a terminal determining unit 603, configured to receive an instruction sent by a web server to acquire a communication number of a second terminal of the first user; and determining a second terminal of the first user;
a communication number determining unit 604, configured to acquire the determined communication number of the second terminal, and report the determined communication number of the second terminal to a network side.
As shown in fig. 7, in a preferred implementation manner provided in example five of the present application, a terminal determining unit 603 included in the apparatus shown in fig. 6 specifically includes:
the device detection module 603A is configured to perform device detection in a wireless communication manner;
a terminal determining module 603B, configured to determine the device detected by the device detecting module as the second terminal of the first user.
In a preferred implementation manner provided in example five of the present application, the apparatus shown in fig. 7 includes an equipment detecting module 603A, which is specifically configured to:
determining a currently supported wireless communication mode;
if the fact that a wireless communication mode is currently supported is determined, equipment detection is carried out in the wireless communication mode;
if it is determined that a plurality of wireless communication methods are currently supported, one wireless communication method is arbitrarily selected for device detection, or a wireless communication method having the highest priority is selected from the plurality of supported wireless communication methods according to the set priority of the wireless communication method for device detection.
In a preferred implementation manner provided in this fifth embodiment of the present application, the terminal determining module 603B included in the apparatus shown in fig. 7 is specifically configured to:
instructing the first user to change the position of the second terminal within a set time interval; and
acquiring the detected equipment with position change in the set time interval in a wireless communication mode;
and determining the device with the changed position as the second terminal of the first user.
In a preferred implementation manner provided in this fifth embodiment of the present application, the terminal determining module 603B included in the apparatus shown in fig. 7 is specifically configured to:
and in the set time interval, acquiring the position information reported by a sensing module in the detected equipment when the position of the equipment is sensed to be changed in a wireless communication mode, and determining the equipment reporting the position information as the equipment with the changed position.
In a preferred implementation manner provided in this embodiment five of the present application, the apparatus shown in fig. 7 includes a terminal determining module 603B, further configured to:
and when the device is not detected through the wireless communication mode, searching the device with the setting software through the wireless communication mode, and determining the searched device with the setting software as the second terminal of the first user.
In a preferred implementation manner provided in example five of the present application, the communication number determining unit 604 included in the apparatus shown in fig. 7 is specifically configured to:
and acquiring the communication number stored in the designated position in the second terminal in a wireless communication mode.
In the fifth embodiment, the apparatus for implementing voice communication in a web server further includes a functional module that can be implemented by the first terminal in the first, second, and third embodiments, and details thereof are not repeated here.
It should be understood that the above apparatus for implementing voice communication in a web server includes only logical partitions according to the functions implemented by the apparatus, and in practical applications, the above units may be stacked or separated. The functions implemented by the apparatus for implementing voice communication in a web server provided in this embodiment correspond to the method flows for implementing voice communication in a web server provided in the first to third embodiments one to one, and for the more detailed processing flows implemented by the apparatus, the method embodiments have been described in detail, and are not described in detail here.
EXAMPLE six
An embodiment of the present application provides a system for implementing voice communication in a web server, as shown in fig. 8, the system includes:
a first terminal 801 and a web server 802; wherein,
a first terminal 801, configured to generate request information for a first user to request voice communication with a second user and send the request information to a web server; receiving an indication sent by the web server and used for acquiring the communication number of the second terminal of the first user, determining the second terminal of the first user, acquiring the determined communication number of the second terminal, and reporting the determined communication number of the second terminal to the web server;
the web server 802 is configured to receive request information, submitted by a first terminal, for performing voice communication between a first user request and a second user, send an instruction to the first terminal to obtain a communication number of the second terminal of the first user, and receive the communication number of the second terminal reported by the first terminal; and establishing communication connection between the second terminal and the third terminal according to the communication number of the second terminal and the communication number of the third terminal of the second user, which is stored in advance.
The functions implemented by the web server 802 included in the system for implementing voice communication in a web server according to the sixth embodiment correspond to the apparatus for implementing voice communication in a web server according to the fourth embodiment, and a more detailed processing flow implemented by the web server 802 is described in detail in the fourth embodiment, and will not be described in detail here.
The functions implemented by the first terminal 801 included in the system for implementing voice communication in a web server according to the sixth embodiment correspond to the apparatus for implementing voice communication in a web server according to the fifth embodiment, and a more detailed processing flow implemented by the first terminal 801 is described in detail in the fifth embodiment, and will not be described in detail here.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus (device), or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application. It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (16)
1. A method for implementing voice communication in a web server, comprising:
the method comprises the steps that a webpage server receives request information submitted by a first terminal of a first user, wherein the request information is used for carrying out voice communication between the first user and a second user;
sending an instruction of acquiring a communication number of a second terminal of the first user to the first terminal, and receiving the communication number of the second terminal submitted by the first terminal after the second terminal of the first user is determined and the determined communication number of the second terminal is acquired;
the webpage server establishes communication connection between the second terminal and a third terminal of the second user according to the communication number of the second terminal and a pre-stored communication number of the third terminal;
wherein the determining, by the first terminal, the manner of the second terminal of the first user includes:
the first terminal carries out equipment detection in a wireless communication mode;
instructing the first user to change the position of the second terminal within a set time interval; and
the first terminal determines the detected equipment with position change in the set time interval in a wireless communication mode;
and determining the device with the changed position as a second terminal of the first user.
2. The method of claim 1, wherein the first terminal performs device detection via wireless communication, comprising:
the first terminal determines the current supported wireless communication mode;
if the fact that a wireless communication mode is currently supported is determined, equipment detection is carried out in the wireless communication mode;
if it is determined that a plurality of wireless communication methods are currently supported, one wireless communication method is arbitrarily selected for device detection, or a wireless communication method having the highest priority is selected from the plurality of supported wireless communication methods according to the set priority of the wireless communication method for device detection.
3. The method of claim 1, wherein the first terminal determines, through wireless communication, a device having a location change among the detected devices within the set time interval, comprising:
and the first terminal acquires the position information reported by the sensing module in the detected equipment when sensing that the position of the equipment is changed in a wireless communication mode in the set time interval, and determines the equipment reporting the position information as the equipment with the changed position.
4. The method of claim 1, wherein the first terminal determines the manner of the second terminal of the first user when the first terminal does not detect a device via wireless communication, further comprising:
the first terminal searches the equipment with the setting software in a wireless communication mode, and determines the searched equipment with the setting software as the second terminal of the first user.
5. The method according to any one of claims 1 to 4, wherein the manner in which the first terminal obtains the determined communication number of the second terminal comprises:
and the first terminal acquires the determined communication number stored in the appointed position in the second terminal in a wireless communication mode.
6. A method for implementing voice communication in a web server, comprising:
a first terminal of a first user generates request information of the first user for requesting voice communication with a second user;
the first terminal sends the request information to a webpage server and receives an instruction sent by the webpage server for acquiring a communication number of a second terminal of the first user; and
determining a second terminal of the first user, acquiring the determined communication number of the second terminal, and reporting the determined communication number of the second terminal to a network side;
wherein the determining, by the first terminal, the second terminal of the first user includes:
the first terminal carries out equipment detection in a wireless communication mode;
instructing the first user to change the position of the second terminal within a set time interval; and
the first terminal determines the detected equipment with position change in the set time interval in a wireless communication mode;
and determining the device with the changed position as a second terminal of the first user.
7. The method of claim 6, wherein the first terminal performing device detection via wireless communication, comprising:
the first terminal determines the current supported wireless communication mode;
if the fact that a wireless communication mode is currently supported is determined, equipment detection is carried out in the wireless communication mode;
if it is determined that a plurality of wireless communication methods are currently supported, one wireless communication method is arbitrarily selected for device detection, or a wireless communication method having the highest priority is selected from the plurality of supported wireless communication methods according to the set priority of the wireless communication method for device detection.
8. The method of claim 6, wherein the first terminal determines the detected devices with the changed locations within the set time interval by wireless communication, comprising:
and the first terminal acquires the position information reported by the sensing module in the detected equipment when sensing that the position of the equipment is changed in a wireless communication mode in the set time interval, and determines the equipment reporting the position information as the equipment with the changed position.
9. The method of claim 6, wherein the first terminal determines the second terminal of the first user when the first terminal does not detect a device via wireless communication, further comprising:
the first terminal searches the equipment with the setting software in a wireless communication mode, and determines the searched equipment with the setting software as the second terminal of the first user.
10. The method according to any one of claims 6 to 9, wherein the obtaining of the determined communication number of the second terminal by the first terminal comprises:
and the first terminal acquires the determined communication number stored in the appointed position in the second terminal in a wireless communication mode.
11. A system for implementing voice communication in a web server, comprising:
a first terminal and a web server; wherein,
the first terminal is used for generating request information of a first user for requesting voice communication with a second user and sending the request information to the webpage server; receiving an instruction sent by the webpage server for acquiring the communication number of the second terminal of the first user, and carrying out equipment detection in a wireless communication mode; instructing the first user to change the position of the second terminal within a set time interval; the first terminal determines the detected equipment with position change in the set time interval in a wireless communication mode; determining the equipment with the changed position as a second terminal of the first user, acquiring the determined communication number of the second terminal, and reporting the determined communication number of the second terminal to the webpage server;
the web server is used for receiving request information of voice communication between the first user request submitted by the first terminal and a second user, sending an instruction of acquiring a communication number of a second terminal of the first user to the first terminal, and receiving the communication number of the second terminal reported by the first terminal; and establishing communication connection between the second terminal and a third terminal of the second user according to the communication number of the second terminal and a pre-stored communication number of the third terminal.
12. An apparatus for implementing voice communication in a web server, comprising:
a request information generating unit for generating request information that a first user requests voice communication with a second user;
a request information sending unit, configured to send the request information generated by the request information generating unit to a web server;
a terminal determining unit, configured to receive an instruction sent by the web server to acquire a communication number of a second terminal of the first user; and determining a second terminal of the first user;
a communication number determining unit, configured to acquire the determined communication number of the second terminal, and report the determined communication number of the second terminal to a network side;
wherein the terminal determining unit includes:
the equipment detection module is used for carrying out equipment detection in a wireless communication mode;
the terminal determining module is used for indicating the first user to change the position of a second terminal of the first user within a set time interval; and determining the detected devices with position change in the set time interval by a wireless communication mode; and determining the device with the changed position as a second terminal of the first user.
13. The apparatus of claim 12, wherein the device detection module is specifically configured to:
determining a currently supported wireless communication mode;
if the fact that a wireless communication mode is currently supported is determined, equipment detection is carried out in the wireless communication mode;
if it is determined that a plurality of wireless communication methods are currently supported, one wireless communication method is arbitrarily selected for device detection, or a wireless communication method having the highest priority is selected from the plurality of supported wireless communication methods according to the set priority of the wireless communication method for device detection.
14. The apparatus of claim 12, wherein the terminal determination module is specifically configured to:
and in the set time interval, acquiring the position information reported by a sensing module in the detected equipment when the position of the equipment is sensed to be changed in a wireless communication mode, and determining the equipment reporting the position information as the equipment with the changed position.
15. The apparatus of claim 12, wherein the terminal determination module is further configured to:
when the device is not detected through the wireless communication mode, searching the device with the setting software through the wireless communication mode, and determining the searched device with the setting software as the second terminal of the first user.
16. The apparatus according to any one of claims 12 to 15, wherein the communication number determining unit is specifically configured to:
and acquiring the communication number stored in the appointed position in the second terminal in a wireless communication mode.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110106741.4A CN102761672B (en) | 2011-04-27 | 2011-04-27 | Method, system and device for realizing speech communication in webpage server |
HK12113353.0A HK1172759A1 (en) | 2011-04-27 | 2012-12-25 | Method, system and device for implementing voice communication in a webpage server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110106741.4A CN102761672B (en) | 2011-04-27 | 2011-04-27 | Method, system and device for realizing speech communication in webpage server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102761672A CN102761672A (en) | 2012-10-31 |
CN102761672B true CN102761672B (en) | 2014-09-10 |
Family
ID=47055987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110106741.4A Active CN102761672B (en) | 2011-04-27 | 2011-04-27 | Method, system and device for realizing speech communication in webpage server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102761672B (en) |
HK (1) | HK1172759A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103402271B (en) * | 2013-07-31 | 2018-12-04 | 努比亚技术有限公司 | A kind of interconnected method of multiple terminals |
US9210379B2 (en) * | 2014-02-27 | 2015-12-08 | Google Inc. | Displaying a presenter during a video conference |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101425067A (en) * | 2007-10-31 | 2009-05-06 | 中国移动通信集团公司 | Information retrival method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2386290B (en) * | 2003-03-14 | 2006-01-04 | Davide Antilli | System and method for the establishment of a connnection between a contact requester and a communications centre |
-
2011
- 2011-04-27 CN CN201110106741.4A patent/CN102761672B/en active Active
-
2012
- 2012-12-25 HK HK12113353.0A patent/HK1172759A1/en unknown
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101425067A (en) * | 2007-10-31 | 2009-05-06 | 中国移动通信集团公司 | Information retrival method and system |
Also Published As
Publication number | Publication date |
---|---|
HK1172759A1 (en) | 2013-04-26 |
CN102761672A (en) | 2012-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9703971B2 (en) | Sensitive operation verification method, terminal device, server, and verification system | |
US10489844B2 (en) | Method, apparatus, and system for processing services | |
CN104767767A (en) | Method, device and system for sharing Internet access data and network equipment | |
KR20130033485A (en) | Social network service providing system, user terminal and relationship setting method for setting relationship between users of mobile terminal | |
WO2016138009A1 (en) | Methods, apparatus, and systems for identity authentication | |
CN105303427A (en) | Article exchange method and article exchange device | |
US20140172532A1 (en) | Optimal utilization of coupons | |
CN111756796A (en) | Method and device for pushing rights and interests resource information, storage medium and terminal | |
JP2018500670A (en) | Handling unstructured messages | |
CN102761672B (en) | Method, system and device for realizing speech communication in webpage server | |
JP6301936B2 (en) | Location-based social networking system and method | |
US9516468B2 (en) | Mobile terminal, content panel display method, and mobile terminal program | |
US9532167B2 (en) | Mobile terminal, location information related content providing server, content panel display method, and mobile terminal program | |
CN105338049B (en) | The method and apparatus for realizing O2O Internet services | |
CN105844489A (en) | Information processing method and electronic device | |
CN107483294B (en) | Method and device for monitoring network request | |
US8977785B2 (en) | Machine to machine development environment | |
CN114968822A (en) | Interface testing method and device, computer equipment and storage medium | |
CN103595794A (en) | Information input method and device | |
CN104598220B (en) | Method and device for providing and realizing webpage auxiliary function | |
CN105321058B (en) | Method and terminal for searching device and device to be searched | |
CN107094296A (en) | device identification method and device | |
CN105631652B (en) | Data processing method, device and system | |
KR102011472B1 (en) | Social network service providing system, user terminal and relationship setting method for setting relationship between users of mobile terminal | |
WO2019014117A1 (en) | Systems and methods for recommending objects based on captured data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1172759 Country of ref document: HK |