CN106713350B - IMS registration state updates report method and device - Google Patents

IMS registration state updates report method and device Download PDF

Info

Publication number
CN106713350B
CN106713350B CN201710046774.1A CN201710046774A CN106713350B CN 106713350 B CN106713350 B CN 106713350B CN 201710046774 A CN201710046774 A CN 201710046774A CN 106713350 B CN106713350 B CN 106713350B
Authority
CN
China
Prior art keywords
ims
state
volte
registration
login
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
CN201710046774.1A
Other languages
Chinese (zh)
Other versions
CN106713350A (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 CN201710046774.1A priority Critical patent/CN106713350B/en
Publication of CN106713350A publication Critical patent/CN106713350A/en
Application granted granted Critical
Publication of CN106713350B publication Critical patent/CN106713350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a kind of IMS registration states to update report method.The described method includes: obtaining VoLTE switch state change information and being sent to IMS service caching;After the IMS service caching receives the VoLTE switch state change information, updates the login state of the IMS and report to status bar module;The status bar module controls HD icon show or hide according to the login state of the IMS.When detecting the variation of VoLTE switch state, timely update IMS login state and report to status bar in time, so that when turning on or off VoLTE switch, the login state of IMS can promptly and accurately be updated, to improve the accuracy that HD icon is shown, in addition, also providing a kind of IMS registration state update reporting device.

Description

IMS registration state updates report method and device
Technical field
The present invention relates to fields of communication technology, update report method and device more particularly to a kind of IMS registration state.
Background technique
VoLTE (Voice over LTE) be framework in LTE network based on the voice service of IMS, when supporting VoLTE In the mobile phone of function be inserted into VoLTE card as data card, and open VoLTE switch after, mobile phone progress IMS (IP Multimedia Subsystem, IP multimedia subsystem) network registry, after IMS network succeeds in registration, update VoLTE is opened Information is closed into IMS service caching, and then updates the registration status information of IMS service caching and reports registration status information, So that notice status bar shows HD (High Definition, high definition) icon, HD icon is VoLTE high definition voice call function Icon has shown on HD icon representation mobile telephone registration IMS service, VoLTE high definition voice can be used.
But after user carries out hot plug to VoLTE card, VoLTE switch is opened or closed, in fact it could happen that can not be by VoLTE Into IMS service caching, the login state for causing IMS service to cache can not timely update the information update opened or closed With report, and then cause notification bar that cannot normally show HD icon, cause HD icon display inaccuracy.
Summary of the invention
Based on this, it is necessary in view of the above-mentioned problems, providing a kind of IMS registration state of raising HD icon display accuracy more New report method and device.
A kind of IMS registration state update report method, comprising:
It obtains VoLTE switch state change information and is sent to IMS service caching;
After the IMS service caching receives the VoLTE switch state change information, the registration shape of the IMS is updated State simultaneously reports to status bar module;
The status bar module controls HD icon show or hide according to the login state of the IMS.
The login state for updating the IMS and report to status bar module in one of the embodiments, comprising:
Obtain the configuration parameter of IMS service caching, the configuration parameter include the VoLTE switch state parameter and IMS network registers parameter;
The login state of the IMS is updated simultaneously according to the VoLTE switch state parameter and IMS network registration parameter Report to status bar module.
It is described in one of the embodiments, that parameter is registered according to the VoLTE switch state parameter and the IMS network It updates the login state of the IMS and reports to status bar module, comprising:
Judge whether the VoLTE switch state is open state according to the VoLTE switch state parameter;
If the VoLTE switch state is not open state, the login state for updating the IMS is unregistered state;
If the VoLTE switch state is open state, parameter is registered according to the IMS network and judges that IMS network is It is no to succeed in registration;
If the IMS network does not succeed in registration, the login state for updating the IMS is unregistered state;
If the IMS network succeeds in registration, the login state for updating the IMS is registered state;
The login state of the updated IMS is reported into status bar module.
The status bar module controls HD icon according to the login state of the IMS and shows in one of the embodiments, Or it hides, comprising:
When the login state of the IMS is registered state, the status bar module controls the HD icon and shows;
When the login state of the IMS is unregistered state, the status bar module controls the HD icon hiding.
The IMS registration state updates report method in one of the embodiments, further include:
Whether detection VoLTE switch state changes;
When detecting that VoLTE switch state changes, VoLTE switch state change information is obtained.
A kind of IMS registration state update reporting device, comprising:
Module is obtained, for obtaining VoLTE switch state change information and being sent to IMS service caching;
Reporting module is updated, after receiving the VoLTE switch state change information for IMS service caching, more The login state of the new IMS simultaneously reports to status bar module;
Control module controls HD icon show or hide according to the login state of the IMS for the status bar module.
The configuration ginseng for updating reporting module and being also used to obtain the IMS service caching in one of the embodiments, Number, the configuration parameter include the VoLTE switch state parameter and IMS network registration parameter;Shape is switched according to the VoLTE State parameter and IMS network registration parameter update the login state of the IMS and report to status bar module.
The update reporting module includes: in one of the embodiments,
First judgment module, for according to the VoLTE switch state parameter judge the VoLTE switch state whether be Open state;
Update module updates the login state of the IMS if not being open state for the VoLTE switch state For unregistered state;
Second judgment module is registered if being open state for the VoLTE switch state according to the IMS network Parameter judges whether IMS network succeeds in registration;
Update module, if not succeeding in registration for the IMS network, the login state for updating the IMS is not infuse Volume state;If the IMS network succeeds in registration, the login state for updating the IMS is registered state;
Reporting module, for the login state of the updated IMS to be reported to status bar module.
The control module is used for when the login state of the IMS is registered state in one of the embodiments, The status bar module controls the HD icon and shows;When the login state of the IMS is unregistered state, the status bar Module controls the HD icon hiding.
The acquisition module is also used to detect whether VoLTE switch state changes in one of the embodiments,;When When detecting that VoLTE switch state changes, VoLTE switch state change information is obtained.
Above-mentioned IMS registration state updates report method and device, by obtain VoLTE switch state change information and on Report to IMS service caches, and control updates the login state of IMS, and status bar module is reported to after more new state, so that state The display state of column module control HD icon.The registration shape of IMS is updated by obtaining the control of VoLTE switch state change information State, so that the login state of IMS can be promptly and accurately updated when turning on or off VoLTE switch, to improve HD figure Mark the accuracy of display.
Detailed description of the invention
Fig. 1 is that IMS registration state updates report method flow chart in one embodiment;
The step flow chart that the login state that Fig. 2 is IMS in one embodiment updates;
The step specific flow chart that the login state that Fig. 3 is IMS in another embodiment updates;
Fig. 4 is that IMS registration state updates report method flow chart in another embodiment;
Fig. 5 is that IMS registration state updates reporting device structure chart in one embodiment;
Fig. 6 is that reporting module structure chart is updated in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
As shown in Figure 1, in one embodiment, a kind of IMS registration state is provided and updates report method, this method include with Lower content:
Step 110, it obtains VoLTE switch state change information and is sent to IMS service caching.
In the present embodiment, obtains VoLTE switch state change message and the message is sent to IMS service caching, notice IMS service caching VoLTE switch state changes.IMS service caching mentioned here is used to cache the registration shape of IMS service State information, the registration status information of IMS service caching are used to reflect that can VoLTE function use.
Step 120, after IMS service caching receives VoLTE switch state change information, the login state of IMS is updated simultaneously Report to status bar module.
In the present embodiment, different VoLTE switch states corresponds to the login state of different IMS, when IMS service caching connects After receiving VoLTE switch state change information, the login state of corresponding IMS is updated according to the VoLTE switch state after variation, And the login state of updated IMS is reported into status bar module.
Step 130, status bar controls HD icon show or hide according to the login state of IMS.
In the present embodiment, HD (High Definition, high definition) icon is the function of VoLTE high definition voice call function Icon illustrates that VoLTE high definition voice call function can be used, when status bar is not shown when status bar shows HD icon When HD icon, illustrate that VoLTE high definition voice call function cannot use.VoLTE high definition voice call function and the network IMS take Business is related, i.e., related to the login state of IMS, therefore status bar carries out HD icon according to the login state of the IMS received Control controls the show or hide of HD icon according to the specifying information of the login state of IMS.
Above-mentioned IMS registration state updates report method and reports to IMS when detecting that VoLTE switch state changes Services cache, IMS service, which is cached, to be updated the login state of IMS service caching according to the variation of VoLTE switch state and reports to Status bar, so that the show or hide of status bar control HD icon.By the detection to VoLTE switch state, guarantee in time more New corresponding IMS service caches login state, and then enables status bar according to the registration status information correctly fed back in time The correctly show or hide of control HD icon, improves the correctness that HD icon is shown.
In one embodiment, it updates the login state of IMS and reports to status bar module, comprising:
The configuration parameter of IMS service caching is obtained, the configuration parameter includes VoLTE switch state parameter and IMS network Register parameter;The login state of IMS is updated according to VoLTE switch state parameter and IMS network registration parameter and reports to state Column module.
In the present embodiment, VoLTE switch state changes the use that will have a direct impact on VoLTE high definition voice call function, because This is when IMS service caches and receives VoLTE switch state change information, according to the ginseng of reflection VoLTE high definition voice call function Number, updates the registration status information of IMS.It include the configuration parameter of multiple reflection IMS network services in IMS service caching, such as VoLTE switch state parameter and IMS network register parameter, when VoLTE switch state changes, VoLTE switch state ginseng Several and IMS network registration parameter occurs accordingly to change, therefore can use VoLTE switch state parameter and judge that VoLTE switchs shape State change after state, using IMS network registration parameter judgement at this time IMS network service whether be able to use, to sentence Disconnected VoLTE high definition voice call function at this time can normal use, and the login state for updating IMS reports to status bar module, So that status bar module updates HD icon according to the login state of IMS.
As shown in Fig. 2, in one embodiment, the login state for providing a kind of IMS service caching updates the step of reporting, Including the following contents:
Step 210, judge whether VoLTE switch state is open state according to VoLTE switch state parameter.
In the present embodiment, VoLTE switch state includes open state and closed state, when VoLTE switch state is to open When state, in order to realize that high definition voice call function VoLTE card initiates IMS network registration, namely VoLTE switch is opened in user In the case where, VoLTE card registered ims network, to use VoLTE high definition voice call function.IMS service caching receives After VoLTE switch state change message, the VoLTE switch state parameter in corresponding IMS network configuration parameter at this time is obtained, is led to It crosses VoLTE switch state parameter and judges whether VoLTE switch state is open state.
Step 220, if VoLTE switch state is not open state, the login state for updating IMS is unregistered state.
In the present embodiment, VoLTE switch state after judging variation according to VoLTE switch state parameter is not opening state When state, illustrate at this time VoLTE card can not registered ims network, VoLTE high definition voice call function do not open, updates the registration of IMS State is unregistered state.
Step 230, if VoLTE switch state is open state, parameter is registered according to IMS network and judges that IMS network is It is no to succeed in registration.
In the present embodiment, VoLTE switch state after judging variation according to VoLTE switch state parameter is open state When, illustrate that VoLTE card can initiate to register to IMS network at this time, but when VoLTE is data card, could take using IMS network Business carries out high definition voice communication, therefore when opening VoLTE switch but VoLTE card is not data card, IMS network is not available; Or VoLTE card initiates registration request to IMS network as data, but IMS network can not provide service.Therefore it is opening After VoLTE switch, register parameter judges whether successful registration i.e. IMS network is capable of providing IMS network according to IMS network Service.
Step 240, if IMS network does not succeed in registration, the login state for updating IMS is unregistered state.
In the present embodiment, if registering parameter according to IMS network judges IMS network registration failure, illustrate VoLTE card at this time The login state that high definition voice call function cannot be provided, therefore update IMS is unregistered state.
Step 250, if IMS network succeeds in registration, the login state for updating IMS is registered state.
If registering parameter according to IMS network judges that IMS network succeeds in registration, illustrate that VoLTE card is capable of providing height at this time Clear voice call function, the login state for updating IMS is login state.
Step 260, the login state of updated IMS is reported into status bar module.
In the present embodiment, according to the corresponding login state for updating corresponding IMS of different situations, by the IMS of final updated The login state of services cache reports to status bar module, so that status bar module is sentenced according to the login state of updated IMS Disconnected VoLTE high definition voice call function at this time whether can normal use, to carry out show or hide to HD icon.
As shown in figure 3, in one embodiment, provide a kind of IMS service caching login state update report it is specific Step:
Step 310, when receiving key_switch_volte message, IMS configuration parameter ims_test_mode_ is obtained Valid and ims_test_mode.
In the present embodiment, when user turns on or off switch, key_switch_volte message is generated, Modem (is adjusted Modulator-demodulator) message is uploaded to RIL (radio interface layer), RIL is reported to framework (framework), IMS service caching from Framework obtains the key_switch_volte message uploaded.When IMS service caching receives key_switch_volte message When, obtain IMS configuration parameter ims_test_mode_valid and ims_test_mode.Ims_test_mode_valid is used to Reflect VoLTE switch state, ims_test_mode be used to reflect VoLTE card IMS network whether successful registration, i.e., IMS network take Whether business can be used.
Step 320, judge whether ims_test_mode_valid is true, if so, 330 are thened follow the steps, if it is not, then Execute step 350.
In the present embodiment, when ims_test_mode_valid is true, VoLTE switch state is represented as open state; When ims_test_mode_valid is false, represents VoLTE switch state and be in off state.Therefore work as and detect ims_ When test_mode_valid is true, illustrate that user opens VoLTE switch at this time, VoLTE card, which initiates IMS network registration, asks It asks, executes step 330.When detecting ims_test_mode_valid is false, illustrates that user closes VoLTE at this time and open It closes, VoLTE card cannot initiate registration request to IMS network at this time, execute step 350.
Step 330, judge whether ims_test_mode is false, if so, 340 are thened follow the steps, if it is not, then executing step Rapid 350.
In the present embodiment, when ims_test_mode is false, represents IMS network and succeed in registration i.e. IMS network service It can use;When ims_test_mode is true, it is unavailable to represent the i.e. IMS network service of IMS network registration failure.Therefore it is examining In the state of measuring VoLTE switch unlatching, when detecting ims_test_mode is false, illustrate VoLTE card successful registration IMS network executes step 340, when detecting ims_test_mode is true, illustrates VoLTE card registered ims network failure, Execute step 350.
Step 340, the registration status information for updating IMS is REGISTERED.
In the present embodiment, when detecting that ims_test_mode_valid is true and ims_test_mode is false, Detect that user opens VoLTE switch and successful registration IMS network, the then registration status information for updating IMS are REGISTERED, the i.e. login state of update IMS are registered state.
Step 350, the registration status information for updating IMS is NOT_REGISTERED.
In the present embodiment, when detecting that ims_test_mode_valid is false or ims_test_mode_valid is When true and ims_test_mode are true, that is, detect that user closes VoLTE switch or detects that user opens VoLTE is switched but failed registered ims network, then the registration status information for updating IMS is NOT_REGISTERED, that is, updates The login state of IMS is unregistered state.
Step 360, UNSOL_SRV_STATUS_UPDATE message is sent to status bar module.
In the present embodiment, after having updated the registration status information of IMS according to step 340 or step 350, Modem will The registration status information of update, by RIL, is reported in the form of UNSOL_SRV_STATUS_UPDATE message by RIL Framework, status bar module is obtained from framework to be updated status message and is updated, status bar module here It is the status bar application for referring to receiving area's reason message, notice status bar can be controlled and show HD icon.
In one embodiment, status bar module controls HD icon show or hide according to the login state of IMS, comprising: When the login state of IMS is registered state, status bar module controls the HD icon and shows;When the login state of IMS is When unregistered state, the status bar module controls the HD icon hiding.
In the present embodiment, when the login state of the IMS updated according to the variation of VoLTE switch state is registered state, Illustrate the success of VoLTE card registered ims network, VoLTE high definition call function is able to use, therefore status bar shows corresponding HD figure Mark;When the login state of the IMS updated according to the variation of VoLTE switch state is unregistered state, illustrate that VoLTE card is registered IMS network failure, VoLTE high definition call function cannot use, therefore status bar hides corresponding HD icon.
In one embodiment, IMS registration state updates report method further include: whether detection VoLTE switch state is sent out Changing;When detecting that VoLTE switch state changes, VoLTE switch state change information is obtained.
In the present embodiment, VoLTE switch state includes open state and closed state, respectively corresponds the unlatching of VoLTE function Or it closes.Switch response events are preset, trigger the response events when user is turned on or off VoLTE switch, from And detect whether VoLTE switch state changes.Can VoLTE switch state correspond to VoLTE function and use, and works as VoLTE When switch state changes, illustrate that VoLTE function service condition changes at this time.Therefore work as and detect that VoLTE switchs shape When state changes, that is, illustrate that switching response events is triggered, and obtains VoLTE switch state change information at this time.
As shown in figure 4, in one embodiment, providing a kind of IMS registration state update report method, including following interior Hold:
Step 410, whether detection VoLTE switch state changes.
In the present embodiment, VoLTE switch state includes open state and closed state, when user turns on or off Whether when VoLTE is switched, VoLTE switch state can change, therefore changed and determined whether by detection switch state Need to update the VoLTE icon i.e. state of HD icon.
Specifically, presetting switch response events, when user is turned on or off VoLTE switch, trigger switch is rung Event is answered, generates switch state change message to detect whether VoLTE switch state changes.
Step 420, when detecting that VoLTE switch state changes, it is concurrent to obtain VoLTE switch state change information It send to IMS service and caches.
In the present embodiment, when detecting that VoLTE switch state changes, VoLTE switch state change information is obtained And the state change information is sent to IMS service caching, to remind IMS service caching VoLTE switch state to change, and The login state of the corresponding IMS of Shi Gengxin.
Specifically, generating key_switch_volte message, that is, VoLTE when user turns on or off VoLTE switch Switch state change message, Modem transmit the message to RIL, and RIL reports to framework, IMS service after obtaining message Caching obtains key_switch_volte message from framework, parses to IMS service parameter, timely updates IMS's Login state.
Step 430, after IMS service caching receives VoLTE switch state change information, matching for IMS service caching is obtained Parameter is set, configuration parameter includes VoLTE switch state parameter and IMS network registration parameter.
In the present embodiment, after IMS service caching receives the information of VoLTE switch state variation, obtains VoLTE switch and become State after change determines that VoLTE switch is in unlatching or closed state at this time.By obtaining in IMS configuration parameter VoLTE switch state parameter and IMS network registration parameter judge switch state and IMS network login state at this time.
Specifically, obtaining when IMS receives key_switch_volte message and being used to reflect in IMS configuration parameter at this time The parameter ims_test_mode_valid of VoLTE switch state and parameter ims_ for reflecting IMS network login state test_mode。
Step 440, judge whether VoLTE switch state is open state according to VoLTE switch state parameter, if it is not, then Step 470 is executed, if so, thening follow the steps 450.
In the present embodiment, VoLTE switch state includes open state and closed state.Pass through VoLTE switch state parameter Judge that the VoLTE switch state after VoLTE switch state changes is open state or closed state.After change When VoLTE switch state is open state, illustrate that user opens VoLTE switch, VoLTE card initiates to infuse to IMS network at this time Volume request, executes step 450;When VoLTE switch state after change is in off state, it is not available VoLTE phonetic function, VoLTE card will not initiate registration request to IMS network, execute step 470.
Specifically, VoLTE switch state is open state when detecting ims_test_mode_valid is true, say Bright switch state change is that VoLTE switch is opened due to user, and VoLTE card initiates registration request to IMS network at this time, executes Step 450;When detecting ims_test_mode_valid is false, illustrates that VoLTE switch state is in off state, that is, examine The VoLTE switch state change measured is that user closes VoLTE switch, is not available VoLTE high definition call function at this time, holds Row step 470.
Step 450, parameter is registered according to IMS network and judges whether IMS network succeeds in registration, if it is not, thening follow the steps 470, if so, thening follow the steps 460.
In the present embodiment, when VoLTE card is as data card, after opening VoLTE switch, VoLTE card just can be to IMS network Initiate registration, when IMS network succeeds in registration, can normal use VoLTE high definition call function, therefore when being opened according to VoLTE When off status parameter judges that VoLTE switch state is in an open state, parameter is registered according to IMS network and judges whether IMS network is infused Volume success illustrates that VoLTE as data card can be realized high definition call function at this time, execution step if succeeded in registration 460;If registration failure, illustrate that VoLTE is not used as data card or IMS network service that cannot use at this time, then executes Step 470.
Specifically, ims_test_mode_valid be true under the premise of, judge ims_test_mode whether be False, if so, illustrating that user opens VoLTE switch and using VoLTE card as data card successful registration IMS network clothes Business, VoLTE high definition call function can be used, and execute step 460;If it is not, then illustrating IMS network registration failure, it is possible to this When VoLTE card do not used as data card, can not normal use VoLTE high definition call function, execute step 470.
Step 460, the login state for updating IMS is registered state, then executes step 480.
In the present embodiment, when according to VoLTE switch state parameter judge VoLTE switch state for open state simultaneously basis IMS network registration parameter judges that IMS network succeeds in registration, then VoLTE high definition call function can be used normally at this time, updates The login state of IMS is registered state, then executes step 480.
Specifically, when judging that ims_test_mode_valid is true while ims_test_mode is false, at this time IMS network service it is available can normal use VoLTE high definition voice call function, it is registered for updating the login state of IMS State, corresponding registration status information are REGISTERED, then execute step 480.
Step 470, the login state for updating IMS is unregistered state.
In the present embodiment, when judging that VoLTE switch state is in off state by VoLTE switch state parameter, that is, use Family closes VoLTE switch, can not initiate to register to IMS network at this time, i.e., IMS network is unregistered, therefore updates the registration of IMS State is unregistered state.Or when user opens VoLTE switch, but IMS network registration is failed, then IMS net at this time Network service is not available, and the login state for updating IMS is unregistered state.
Specifically, i.e. closing VoLTE is switched, and VoLTE card is not when detecting ims_test_mode_valid is false Registration request can be initiated to IMS network, the login state for updating IMS is unregistered state.Or works as and detect ims_test_ When mode_valid is true and ims_test_mode is false, illustrate open VoLTE switch after, IMS network it is unregistered at Function can not normally provide IMS network service, and the login state for updating IMS is unregistered state, and corresponding registration status information is NOT_REGISTERED。
Step 480, the login state of updated IMS is reported into status bar module.
In the present embodiment, IMS service is cached according to the VoLTE switch state parameter and IMS network in IMS configuration parameter The login state that parameter updates IMS is registered, the registration status information of IMS is reported into status bar module after the completion of update, so that Status bar module is in time updated HD icon state.
Specifically, Modem is by the registration status information of update with UNSOL_ after IMS service buffer update login state The form of SRV_STATUS_UPDATE message reports to framework by RIL, by RIL, and status bar module is from framework Middle acquisition updates status message and is simultaneously updated, and status bar module here is to refer to the status bar of receiving area's reason message to answer With status bar application can control notice status bar and show HD icon.
Step 490, when the login state of IMS is unregistered state, status bar hides HD icon;When the registration shape of IMS When state is registered state, status bar shows HD icon.
In the present embodiment, status bar receives the registration status information for the update that IMS service caching is sent, when what is received When the registration status information of IMS is unregistered state information, illustrate that VoLTE high definition phonetic function is not opened or cannot be normal at this time It uses, status bar does not show VoLTE high definition phonetic function icon i.e. HD icon;When the registration status information of the IMS received is When registered state information, illustrate that VoLTE card as data card and opens VoLTE switch at this time, VoLTE high definition voice is logical Words function can be used normally, and status bar shows VoLTE high definition phonetic function icon, that is, HD icon.
Above-mentioned IMS registration state updates report method, by detection VoLTE switch state variation, switchs shape according to VoLTE State change information timely updates IMS registration state and reports the registration status information of IMS, enable status bar promptly and accurately Show or hide HD icon avoids the occurrence of user and opens or closes VoLTE switch, but the registration status information of IMS updates mistake Or it can not report in time, and then lead to not correctly to update VoLTE high definition phonetic function icon and can not normally show HD icon The problem of, improve the accuracy that HD icon is shown.
As shown in figure 5, in one embodiment, providing a kind of IMS registration state update reporting device, comprising:
Module 510 is obtained, for obtaining VoLTE switch state change information and being sent to IMS service caching.
Reporting module 520 is updated, after receiving VoLTE switch state change information for IMS service caching, updates IMS Login state and report to status bar module.
Control module 530 controls HD icon show or hide according to the login state of IMS for status bar.
In the present embodiment, IMS registration state updates reporting device, when detecting that VoLTE switch state changes, on Report to IMS service caches, and IMS service, which is cached, to be updated the login state of IMS according to the variation of VoLTE switch state and report to shape State column module, so that the show or hide of status bar module control HD icon.By the variation letter for obtaining VoLTE switch state Breath guarantees the login state of corresponding IMS of timely updating, and then status bar is enable to be believed according to the login state of the IMS of feedback Breath correctly controls the show or hide of HD icon in time, improves the correctness that HD icon is shown.
In one embodiment, the configuration parameter that reporting module 520 is also used to obtain the IMS service caching, institute are updated Stating configuration parameter includes the VoLTE switch state parameter and IMS network registration parameter;Joined according to the VoLTE switch state Several and IMS network registration parameter updates the login state of the IMS and reports to status bar module.
As shown in fig. 6, in one embodiment, updating reporting module 520 includes:
First judgment module 521, for judging whether VoLTE switch state is unlatching according to VoLTE switch state parameter State.
First update module 523, if not being open state for VoLTE switch state, the login state for updating IMS is Unregistered state.
Second judgment module 525 is registered parameter according to IMS network and is sentenced if being open state for VoLTE switch state Whether disconnected IMS network succeeds in registration.
Second update module 527, if not succeeding in registration for IMS network, it is unregistered for updating the login state of IMS State;If IMS network succeeds in registration, the login state for updating IMS is registered state.
Reporting module 529, for the login state of updated IMS to be reported to status bar module.
In one embodiment, control module 530 is used for when the login state of IMS is registered state, status bar mould Block control HD icon is shown;When the login state of IMS is unregistered state, status bar module controls HD icon hiding.
In one embodiment, it obtains module 510 and is also used to detect whether VoLTE switch state changes;Work as detection When changing to VoLTE switch state, VoLTE switch state change information is obtained.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (8)

1. a kind of IMS registration state updates report method, which is characterized in that the described method includes:
It obtains VoLTE switch state change information and is sent to IMS service caching;
After the IMS service caching receives the VoLTE switch state change information, matching for the IMS service caching is obtained Parameter is set, the configuration parameter includes the VoLTE switch state parameter and IMS network registration parameter;
Judge whether the VoLTE switch state is open state according to the VoLTE switch state parameter;
If the VoLTE switch state is not open state, the login state for updating the IMS is unregistered state;
If the VoLTE switch state is open state, parameter is registered according to the IMS network and judges whether IMS network is infused Volume success;
If the IMS network does not succeed in registration, the login state for updating the IMS is unregistered state;
If the IMS network succeeds in registration, the login state for updating the IMS is registered state;
The login state of the updated IMS is reported into status bar module;
The status bar module controls HD icon show or hide according to the login state of the IMS.
2. the method according to claim 1, wherein the configuration parameter for obtaining the IMS service caching, institute Stating configuration parameter includes the VoLTE switch state parameter and IMS network registration parameter, is joined according to the VoLTE switch state Number judges whether the VoLTE switch state is open state, if the VoLTE switch state is not open state, updates The login state of the IMS is unregistered state, if the VoLTE switch state is open state, according to the IMS network Registration parameter judges whether IMS network succeeds in registration, if the IMS network does not succeed in registration, updates the registration of the IMS State is unregistered state, if the IMS network succeeds in registration, the login state for updating the IMS is registered state, will The login state of the updated IMS reports to status bar module, comprising:
When receiving key_switch_volte message, IMS configuration parameter ims_test_mode_valid and ims_ is obtained test_mode;
Judge whether ims_test_mode_valid is true;
If it is not, the registration status information for then updating IMS is NOT_REGISTERE;
If so, judging whether ims_test_mode is false;
If it is not, the registration status information for then updating IMS is REGISTERED;
If so, the registration status information for updating IMS is NOT_REGISTERED;
UNSOL_SRV_STATUS_UPDATE message is sent to status bar module.
3. the method according to claim 1, wherein login state of the status bar module according to the IMS Control HD icon show or hide, comprising:
When the login state of the IMS is registered state, the status bar module controls the HD icon and shows;
When the login state of the IMS is unregistered state, the status bar module controls the HD icon hiding.
4. the method according to claim 1, wherein the method also includes:
Whether detection VoLTE switch state changes;
When detecting that VoLTE switch state changes, VoLTE switch state change information is obtained.
5. a kind of IMS registration state updates reporting device, which is characterized in that described device includes:
Module is obtained, for obtaining VoLTE switch state change information and being sent to IMS service caching;
Reporting module is updated, after receiving the VoLTE switch state change information for IMS service caching, obtains institute The configuration parameter of IMS service caching is stated, the configuration parameter includes the VoLTE switch state parameter and IMS network registration ginseng Number, judges whether the VoLTE switch state is open state according to the VoLTE switch state parameter, if the VoLTE is opened Off status is not open state, then the login state for updating the IMS is unregistered state, if the VoLTE switch state is Open state then registers parameter according to the IMS network and judges whether IMS network succeeds in registration, if the IMS network is not infused Volume success, then the login state for updating the IMS is unregistered state, if the IMS network succeeds in registration, described in update The login state of IMS is registered state, and the login state of the updated IMS is reported to status bar module;
Control module controls HD icon show or hide according to the login state of the IMS for the status bar module.
6. device according to claim 5, which is characterized in that the update reporting module is also used to:
When receiving key_switch_volte message, IMS configuration parameter ims_test_mode_valid and ims_ is obtained test_mode;
Judge whether ims_test_mode_valid is true;
If it is not, the registration status information for then updating IMS is NOT_REGISTERE;
If so, judging whether ims_test_mode is false;
If it is not, the registration status information for then updating IMS is REGISTERED;
If so, the registration status information for updating IMS is NOT_REGISTERED;
UNSOL_SRV_STATUS_UPDATE message is sent to status bar module.
7. device according to claim 5, which is characterized in that the control module is used for the login state as the IMS When for registered state, the status bar module controls the HD icon and shows;When the login state of the IMS is unregistered shape When state, the status bar module controls the HD icon hiding.
8. device according to claim 5, which is characterized in that the acquisition module is also used to detect VoLTE switch state Whether change;When detecting that VoLTE switch state changes, VoLTE switch state change information is obtained.
CN201710046774.1A 2017-01-20 2017-01-20 IMS registration state updates report method and device Active CN106713350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710046774.1A CN106713350B (en) 2017-01-20 2017-01-20 IMS registration state updates report method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710046774.1A CN106713350B (en) 2017-01-20 2017-01-20 IMS registration state updates report method and device

Publications (2)

Publication Number Publication Date
CN106713350A CN106713350A (en) 2017-05-24
CN106713350B true CN106713350B (en) 2019-11-15

Family

ID=58909366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710046774.1A Active CN106713350B (en) 2017-01-20 2017-01-20 IMS registration state updates report method and device

Country Status (1)

Country Link
CN (1) CN106713350B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734494B (en) * 2017-10-10 2022-01-11 惠州Tcl移动通信有限公司 IMS parameter updating control method, mobile terminal and storage device
CN109246311B (en) * 2018-11-08 2021-03-05 Oppo广东移动通信有限公司 Switch selection method and device, equipment and storage medium
WO2020097776A1 (en) * 2018-11-13 2020-05-22 深圳市欢太科技有限公司 Method and apparatus for acquiring registration state of wifi-based voice service, and electronic device
CN110047049A (en) * 2019-04-19 2019-07-23 西安航天恒星科技实业(集团)有限公司 The compatible real-time quick radiation correction method of more stars
CN112867099B (en) * 2020-12-30 2022-05-06 惠州Tcl移动通信有限公司 5G terminal access 5G network optimization processing method, device, equipment and medium
CN116708675A (en) * 2022-11-17 2023-09-05 荣耀终端有限公司 Conversation method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8355395B2 (en) * 2009-10-20 2013-01-15 At&T Intellectual Property I, L.P. Controlling registration floods in VoIP networks via DNS
CN102857941B (en) * 2011-06-29 2017-04-12 联发科技股份有限公司 Multi-service network management method and device thereof in wireless communication system
CN105208315A (en) * 2015-09-23 2015-12-30 宇龙计算机通信科技(深圳)有限公司 Application control method and device
CN106255098B (en) * 2016-10-10 2019-08-23 深圳市万普拉斯科技有限公司 Terminal equipment in communication control method and terminal device

Also Published As

Publication number Publication date
CN106713350A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN106713350B (en) IMS registration state updates report method and device
CN105119887B (en) Method of calling and system
CN105118125B (en) A kind of intelligent unlocking method and system of electronic lock
CN104951093B (en) Caller or the mobile terminal and its method of function are realized by user-defined press key
CN106650460B (en) A kind of edition correcting method, device and terminal device
CN108650503A (en) Camera fault determination method, device and computer readable storage medium
CN106650422B (en) A kind of System and method for for preventing third party's input method sensitive data from revealing using TrustZone technology
CN108702413A (en) A kind of input method and device of identifying code
US20120307992A1 (en) Method, apparatus, and computer program products for providing dynamic replacement communication identification service
CN110049496A (en) A kind of method for network access and mobile terminal
CN102932325B (en) Identify the method for contact person, system and the server of device users
CN108334755A (en) Private space creation method and device, storage medium, electronic equipment
CN107894908A (en) A kind of rapid-setting method of intelligent terminal
CN103997566A (en) Mobile phone-based remote door opening system and method thereof
CN109313633A (en) The shared link granularity of electronic document
CN108282521A (en) Method, apparatus, computer equipment and the storage medium of BIP protocol data transmissions
CN110009004A (en) Image processing method, computer equipment and storage medium
CN110149644A (en) Terminal communication control method, terminal device and computer readable storage medium
CN109981900A (en) Notification message processing method, mobile terminal and computer readable storage medium
CN105992188B (en) A kind of application update method and device
CN107450806A (en) Shortcut menu display methods, mobile terminal and the device with store function
CN103809897B (en) Terminal device and its control method
CN106792605B (en) A kind of call connection method and attachment device of conversing
CN106791171A (en) A kind of card-locking method of mobile terminal, device and mobile terminal
CN111107093A (en) Application login method, device, terminal and storage medium

Legal Events

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