CN113676894B - Service processing method and equipment - Google Patents

Service processing method and equipment Download PDF

Info

Publication number
CN113676894B
CN113676894B CN202010406321.7A CN202010406321A CN113676894B CN 113676894 B CN113676894 B CN 113676894B CN 202010406321 A CN202010406321 A CN 202010406321A CN 113676894 B CN113676894 B CN 113676894B
Authority
CN
China
Prior art keywords
network mode
modem
mobile terminal
service processing
message
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
CN202010406321.7A
Other languages
Chinese (zh)
Other versions
CN113676894A (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.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech 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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN202010406321.7A priority Critical patent/CN113676894B/en
Publication of CN113676894A publication Critical patent/CN113676894A/en
Application granted granted Critical
Publication of CN113676894B publication Critical patent/CN113676894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention provides a service processing method and equipment, the method comprises the steps of obtaining a network initialization message sent by a modem corresponding to a mobile terminal, wherein the network initialization message comprises a current network mode parameter corresponding to a current network mode of the modem. And when the current network mode parameter is determined to be the target network mode parameter corresponding to the local target network mode of the mobile terminal, sending a service processing message to the modem so that the modem performs corresponding service processing operation according to the service processing message. The method comprises the steps of obtaining a service response message returned by the modem after corresponding service processing operation according to the service processing message, realizing accurate judgment of the network mode of the modem, reducing resource waste and ensuring that the service processing message can be processed in time.

Description

Service processing method and equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a service processing method and equipment.
Background
When the mobile terminal is in a dual-card dual-pass (Dual SIM dual active, abbreviated as DSDA) mode, the mobile terminal is simultaneously connected to the public network and the private network, i.e., the mobile terminal is in a dual-network mode, and at this time, the main Modem (Modem) supports the private network, and the auxiliary Modem supports the public network. At this time, the main Modem acquires the network initialization message of the public network in addition to the network initialization message of the private network, but only opens a private network channel with the application layer control module in the mobile terminal, so that the network initialization message of the public network cannot be sent to the application layer control module. When the mobile terminal is switched from the DSDA mode, namely the dual-network mode to the public network mode, the main Modem needs to be restarted so that the main Modem can support the public network, at the moment, a private network channel between the application layer control module and the main Modem is closed, and the public network channel is opened, and then a network initialization message of the public network acquired by the main Modem before can be sent to the application layer control module through the public network channel.
However, the inventors found that: when the mobile terminal is switched from the DSDA mode to the public network mode, the first network initialization message monitored by the application layer control module may be acquired when the main Modem is in the dual network mode, that is, not acquired when the main Modem is switched to the public network mode, so that when the main Modem may not be restarted successfully, that is, not actually switched to the public network mode, the application layer control module may misjudge that the main Modem has been restarted successfully and start to send a related public network service processing message to the main Modem, and further, the related reply of the main Modem cannot be received. After the application layer control module does not receive the reply of the main Modem within a certain time, the application layer control module also needs to resend the related public network service processing information to the main Modem, the public network service processing information cannot be processed in time, service delay is caused, and resources are wasted because the public network service processing information needs to be sent to the main Modem repeatedly.
Disclosure of Invention
The embodiment of the invention provides a service processing method and equipment, which are used for solving the problems of resource waste and service delay caused by misjudgment of a modem network mode in the prior art.
In a first aspect, an embodiment of the present invention provides a service processing method, applied to a mobile terminal, where the method includes:
and acquiring a network initialization message sent by a modem corresponding to the mobile terminal, wherein the network initialization message comprises a current network mode parameter corresponding to a current network mode of the modem.
And when the current network mode parameter is determined to be the target network mode parameter corresponding to the local target network mode of the mobile terminal, sending a service processing message to the modem so that the modem performs corresponding service processing operation according to the service processing message.
And acquiring a service response message returned by the modem after corresponding service processing operation is carried out according to the service processing message.
In one possible design, the method further comprises:
and acquiring a network mode switching request, and switching the current network mode to a target network mode according to the network mode switching request.
And sending a configuration message carrying the target network mode parameters corresponding to the target network mode to the modem.
In one possible design, the method further comprises:
And when the current network mode parameter is determined not to be the target network mode parameter corresponding to the local target network mode of the mobile terminal, continuing to monitor the next network initialization message sent by the modem.
In one possible design, the current network mode is a two-card two-way mode; the target network mode is a public network mode.
In one possible design, the modem includes a primary modem and the network initialization message includes a network initialization message for the public network.
In a second aspect, an embodiment of the present invention provides a service processing method, applied to a modem, where the method includes:
and acquiring a configuration message sent by the mobile terminal, wherein the configuration message comprises target network mode parameters corresponding to the mobile terminal switched to a target network mode.
And updating the current network mode parameter to the target network mode parameter according to the configuration message.
In one possible design, the method further comprises:
and sending a network initialization message to the mobile terminal, wherein the network initialization message comprises current network mode parameters corresponding to the current network mode of the modem.
And acquiring the service processing information sent by the mobile terminal to the modem, and performing corresponding service processing operation according to the service processing information so as to acquire a service response message.
And sending the service response message to the mobile terminal.
In a third aspect, an embodiment of the present invention provides a service processing device, applied to a mobile terminal, where the device includes:
the receiving and transmitting module is used for acquiring a network initialization message sent by a modem corresponding to the mobile terminal, wherein the network initialization message comprises a current network mode parameter corresponding to a current network mode of the modem;
the processing module is used for determining whether the current network mode parameter is a target network mode parameter corresponding to the local target network mode of the mobile terminal;
the transceiver module is further configured to send a service processing message to the modem when the processing module determines that the current network mode parameter is a target network mode parameter corresponding to the local target network mode of the mobile terminal, so that the modem performs a corresponding service processing operation according to the service processing message;
The transceiver module is further configured to obtain a service response message returned by the modem after performing a corresponding service processing operation according to the service processing message.
In one possible design, the transceiver module is further configured to obtain a network mode switching request, and switch the current network mode to the target network mode according to the network mode switching request.
The transceiver module is further configured to send a configuration message carrying the target network mode parameter corresponding to the target network mode to the modem.
In one possible design, the processing module is further configured to, when determining that the current network mode parameter is not a target network mode parameter corresponding to the local target network mode of the mobile terminal, continue to monitor a next network initialization message sent by the modem.
In one possible design, the current network mode is a two-card two-way mode; the target network mode is a public network mode.
In one possible design, the modem includes a primary modem and the network initialization message includes a network initialization message for the public network.
In a fourth aspect, an embodiment of the present invention provides a service processing device, applied to a modem, where the device includes:
The receiving and transmitting module is used for acquiring a configuration message sent by the mobile terminal, wherein the configuration message comprises target network mode parameters corresponding to the switching of the mobile terminal to a target network mode;
and the processing module is used for updating the current network mode parameter to the target network mode parameter according to the configuration message.
In one possible design, the transceiver module is further configured to send a network initialization message to the mobile terminal, where the network initialization message includes a current network mode parameter corresponding to a current network mode of the modem.
The transceiver module is further configured to obtain a service processing message sent by the mobile terminal to the modem, and perform a corresponding service processing operation according to the service processing message, so as to obtain a service response message.
The receiving and transmitting module is further configured to send the service response message to the mobile terminal.
In a fifth aspect, an embodiment of the present invention provides a service processing apparatus, including: at least one processor and a memory.
The memory stores computer-executable instructions.
The at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the business processing method of any of the first aspects.
In a sixth aspect, an embodiment of the present invention provides a service processing apparatus, including: at least one processor and a memory.
The memory stores computer-executable instructions.
The at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the business processing method of any of the second aspects.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when executed by a processor, implement a service processing method of a terminal according to any one of the first aspects.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when executed by a processor, implement a service processing method of a terminal according to any one of the second aspects.
The method comprises the steps that a mobile terminal obtains a network initialization message sent by a modem, wherein the network initialization message comprises a current network mode parameter corresponding to a current network mode of the modem, the mobile terminal compares the current network mode parameter with a target network mode parameter, when the current network mode parameter is determined to be the target network mode parameter, the current network mode of the modem can be determined to be the target network mode, accurate judgment of the network mode of the modem is achieved, when the modem is in the target network mode, the mobile terminal can normally process the service processing message, therefore, the mobile terminal sends the service processing message to the modem, and the modem carries out relevant service processing operation according to the service processing message, so that the service processing message is timely processed, the timeliness of service processing is ensured, after the processing is finished, the corresponding service response message is returned to the mobile terminal, the mobile terminal can determine that the modem has responded to the service processing message after the service response message is received, therefore, the service processing message does not need to be repeatedly sent to the modem, and resource waste can be reduced.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic view of a service processing scenario provided in an embodiment of the present invention;
fig. 2 is a flowchart of a service processing method according to an embodiment of the present invention;
fig. 3 is a second flowchart of a service processing method according to an embodiment of the present invention;
fig. 4 is a flowchart III of a service processing method according to an embodiment of the present invention;
fig. 5 is a flowchart of a service processing method according to an embodiment of the present invention;
fig. 6 is an interaction flow chart of a service processing method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a service processing device according to an embodiment of the present invention;
fig. 8 is a schematic hardware structure of a service processing device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented, for example, in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the prior art, when determining whether a primary modem is switched from a dual network mode to a public network mode, it is generally determined by monitoring a network initialization message of a first public network reported by the primary modem. However, the network initialization message of the first public network monitored by the application layer control module may be acquired when the primary modem is in the dual-network mode, but not acquired after the primary modem is switched to the public network mode, and the primary modem may not be successfully switched to the public network mode at this time, and the application layer control module may misjudge that the primary modem is already in the public network mode and start to send the relevant public network service processing message to the primary modem, so that the relevant reply of the primary modem cannot be received. After the application layer control module does not receive the reply of the main modem within a certain time, the application layer control module also needs to resend the related public network service processing message to the main modem, thereby causing resource waste and service delay.
Therefore, in order to solve the above problems, the technical idea of the present invention is that a modem adds a mode parameter indicating a current network mode of the modem in a network initialization message of a public network to be reported, and then reports the network initialization message of the public network carrying the mode parameter to an application layer control module, when the application layer control module processes a public network service by using the modem, it determines whether the mode parameter is a mode parameter corresponding to a public network mode, and when it determines that the mode parameter is a mode parameter corresponding to the public network mode, it can be determined that the modem has been switched to the public network mode, which can normally process the public network service, thereby realizing accurate determination of the network mode of the modem, and further avoiding resource waste and public network service delay processing caused by misdetermination of the modem network mode.
The technical solutions of the present disclosure and how the technical solutions of the present disclosure solve the above technical problems are described in detail below with specific examples. The following specific examples may be combined with each other, and some examples may not be repeated for the same or similar concepts or processes. Examples of the present disclosure will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic architecture diagram of a service processing system according to an embodiment of the present invention, and as shown in fig. 1, the system includes a mobile terminal 101 and a modem 102. The mobile terminal 101 may be a mobile phone, a tablet or other devices that can access a network, which is not limited herein. The modem 102 corresponding to the mobile terminal 101 is a modem required for the mobile terminal to access the target network.
When the mobile terminal 101 needs to process the service corresponding to the target network mode by using the modem 102 corresponding to the mobile terminal, the service corresponding to the target network mode is the service that the modem 102 can process when in the target network mode. The target network is a network corresponding to the target network mode, for example, the target network mode is a public network mode, and the target network is a public network, and accordingly, the modem is preferably a primary modem.
Fig. 2 is a flowchart of a service processing method according to an embodiment of the present invention, where an execution body in the method of the present embodiment may be the mobile terminal in fig. 1. As shown in fig. 2, the method of the present embodiment may include:
s201, acquiring a network initialization message sent by a modem corresponding to the mobile terminal, wherein the network initialization message comprises a current network mode parameter corresponding to a current network mode of the modem.
S202, when the current network mode parameter is determined to be the target network mode parameter corresponding to the local target network mode of the mobile terminal, sending a service processing message to the modem so that the modem can perform corresponding service processing operation according to the service processing message.
In this embodiment, the modem needs to report a network initialization message to the mobile terminal corresponding to the modem, where the network initialization message includes a current network mode parameter corresponding to a current network mode of the modem, for example, if the current network mode of the modem is a public network mode, the current network mode parameter corresponding to the current network mode is a public network mode parameter; for another example, if the current network mode of the modem is a private network mode, the current network mode parameter corresponding to the current network mode is a private network mode parameter; for another example, the current network mode of the modem is a dual network mode, for example, a DSDA mode, and the current network mode parameter corresponding to the current network mode is a dual network mode parameter.
After the mobile terminal obtains the current network mode parameter in the network initialization message, determining whether the current network mode parameter is the same as the target network mode parameter corresponding to the local target network mode of the mobile terminal, if so, indicating that the network modes of the mobile terminal and the corresponding modem are matched, and at the moment, further carrying out subsequent service processing.
In addition, when the mobile terminal needs to switch to other network modes, for example, a target network mode, it will update the local network mode parameter of the mobile terminal to the target network mode parameter, and at the same time, send the target network mode parameter corresponding to the target network mode to the modem, so that the modem can update the current network mode parameter corresponding to the modem synchronously.
The mobile terminal can compare the current network mode parameter in the network initialization message with the local updated target network mode parameter to judge whether the modem is restarted or not, if so, the modem is restarted, in other words, the mobile terminal updates the current network mode parameter, and can normally process the service processing message sent by the mobile terminal.
S203, acquiring a service response message returned by the modem after corresponding service processing operation is carried out according to the service processing message.
In this embodiment, the service processing message is a service processing message corresponding to the target network mode, that is, the modem can normally respond to the service processing message when in the target network mode. For example, the service processing message is a signal strength of the target network corresponding to the target network mode, which is acquired by the modem.
Optionally, the service handling message is a configuration message comprising a service code indicating the service that the modem needs to perform. After the configuration message is sent to the modem, the modem is in the same network mode as the mobile terminal, so that the service corresponding to the service code in the configuration message can be correspondingly processed based on the configuration message.
Wherein the configuration message is an ATtention (AT) message, which is a command message that can be recognized and executed by the modem.
In this embodiment, after the network mode is switched to the mobile terminal, if the network initialization message carries the network mode parameter, it can quickly determine whether the modem is restarted, and after the restart is successful, the service processing message is sent, so as to ensure that the service processing message can be processed normally. The problem that network resources are wasted due to the fact that service processing information is sent under the condition of misjudgment in the prior art is avoided, and the problem of service delay processing caused by the fact that the response of a modem is required to be monitored at all times instead of resending the service processing information under the condition of misjudgment is avoided.
In addition, it should be further noted that, when the mobile terminal determines that the current network mode parameter is not the target network mode parameter corresponding to the local target network mode of the mobile terminal, it indicates that the current network mode of the modem is not yet the local target network mode of the mobile terminal, and it cannot normally respond to the service processing message sent by the mobile terminal, so the mobile terminal needs to continue to monitor the next network initialization message sent by the modem to continue to determine whether the current network mode parameter of the modem is the target network mode parameter.
As can be seen from the above description, the network initialization message sent by the modem is obtained through the mobile terminal, where the network initialization message includes the current network mode parameter corresponding to the current network mode of the modem, the mobile terminal compares the current network mode parameter with the target network mode parameter, when determining that the current network mode parameter is the target network mode parameter, it can determine that the current network mode of the modem is the target network mode, so as to implement accurate judgment of the network mode of the modem.
When the target network mode is the network mode to which the mobile terminal needs to switch, the mobile terminal needs to control the modem to switch to the target network mode in advance, and a process of controlling the mode switching of the modem is described in detail below with reference to a specific embodiment.
Fig. 3 is a second flowchart of a service processing method according to an embodiment of the present invention, and the embodiment describes in detail a specific implementation process of controlling a modem to perform mode switching based on the embodiment of fig. 2. As shown in fig. 3, the method includes:
s301, acquiring a network mode switching request, and switching the current network mode to a target network mode according to the network mode switching request.
S302, sending a configuration message carrying the target network mode parameters corresponding to the target network mode to the modem.
In this embodiment, after acquiring the network mode switching request, the mobile terminal performs network mode switching, that is, acquires the target network mode in the network mode switching request, and then performs relevant network parameter configuration to switch the network mode local to the mobile terminal to the target network mode, and updates the network mode parameter local to the target network mode parameter.
When the mobile terminal performs network mode switching, a configuration message including the target network mode parameter is also required to be sent to the modem, so that the modem can synchronously switch the corresponding network mode and synchronously update the corresponding network mode parameter.
The network mode switching request may be input by a user, or may be generated by the mobile terminal according to the detected signal strength of the network, for example, the current network mode of the mobile terminal is a private network mode or a dual network mode, but if the detected signal strength of the public network is greater than the signal strength of the private network, the network mode switching request that the target network mode is the public network mode is generated.
S303, acquiring a network initialization message sent by a modem corresponding to the mobile terminal, wherein the network initialization message comprises a current network mode parameter corresponding to a current network mode of the modem.
And S304, when the current network mode parameter is determined to be the target network mode parameter corresponding to the local target network mode of the mobile terminal, sending a service processing message to the modem so that the modem performs corresponding service processing operation according to the service processing message.
S305, obtaining the service response message returned by the modem after corresponding service processing operation according to the service processing message.
In this embodiment, the specific implementation of S303 to 305 is similar to S201 to S203 in the above embodiment, and will not be described here again.
The process described in fig. 3 is described in detail below by way of a specific example of application, as follows:
when the mobile terminal is in a dual card dual pass mode, i.e., a dual network mode, the primary modem is also in the dual network mode. When the mobile terminal acquires a network mode switching request and determines that a target network mode in the network mode request is a public network mode, the mobile terminal switches a local network mode to the public network mode, updates local network mode parameters to public network mode parameters, and simultaneously sends a configuration message carrying the target network mode parameters as the public network mode parameters to the modem so that the modem is restarted according to the configuration message to switch the current network mode, namely the dual network mode, to the public network mode, and updates the current network mode parameters from the dual network mode parameters to the public network mode parameters after switching to the public network mode. At this time, even if the public network channel is opened after the mobile terminal switches networks, the network initialization message of the public network is obtained immediately, and whether the network initialization message of the public network is obtained by the modem in the public network mode can be determined based on the parameters carried in the message. Specifically, the mobile terminal judges whether the current network mode parameter in the network initialization message is a local updated network mode parameter, namely whether the current network mode parameter is a public network mode parameter, and when the current network mode parameter is determined to be the public network mode parameter, the mobile terminal indicates that the modem has been restarted successfully, and the current network mode of the modem is the public network mode. When the current network mode parameter is determined not to be the public network mode parameter, the modem is indicated to be not restarted successfully, and the network initialization message is not acquired when the modem is in the public network mode, so that the modem can be accurately judged to be not restarted successfully, namely, the modem is not successfully switched to the public network mode.
It will be appreciated that the operations performed by the mobile terminal in the above embodiments may actually be performed by an application layer control module in the mobile terminal.
Fig. 4 is a flowchart of a service processing method according to an embodiment of the present invention, where an execution body in the method of the present embodiment may be the modem in fig. 1. As shown in fig. 4, the method of the present embodiment may include:
s401, acquiring a configuration message sent by the mobile terminal, wherein the configuration message comprises target network mode parameters corresponding to the mobile terminal switched to the target network mode.
S402, updating the current network mode parameter to the target network mode parameter according to the configuration message.
In this embodiment, when the mobile terminal switches to the target network mode, a configuration message is sent to the modem, where the configuration message includes a target network mode parameter corresponding to the mobile terminal switching to the target network mode.
After the modem acquires the configuration message sent by the mobile terminal, the modem indicates that the network mode is required to be switched, and updates the current network mode parameter, the modem is restarted to switch the network mode to the target network mode, and after the network mode is switched to the target network mode, the current network mode parameter is updated to the target network mode parameter corresponding to the target network mode. For example, the network mode before the modem does not acquire the configuration message sent by the mobile terminal is a dual-network mode, after the configuration message sent by the mobile terminal is received, the target network mode parameter in the configuration message is a public network mode parameter, the modem is restarted to switch the current network mode from the dual-network mode to the public network mode, and after the restart is successful, the current network mode parameter is updated to the public network mode parameter.
In this embodiment, after acquiring the configuration message including the target network mode parameter sent by the mobile terminal, the modem restarts to switch the own network mode to the target network mode, and after the restart is successful, that is, the current network mode parameter is updated to the target network mode parameter after the switch to the target network mode, so as to realize synchronization between the current network mode parameter of the modem and the local target network mode parameter of the mobile terminal.
In addition, when the modem is in the target network mode, the service corresponding to the target network mode can be processed, and the process of processing the service corresponding to the target network mode by the modem is described in detail below in connection with a specific embodiment.
Fig. 5 is a flowchart of a service processing method according to an embodiment of the present invention, and the embodiment is based on the embodiment of fig. 4, and describes in detail a specific implementation procedure of a procedure of processing a service corresponding to a target network mode by a modem. As shown in fig. 5, the method includes:
s501, acquiring a configuration message sent by the mobile terminal, wherein the configuration message comprises target network mode parameters corresponding to the mobile terminal switched to the target network mode.
S502, updating the current network mode parameter to the target network mode parameter according to the configuration message.
In this embodiment, the specific implementation of S501 to 502 is similar to S401 to S402 in the above embodiment, and will not be described here again.
S503, a network initialization message is sent to the mobile terminal, wherein the network initialization message comprises current network mode parameters corresponding to the current network mode of the modem.
In this embodiment, the modem uses the acquired network initialization message as the basic network initialization message, before reporting the basic network initialization message to the mobile terminal, the modem needs to acquire the current network mode in which the modem is currently located, that is, the current network mode parameter corresponding to the current network mode, then adds the current network mode parameter to the basic network initialization message to obtain the network initialization message including the current network mode parameter of the modem, and then reports the network initialization message to the mobile terminal, so that the mobile terminal determines whether the current network mode of the modem is the target network mode, thereby determining whether the modem can currently process the service corresponding to the target network mode.
In addition, the network initialization message is related to the target network mode, for example, when the target network mode is a public network mode, the network initialization message reported by the modem is a public network initialization message, that is, a Protocol Stack INIT (PSINIT) message of the public network.
S504, obtaining the service processing information sent by the mobile terminal, and carrying out corresponding service processing operation according to the service processing information so as to obtain the service response information.
In this embodiment, when the mobile terminal switches to the target network mode and needs to use the modem to process the service corresponding to the target network mode, the current network mode parameter in the network initialization message reported by the modem is compared with the target network mode parameter corresponding to the local target network mode, and when the current network mode parameter and the target network mode parameter are the same, the modem is switched to the target network mode, that is, the current network mode of the modem is the target network mode, and the current network mode of the modem can process the service corresponding to the target network mode, and then the relevant service processing message is sent to the modem.
After acquiring the service processing information sent by the mobile terminal, the modem can process the service corresponding to the target network mode because the modem is in the target network mode, namely, can normally respond to the service processing information, then execute relevant service processing operation according to the service processing information, and after the service processing operation is executed, generate a service response message corresponding to the service processing information.
Optionally, the service response message may include a response result, where the response result is a result obtained after the modem completes all the service processing operations corresponding to the service processing message, for example, the service processing message is a signal strength of the target network corresponding to the target network mode, where the response result is the signal strength of the target network.
S505, the service response message is sent to the mobile terminal.
In this embodiment, after the modem obtains the service response message corresponding to the service processing message, the service response message is sent to the mobile terminal, so that the mobile terminal can determine the service execution condition according to the service response message, and obtain the required information thereof.
In this embodiment, after the modem receives the service processing message sent by the mobile terminal, the modem is in the target network mode at this time, and can normally process the service related to the target network mode, so that the modem can normally respond to the service processing message sent by the mobile terminal, and the timeliness of service processing is ensured. After the service processing information is responded, the corresponding service response information is sent to the mobile terminal, so that the mobile terminal can determine that the service processing information is responded, the service processing information does not need to be sent repeatedly, and the waste of network resources is reduced.
Fig. 6 is an interactive flowchart of a service processing method according to an embodiment of the present invention. As shown in fig. 6, the method of the present embodiment may include:
s601, the modem sends a network initialization message to the mobile terminal, wherein the network initialization message comprises current network mode parameters corresponding to the current network mode of the modem.
S602, the mobile terminal acquires a network initialization message sent by a corresponding modem.
S603, when the mobile terminal determines that the current network mode parameter is the target network mode parameter corresponding to the local target network mode of the mobile terminal, the mobile terminal sends a service processing message to the modem.
S604, the modem acquires the service processing information sent by the mobile terminal, and performs corresponding service processing operation according to the service processing information so as to acquire the service response information.
S605, the modem sends a service response message to the mobile terminal.
S606, the mobile terminal acquires the service response message returned by the modem after corresponding service processing operation is carried out according to the service processing message.
In this embodiment, the modem sends a network initialization message to be reported to the mobile terminal, where the network initialization message includes a current network mode parameter corresponding to a current network mode of the modem. The mobile terminal obtains the current network mode parameter in the network initialization message, compares the current network mode parameter with the target network mode parameter corresponding to the local target network mode of the mobile terminal to determine whether the current network mode of the modem is the target network mode, and realizes accurate judgment of the network mode of the modem.
When the mobile terminal determines that the current network mode parameter is consistent with the target network mode parameter, the current network mode of the modem is the target network mode, and the current network mode of the modem can normally process the service corresponding to the target network mode, and then a relevant service processing message is sent to the modem so that the modem can process the service corresponding to the target network mode.
After the modem acquires the service processing information sent by the mobile terminal, the current network mode is the target network mode, so that the modem can normally respond to the service processing information, namely, perform corresponding service processing operation according to the service processing information, and return the corresponding service response information to the mobile terminal after the response is completed, so that the mobile terminal can determine that the service processing information is processed, and the service processing information does not need to be sent repeatedly, thereby reducing the waste of network resources.
In this embodiment, after determining that the current network mode of the modem is the target network mode, the mobile terminal sends a relevant service processing message to the modem, and after acquiring the service processing message, the modem can respond normally, thereby ensuring that the service processing message can be processed normally and timely.
Fig. 7 is a schematic structural diagram of a service processing device according to an embodiment of the present invention, where the service processing device is applied to a mobile terminal and/or a modem, and as shown in fig. 7, a service processing device 700 may include: a transceiver module 701 and a processing module 702.
The transceiver module 701 is configured to obtain a network initialization message sent by a modem corresponding to the mobile terminal, where the network initialization message includes a current network mode parameter corresponding to a current network mode of the modem.
The processing module 702 is configured to determine whether the current network mode parameter is a target network mode parameter corresponding to a local target network mode of the mobile terminal.
The transceiver module 701 is further configured to send a service processing message to the modem when the processing module 702 determines that the current network mode parameter is a target network mode parameter corresponding to a local target network mode of the mobile terminal, so that the modem performs a corresponding service processing operation according to the service processing message.
The transceiver module 701 is further configured to obtain a service response message returned by the modem after performing a corresponding service processing operation according to the service processing message.
In one possible design, the transceiver module 701 is further configured to obtain a network mode switching request, and switch the current network mode to the target network mode according to the network mode switching request.
The transceiver module 701 is further configured to send a configuration message carrying the target network mode parameter corresponding to the target network mode to the modem.
In one possible design, the processing module 702 is further configured to, when determining that the current network mode parameter is not a target network mode parameter corresponding to the local target network mode of the mobile terminal, continue to monitor for a next network initialization message sent by the modem.
In one possible design, the current network mode is a dual card dual pass mode and the target network mode is a public network mode.
In one possible design, the modem includes a primary modem and the network initialization message includes a network initialization message for the public network.
In one possible design, the transceiver module 701 is configured to obtain a configuration message sent by the mobile terminal, where the configuration message includes a target network mode parameter corresponding to the mobile terminal switching to the target network mode.
The processing module 702 is configured to update the current network mode parameter to the target network mode parameter according to the configuration message.
In one possible design, the transceiver module 701 is further configured to send a network initialization message to the mobile terminal, where the network initialization message includes a current network mode parameter corresponding to a current network mode of the modem.
The transceiver module 701 is further configured to obtain a service processing message sent by the mobile terminal to the modem, and perform a corresponding service processing operation according to the service processing message, so as to obtain a service response message.
The transceiver module 701 is further configured to send a service response message to the mobile terminal.
The service processing device provided by the embodiment of the present invention can implement the service processing method of the above embodiment, and its implementation principle and technical effects are similar, and will not be described here again.
Fig. 8 is a schematic hardware structure of a service processing device according to an embodiment of the present invention. As shown in fig. 8, the service processing apparatus 800 provided in this embodiment includes: at least one processor 801 and a memory 802. The processor 801 and the memory 802 are connected by a bus 803.
In a specific implementation process, at least one processor 801 executes computer-executable instructions stored in the memory 802, so that the at least one processor 801 executes the service processing method in the above method embodiment.
The specific implementation process of the processor 801 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 8, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may further comprise non-volatile storage NVM, such as at least one disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and when a processor executes the computer execution instructions, the service processing method of the method embodiment is realized.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). The processor and the readable storage medium may reside as discrete components in a device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (11)

1. A service processing method, applied to a mobile terminal, the method comprising:
acquiring a network initialization message sent by a modem corresponding to the mobile terminal, wherein the network initialization message comprises a current network mode parameter corresponding to a current network mode of the modem;
when the current network mode parameter is determined to be the target network mode parameter corresponding to the local target network mode of the mobile terminal, sending a service processing message to the modem so that the modem performs corresponding service processing operation according to the service processing message;
acquiring a service response message returned by the modem after corresponding service processing operation according to the service processing message;
the current network mode is a double-card double-pass mode; the target network mode is a public network mode.
2. The method according to claim 1, wherein the method further comprises:
acquiring a network mode switching request, and switching a current network mode to a target network mode according to the network mode switching request;
and sending a configuration message carrying the target network mode parameters corresponding to the target network mode to the modem.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and when the current network mode parameter is determined not to be the target network mode parameter corresponding to the local target network mode of the mobile terminal, continuing to monitor the next network initialization message sent by the modem.
4. A method according to claim 3, wherein the modem comprises a primary modem and the network initialization message comprises a network initialization message of the public network.
5. A method of traffic handling, for use with a modem, the method comprising:
acquiring a configuration message sent by a mobile terminal, wherein the configuration message comprises target network mode parameters corresponding to the mobile terminal switched to a target network mode;
updating the current network mode parameter to the target network mode parameter according to the configuration message;
a network initialization message is sent to the mobile terminal, wherein the network initialization message comprises current network mode parameters corresponding to the current network mode;
acquiring a service processing message sent by the mobile terminal when the current network mode parameter is determined to be a target network mode parameter corresponding to a local target network mode of the mobile terminal, and performing corresponding service processing operation according to the service processing message to acquire a service response message;
Transmitting the service response message to the mobile terminal;
the current network mode is a double-card double-pass mode; the target network mode is a public network mode.
6. A service processing apparatus for use in a mobile terminal, the apparatus comprising:
the receiving and transmitting module is used for acquiring a network initialization message sent by a modem corresponding to the mobile terminal, wherein the network initialization message comprises a current network mode parameter corresponding to a current network mode of the modem;
the processing module is used for determining whether the current network mode parameter is a target network mode parameter corresponding to the local target network mode of the mobile terminal;
the transceiver module is further configured to send a service processing message to the modem when the processing module determines that the current network mode parameter is a target network mode parameter corresponding to the local target network mode of the mobile terminal, so that the modem performs a corresponding service processing operation according to the service processing message;
the transceiver module is further used for acquiring a service response message returned by the modem after corresponding service processing operation is performed according to the service processing message;
The current network mode is a double-card double-pass mode; the target network mode is a public network mode.
7. A service processing apparatus for use with a modem, said apparatus comprising:
the receiving and transmitting module is used for acquiring a configuration message sent by the mobile terminal, wherein the configuration message comprises target network mode parameters corresponding to the switching of the mobile terminal to a target network mode;
the processing module is used for updating the current network mode parameters to the target network mode parameters according to the configuration message;
the transceiver module is further configured to send a network initialization message to the mobile terminal, where the network initialization message includes a current network mode parameter corresponding to a current network mode of the modem;
acquiring a service processing message sent by the mobile terminal when the current network mode parameter is determined to be a target network mode parameter corresponding to a local target network mode of the mobile terminal, and performing corresponding service processing operation according to the service processing message to acquire a service response message;
the service response message is also used for sending the service response message to the mobile terminal;
the processing module is further used for updating the current network mode parameter to the target network mode parameter according to the configuration message;
The current network mode is a double-card double-pass mode; the target network mode is a public network mode.
8. A service processing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the business processing method of any of claims 1 to 4.
9. A service processing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the business processing method of claim 5.
10. A computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the business processing method of any of claims 1 to 4.
11. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor implement the business processing method of claim 5.
CN202010406321.7A 2020-05-14 2020-05-14 Service processing method and equipment Active CN113676894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010406321.7A CN113676894B (en) 2020-05-14 2020-05-14 Service processing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010406321.7A CN113676894B (en) 2020-05-14 2020-05-14 Service processing method and equipment

Publications (2)

Publication Number Publication Date
CN113676894A CN113676894A (en) 2021-11-19
CN113676894B true CN113676894B (en) 2023-06-13

Family

ID=78537178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010406321.7A Active CN113676894B (en) 2020-05-14 2020-05-14 Service processing method and equipment

Country Status (1)

Country Link
CN (1) CN113676894B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501565A (en) * 2022-02-21 2022-05-13 深圳市亿诺德科技有限公司 Network switching method based on industrial Internet of things

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532859A (en) * 2012-07-03 2014-01-22 华为终端有限公司 Method for realizing network switching, device and multi-mode terminal
CN104902524A (en) * 2014-03-06 2015-09-09 中兴通讯股份有限公司 Method for terminal to automatically switch data link and terminal
CN105100194A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 Full Netcom mutual upgrading method and device based on redundant MBN
CN105376762A (en) * 2015-10-23 2016-03-02 青岛海信移动通信技术股份有限公司 Method for activating target network parameter file and correlative devices
CN105530626A (en) * 2015-12-22 2016-04-27 东莞酷派软件技术有限公司 Network mode configuration method and mobile terminal
CN106658468A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Data card business switching method and terminal
CN108966304A (en) * 2017-05-27 2018-12-07 成都鼎桥通信技术有限公司 A kind of switching method and apparatus of network mode
CN108966294A (en) * 2017-05-26 2018-12-07 成都鼎桥通信技术有限公司 A kind of switching method and apparatus of network mode
CN109392041A (en) * 2017-08-14 2019-02-26 成都鼎桥通信技术有限公司 The switching method and device of network mode
CN110139326A (en) * 2018-02-08 2019-08-16 成都鼎桥通信技术有限公司 The method, apparatus and terminal device of automatically switching network mode in private network system
CN110301146A (en) * 2017-03-01 2019-10-01 华为技术有限公司 Network collocating method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9301252B2 (en) * 2013-11-11 2016-03-29 Google Technology Holdings LLC Reducing power consumption by a wireless communication device with multiple wireless communication modems

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532859A (en) * 2012-07-03 2014-01-22 华为终端有限公司 Method for realizing network switching, device and multi-mode terminal
CN104902524A (en) * 2014-03-06 2015-09-09 中兴通讯股份有限公司 Method for terminal to automatically switch data link and terminal
WO2015131442A1 (en) * 2014-03-06 2015-09-11 中兴通讯股份有限公司 Terminal and method for terminal automatically switching data link
CN105100194A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 Full Netcom mutual upgrading method and device based on redundant MBN
CN105376762A (en) * 2015-10-23 2016-03-02 青岛海信移动通信技术股份有限公司 Method for activating target network parameter file and correlative devices
CN105530626A (en) * 2015-12-22 2016-04-27 东莞酷派软件技术有限公司 Network mode configuration method and mobile terminal
CN106658468A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Data card business switching method and terminal
CN110301146A (en) * 2017-03-01 2019-10-01 华为技术有限公司 Network collocating method and terminal
CN108966294A (en) * 2017-05-26 2018-12-07 成都鼎桥通信技术有限公司 A kind of switching method and apparatus of network mode
CN108966304A (en) * 2017-05-27 2018-12-07 成都鼎桥通信技术有限公司 A kind of switching method and apparatus of network mode
CN109392041A (en) * 2017-08-14 2019-02-26 成都鼎桥通信技术有限公司 The switching method and device of network mode
CN110139326A (en) * 2018-02-08 2019-08-16 成都鼎桥通信技术有限公司 The method, apparatus and terminal device of automatically switching network mode in private network system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩翔.一种Android智能手机多卡多模设计的研究与实现.《中国优秀硕士学位论文辑》.2015,全文. *

Also Published As

Publication number Publication date
CN113676894A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
CN107832329B (en) Page resource obtaining method and terminal equipment
CN109792657B (en) Wireless communication method and apparatus
US10064044B2 (en) Method and apparatus for determining roaming status of terminal, terminal, and server
CN104936282A (en) Method and device for registering converged communication service
WO2018157584A1 (en) Calling method and terminal
CN112398689A (en) Network recovery method and device, storage medium and electronic equipment
CN113676894B (en) Service processing method and equipment
CN112866984B (en) Call record synchronization method, cloud platform and terminal
US20230413247A1 (en) Method for communication processing, terminal device, and non-transitory computer-readable storage medium
CN104426816B (en) A kind of virtual machine communication method and device
EP3879897A1 (en) Wireless communication method, and device
CN110519712B (en) Information processing method and device, network element and storage medium
WO2017054405A1 (en) Bluetooth paging method and device
CN107295493B (en) Information reporting method, device, terminal and computer readable storage medium
CN114697339A (en) Load balancing method and device under centralized architecture
CN111930626B (en) Automatic testing method and device based on PaaS cloud service
CN108282804B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN111343684A (en) Circuit switched fallback cell selection method and device, terminal and storage medium
CN106230878A (en) A kind of equipment service calling method based on AllJoyn framework and device
EP3716687A1 (en) Service-based processing method, terminal device, and network device
CN113141636A (en) Processing method and device based on condition switching, related equipment and storage medium
CN110650259A (en) Call request response method, device, server, terminal and storage medium
CN112954781B (en) Communication control method, communication control device, electronic device, and storage medium
CN113365317B (en) Communication error identification method, communication base station and device with storage function
KR20200120610A (en) Communication method, network device and terminal device

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