CN106792580B - Method and device for sending multimedia message - Google Patents

Method and device for sending multimedia message Download PDF

Info

Publication number
CN106792580B
CN106792580B CN201611154449.9A CN201611154449A CN106792580B CN 106792580 B CN106792580 B CN 106792580B CN 201611154449 A CN201611154449 A CN 201611154449A CN 106792580 B CN106792580 B CN 106792580B
Authority
CN
China
Prior art keywords
vowifi
multimedia message
apn
sending
operator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611154449.9A
Other languages
Chinese (zh)
Other versions
CN106792580A (en
Inventor
汪志成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201611154449.9A priority Critical patent/CN106792580B/en
Publication of CN106792580A publication Critical patent/CN106792580A/en
Application granted granted Critical
Publication of CN106792580B publication Critical patent/CN106792580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a method for sending multimedia messages, which comprises the following steps: judging whether the VoWiFi is registered successfully; when the VoWiFi registration is successful, judging whether the APN type of the current initiating data request is a multimedia message; if the APN type initiating the data request is a multimedia message, acquiring the APN with the APN type being the multimedia message from a local public land mobile network (HPLMN); searching APN required by an operator supporting VoWiFi in the APN of which the APN type is the multimedia message; and establishing data connection and sending the multimedia message according to the APN required by the operator. According to the method for sending the multimedia message, when the VoWiFi is successfully registered and the APN type of the current data request is the multimedia message, the APN which is required to be accessed to the network when the operator sends the multimedia message by using the VoWiFi is obtained by searching the APN supporting the multimedia message in the HPLMN, so that the VoWiFi can quickly obtain the corresponding APN, the data connection is successfully established, the multimedia message is sent, and the success rate of sending the multimedia message is improved. The invention also provides a device for sending the multimedia message.

Description

Method and device for sending multimedia message
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for sending a multimedia message.
Background
The VoWiFi (voice over WiFi, WiFi-based voice service) is an IP (Internet Protocol, Protocol for interconnection between networks) data transmission technology and a network access technology completely based on WLAN (wireless local area network), and supports services such as telephone, short message, multimedia message, Internet access, and the like.
When the mobile terminal supports both the conventional voice service based on the mobile network and the VoWiFi, the voice service based on different networks can be used according to the signal strength, for example, when the signal of the mobile network is weak and the signal of the WLAN (wireless local area network) is strong, each service of the mobile terminal will preferentially select the WLAN to replace the mobile network. When a mobile terminal is used to send a Multimedia Message (MMS), different APNs (Access Point names) need to be set for different networks and different operators, so that the Multimedia message can be normally sent and received. In order to meet the requirements of accessing different networks, one SIM card usually comprises a plurality of APNs, but usually a mobile terminal presets a preferred APN, when a multimedia message needs to be sent, if the preferred APN set by the mobile terminal supports the multimedia message, the mobile terminal does not try other APNs supporting the multimedia message, and the preferred APN is an access point for sending the multimedia message by using the mobile network, so that when the multimedia message is sent in a WLAN network, the mobile terminal cannot access the network by using the corresponding APN, which causes that receiving and sending the multimedia message by using VoWiFi fails, and reduces the success rate of sending the multimedia message.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for sending a multimedia message, which can quickly acquire a corresponding APN when a WLAN replaces a mobile network, so that VoWiFi can normally receive and send the multimedia message, thereby improving the success rate of sending the multimedia message.
A method for sending multimedia messages, the method comprising:
judging whether the VoWiFi is registered successfully;
when the VoWiFi registration is successful, judging whether the APN type of the current initiating data request is a multimedia message;
if the APN type initiating the data request is a multimedia message, acquiring the APN with the APN type being the multimedia message from a local public land mobile network (HPLMN);
searching APN required by an operator supporting the VoWiFi in the APN of which the APN type is the multimedia message;
and establishing data connection according to the APN required by the operator and sending the multimedia message.
In one embodiment, the determining whether the VoWiFi registration is successful includes:
judging whether the IMS registration state of the VoWiFi is successful or not and whether the accessed network type is WLAN or not;
if so, the VoWiFi is successfully registered;
if not, the VoWiFi registration fails.
In one embodiment, before the step of determining whether the VoWiFi registration is successful, the method further includes:
detecting whether the mobile terminal is normally started and successfully resides in a network;
if the mobile terminal is normally started and successfully resides in the network, reading the HPLMN of the SIM card, and detecting whether the operator of the SIM card is the operator supporting the VoWiFi or not according to the HPLMN;
if yes, executing the following steps.
In one embodiment, the method further comprises:
if the operator is the operator supporting the VoWiFi, detecting whether a call mode is a WLAN call mode;
and if the call mode is the WLAN call mode, the VoWiFi initiates registration through the WLAN.
In one embodiment, before the step of determining whether the VoWiFi registration is successful, the method further includes:
and acquiring an operation instruction of a user for sending the multimedia message, and initiating a data request according to the operation instruction.
An apparatus for transmitting a multimedia message, the apparatus comprising:
the first judgment module is used for judging whether the VoWiFi is registered successfully;
the second judgment module is used for judging whether the APN type of the current initiating data request is a multimedia message or not when the VoWiFi registration is successful;
the search module is used for acquiring the APN with the APN type being the multimedia message from a local public land mobile network (HPLMN) if the APN type initiating the data request is the multimedia message, and searching the APN required by an operator supporting the VoWiFi from the APN with the APN type being the multimedia message;
and the sending module is used for establishing data connection according to the APN required by the operator and sending the multimedia message.
In one embodiment, the first determining module is configured to determine whether the IMS registration status of the VoWiFi is successful and whether the type of the access network is WLAN, if so, the VoWiFi registration is successful, and if not, the VoWiFi registration is failed.
In one embodiment, the apparatus further comprises:
the first detection module is used for detecting whether the mobile terminal is normally started and successfully resides in the network;
and the second detection module is used for reading the HPLMN of the SIM card if the mobile terminal is normally started and successfully resides in the network, detecting whether the operator of the SIM card is the operator supporting the VoWiFi or not according to the HPLMN, and executing the subsequent steps if the operator of the SIM card is the operator supporting the VoWiFi.
In one embodiment, the apparatus further comprises:
and the registration module is used for detecting whether the call mode is a WLAN call mode if the operator supports the VoWiFi, and initiating registration by the VoWiFi through the WLAN if the call mode is the WLAN call mode.
In one embodiment, the apparatus further comprises:
and the acquisition module is used for acquiring an operation instruction of the multimedia message sent by the user and initiating a data request according to the operation instruction.
According to the method and the device for sending the multimedia message, the VoWiFi registration is judged, when the VoWiFi registration is successful, the APN type initiating the data request is judged, when the APN type initiating the data packet request is the multimedia message, the APN with the APN type initiating the data packet request as the APN of the multimedia message is obtained, the APN required by an operator is searched in the obtained APN, and data connection is established and the multimedia message is sent according to the APN required by the operator. When the VoWiFi is successfully registered and the APN type initiating the data request is the multimedia message, the APN in the HPLMN is searched, and the APN required by an operator when the operator uses the VoWiFi to send the multimedia message is quickly acquired, so that the VoWiFi can successfully establish data connection and send the multimedia message, and the multimedia message sending success rate is improved.
Drawings
FIG. 1 is a flow chart of a method for sending multimedia messages in one embodiment;
FIG. 2 is a flow chart of a method for sending multimedia messages in another embodiment;
FIG. 3 is a diagram of a WLAN talk mode interface in one embodiment;
FIG. 4 is a diagram of an apparatus for sending multimedia messages in an embodiment;
fig. 5 is a diagram of a device for sending multimedia messages in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, in one embodiment, a method for sending a multimedia message is provided, which includes the following steps:
step 101, judging whether the VoWiFi is registered successfully.
In this embodiment, the VoWiFi (voice over WiFi, a voice service based on WiFi) is an IP (Internet Protocol, Protocol for interconnection between Networks) data transmission technology and a network access technology completely based on WLAN (wireless local Area network), and the VoWiFi supports services such as telephone, short message, multimedia message, Internet access, and the like. Among them, wifi (wireless fidelity) is a technology that allows an electronic device to connect to a Wireless Local Area Network (WLAN), which is a system that uses Radio Frequency (RF) technology for data transmission.
In this embodiment, before the multimedia message is sent by using the VoWiFi, the VoWiFi needs to be registered first, and only after the VoWiFi is successfully registered, the multimedia message can be sent by using the VoWiFi, so that it is necessary to determine whether the VoWiFi is successfully registered first.
And 102, judging whether the APN type of the current initiating data request is a multimedia message or not when the VoWiFi registration is successful.
In this embodiment, an APN (Access Point Name) is a network Access technology, and is a parameter that must be configured when a mobile terminal accesses the internet, and it determines what network the mobile terminal accesses through which Access method. For example, when the type of a certain APN is configured as MMS, it indicates that the APN can support the sending and receiving of multimedia messages.
In this embodiment, when the VoWiFi registration is successful, it is described that the WLAN network can be accessed through the APN, and the multimedia message is sent using the VoWiFi, at this time, if the data request is detected, it is determined whether the APN type currently initiating the data request is the multimedia message, that is, it is determined whether the operation performed by the mobile terminal is sending the multimedia message.
Step 103, if the APN type of the current initiating data request is a multimedia message, acquiring the APN with the APN type of the multimedia message from a local public land mobile network HPLMN.
In this embodiment, a local Public Land mobile network hplmn (home Public Land mobile network) is one of PLMNs, and is a PLMN to which a terminal user belongs. For a certain subscriber, there is only one PLMN to which it belongs. Among them, PLMN (Public Land Mobile Network), a Network established and operated by the government or an operator approved by the Public for the purpose of providing a Land Mobile communication service to the Public. The network is typically interconnected with the Public Switched Telephone Network (PSTN) to form a communications network of regional or national scale.
In this embodiment, one PLMN may include multiple APNs capable of supporting multimedia message transmission or reception, but the operator information, the access network mode, or the access network corresponding to each APN is different, so that on the premise that the VoWiFi registration is successful, if the APN currently initiating the data request is a multimedia message, in order to successfully transmit a multimedia message using VoWiFi, the corresponding APN needs to be acquired. Therefore, the APN capable of supporting multimedia message transmission needs to be acquired in the HPLMN first to find the APN which needs to be acquired when the voip is used to transmit the multimedia message.
And step 104, searching APNs required by operators supporting VoWiFi in the APNs with the APN type being the multimedia message.
In this embodiment, an operator supporting the VoWiFi means that the operator can support the VoWiFi function, that is, by using the SIM card provided by the operator, services such as a telephone, a short message, a multimedia message, and the like can be performed by using the VoWiFi. In order to ensure that the multimedia message can be successfully sent by using the VoWiFi, an APN required by the SIM card provided by the operator when the multimedia message is sent by using the VoWiFi needs to be added in the mobile terminal in advance.
In this embodiment, when the VoWiFi registration is successful and the APN type initiating the data request is a multimedia message, it indicates that the multimedia message needs to be sent by using the VoWiFi, and therefore an APN added in advance according to the requirements of an operator needs to be obtained. Because the pre-added APN supports the multimedia message, after the acquired HPLMN supports the APN of the multimedia message, the pre-added APN is searched according to the name of the APN.
And 105, establishing data connection according to the APN required by the operator and sending the multimedia message.
In this embodiment, after finding the APN that is added in advance according to the needs of the operator, information in the APN is obtained, where the APN information includes a name, a type, a protocol, and the like of the APN. And accessing to a corresponding network according to the acquired APN information, and accurately establishing data connection so as to successfully send the multimedia message.
According to the method for sending the multimedia message, when the VoWiFi is successfully registered and the APN type of the current data request is the multimedia message, the APN which is required to be accessed to the network when the operator sends the multimedia message by using the VoWiFi is obtained by searching the APN supporting the multimedia message in the HPLMN, so that the VoWiFi can quickly obtain the corresponding APN, the data connection is successfully established, the multimedia message is sent, and the success rate of sending the multimedia message is improved.
In one embodiment, determining whether the VoWiFi registration is successful comprises: judging whether the IMS registration state of the VoWiFi is successful or not and whether the accessed network type is WLAN or not; if so, the VoWiFi registration is successful; if not, the VoWiFi registration fails.
In this embodiment, IMS (IP Multimedia subsystem) refers to an IP Multimedia subsystem, and VoWiFi is based on IMS.
Registering VoWiFi, namely registering IMS of the VoWiFi and accessing the IMS to the WLAN, judging whether the IMS of the VoWiFi is successfully registered and judging whether the accessed network is the WLAN or not through corresponding instructions, if so, indicating that the VoWiFi is successfully registered, and if not, indicating that the VoWiFi is failed to be registered.
In one embodiment, before the step of determining whether the VoWiFi registration is successful, the method further includes: detecting whether the mobile terminal is normally started and successfully resides in a network; if the mobile terminal is normally started and successfully resides in the network, reading the HPLMN of the SIM card, and detecting whether the operator of the SIM card is an operator supporting VoWiFi or not according to the HPLMN; if yes, executing the following steps.
In this embodiment, whether the mobile terminal is normally powered on and successfully resides in a network is detected, that is, whether the mobile terminal can normally work and whether an SIM card is inserted is detected, when the mobile terminal can normally work and successfully resides in the network, the HPLMN of the SIM card is read, only one HPLMN exists in each SIM card, the operator name of the SIM card can be detected through the HPLMN, and the operator name corresponding to the acquired SIM card is matched with the operator name which is set in the mobile terminal in advance and can support the VoWiFi function. If not, the operator does not support the VoWiFi function, that is, the SIM card cannot realize the transmission of multimedia messages by using the VoWiFi function, so that the subsequent processing is not performed. And if the matching is successful, performing subsequent operation.
In this embodiment, the HPLMN of the SIM card is used to obtain the operator information of the SIM card, so as to determine whether the operator providing the SIM card can support the VoWiFi function, and if not, the subsequent operation is not performed, thereby avoiding the trouble of the subsequent operation.
In one embodiment, the method for sending the multimedia message further comprises detecting whether the call mode is a WLAN call mode if the operator is an operator supporting VoWiFi; if the call mode is the WLAN call mode, the VoWiFi initiates registration through the WLAN.
In this embodiment, the WLAN mode refers to a mode in which a user performs a service such as a call using a WLAN network provided by an operator. When detecting that an operator providing an SIM card supports a VoWiFi function, detecting whether a call mode is a WLAN call mode, namely detecting whether a user starts a mode for using WLAN to carry out call, and when the user starts the WLAN call mode, the mobile terminal can preferentially select VoWiFi to send multimedia messages. Therefore, when the WLAN call mode is detected to be started, the VoWiFi initiates registration through the WLAN, and preparation is made for subsequently providing services such as call, short message and multimedia message.
In one embodiment, before the step of determining whether the VoWiFi registration is successful, the method further includes: and acquiring an operation instruction of the multimedia message sent by the user, and initiating a data request according to the operation instruction.
In the embodiment, when the VoWiFi is used for sending the multimedia message, the data request needs to be acquired, namely, a user needs to edit the multimedia message and click to send the multimedia message to generate the operation instruction, and the data initiating request is generated according to the operation instruction, so that the data connection is established according to the initiated data request and the multimedia message is sent.
Referring to fig. 2, in an embodiment, a method for sending a multimedia message is provided, which includes the following steps:
step 201, detecting whether the mobile terminal is normally started and successfully resides in the network.
In this embodiment, the mobile terminal refers to a mobile terminal capable of selecting to use VoWiFi for a call. Whether the mobile terminal is normally started up and successfully resides in a network is detected, namely whether the mobile terminal can normally work and whether an SIM card is inserted is detected. If yes, go to step 202, otherwise, do not perform the following operations.
Step 202, reading the HPLMN of the SIM card, detecting whether the operator of the SIM card is an operator supporting VoWiFi according to the HPLMN, if so, executing step 203, and if not, not executing the subsequent operation.
In this embodiment, when it is detected that the mobile terminal successfully resides in the network, the HPLMNs of the SIM cards are read, only one HPLMN exists in each SIM card, the operator name of the SIM card can be detected by the HPLMN, and the obtained operator name corresponding to the SIM card is matched with an operator name which is set in the mobile terminal in advance and can support the VoWiFi function.
Specifically, taking a T-Mobile operator supporting the VoWiFi function as an example, reading the HPLMN of the SIM card, and determining whether the operator of the inserted SIM card is a T-Mobile, if so, executing step 203, further detecting whether to use VoWiFi to send a multimedia message, and if not, indicating that the SIM card cannot support the VoWiFi to send the multimedia message, and not executing subsequent operations.
Step 203, detecting whether the call mode is the WLAN call mode, if yes, executing step 204, and if no, not executing the subsequent operation.
In this embodiment, as shown in fig. 3, a WLAN call mode 301 is set on a setting interface of the mobile terminal, and when the SIM card supports the VoWiFi function, it is determined whether the WLAN call function is turned on. If yes, the user selects to use VoWiFi to send the multimedia message, step 204 is executed, and if not, the VoWiFi function is not started, and then the follow-up operation is not executed.
VoWiFi initiates registration over WLAN, step 204.
In this embodiment, as shown in fig. 3, after the WLAN call 301 mode is turned on, an icon 302 of VoWiFi is displayed in a status bar of the mobile terminal, and at this time, the mobile terminal preferentially selects VoWiFi to send a multimedia message. Therefore, the VoWiFi needs to be registered, and the multimedia message can be successfully sent after the VoWiFi registration is successful.
Step 205, obtaining an operation instruction of the user for sending the multimedia message, and initiating a data request according to the operation instruction.
In the embodiment, when the user needs to send the multimedia message, after the multimedia message is edited and clicked for sending, the data request is initiated according to the operation instruction of the user.
Step 206, determining whether the IMS registration status of VoWiFi is successful and the type of the accessed network is WLAN, if yes, performing step 207, and if not, not performing the subsequent operation.
In this embodiment, after the VoWiFi initiates registration, whether the VoWiFi is successfully registered is determined by determining an IMS registration state of the VoWiFi and an access network type.
Specifically, after IMS registration is successful, both SIP signaling and QMI message (Modem reports to AP) may report, and the success or failure of IMS registration may be detected through the voip _ service _ status, and the voip _ service _ rat may be used to detect whether the network type is WLAN. When detecting that the IMS registration of the VoWiFi is successful and the type of the accessed network is WLAN, it indicates that the VoWiFi registration is successful, step 207 is executed, otherwise, it indicates that the registration is not successful, the subsequent operation is not executed.
Step 207, judging whether the APN type of the current initiating data request is a multimedia message, if so, executing step 208, and if not, not executing the subsequent operation.
In this embodiment, each APN includes corresponding APN information, and the APN information includes information such as a name and a type of the APN, for example, the APN information includes an APN type: the APN of the MMS is the APN supporting the sending or receiving of the MMS. When the VoWiFi registration is successful, the multimedia message can be sent, whether a data request for sending the multimedia message exists at present is detected, and whether the APN type of the data request initiated at present is MMS (multimedia message) is detected.
And step 208, acquiring the APN of which the APN type is the multimedia message from the local public land mobile network HPLMN.
In this embodiment, if it is detected that the APN type currently initiating the data request is an MMS, it indicates that a multimedia message needs to be sent at this time, but the APN sending the multimedia message is a preset preferred APN for the mobile terminal, the mobile network is accessed, the WLAN cannot be supported to send the multimedia message, and the APN supporting the VoWiFi sending the multimedia message needs to be searched and acquired.
Taking a T-Mobile operator as an example, a corresponding APN name when the T-Mobile sends the multimedia message by using VoWiFi is set to tmus in the Mobile terminal in advance, and relevant information of the APN, such as type, protocol, bearing and the like, is set. The mobile terminal comprises a plurality of APNs capable of supporting multimedia message sending, when a user clicks to send a multimedia message, the preselected APN for sending the multimedia message is epc-tmobject-com, the APN supports the use of a mobile network to send the multimedia message, therefore, when a WLAN call mode is started, the APN cannot support VoWiFi to send the multimedia message, and at the moment, all APNs supporting the multimedia message in the HPLMN of the SIM card are obtained to obtain the APN with the preset name of tmus.
Step 209, searching the APN required by the operator supporting VoWiFi in the APN of which the APN type is the multimedia message.
In this embodiment, after acquiring the APN supporting the multimedia message in the HPLMN of the SIM card, the APN required by the operator is acquired by searching.
Specifically, taking a T-Mobile operator as an example, a for loop matching tmus character string is used in an APN with an APN type of a multimedia message to obtain an APN with a preset name of tmus.
Step 210, establishing data connection according to the APN required by the operator and sending the multimedia message.
In this embodiment, when acquiring the APN required by the operator, the data connection can be established and the multimedia message can be sent through the APN. Specifically, taking a T-Mobile operator as an example, when finding that the name of the APN is tmus, obtaining information corresponding to the APN, and establishing a data connection according to a data request initiated by a user operation instruction to successfully send a multimedia message.
According to the method for sending the multimedia message, when the situation that the multimedia message can be sent by using the VoWiFi is detected, the APN which can support the VoWiFi to access the network and normally send the multimedia message is searched, the APN corresponding to the multimedia message sent by using the VoWiFi can be quickly obtained, and therefore the success rate of sending the multimedia message is improved.
Referring to fig. 4, in an embodiment, an apparatus for sending a multimedia message is provided, which includes the following:
a first determining module 401, configured to determine whether the registration of the VoWiFi is successful;
a second determining module 402, configured to determine whether the APN type currently initiating the data request is a multimedia message when the VoWiFi registration is successful;
a searching module 403, configured to, if the APN type currently initiating the data request is a multimedia message, obtain an APN with an APN type of the multimedia message in a local public land mobile network HPLMN, and search for an APN required by an operator supporting VoWiFi in the APN with the APN type of the multimedia message;
a sending module 404, configured to establish a data connection according to the APN required by the operator and send the multimedia message.
According to the device for sending the multimedia message, when the VoWiFi is successfully registered and the APN type of the current data request is the multimedia message, the APN which is required to be accessed to the network when the operator sends the multimedia message by using the VoWiFi is obtained by searching the APN supporting the multimedia message in the HPLMN, so that the VoWiFi can quickly obtain the corresponding APN, the data connection is successfully established, the multimedia message is sent, and the success rate of sending the multimedia message is improved.
In an embodiment, the first determining module 401 is configured to determine whether the IMS registration status of the VoWiFi is successful and the type of the accessed network is WLAN, if so, the VoWiFi registration is successful, and if not, the VoWiFi registration is failed.
In one embodiment, the apparatus for sending multimedia message further comprises: a first detection module 501, configured to detect whether the mobile terminal is normally powered on and successfully resides in a network; the second detection module 502 is configured to, if the mobile terminal is normally powered on and successfully hosts a network, read the HPLMN of the SIM card, detect whether an operator of the SIM card is an operator supporting VoWiFi according to the HPLMN, and if so, execute subsequent steps.
In one embodiment, the apparatus for sending multimedia message further comprises: the registration module 503 is configured to detect whether the call mode is a WLAN call mode if the operator is an operator supporting the VoWiFi, and initiate registration by the VoWiFi through the WLAN if the call mode is the WLAN call mode.
In one embodiment, the apparatus for sending multimedia message further comprises: the obtaining module 504 is configured to obtain an operation instruction of sending the multimedia message by the user, and initiate a data request according to the operation instruction.
Referring to fig. 5, in one embodiment, an apparatus for sending a multimedia message is provided, which includes the following modules:
a first detection module 501, configured to detect whether the mobile terminal is normally powered on and successfully resides in a network;
the second detection module 502 is configured to, if the mobile terminal is normally powered on and successfully hosts a network, read the HPLMN of the SIM card, detect whether an operator of the SIM card is an operator supporting VoWiFi according to the HPLMN, and if so, execute subsequent steps.
The registration module 503 is configured to detect whether the call mode is a WLAN call mode if the operator is an operator supporting the VoWiFi, and initiate registration by the VoWiFi through the WLAN if the call mode is the WLAN call mode.
The obtaining module 504 is configured to obtain an operation instruction of sending the multimedia message by the user, and initiate a data request according to the operation instruction.
The first determining module 505 is configured to determine whether the IMS registration status of the VoWiFi is successful and the type of the access network is WLAN, if yes, the VoWiFi registration is successful, and if not, the VoWiFi registration is failed.
The second determining module 506 is configured to determine whether the APN type currently initiating the data request is a multimedia message when the VoWiFi registration is successful.
The searching module 507 is configured to, if the APN type currently initiating the data request is a multimedia message, obtain an APN with an APN type of the multimedia message in a local public land mobile network HPLMN, and search for an APN required by an operator supporting VoWiFi in the APN with the APN type of the multimedia message.
A sending module 508, configured to establish a data connection according to the APN required by the operator and send the multimedia message.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A method for sending multimedia messages is characterized in that the method comprises the following steps:
judging whether the VoWiFi is registered successfully or not, wherein the successful VoWiFi registration indicates that the multimedia message can be sent by using the VoWiFi;
when the VoWiFi registration is successful, acquiring a data request, and judging whether the APN type which initiates the data request at present is a multimedia message or not, wherein the data request is initiated according to an operation instruction of a user for sending the multimedia message, and the data request is a data request for sending the multimedia message;
if the APN type initiating the data request is a multimedia message, acquiring the APN with the APN type being the multimedia message from a local public land mobile network (HPLMN);
searching APN required by an operator supporting the VoWiFi in the APN of which the APN type is the multimedia message;
and establishing data connection according to the APN required by the operator and sending the multimedia message.
2. The method of claim 1, wherein the determining whether the VoWiFi registration is successful comprises:
judging whether the IMS registration state of the VoWiFi is successful or not and whether the accessed network type is WLAN or not;
if so, the VoWiFi is successfully registered;
if not, the VoWiFi registration fails.
3. The method of claim 1, wherein before the step of determining whether the VoWiFi registration is successful, the method further comprises:
detecting whether the mobile terminal is normally started and successfully resides in a network;
if the mobile terminal is normally started and successfully resides in the network, reading the HPLMN of the SIM card, and detecting whether the operator of the SIM card is the operator supporting the VoWiFi or not according to the HPLMN;
if yes, executing the following steps.
4. The method of claim 3, further comprising:
if the operator is the operator supporting the VoWiFi, detecting whether a call mode is a WLAN call mode;
and if the call mode is the WLAN call mode, the VoWiFi initiates registration through the WLAN.
5. The method of claim 4, wherein before the step of determining whether the VoWiFi registration is successful, the method further comprises:
and acquiring an operation instruction of a user for sending the multimedia message, and initiating a data request according to the operation instruction.
6. An apparatus for sending multimedia messages, the apparatus comprising:
the first judgment module is used for judging whether the VoWiFi is successfully registered or not, and the successful VoWiFi registration indicates that the multimedia message can be sent by using the VoWiFi;
the second judging module is used for acquiring a data request when the VoWiFi registration is successful, and judging whether the APN type which initiates the data request currently is a multimedia message or not, wherein the data request is initiated according to an operation instruction of a user for sending the multimedia message, and the data request is a data request for sending the multimedia message;
the searching module is used for acquiring the APN with the APN type being the multimedia message from a local public land mobile network (HPLMN) if the APN type initiating the data request is the multimedia message, and searching the APN required by an operator supporting the VoWiFi from the APN with the APN type being the multimedia message;
and the sending module is used for establishing data connection according to the APN required by the operator and sending the multimedia message.
7. The apparatus of claim 6, wherein the first determining module is configured to determine whether the IMS registration status of the VoWiFi is successful and whether the type of the accessed network is WLAN, if so, the VoWiFi registration is successful, and if not, the VoWiFi registration is failed.
8. The apparatus of claim 6, further comprising:
the first detection module is used for detecting whether the mobile terminal is normally started and successfully resides in the network;
and the second detection module is used for reading the HPLMN of the SIM card if the mobile terminal is normally started and successfully resides in the network, detecting whether the operator of the SIM card is the operator supporting the VoWiFi or not according to the HPLMN, and executing the subsequent steps if the operator of the SIM card is the operator supporting the VoWiFi.
9. The apparatus of claim 8, further comprising:
and the registration module is used for detecting whether the call mode is a WLAN call mode if the operator supports the VoWiFi, and initiating registration by the VoWiFi through the WLAN if the call mode is the WLAN call mode.
10. The apparatus of claim 9, further comprising:
and the acquisition module is used for acquiring an operation instruction of the multimedia message sent by the user and initiating a data request according to the operation instruction.
11. Computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the method of sending a multimedia message according to any of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of sending a multimedia message according to any one of claims 1 to 5.
CN201611154449.9A 2016-12-14 2016-12-14 Method and device for sending multimedia message Active CN106792580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611154449.9A CN106792580B (en) 2016-12-14 2016-12-14 Method and device for sending multimedia message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611154449.9A CN106792580B (en) 2016-12-14 2016-12-14 Method and device for sending multimedia message

Publications (2)

Publication Number Publication Date
CN106792580A CN106792580A (en) 2017-05-31
CN106792580B true CN106792580B (en) 2020-09-11

Family

ID=58888726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611154449.9A Active CN106792580B (en) 2016-12-14 2016-12-14 Method and device for sending multimedia message

Country Status (1)

Country Link
CN (1) CN106792580B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110366221B (en) * 2019-07-09 2021-08-10 广东以诺通讯有限公司 Method for selecting VoWiFi service by dual-card terminal and terminal
CN116887200B (en) * 2023-09-05 2023-11-10 荣耀终端有限公司 Multimedia message sending method, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281799A (en) * 2013-05-31 2013-09-04 Tcl通讯(宁波)有限公司 Network connection switching method based on mobile phone hot spots and mobile phone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013010005A1 (en) * 2011-07-12 2013-01-17 Interdigital Patent Holdings, Inc. Method and apparatus for multi-rat access mode operation
CN102438288A (en) * 2011-12-02 2012-05-02 深圳市融创天下科技股份有限公司 APN (Access Point Name) switch method and system as well as mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281799A (en) * 2013-05-31 2013-09-04 Tcl通讯(宁波)有限公司 Network connection switching method based on mobile phone hot spots and mobile phone

Also Published As

Publication number Publication date
CN106792580A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US10149234B2 (en) Network access method and mobile communication terminal
CN106937273B (en) HD icon display control method and device
US9992760B2 (en) Method for updating RPLMN information and user equipment
US20170105193A1 (en) Method and apparatus for dual-sim call management
WO2016173372A1 (en) Network access method and mobile communications terminal
CN102281612A (en) Method and device for realizing automatic dialing by access point
CN105025554A (en) Method of selecting a sim for a location service and multi-sim device utilizing the same
EP2485539B1 (en) Network selection method and terminal device
WO2015043520A1 (en) Method and terminal for activating pdn
WO2016173377A1 (en) Network access method and mobile communications terminal
US20200351761A1 (en) System and method for monitoring mobile data configuration access point names
KR102172053B1 (en) Data connection establishment method and terminal device
EP3439363A2 (en) Access point switching method and device
EP3955619A1 (en) Access point name determination for mission critical services
US10149134B2 (en) Near field discovery method, user equipment, and storage medium
CN103533592A (en) Multi-mode terminal and communication method
CN106792580B (en) Method and device for sending multimedia message
CN103796196A (en) Method and device for access point autodial
CN114567919A (en) Network access method, device, equipment and storage medium
CN111447105B (en) Vehicle machine testing method and readable storage medium
CN114125972A (en) Network connection method and related device
KR20150070311A (en) Apparatus and methods for anonymous paired device discovery in wireless communications systems
CN106658503B (en) Registration method and device for mobile terminal to access LTE data network
US9198123B2 (en) Communication system and method
WO2016198001A1 (en) Service processing method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant