Voice communication method and system based on MIFI device

By establishing a pairing connection between the MIFI device and the user device, and using the MIFI device to forward call requests to the cellular network, the problem of users ignoring idle call minutes is solved, thus achieving effective utilization of call resources in the MIFI device and improving the user experience.

CN120302248BActive Publication Date: 2025-11-28SHENZHEN WEWINS WIRELESS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510787431.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-13
Publication Date
2025-11-28
Estimated Expiration
2045-06-13

AI Technical Summary

Technical Problem

In existing technologies, when using MIFI devices for voice communication, users often neglect the call minutes included in their phone card plans, resulting in their being idle and wasted, and failing to fully utilize the communication service resources provided by the operator.

Method used

By establishing a pairing connection between the MIFI device and the user device, the MIFI device forwards call requests to the cellular network, establishes a call connection, and displays the call status in real time, ensuring that the user device and the MIFI device work together to utilize the call function in the phone card plan.

Benefits of technology

It enables the effective use of call resources in MIFI devices, reduces resource waste, improves user experience, ensures that users can make full use of the communication service resources provided by operators, and reduces unnecessary expenses for users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120302248B_ABST
    Figure CN120302248B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of communication, in particular to a voice communication method and system based on a MIFI device, the system comprising a user device and a MIFI device; after receiving a telephone dialing request, the user device first verifies a pairing state with the MIFI device; if the pairing is successful, the request is forwarded to the MIFI device; the MIFI device forwards the voice request to a cellular network, establishes a call connection, and returns a call state in real time (to the user device, the user device dynamically updates a call interface according to the returned state, and directly shows the user the current call situation. The application cooperates the MIFI device with a mobile phone APP, converts idle traffic card call minutes in the MIFI device into actual call resources, improves user experience and resource utilization, and ensures communication safety and real-time performance.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication technology, in particular to a voice communication method and system based on MIFI device. BACKGROUND

[0002] With the rapid development of mobile Internet, people's demand for mobile data traffic is growing, and MIFI (Mobile WIFI) devices emerge as the times require and are widely used as a portable wireless hotspot device. MIFI devices access mobile communication networks through built-in phone cards, convert mobile data signals into WIFI signals, and provide wireless network connections for multiple mobile terminal devices (such as mobile phones, tablets, laptops, etc.), so that users can conveniently access the Internet in different scenarios.

[0003] At present, some MIFI devices on the market use phone card packages that not only contain a certain amount of data traffic, but also come with a certain number of call minutes. However, in actual use, many users only use MIFI devices as pure traffic cards to meet their mobile Internet needs, ignoring the call minutes resources attached to the phone card package, resulting in idle and waste of call minutes in the phone card package. Users cannot fully utilize the complete communication service resources provided by the operator, causing a certain degree of resource waste and unnecessary user expenses. SUMMARY

[0004] In order to overcome the shortcomings of the prior art, the present application provides a voice communication method and system based on MIFI device to improve the use rate of phone card package resources in MIFI device.

[0005] The first aspect of the present application provides a voice communication method based on MIFI device, which is applied to a voice communication system based on MIFI device, the voice communication system based on MIFI device comprising a user device and a MIFI device, and the method comprising:

[0006] When the user device receives a user's phone call request, it determines whether it is successfully paired and connected with the MIFI device;

[0007] When the user device determines that it is successfully paired and connected with the MIFI device, it sends the phone call request to the MIFI device;

[0008] When the MIFI device receives the phone call request, it forwards the phone call request to a cellular network to establish a call connection with the user device;

[0009] The user equipment sends a call state query request to the MIFI equipment, so that the MIFI equipment returns a current call state;

[0010] The user equipment displays a corresponding call interface according to the current call state to prompt the user.

[0011] In an optional embodiment, the method further comprises:

[0012] The user equipment connects to the WiFi network created by the MIFI equipment through WiFi;

[0013] The user equipment acquires the gateway address of the MIFI equipment when successfully connecting the WiFi network created by the MIFI equipment, and sends a pairing request to the MIFI equipment based on the gateway address, wherein the pairing request comprises the user equipment identification and encryption key information corresponding to the user equipment;

[0014] The MIFI equipment checks whether it is successfully paired with other equipment when receiving the pairing request;

[0015] The MIFI equipment rejects the pairing request and returns a pairing failure prompt to the user equipment when determining that it is successfully paired with the other equipment;

[0016] The MIFI equipment generates a pairing code according to the pairing request when determining that it is not successfully paired with the other equipment, and returns the pairing code, key information and a pairing success prompt to the user equipment.

[0017] In an optional embodiment, the method further comprises:

[0018] The user equipment stores the pairing code;

[0019] The user equipment acquires the pairing code when receiving a reconnection request of the MIFI equipment, and sends the reconnection request and the pairing code to the MIFI equipment;

[0020] The MIFI equipment determines whether to update the key information according to the pairing code;

[0021] The MIFI equipment returns the updated key information to the user equipment when determining to update the key information.

[0022] In an optional embodiment, the method further comprises:

[0023] The user equipment sends a telephone hang-up request to the MIFI equipment when receiving a telephone hang-up request of the user;

[0024] The MIFI device forwards the phone hang-up request to a cellular network to terminate the call connection with the user device when the MIFI device receives the phone hang-up request.

[0025] In an optional embodiment, the method further comprises:

[0026] The MIFI device returns a no-signal request to the user device when the MIFI device does not receive the phone dialing request.

[0027] The user device prompts the user to terminate the phone dialing request when the user device receives the no-signal request.

[0028] In an optional embodiment, the method further comprises:

[0029] The user device queries the MIFI device whether the MIFI device receives a phone incoming request, so that the MIFI device returns incoming phone information corresponding to the phone incoming request when the MIFI device receives the phone incoming request.

[0030] The user device initializes a call interface according to the incoming phone information to provide a call-accept option and a call-reject option to the user.

[0031] The user device sends a call-accept request to the MIFI device when the user device receives a call-accept request of the user for the call-accept option.

[0032] The MIFI device forwards the call-accept request to a cellular network to establish a call connection with the user device when the MIFI device receives the call-accept request.

[0033] In an optional embodiment, the method further comprises:

[0034] The user device sends a call-reject request to the MIFI device when the user device receives a call-reject request of the user for the call-reject option.

[0035] The MIFI device forwards the call-reject request to a cellular network to terminate the call connection with the user device when the MIFI device receives the call-reject request.

[0036] In an optional embodiment, the method further comprises:

[0037] The user device receives a phone call-accept request and acquires a user operation request of the user for the phone call-accept request, the user operation request comprising a first voice communication channel accept or a second voice communication channel accept.

[0038] The user equipment cuts off the telephone answering request of the second voice communication channel and sends the telephone answering request to the first voice communication channel when determining that the user operation request corresponds to answering the first voice communication channel.

[0039] The user equipment cuts off the telephone answering request of the first voice communication channel and sends the telephone answering request to the second voice communication channel when determining that the user operation request corresponds to answering the second voice communication channel.

[0040] In an optional embodiment, the user equipment is installed with a mobile application, and the method further comprises:

[0041] The mobile application sends an authorization inquiry request corresponding to the contact data to a device system of the user equipment;

[0042] The device system pops up an authorization dialog box to prompt the user whether to agree to authorization when receiving the authorization inquiry request;

[0043] The device system prevents the mobile application from reading the contact data when determining that the user selects not to agree to authorization;

[0044] The device system returns the contact data to the mobile application when determining that the user selects to agree to authorization;

[0045] The mobile application performs page processing on the contact data and displays the contact data to the user in pages when receiving the contact data.

[0046] The second aspect of the application provides a voice communication system based on a MIFI device, and the system comprises a user equipment and a MIFI device;

[0047] The user equipment is configured to determine whether to successfully pair and connect with the MIFI device when receiving a telephone dialing request of a user;

[0048] The user equipment is configured to send the telephone dialing request to the MIFI device when determining to successfully pair and connect with the MIFI device;

[0049] The MIFI device is configured to forward the telephone dialing request to a cellular network to establish a call connection with the user equipment when receiving the telephone dialing request;

[0050] The user equipment is configured to send a call state query request to the MIFI device to enable the MIFI device to return a current call state;

[0051] The user equipment is configured to display a corresponding call interface according to the current call state to prompt the user.

[0052] In summary, the voice communication method and system based on the MIFI device provided by the present application have at least one of the following beneficial effects:

[0053] 1. When the user equipment receives a telephone call request from a user, it first determines whether it is successfully paired and connected with the MIFI device, ensuring that the subsequent voice communication process can only be carried out when the user equipment and the MIFI device are successfully connected. Through the connection determination mechanism, the use of the call function in the telephone card package used by the MIFI device is laid a foundation, so that the originally idle call resources have the possibility of being utilized;

[0054] 2. The user equipment sends a telephone call request to the MIFI device, which is then forwarded to the cellular network, successfully establishing a call connection. The user equipment can use the call function in the telephone card package used by the MIFI device for voice communication, rather than just using the MIFI device as a pure traffic card, thereby fully utilizing the call minute resources in the telephone card package and avoiding the idling and waste of resources;

[0055] 3. The user equipment sends a call state query request to the MIFI device, so that the MIFI device returns the current call state and displays a corresponding call interface to prompt the user, ensuring that the user can know the call state in real time during the call and providing a good user experience. At the same time, the user equipment and the MIFI device are strengthened in terms of voice communication, making it easier for the user to use the call function in the telephone card package used by the MIFI device and fully enjoy the communication service resources provided by the operator, reducing unnecessary expenses for the user. BRIEF DESCRIPTION OF DRAWINGS

[0056] Figure 1 is a schematic diagram of a voice communication system based on the MIFI device according to an embodiment of the present application;

[0057] Figure 2 is a schematic diagram of a contact authorized access interface according to an embodiment of the present application;

[0058] Figure 3 is a schematic diagram of a contact communication list interface according to an embodiment of the present application;

[0059] Figure 4 is a schematic diagram of a dialing module function provided interface according to an embodiment of the present application;

[0060] Figure 5 is a flowchart of a voice communication method based on a MIFI device according to an embodiment of the present application;

[0061] Figure 6 is a flowchart of a telephone dialing method based on a MIFI device according to an embodiment of the present application;

[0062] Figure 7 is a flowchart of a telephone answering method based on a MIFI device according to an embodiment of the present application;

[0063] Figure 8 is a flowchart of an APP obtaining mobile phone contact data according to an embodiment of the present application;

[0064] Figure 9 is a structural diagram of a user device according to an embodiment of the present application. DETAILED DESCRIPTION

[0065] The present application will be further described below in conjunction with the drawings and embodiments.

[0066] The concept, specific structure and technical effects of the present application will be described clearly and completely below in conjunction with embodiments and drawings, so as to fully understand the purpose, features and effects of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments of the present application, other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present application. In addition, all the coupling / connection relations involved in the patent do not mean that the components are directly connected, but means that a better coupling structure can be composed by adding or reducing coupling accessories according to the specific implementation. The technical features in the present application can be combined interactively without mutual contradiction and conflict.

[0067] Referring to Figure 1 , it is a structural diagram of a voice communication system based on a MIFI device according to an embodiment of the present application.

[0068] In some embodiments, the voice communication system based on a MIFI device includes a user device (for example, a user mobile phone) of a user and a MIFI device. In order to facilitate understanding of the inventive idea of the present application, the user device in the embodiments of the present application is exemplified by a user mobile phone. The mobile phone is installed with an application program APP for communication connection with the MIFI device, the APP end includes an authentication module, a contact module and a dialing module, etc., and the MIFI device can include a communication module and a control module.

[0069] For the mobile phone APP, the authentication module is used to ensure the security of the communication between the APP and the MIFI device, so that the APP performs key negotiation once every time pairing is connected through the authentication module and the MIFI device, and then updates the key every hour to ensure the security of the communication. The contact module is used to store the mobile phone contacts, and when the contact list needs to be accessed, the user needs to authorize the access to the contacts. Specifically, referring to Figure 2 and Figure 3 , the authorization page will pop up on the APP, asking whether to access the permission to access the contacts. If not, the contact module has no content, and if authorized, the contact module allows the mobile phone contacts to be read. The dialing module is used to provide the telephone dialing and / or listening function, such as the dialing pad, the telephone dialing interface, the telephone listening interface, and the like, as shown in Figure 4 .

[0070] For the MIFI device, the communication module fully complies with the communication protocol and is used to implement the call, and is responsible for dialing the phone and answering the phone. The control module is used to perform the control and management of the signaling, including the control of dialing, answering, and hanging up, and the management of the state. Among them, the control module adds an exception protection mechanism, when the APP appears an exception (for example, the phone is not normally hung up), the MIFI device can hang up the phone in a short time, and the implementation is that there is a heartbeat detection mechanism between the APP and the MIFI device, for example, the MIFI device automatically hangs up the phone after 10 seconds without receiving the heartbeat detection.

[0071] Since the MIFI device serves as a mobile hotspot, it does not have the recording and playing functions and cannot realize the calling function alone. The application connects the WIFI network of the MIFI device through the mobile phone APP, dials or answers the phone through the mobile phone APP, that is, uses the recording and playing functions of the mobile phone, and based on the responding mobile phone APP, only needs to use the WIFI network provided by the MIFI device to realize the voice call, effectively uses the calling minutes of the phone card in the MIFI device, and realizes the voice communication service.

[0072] Referring to Figure 5 , a flowchart of a voice communication method based on a MIFI device is shown, the voice communication method based on a MIFI device is applied to a voice communication system based on a MIFI device, and the voice communication based on a MIFI device includes the following steps.

[0073] S51, when receiving the telephone dialing request of the user, the user equipment judges whether the MIFI device is successfully paired and connected.

[0074] Since the call application of the mobile phone is connected with the call channel of the mobile phone card, when the voice communication is performed by using the call application of the mobile phone, the call time length used is the call time length in the mobile phone card. In order to use the call time length of the mobile phone card in the MIFI device, an application (hereinafter referred to as APP) is developed by self-research, and the APP is run in the mobile phone of the user. When the user needs to make a call, the dialing keyboard of the dialing module function interface provided by the APP is used to initiate a call request. Referring to Figure 6 When the APP receives the call request operated by the user, the APP needs to send the call request to the MIFI device. However, before the APP sends the call request to the MIFI device, the APP needs to determine whether the MIFI device is successfully paired and connected. When it is determined that the MIFI device is successfully paired and connected, the call request is sent to the MIFI device.

[0075] In an optional embodiment, the method further comprises:

[0076] The user device is connected to the WiFi network created by the MIFI device through WiFi;

[0077] When the user device is successfully connected to the WiFi network created by the MIFI device, the gateway address of the MIFI device is obtained, and a pairing request is sent to the MIFI device based on the gateway address, wherein the pairing request comprises the user device identifier corresponding to the user device and the encryption key information;

[0078] When the MIFI device receives the pairing request, it is checked whether the MIFI device is successfully paired and connected with other devices.

[0079] When it is determined that the MIFI device is successfully paired and connected with the other devices, the pairing request is rejected, and a pairing failure prompt is returned to the user device;

[0080] When it is determined that the MIFI device is not successfully paired and connected with the other devices, a pairing code is generated according to the pairing request, and the pairing code, the key information and a pairing success prompt are returned to the user device.

[0081] In some embodiments, when the user opens the APP, the user's mobile phone initiates a pairing connection request to the MIFI. First, the APP scans and discovers the WiFi network (SSID) created by the MIFI device and inputs the preset password (or free connection) to complete authentication. After successful connection, the APP obtains the IP address (such as 192.168.8.100) allocated by DHCP and resolves the gateway address (such as 192.168.8.1) of the MIFI device through the ARP protocol. Then, the APP sends a POST request, i.e., a pairing request, to the gateway address of the MIFI device based on the HTTP / HTTPS protocol, with a path such as / api / pair. After receiving the pairing request, the MIFI device first verifies whether the timestamp is within the allowed range (such as ±5 minutes) to prevent replay attacks, and queries the locally stored pairing record table (such as a SQLite database) to check whether there is an active pairing session of other devices. If there is an active pairing (with a status of "pairing success"), the MIFI device rejects the pairing request sent by the APP and returns a pairing failure prompt to the APP. If there is no active pairing or the pairing has timed out (such as more than 30 minutes without communication), the MIFI device allows the pairing request sent by the APP and performs new pairing. If the APP and the MIFI device are connected for the first time and the pairing is allowed, the MIFI device can generate a random pairing code (such as a 6-digit number) and generate a new session key, i.e., secret key information (such as an AES-256 key), and update the local pairing record table to mark the current MIFI device as "pairing success" and record the timestamp. After the APP and the MIFI device are successfully paired and connected, the APP can send the received phone call request to the MIFI device to enable the MIFI device to process the phone call request and realize the use of the call duration resource of the phone card in the MIFI device.

[0082] When the MIFI device is successfully paired and connected with the APP, the MIFI device returns the randomly generated pairing code and secret key information to the APP. After receiving the pairing code and secret key information, the APP stores the pairing code and secret key information, binds the pairing code with the unique identifier (such as the MAC address) of the MIFI device, and stores them in the local secure storage area. In other embodiments, in addition to sending the phone call request, the APP needs to query whether it is successfully paired and connected with the MIFI device when sending other requests such as phone hang-up requests. Only when the APP is successfully paired and connected with the MIFI device, the APP can successfully use the call duration of the phone card in the MIFI device during voice communication.

[0083] It should be noted that the APP and the MIFI device are in a one-to-one relationship, that is, one MIFI device can only be paired with one APP. During the pairing process, when the MIFI device has been paired with other APPs, the APP receives an error prompt that the MIFI device has been paired with other user devices, that is, the MIFI device only allows one active pairing session at the same time, and the new request needs to wait for the old session to timeout or be actively released.

[0084] Through the above optional implementation, the MIFI device is securely connected with the APP in one-to-one through the unique pairing mechanism, preventing multiple devices from occupying resources at the same time, and identity verification and encrypted communication are realized through the pairing code and the key information, ensuring the safety of data transmission; at the same time, through the timestamp verification and the pairing record table query, the replay attack and the illegal pairing request are effectively prevented, and the pairing code and the device identifier are bound and stored, facilitating subsequent quick verification and key update, optimizing user experience, realizing safe and efficient use of MIFI device call duration resources, and improving system reliability and security. In addition, compared with the MIFI products on the market which use Bluetooth and mobile phone APPs for communication, the cost of the MIFI device is increased by adding a Bluetooth module, and the mobile phone is connected to the WIFI network provided by the MIFI, and the APP communicates with the MIFI device through the WIFI network, reducing the cost of the MIFI device.

[0085] In an optional implementation, the method further comprises:

[0086] The user device stores the pairing code;

[0087] The user device acquires the pairing code when receiving the reconnection request of the MIFI device, and sends the reconnection request and the pairing code to the MIFI device;

[0088] The MIFI device determines whether to update the key information according to the pairing code;

[0089] The MIFI device returns the updated key information to the user device when it is determined to update the key information.

[0090] In some embodiments, after the APP successfully pairs with the MIFI device, the APP can receive the pairing code and secret key information returned by the MIFI device, and the APP can store the pairing code and secret key information in a local database. When the APP needs to pair with the MIFI device again next time, i.e., receives a reconnection request from the MIFI device, the APP can obtain the pairing code from the local database, and send the reconnection request to the MIFI device together with the pairing code. The MIFI device can verify the pairing code, check whether the pairing code is consistent with the locally stored pairing code, and if so, allow the re-pairing request of the APP, and generate a new secret key information, i.e., update the secret key information of the previous pairing, and return the updated secret key information to the APP.

[0091] In some embodiments, the APP can also send a secret key update request to the MIFI device according to a preset time period (e.g., 1 hour).

[0092] Through the above optional implementation, the pairing code is stored to realize fast reconnection verification, reduce repeated pairing process, and support dynamic secret key update to enhance security and prevent the secret key from being cracked for long-term use. In addition, periodic secret key update is supported to ensure long-term security of the communication link and improve user experience and system reliability.

[0093] S52, when the user device determines that the MIFI device is successfully paired and connected, the user device sends the phone call request to the MIFI device.

[0094] Referring to Figure 6 In some embodiments, when it is determined that the user's mobile phone and the MIFI device are successfully paired and connected, the APP receives a phone call request initiated by the user, e.g., the user inputs a number through the dialing interface provided by the APP and clicks the dial button, and sends the phone call request to the MIFI device through the established communication connection (e.g., UDP connection).

[0095] S53, when the MIFI device receives the phone call request, the MIFI device forwards the phone call request to the cellular network to establish a call connection with the user device.

[0096] Referring to Figure 6In some embodiments, when the MIFI device receives the phone call request sent by the APP, the control module of the MIFI device determines whether there is a cellular signal. If there is a cellular signal, the phone call request is forwarded to the communication module, which forwards the phone call request to the cellular network according to the communication protocol, so that the phone call request can enter the cellular network for subsequent processing to establish a call connection with the called party. That is, the APP queries the phone call state from the control module of the MIFI device and establishes a UDP link for voice data transmission. After the call is over, if the other party hangs up the phone, the APP queries the phone hang-up state and ends the call. If the APP initiates the phone hang-up, the MIFI device sends a phone hang-up request to the cellular network. If there is no cellular signal, the MIFI device rejects the phone call request and returns a request rejection prompt to the APP to inform the user that the MIFI device has no signal and ends the call.

[0097] S54, the user device sends a call state query request to the MIFI device, so that the MIFI device returns the current call state.

[0098] Referring to Figure 6 In some embodiments, during the call establishment process or during the call, the user device needs to know the current call state, so the APP can send a call state query request to the MIFI device. After receiving the call state query request, the communication module of the MIFI device obtains the current call state information (such as whether the call is connected, the call duration, etc.) and returns these call state information to the APP. The return method is also through the communication connection established between the two parties, for example, using the UDP connection to transmit data. The call state can include five states: number error, waiting to answer, connected, refused to answer, and timeout not answered.

[0099] S55, the user device displays a corresponding call interface according to the current call state to prompt the user.

[0100] Referring to Figure 6 In some embodiments, after the APP receives the current call state returned by the MIFI device, the APP can display a corresponding call interface according to the current call information corresponding to the current call state. For example, if the call is connected, a normal call interface is displayed, including the call duration, hang-up button, etc. If the call is not connected, corresponding prompt information such as "dialing" is displayed to prompt the user of the current call state.

[0101] Referring to Figure 6In some embodiments, when the communication module of the MIFI device receives a telephone hang-up request sent by the other end, the telephone hang-up request is forwarded to the control module, and the telephone hang-up request corresponding telephone hang-up state is returned to the APP by the control module. Similarly, when the user initiates a telephone hang-up request, the APP sends the telephone hang-up request to the communication module of the MIFI device, and the communication module of the MIFI device can forward the telephone hang-up request to the control module of the MIFI device, and the control module forwards the telephone hang-up request to the communication module, and the communication module forwards the telephone hang-up request to the cellular network through the communication protocol.

[0102] The application converts the originally idle traffic card call minutes in the MIFI device into actual call resources by cooperating with the mobile phone APP and the MIFI device, thereby significantly reducing the communication cost of the user.

[0103] In an optional implementation, the method further comprises:

[0104] The user equipment queries the MIFI device whether the telephone incoming request is received, so that the MIFI device returns the incoming telephone information corresponding to the telephone incoming request when the telephone incoming request is received;

[0105] The user equipment initializes the call interface according to the incoming telephone information, so as to provide the user with the answering option and the rejecting option;

[0106] The user equipment sends the answering request to the MIFI device when receiving the answering request of the user for the answering option;

[0107] The MIFI device forwards the answering request to the cellular network when receiving the answering request, so as to establish the call connection with the user equipment.

[0108] Reference Figure 7As shown, in some embodiments, the APP can query the MIFI device whether there is an incoming call request in real time, that is, a telephone incoming request, and if the MIFI device detects the telephone incoming request, determine the incoming call information corresponding to the telephone incoming request and return the incoming call information to the APP. When the APP receives the incoming call information, the APP initializes a listening interface, provides a listening option and a rejecting option; if the user selects to listen, the APP and the MIFI device maintain a UDP connection, the MIFI device forwards the listening request to the cellular network to establish a voice channel; if the user selects to reject, the APP sends a rejecting request to the MIFI device, and the MIFI device forwards the rejecting request to the cellular network, and the call ends. Specifically, when the MIFI device receives the telephone listening request, the cellular network will notify the communication module of the MIFI of the telephone listening request according to the requirements of the communication protocol. After receiving the telephone listening request, the communication module forwards the telephone listening request to the control module, the control module updates the current state to have a telephone coming in, and the mobile phone APP queries whether there is an incoming call in the MIFI device in real time. If there is, the APP wakes up the listening interface. The user can select to listen and reject, if to listen, a UDP link is established between the APP and the MIFI device for voice communication, otherwise, a rejecting request is directly sent to the MIFI device, and the MIFI device forwards the request to the cellular network.

[0109] With reference to Figure 7 As shown, in some embodiments, when the opposite end, that is, the end initiating the incoming call request, selects to hang up the telephone, the opposite end can send a telephone hang-up request to the MIFI device, the MIFI device returns the telephone hang-up request to the APP when receiving the telephone hang-up request, and the APP visualizes the telephone hang-up information corresponding to the telephone hang-up request to display to the user. Alternatively, when the user selects to hang up the telephone after listening, the APP also generates a telephone hang-up request and sends the telephone hang-up request to the MIFI device, and the MIFI device forwards the telephone hang-up request to the cellular network and then to the opposite end.

[0110] Through the above optional implementation, the user device actively queries the incoming request, initializes the interface according to the incoming information for the user to select to listen or reject, enhances the interactivity, and further establishes or ends the call according to the user selection, improves the communication flexibility, and when the opposite end or the user hangs up the telephone, the related information can be timely fed back and processed, the call process is complete, and the voice communication experience based on the MIFI device is optimized.

[0111] In an optional implementation, the method further comprises:

[0112] When the user equipment receives the phone call request, the user equipment acquires a user operation request of the user for the phone call request, the user operation request including first voice communication channel answering or second voice communication channel answering.

[0113] When the user equipment determines that the user operation request corresponds to the first voice communication channel answering, the user equipment cuts off the phone call request of the second voice communication channel and sends the phone call request to the first voice communication channel.

[0114] When the user equipment determines that the user operation request corresponds to the second voice communication channel answering, the user equipment cuts off the phone call request of the first voice communication channel and sends the phone call request to the second voice communication channel.

[0115] In some embodiments, due to the existence of two voice communication channels in the user's mobile phone, one is the mobile phone card channel of the mobile phone itself, and the other is the MIFI device channel successfully connected. When the user's mobile phone receives an incoming call, that is, receives a phone answering request, the phone answering request will be received by the phone call application of the mobile phone itself and the APP running on the user's mobile phone proposed in the application. The user can choose to handle the phone answering request by the mobile phone card channel of the mobile phone itself or the MIFI device channel, that is, to answer the phone. When the user needs to use the call time of the phone card of the mobile phone, he can answer the phone through the phone call application of the mobile phone itself. When the user needs to use the call time of the phone card of the MIFI device, he can answer the phone through the APP running on the user's mobile phone proposed in the application. In order to facilitate the understanding of the inventive concept of the application, in the embodiments of the application, the mobile phone card channel of the mobile phone itself is referred to as the first voice communication channel, and the MIFI device channel is referred to as the second voice communication channel. After receiving the phone answering request, the user's mobile phone will pop up a prompt on the interface to let the user choose the voice communication channel to answer the phone. The user can indicate his choice by clicking the corresponding button or performing other interactive operations. The user device will obtain the operation request of the user for the phone answering request, which clearly indicates whether the user wants to answer through the first voice communication channel or the second voice communication channel. When it is determined that the user operation request corresponds to the first voice communication channel answering, in order to ensure that the phone can only be answered through one channel and avoid conflicts, the user's mobile phone will cut off the phone answering request of the second voice communication channel. Then, the user's mobile phone sends the phone answering request to the first voice communication channel, establishes the corresponding voice connection, etc., so that the user can answer the phone through the first voice communication channel. In addition, when it is determined that the user operation request corresponds to the second voice communication channel answering, similarly, in order to avoid conflicts, the user device will cut off the phone answering request of the first voice communication channel. Then, the user's mobile phone sends the phone answering request to the second voice communication channel, activates the answering function of the second voice communication channel, establishes the voice connection, etc., so that the user can answer the phone through the second voice communication channel.

[0116] Through the above optional implementation, when there are two voice communication channels of the mobile phone card channel and the MIFI device channel in the user device, the channel can be selected as needed when answering the phone. By cutting off the answering request of the non-selected channel, channel conflicts are avoided, and it is ensured that the phone can be answered through a single stable channel. Different communication resources are effectively integrated, the autonomy and convenience of the user for voice communication are improved, and the communication experience is optimized.

[0117] In an optional implementation, the method further includes:

[0118] The mobile application sends an authorization inquiry request corresponding to the contact data to the device system of the user device.

[0119] The device system pops up an authorization dialog to prompt the user whether to agree to the authorization when receiving the authorization inquiry request;

[0120] The device system prevents the mobile application from reading the contact data when determining that the user selects to disagree with the authorization;

[0121] The device system returns the contact data to the mobile application when determining that the user selects to agree with the authorization;

[0122] The mobile application receives the contact data, then performs page processing on the contact data and displays the contact data to the user in pages.

[0123] Referring to Figure 8 In some embodiments, when the APP needs to access the phone contacts, the APP first sends a contact authorization inquiry request to the phone system. For example, the APP can trigger an authorization inquiry dialog by calling the contact API (such as the ContactsContract API of Android) provided by the phone system, and show the user a prompt message requesting to access the contacts. After receiving the authorization inquiry request from the APP, the phone system pops up an authorization dialog to prompt the user whether to agree to the authorization, and the user can select “agree” or “disagree” according to his / her own will. If the user selects “disagree”, the phone system will prevent the APP from reading the contact data; if the user selects “agree”, the phone system will allow the APP to access all the contact data. According to the user's authorization selection, the phone system will return a corresponding result to the APP. If the user disagrees with the authorization, the phone system will return a signal or an error code indicating the refusal to access to the APP; if the user agrees with the authorization, the phone system will return all the contact data stored in the phone to the APP. The contact data can include the name, phone number, email address, etc. of the contact. After receiving the result returned by the phone system, the APP will perform corresponding processing and display according to the data. If the contact data is obtained, the APP can perform page processing on the data, and then display the data to the user in pages, so that the user can conveniently browse and manage the contact information; if the contact data is not obtained (i.e., the user disagrees with the authorization), the APP can display an empty interface, or prompt the user that the access to the contact data is not authorized.

[0124] In some embodiments, when performing page processing on the contact data, the phone contacts can be sorted for outputting a sorted contact list for convenience, as shown in Figure 3 .

[0125] Through the optional implementation, the APP needs to send an authorization inquiry request to the mobile phone system when accessing the contacts, and can obtain the data only after the user explicitly agrees, so that the user has autonomous control over the data access. If the user does not agree, the APP cannot read the data, avoiding the risk of information leakage; if the user agrees, the APP can obtain and process the display data, such as page display to facilitate user browsing and management, balancing the APP function requirement and user privacy protection, improving user experience and data security.

[0126] It should be noted that in the present application, the APP needs to be kept alive in the case of phone screen off, so that the phone can be heard. In the screen-off state, the phone can also normally receive the call. During the call, the APP uses the JS algorithm library js-audio-process to increase the volume and calls the Noise-Reducer noise reduction algorithm library to reduce the noise, effectively improving the call quality.

[0127] Referring to Figure 9 The user equipment 9 shown in the structure diagram of the user equipment according to the embodiment of the present application. In the preferred embodiment of the present application, the user equipment 9 includes a memory 91, at least one processor 92 and at least one communication bus 93.

[0128] Those skilled in the art should understand that Figure 9 The structure of the user equipment shown in the structure diagram does not constitute a limitation of the embodiment of the present application, and can be a bus type structure or a star type structure. The user equipment 9 can also include more or less other hardware or software, or different component arrangements.

[0129] In some embodiments, the user equipment 9 is a device capable of automatically performing numerical calculation and / or information processing according to pre-set or stored instructions. The hardware thereof includes but is not limited to microprocessors, application specific integrated circuits, programmable gate arrays, digital processors and embedded devices, etc. The user equipment includes but is not limited to any electronic product that can interact with the user through a keyboard, a mouse, a remote control, a touchpad or a voice control device, such as a personal computer, a tablet computer, a smart phone, a digital camera, etc.

[0130] In the above-described embodiments provided by the present application, it should be understood that the disclosed methods, devices, computer-readable storage media, and user equipment can be implemented in other manners. For example, the division of the above-described apparatus embodiments is merely an example, and there can be other division manners. For example, multiple components or modules can be combined or integrated into another component or module, or some features can be ignored or not implemented. In addition, the coupling or direct coupling or communication connection between the above-described components can be indirect coupling or communication connection through some interfaces, devices, or components, and can be in electrical, mechanical, or other forms.

[0131] The components illustrated as separate components may or may not be physically separate, and the components illustrated as components may or may not be physical modules, that is, may be located in one place or distributed on multiple network modules. Some or all of the components can be selected according to actual needs to achieve the purpose of the embodiments.

[0132] In addition, the functional modules in each embodiment of the present application can be integrated into a processing module, or each component can be physically present separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be realized in the form of hardware or in the form of a software functional module.

[0133] The integrated module, if realized in the form of a software functional module and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application, essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various program codes that can be stored in the medium.

[0134] It should be noted that, for the foregoing method embodiments, the sequences of the described operations are not necessarily required to practice the application, nor are the sequences of the described operations necessarily required in the implementations of other embodiments of the application. Further, some of the described operations can occur simultaneously, be divided among multiple operations, be combined with other operations, or in some cases, be eliminated altogether.

[0135] In the above embodiments, the description of each embodiment focuses on different aspects, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0136] The above is a specific description of the preferred embodiments of the application, but the application is not limited to the described embodiments. Those skilled in the art can make various equivalent modifications or replacements without departing from the spirit of the application, and these equivalent modifications or replacements are all included in the scope defined by the claims of the present application.

Claims

1. A voice communication method based on a MiFi device, characterized in that, A method for use in a voice communication system based on a MiFi device, the MiFi device-based voice communication system comprising a user equipment and a MiFi device, wherein the MiFi device connects to only one user equipment, the method comprising: When the user equipment receives a user's call request, it determines whether it has successfully paired and connected with the MIFI device. When the user equipment determines that it has successfully paired and connected with the MIFI device, it sends the telephone call request to the MIFI device; When the MIFI device receives the call request, it forwards the call request to the cellular network to establish a call connection with the user equipment. The user equipment sends a call status query request to the MIFI device so that the MIFI device can return the current call status; The user equipment displays the corresponding call interface according to the current call status to prompt the user; The method further includes: the user equipment connecting to the WiFi network created by the MIFI device via WiFi; when the user equipment successfully connects to the WiFi network created by the MIFI device, obtaining the gateway address of the MIFI device, and sending a pairing request to the MIFI device based on the gateway address, the pairing request including the user equipment identifier and encryption key information corresponding to the user equipment; when the MIFI device receives the pairing request, checking whether it has successfully paired with other devices, and when it determines that it has successfully paired with other devices, rejecting the pairing request and returning a pairing failure message to the user equipment; when the MIFI device determines that it has not successfully paired with other devices, generating a pairing code according to the pairing request, and returning the pairing code, key information, and a pairing success message to the user equipment.

2. The voice communication method based on a MiFi device according to claim 1, characterized in that, The method further includes: The user equipment stores the pairing code; When the user equipment receives a reconnection request from the MIFI device, it obtains the pairing code and sends the reconnection request and the pairing code to the MIFI device. The MIFI device determines whether to update the key information based on the pairing code; When the MIFI device determines that the key information needs to be updated, it returns the updated key information to the user equipment.

3. The voice communication method based on a MiFi device according to claim 1, characterized in that, The method further includes: When the user equipment receives a user's request to hang up the phone, it sends the request to the MIFI device. When the MIFI device receives the call hang-up request, it forwards the call hang-up request to the cellular network to terminate the call connection with the user equipment.

4. The voice communication method based on a MiFi device according to claim 1, characterized in that, The method further includes: When the MIFI device does not receive the call request, it returns a no signal request to the user equipment. When the user equipment receives the no signal request, it prompts the user to terminate the call request.

5. The voice communication method based on a MIFI device according to any one of claims 1 to 4, characterized in that, The method further includes: The user equipment queries the MIFI device to see if it has received an incoming call request, so that when the MIFI device receives the incoming call request, it returns the incoming call information corresponding to the incoming call request. The user equipment initializes the call interface based on the incoming call information to provide the user with options to answer and reject calls. When the user equipment receives a call answering request from the user regarding the answering option, it sends the call answering request to the MIFI device. When the MIFI device receives the call answering request, it forwards the call answering request to the cellular network to establish a call connection with the user equipment.

6. The voice communication method based on a MIFI device according to claim 5, characterized in that, The method further includes: When the user equipment receives a request from the user to refuse the call for the refuse option, it sends the request to the MIFI device. When the MIFI device receives the call rejection request, it forwards the call rejection request to the cellular network to terminate the call connection with the user equipment.

7. The voice communication method based on a MiFi device according to claim 1, characterized in that, The method further includes: When the user equipment receives a call answering request, it acquires the user's user operation request for the call answering request, the user operation request including answering through a first voice communication channel or answering through a second voice communication channel; When the user equipment determines that the user operation request corresponds to answering a call on the first voice communication channel, it disconnects the call answering request on the second voice communication channel and sends the call answering request to the first voice communication channel. When the user equipment determines that the user operation request corresponds to the second voice communication channel for answering, it disconnects the call answering request from the first voice communication channel and sends the call answering request to the second voice communication channel.

8. The voice communication method based on a MIFI device according to any one of claims 1 to 4, characterized in that, The user equipment has a mobile application installed, and the method further includes: The mobile application sends an authorization request corresponding to the contact data to the device system of the user device; When the device system receives the authorization request, it pops up an authorization dialog box to prompt the user whether to agree to the authorization. When the device system determines that the user has chosen not to grant authorization, it prevents the mobile application from reading the contact data; When the device system determines that the user has chosen to agree to the authorization, it returns the contact data to the mobile application. When the mobile application receives the contact data, it performs pagination on the contact data and displays it to the user in pages.

9. A voice communication system based on a MiFi device, characterized in that, The system includes user equipment and MiFi equipment; The user equipment is used to determine whether it has successfully paired and connected with the MIFI device when it receives a user's telephone dialing request; The user equipment is configured to send the telephone call request to the MIFI device when it determines that it has successfully paired and connected with the MIFI device; The MIFI device is used to forward the call request to the cellular network when it receives the call request, so as to establish a call connection with the user equipment; The user equipment is configured to send a call status query request to the MIFI device, so that the MIFI device can return the current call status; The user equipment is configured to display a corresponding call interface based on the current call status to prompt the user. The user equipment is also used to connect to the WiFi network created by the MIFI device via WiFi; when successfully connecting to the WiFi network created by the MIFI device, it obtains the gateway address of the MIFI device and sends a pairing request to the MIFI device based on the gateway address. The pairing request includes the user equipment identifier and encryption key information corresponding to the user equipment. The MIFI device is further configured to, upon receiving the pairing request, check whether it has successfully paired with other devices; if it is determined that it has successfully paired with other devices, reject the pairing request and return a pairing failure message to the user device; if it is determined that it has not successfully paired with other devices, generate a pairing code according to the pairing request and return the pairing code, key information, and a pairing success message to the user device.

Citation Information

Patent Citations

  • Conversation method, device and equipment

    CN115987950A